Skip to content

kiekmantau/textools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

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

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

About

Helpful CLI for working with tex files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.1%
  • TeX 0.9%