Parse error when using `\define`
Dear ConTeXt folks, could some please try to parse the following minimal example and report back if a parse problem occurs. Please find the protocols attached. \define[1]\abs{\lvert #1 \rvert} \define\Ew{{\mathbf E}} \define[1]\ew{\Ew \left[ #1 \right]} \starttext a \starttext I am using ConTEXt MKIV 2011.11.25 21:29 with LuaTeX 0.70.1 and I have to insert `/end` manually. $ context 20111203--parse-error.tex mtx-context | run 1: luatex --fmt="/opt/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/opt/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./20111203--parse-error.tex" \stoptext This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. (20111203--parse-error.tex ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 int: english/english system > cont-new.mkiv loaded (/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > 20111203--parse-error.top loaded (20111203--parse-error.top) fonts > latin modern fonts are not preloaded languages > language en is active {/opt/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) (/opt/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/opt/context/tex/texmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {/opt/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/opt/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded ) *\end system > don't use \end to finish a document backend > xmp > using file '/opt/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml' […] Afterward changing anything in the file like removing the defines the error will still appear. Thanks, Paul
Am 03.12.2011 um 20:06 schrieb Paul Menzel:
Dear ConTeXt folks,
could some please try to parse the following minimal example and report back if a parse problem occurs. Please find the protocols attached.
\define[1]\abs{\lvert #1 \rvert}
\define\Ew{{\mathbf E}} \define[1]\ew{\Ew \left[ #1 \right]}
\starttext a \starttext
End your document with \stoptext. Wolfgang
Am Samstag, den 03.12.2011, 20:09 +0100 schrieb Wolfgang Schuster:
Am 03.12.2011 um 20:06 schrieb Paul Menzel:
could some please try to parse the following minimal example and report back if a parse problem occurs. Please find the protocols attached.
\define[1]\abs{\lvert #1 \rvert}
\define\Ew{{\mathbf E}} \define[1]\ew{\Ew \left[ #1 \right]}
\starttext a \starttext
End your document with \stoptext.
That is really embarrassing. I now also figured out my other error I originally looked into. Thank you and sorry for wasting everyone’s time, Paul
participants (2)
-
Paul Menzel
-
Wolfgang Schuster