Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build PDF files using latexmk #5437

Merged
merged 6 commits into from Mar 18, 2019
Merged

Commits on Mar 13, 2019

  1. Use latexmk command to build PDF files

    New versions of Sphinx use `latexmk` to build the PDF files. This
    command uses a file called `latexmkrc` (or `latexmkjarc` for Japanese)
    which contains all the proper commands that needs to be ran depending
    on different Sphinx configurations.
    
    `latexmk` will take care by itself on the amount of phases that need
    to be ran without us worrying about it.
    
    Currently, this is not considering LATEXMKOPTS and XINDYOPTS
    environment variables configured by Sphinx.
    
    This feature is implemented under a Feature flag so we can test it
    easily without breaking other working projects.
    
    References:
    
    - #1556
    - #4454
    - #5405
    - toppers/tecs-docs#7
    - https://github.com/sphinx-doc/sphinx/blob/master/sphinx/texinputs/Makefile_t
    - https://www.sphinx-doc.org/en/master/usage/builders/index.html#sphinx.builders.latex.LaTeXBuilder
    humitos committed Mar 13, 2019
    Copy the full SHA
    d0a1890 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    24ba762 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2019

  1. Copy the full SHA
    c2d68e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. Append default Sphinx configurations for Chinese and Japanaese

    Automatically select `xelatex` for Chinese and `platex` for Japanese.
    These defaults can be overridden by the user.
    
    Force `latex_use_xindy=False` for now until we support it in our
    Docker image.
    humitos committed Mar 18, 2019
    Copy the full SHA
    36ed646 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    98f0f55 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    d9ccf27 View commit details
    Browse the repository at this point in the history