Textools provides CLI commands for the most commonly used tasks when working with LaTeX,
e.g., generating a .gitignore
file, creating the final pdf and validating the .tex
and .bib
files.
Requires JDK 7 with JAVA_HOME set to the JDK path!
$ git clone [email protected]:simonharrer/textools
$ cd textools
$ gradlew installApp
# add textools/build/install/textools/bin to PATH
# in your latex directory
$ textools pdf # create the pdf with pdflatex and bibtex using main.tex as the starting file
$ textools validate # validates all .tex and .bib files using Simon's validation rules
$ textools clean # remove all generated files like .div, .pdf, .log, ...
textools [command]
create-gitignore creates a latex project specific .gitignore file
clean Removes all generated files during a tex build
texlipse generates texlipse project files
texniccenter generates the texniccenter project files
validate executes validate-latex and validate-bibtex commands in sequence
validate-bibtex validates all .bib files for the existence of certain fields
validate-latex validates .tex files
minify-bibtex-optionals removes optional keys in bibtex entries
minify-bibtex-authors replace additional authors with et al. in bibtex entries
pdf creates pdf with pdflatex, including bibtex; logs to textools-pdf.log
pdfclean executes pdf and clean commands in sequence
version prints the current version
help prints usage information
10 Fork
20 Create feature branch
30 Create commits
40 Create pull request
GOTO 10