Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

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).       

Options:

  --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

Files

Name Size Date Notes
README 2075 2013-12-04 04:21:08
ltximg-doc.pdf 51940 2013-12-04 04:20:16
ltximg-doc.tex 8416 2013-12-04 04:20:25
ltximg.pl 16947 2013-12-04 02:38:59
test.tex 1579 2013-12-03 09:53:09

Down­load the com­plete con­tents of this di­rec­tory 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.

Doc­u­men­ta­tion
Ver­sion1.0
Li­censeGNU Gen­eral Public Li­cense, ver­sion 2
Copy­right2013 Pablo Gonz├ílez Luengo
Main­tainerPablo Gonz├ílez Luengo
Con­tained inTeXLive 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 2014-04-19 08:54 CEST