跳转到主要内容

Mathmaker自动创建基础数学练习及其(详细)答案。

项目描述

PyPI1 PyPI2 PyPI3 Build Status Coveralls Documentation Status Maintenance PyPI4

概述

Mathmaker创建基础数学练习及其详细解答。

输出文档可以由lualatex编译成pdf文件。可用的主题示例包括:一次方程,勾股定理,分数计算...

它可以从命令行运行,也可以通过http请求进行控制。

许可证 文档(主版本) 文档(最新开发版本)

快速入门

完整安装

  • 在Ubuntu 14.04或更高版本上

    外部依赖项

    $ sudo apt-get install eukleides libxml2-utils gettext texlive-full

    注意:为了避免安装texlive-full,请参阅文档

    然后

    $ pip3 install mathmaker
  • 在FreeBSD 10.*上

    外部依赖项

    $ sudo pkg install python36 py36-sqlite3 gettext eukleides libxml2 texlive-full
    $ rehash
    
    **note**
    
    Because of a bug in current FreeBSD's eukleides package you'll
    have to fix eukleides install. See
    `here <http://mathmaker.readthedocs.io/en/master/user_doc.html#eukleides-fix>`__.

    完成后,您可以继续安装mathmaker

    $ pip3 install mathmaker
    
    **note**
    
    If you stumble upon an error during the install of the
    python-daemon dependency, you'll find the way to solve it
    `there <http://mathmaker.readthedocs.io/en/master/user_doc.html#python-daemon-error-at-install>`__

基本使用

$ mathmaker pythagorean-theorem-short-test > out.tex
$ lualatex out.tex

或直接

$ mathmaker pythagorean-theorem-short-test --pdf > out.pdf

获取所有提供的表格列表(3)

$ mathmaker list

要获取命令行选项,您可以使用mathmaker --help

可以通过用户在~/.config/mathmaker/user_config.yaml中定义的值覆盖几个设置。有关更多信息,请参阅完整文档

高级使用

您可以在yaml中创建自己的表格。有关更多信息,请参阅完整文档

贡献

您可以为mathmaker做出贡献

作为文字贡献者

Mathmaker 需要问题的文字表述上下文。已经有一些了,但越多越好。现有的表述可以在这里找到。你可以将任何新的想法作为增强建议提交(应使用英语、法语或德语撰写)。

任何问题都可以发送到 nh dot techn (hosted at gmail dot com)。

作为翻译者

你可以帮助将 mathmaker 翻译成你的语言(或者你喜欢的任何语言,如果你有足够的初等数学词汇量的话)。

如果你的语言还没有开始翻译,这里有一些 pot 文件可以获取(见此处)(请参阅关于它们各自角色的说明(见此处))。你可以使用如poedit或其他你喜欢的编辑器,从它们创建 po 文件并开始翻译。

如果你想添加缺失的翻译或进行一些更正,你可以在这里找到 po 文件。

完成翻译后,你可以在这里发起一个 pull request。

任何问题都可以发送到 nh dot techn (hosted at gmail dot com)。

作为开发者

在提交 PR 之前,请确保你已经查阅了编写规则

更多细节可以在开发者文档中找到。

任何问题都可以发送到 nh dot techn (hosted at gmail dot com)。

附加信息

联系:nh dot techn (由 gmail dot com 托管)

变更日志

贡献者

项目详情


下载文件

下载适合你平台的文件。如果你不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

mathmaker-0.7.20.tar.gz (7.1 MB 查看散列值)

上传时间 源代码

构建分发

mathmaker-0.7.20-py3-none-any.whl (7.5 MB 查看散列值)

上传时间 Python 3