Skip to content

A simple script that compiles your LaTeX documents into pdf using pdflatex and does some extra stuff.

Notifications You must be signed in to change notification settings

antonlukyanov/tex2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

tex2pdf.sh

tex2pdf.sh is a simple script which compiles your LaTeX documents into pdf using pdflatex and cleans up all of its mess.

  • It can automatically create build directory where it keeps temporary files and resulting pdf.
  • Build directory will be automatically cleaned (by default).
  • If you use bibliography file, just add '--bibliography' option and it will correctly compile pdf.
  • Be careful when you use this script, because you will not see any errors that LaTeX produce. In order to see all errors provide '--debug' option to the script.

Example usage:

tex2pdf.sh main.tex
tex2pdf.sh main.tex -o hello.pdf --build-dir .
tex2pdf.sh poster.tex -o 'tex2pdf_build/Some pdf name.pdf' --bibliography

Or:

tex2pdf.sh poster.tex -b -o 'tex2pdf_build/A. Lukyanov poster - graph dynamics of FAR.pdf'

Output:

--> Building pdf, it may take a while
    (you can also supply "--debug" option to get full output)
--> Creating log file
--> Running pdflatex
--> Running bibtex
--> Running pdflatex
--> Running pdflatex
--> Moving pdf
--> Cleaning build dir (--save-temporary to disable)
--> Build log has been saved to: tex2pdf_build/build.log
--> PDF has been saved to: tex2pdf_build/A. Lukyanov poster - graph dynamics of FAR.pdf

About

A simple script that compiles your LaTeX documents into pdf using pdflatex and does some extra stuff.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages