Skip to content

Conversation

@afrojer
Copy link

@afrojer afrojer commented May 6, 2014

This set of patches allows me to easily use pydflatex from within the Makefile of a larger project.
New features include:
*) bugfix! The -l and -t options were swapped
*) The ability to invoke bibtex
*) The ability to parse additional TeX input from the command line

afrojer added 3 commits May 6, 2014 00:52
The -l and -t options to pydflatex would update each other's
state. This has been fixed.

Signed-off-by: Jeremy C. Andrus <jeremya@cs.columbia.edu>
For larger LaTeX projects, it is often advantageous to invoke
pdflatex using a more complicated command line. For instance,
the following commands can be built using options to a Makefile:

pdflatex \let\ifdraft\iftrue \let\ifextracompress\iftrue \input{proj.tex}

This patch allows pydflatex to accept additional pdflatex options
which replace the single tex file option. To allow pydflatex to parse
the output of the pdflatex build described above, you would use:

pydflatex [OPTIONS] proj.tex \let\ifdraft\iftrue \let\ifextracompress\iftrue \input{proj.tex}

Signed-off-by: Jeremy C. Andrus <jeremya@cs.columbia.edu>
This is handy when pydflatex is used from Makefiles for larger projects.
There is currently no log parsing for BibTeX output, but the tool can
now be invoked using "pydflatex -b"

Signed-off-by: Jeremy C. Andrus <jeremya@cs.columbia.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant