diff options
author | Hans Hagen <pragma@wxs.nl> | 2006-06-07 23:34:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2006-06-07 23:34:00 +0200 |
commit | 6e2bc6fac8b9a5b4d29155b13d40c08c5868cd13 (patch) | |
tree | f036819fa39766a8b2b9f13fe21fa3be87de5b00 /tex/context/base/supp-mps.tex | |
parent | b961771c7114a8181029ad495bded7872687307e (diff) | |
download | context-6e2bc6fac8b9a5b4d29155b13d40c08c5868cd13.tar.gz |
stable 2006.06.07 23:34
Diffstat (limited to 'tex/context/base/supp-mps.tex')
-rw-r--r-- | tex/context/base/supp-mps.tex | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/tex/context/base/supp-mps.tex b/tex/context/base/supp-mps.tex index d46de7fd4..b89483a5c 100644 --- a/tex/context/base/supp-mps.tex +++ b/tex/context/base/supp-mps.tex @@ -222,12 +222,26 @@ %D The next hack prevents too long lines: -\long\def\obeyMPlines - {\ifx\rawcharacter\undefined\else +\long\def\runtimeobeyMPlines + {\ifx\rawcharacter\undefined + \let\obeyedline\space + \else \obeylines - \def\obeyedline{\rawcharacter{10}}% + \ifx\systemendofline\undefined + \def\obeyedline{\rawcharacter{10}}% + \else + \let\obeyedline\systemendofline + \fi \fi} +\long\def\obeyMPlines % anyhow, we end up with ^^M's in the input + {\obeylines + \let\obeyedline\relax} % delay expansion + +\appendtoks + \let\obeyMPlines\runtimeobeyMPlines +\to \everydump + %D We use two distinguished token registers: \newtoks \MPextensions % once per run (can be multiple graphics) @@ -1089,7 +1103,7 @@ \def\executesystemcommand#1{\immediate\write18{#1}} \fi -\ifx\TEXEXECcommand \undefined \def\TEXEXECcommand{texexec} \fi +\ifx\TEXEXECcommand \undefined \def\TEXEXECcommand{texmfstart texexec} \fi \ifx\undefined\executeMetaPost |