Helpful CLI for working with tex files.
Java TeX
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
.travis.yml
README.md
build.gradle
gradlew
gradlew.bat

README.md

textools Build Status Dependency Status

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.

Only works for UTF-8 encoded .tex and .bib files.

Installation

Requires JDK 7 with JAVA_HOME set to the JDK path!

$ git clone git@github.com:simonharrer/textools
$ cd textools
$ gradlew installApp
# add textools/build/install/textools/bin to PATH

Usage

# 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, ...

Commands

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

Authors

Simon Harrer

Contribute

10 Fork
20 Create feature branch
30 Create commits
40 Create pull request
GOTO 10