[OS X TeX] Creating a Sensible PDF Document
Philipp Mathey
pmathey at uwo.ca
Wed Feb 7 13:56:26 EST 2007
Thanks Bruno !
I was in fact using xdvipdfmx together with the "-p letter -q -E"
option. Good to know that this suffices. By the way, the option "-q"
is not listed. Does it stand for "quiet" or something ? I think it
suppresses some
command line output.
I tried a little experiment by compiling a document with
"xelatex -no-pdf ..." and then "xdvipdfmx (-q -E) ..." and then
sending the resulting pdf file it to
some server running Linux. It seems the -E didn't
have any effect on the size of the resulting pdf file. I could read
the pdf file
on the Linux system, using xpdf, with or without the -E option.
Thanks,
PM
On 7-Feb-07, at 12:55 PM, Bruno Voisin wrote:
> Le 7 févr. 07 à 18:23, Philipp Mathey a écrit :
>
>> If I wanted to create a document with say xelatex that
>> can be read on some machine not running mac os x . say a system
>> running Linux with xpdf,
>> would I have to choose the option to have all fonts embedded in
>> the document
>> during the configuration phase even though this will create a much
>> larger
>> document ? Is that the only way ?
>
> The option -E in Jonathan's suggestion
>
> xelatex -output-driver="xdvipdfmx -q -E" myfile.tex
>
> tells precisely to always embed fonts. xdvipdfmx has apparently no
> man page, but on the command line you can get:
>
>> $ xdvipdfmx
>> No dvi filename specified.
>> This is xdvipdfmx-0.3 by Jonathan Kew and Jin-Hwan Cho,
>> an extended version of DVIPDFMx, which in turn was
>> an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks.
>>
>> Copyright (c) 2006 SIL International and Jin-Hwan Cho.
>>
>> This is free software; you can redistribute it and/or modify
>> it under the terms of the GNU General Public License as published by
>> the Free Software Foundation; either version 2 of the License, or
>> (at your option) any later version.
>>
>> Usage: xdvipdfmx [options] xdvfile
>> -c Ignore color specials (for B&W printing)
>> -d number Set PDF decimal digits (0-5) [2]
>> -l Landscape mode
>> -f filename Set font map file name [t1fonts.map]
>> -m number Set additional magnification
>> -o filename Set output file name [dvifile.pdf]
>> -p papersize Set papersize [a4]
>> -r resolution Set resolution (in DPI) for raster fonts [600]
>> -s pages Select page ranges (-)
>> -t Embed thumbnail images
>> -x dimension Set horizontal offset [1.0in]
>> -y dimension Set vertical offset [1.0in]
>> -z number Set zlib compression level (0-9) [9]
>> -v Be verbose
>> -vv Be more verbose
>> -C number Specify miscellaneous option flags [0]:
>> 0x0001 reserved
>> 0x0002 Use semi-transparent filling for tpic
>> shading command,
>> instead of opaque gray color. (requires
>> PDF 1.4)
>> 0x0004 Treat all CIDFont as fixed-pitch font.
>> 0x0008 Do not replace duplicate fontmap entries.
>> Positive values are always ORed with previously
>> given flags.
>> And negative values replace old values.
>> -E Always try to embed fonts, regardless of licensing
>> flags.
>> -O number Set maximum depth of open bookmark items [0]
>> -P number Set permission flags for PDF encryption [0x003C]
>> -S Enable PDF encryption
>> -T Embed thumbnail images. Remove images files when
>> finished.
>> -M Experimental mps-to-pdf mode
>> -V number Set PDF minor version [3]
>>
>> All dimensions entered on the command line are "true" TeX dimensions.
>> Argument of "-s" lists physical page ranges separated by commas,
>> e.g., "-s 1-3,5-6"
>> Papersize is specified by paper format (e.g., "a4") or by
>> w<unit>,h<unit> (e.g., "20cm,30cm").
>
> Bruno Voisin
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list