ltximg --version (return code: 0)
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{ <-- HERE document} .+?)(\\end{document}.*)\z/ at /usr/bin/ltximg line 593.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{document} .+?)(\\end{ <-- HERE document}.*)\z/ at /usr/bin/ltximg line 593.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{ <-- HERE document} .+?)(\\end{document}.*)\z/ at /usr/bin/ltximg line 699.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{document} .+?)(\\end{ <-- HERE document}.*)\z/ at /usr/bin/ltximg line 699.
LTXimg 1.1, 2015-04-21 - Copyright (c) 2013-2015 by Pablo Gonzalez L.
ltximg --help (return code: 0)
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{ <-- HERE document} .+?)(\\end{document}.*)\z/ at /usr/bin/ltximg line 593.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{document} .+?)(\\end{ <-- HERE document}.*)\z/ at /usr/bin/ltximg line 593.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{ <-- HERE document} .+?)(\\end{document}.*)\z/ at /usr/bin/ltximg line 699.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\A (.+?) (\\begin{document} .+?)(\\end{ <-- HERE document}.*)\z/ at /usr/bin/ltximg line 699.
LTXimg 1.1, 2015-04-21 - Copyright (c) 2013-2015 by Pablo Gonzalez L.
Usage: ltximg file.tex [options]
LTXimg extract and convert all PGF|TiKZ|Pstricks environments from TeX
source into single images files (pdf/png/eps/jpg/svg) using Ghostscript.
By default search and extract environments using (pdf)LaTeX.
Environments suports by LTXimg:
pspicture tikzpicture pgfpicture forest ganttchart
tikzcd circuitikz dependency other postscript
Options:
-h,--help - display this help and exit
-l,--license - display license information and exit
-v,--version - display version (current 1.1) and exit
-d,--dpi=<int> - the dots per inch for images (default 150)
-j,--jpg - create .jpg files (need Ghostscript)
-p,--png - create .png files (need Ghostscript)
-e,--eps - create .eps files (need pdftops)
-s,--svg - create .svg files (need pdf2svg)
-P,--ppm - create .ppm files (need pdftoppm)
-a,--all - create .(pdf,eps,jpg,png) images
-c,--clear - delete all temp and aux files
-o,--output - create a file-out.tex whitout PGF|TiKZ|PST code
-m,--margins=<int> - margins in bp for pdfcrop (default 0)
-np,--nopreview - create images files whitout preview package
-ns,--nosource - delete all source for images files
--miktex - use --enable-write18 for MikTeX users
--xetex - using (Xe)LaTeX for create images
--latex - using LaTeX for create images
--luatex - using (Lua)LaTeX for create images
--nopdf - don't create a PDF image files (default off)
--other=<string> - search other environment (default other)
--ignore=<string> - skip verbatim environment (default ignore)
--imgdir=<string> - the folder for images (default images)
Example:
* ltximg test.tex -e -p -j -c -o --imgdir=pics
* produce test-out.tex whitout PGF|TiKZ|PST environments and create "pics"
* dir whit all images (pdf,eps,png,jpg) and source (.tex) for all related
* parts using (pdf)LaTeX whit preview package and cleaning all tmp files.
* Suport bundling for short options: ltximg test.tex -epjco --imgdir=pics