Comprehensive TeX Archive Network

Direc­tory tex-archive/support/ltximg

ltximg is a Perl script which isolates all Tikz or
PSTricks related parts of the TeX document into single
pdf file, split and convert in eps/pdf/png/jpg format. 

The advantage of "ltximg" is the ability to discuss the 
environments that give problems using the "preview" package 
as "verbatim" in line (verb|...|) or beginning with %, and
other environments (LTXexample, Verbatim,etc).

The images files are saved in a subdirectory images.

Syntax: perl ltximg.pl file.tex [options] 

ltximg create a copy for TeX source whit all TiKZ|Pstricks environments
       and convert all environments into single images (pdf/png/eps/jpg). 
       By default search and extract TiKZ environments using (pdf)LaTeX 
       and ghostscript (gs).       


  --h|help          - display this help and exit
  --v|version       - display version information and exit
  --li|license      - display license information and exit
  --imageDir=       - the dir for the created images (default images)
  --d|DPI=          - dots per inch for gs, pdftoppm and mogrify (default 300)
  --IMO="..."       - aditional options for mogrify need double quotes
  --c|clear         - delete all temp files
  --xe|xetex        - create all image using xelatex (tikz and pstricks)
  --lu|luatex       - create all image using lualatex (tikz)
  --la|latex        - create all image using latex (pstricks)
  --up|useppm       - create jpg and png using mogrify and ppm
  --um|usemog       - create jpg and png (transparent) using mogrify and pdf
  --m|margins=      - margins for pdfcrop (default 0)
  --pdf             - create .pdf files using gs
  --ppm             - create .ppm files (need pdftoppm)
  --eps             - create .eps files (need pdftops)
  --jpg             - create .jpg files (deafult use gs)
  --png             - create .png files (deafult use gs)
  --s|skip=         - name for skip environmet in input file (default skip)
  --o|other=        - name for other export environmet (default other)
  --a|all	    - create pdf/jpg/png/eps image type

Pablo González 2013-01-12


Name Size Date Notes
README 2075 2013-12-04 04:21
ltx­img-doc.pdf 51940 2013-12-04 04:20
ltx­img-doc.tex 8416 2013-12-04 04:20
ltx­img.pl 16947 2013-12-04 02:38
test.tex 1579 2013-12-03 21:53

Down­load the con­tents of this pack­age in one zip archive (54.2k).

ltx­img – Split LaTeX files to sani­tise a con­ver­sion pro­cess

The pack­age pro­vides a Perl script that ex­tracts all TikZ and PStricks en­vi­ron­ments for sep­a­rate pro­cess­ing to pro­duce im­ages (in eps, pdf, png or jpg for­mat) for use by a con­verter or the pre­view bun­dle.

Pack­age De­tailsltx­img
Li­censeGNU Gen­eral Public Li­cense, ver­sion 2
Copy­right2013 Pablo González Luengo
Main­tainerPablo Gonz├ílez Luengo
Con­tained inTeX Live as ltx­img
MiKTeX as ltx­img
Topics ex­tract chunks of a doc­u­ment for sep­a­rate pro­cess­ing
Guest Book Sitemap Contact Contact Author