Changes

Jump to navigation Jump to search
4,194 bytes added ,  11:12, 16 March 2005
texexec explained
< [[texexec.ini]]

On this page I'd like to see some texexec trickery and explanations. --[[User:Patrick Gundlach|pg]]
<table>
<tr><td>--alone<td> bypass utilities (e.g. fmtutil for non-standard fmt)
<tr><td>--arrange<td> process and arrange
<tr><td>--automprun<td> MetaPost at runtime when needed
<tr valign="top"><td>--autopdf<td> Open the pdf viewer after the texexec run. See below.
<tr><td>--batch<td> run in batch mode (don't pause)
<tr><td>--centerpage<td> center the page on the paper
<tr><td>--color<td> enable color (when not yet enabled)
<tr><td>--environment = name<td> load some environments first. Name is: list of environments
<tr><td>--fast<td> skip as much as possible
<tr valign="top"><td>--figures = (a|b|c)<td> typeset figure directory
; a : room for corrections
; b : just graphics
; c : one (cropped) per page
<tr><td>--final<td> add a final run without skipping
<tr><td>--format = name<td> fmt file. name: format file (memory dump)
<tr><td>--help<td> show this or more, e.g. '--help interface'
<tr><td>--input = name<td> input file (if used). name: filename
<tr><td>--interface = (cz|de|en|it|nl|uk)<td> user interface
<tr><td>--language = lang<td> main hyphenation language. lang: standard abbreviation
<tr><td>--listing<td> produce a verbatim listing
<tr><td>--make<td> build format files
<tr><td>--mode = list<td> running mode. list: modes to set
<tr><td>--module<td> typeset tex/pl/mp module
<tr><td>--mpformat = name<td> mem file. name: format file (memory dump)
<tr><td>--mptex<td> run an MetaPost plus btex-etex cycle
<tr><td>--mpxtex<td> generatet an MetaPostmpx file
<tr><td>--noarrange<td> process but ignore arrange
<tr><td>--nomp<td> don't run MetaPost at all
<tr><td>--nomprun<td> don't run MetaPost at runtime
<tr><td>--nonstop<td> run in non stop mode (don't pause)
<tr><td>--once<td> run TeX only once (no TeXUtil either)
<tr valign="top"><td>--output<td> specials to use. Can be one of
{|
| dvipdfm || Mark Wicks' dvi to pdf converter
|-
| dvipdfmx || Jin-Hwan Cho's extended dvipdfm
|-
| dvips || Thomas Rokicky's dvi to ps converter
|-
| dvipsone || YandY's dvi to ps converter
|-
| dviwindo || YandY's windows previewer
|-
| pdftex || Han The Than's pdf backend
|}
<tr><td>--pages = (even|odd|x,y:z)<td> pages to output. x,y:z: pages x and y to z
<tr><td>--paper = AB<td> paper input and output format. a4a3: A4 printed on A3, a5a4: A5 printed on A4
<tr><td>--passon<td> switches to pass to TeX (--src for MikTeX)
<tr><td>--path = string<td> document source path. string: path
<tr><td>--pdf<td> produce PDF directly using pdf(e)tex
<tr><td>--pdfarrange<td> arrange pdf pages
<tr><td>--pdfcombine<td> combine pages to one page
<tr><td>--pdfcopy<td> scale pages down/up
<tr><td>--pdfselect<td> select pdf pages
<tr><td>--print = (up|down) <td> page imposition scheme. down = 2 rotated pages per sheet doubleside, up = 2 pages per sheet doublesided
<tr><td>--result = filename<td> resulting file will have that filename
<tr><td>--runs = n<td> maximum number of TeX runs. n: number of runs
<tr><td>--screensaver<td> turn graphic file into a (pdf) full screen file
<tr><td>--setfile<td> load environment (batch) file
<tr><td>--silent<td> minimize (status) messages
<tr><td>--suffix= string<td> resulting file suffix. string: suffix
<tr><td>--tex = name<td> TeX binary. name: binary of executable
<tr><td>--texroot = path<td> root of tex trees. path: tex root
<tr><td>--textree = path<td> additional texmf tree to be used. path: subpath of tex root
<tr><td>--texutil<td> force TeXUtil run
<tr><td>--usemodule = name<td> load some modules first name: list of modules
<tr><td>--verbose<td> shows some additional info
<tr><td>--version<td> display various version information
<tr><td>--xmlfilter = name<td> apply XML filter. name: list of filters
</table>

== Some features explained in detail ==

=== autopdf ===
Currently works only on Windows. Taco has created a tool for Linux, which is currently being tested. On Mac OS X there is no way to do this for Acrobat Reader 7.0 and Preview.app in a sophisticated way (= keep view), since they are not (apple-)scriptable. You can use TeXniscope or TeXshop that does that automatically.

Navigation menu