[OS X TeX] Distiller

Jonathan Kew jonathan_kew at sil.org
Sun Jan 29 09:05:22 EST 2006


On 29 Jan 2006, at 1:24 pm, Siep Kroonenberg wrote:
>
> ========= (Non-techies: close your eyes) ===============
>
> As to the mess of line endings:
>
> I read the entire eps file in one go, and split the string according
> to /\r?\n|\n/ and parse all resulting strings.

This is not robust, because EPS files can contain binary sections.  
(These will be marked by DSC comments such as %%BeginBinary:... I  
forget the precise syntax offhand.)

JK

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list