bug in latest beta?
Hi all, the following code used to work, but broke in the latest beta. \at works well, but \in appears as a math "member of set" symbol ( ∈ ). ======================== \starttext \placefigure[here][abc]{xyz}{123} abc \at[abc]. abc \in[abc]. \stoptext ======================== I am using $ context --version MtxRun | main context file: /opt/home/hash/context/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.56.06 19:11 $ luatex -v This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown any suggestions? Thanks a lot. best regards, shenchen
Am 10.11.2008 um 10:55 schrieb Chen Shen:
Hi all,
the following code used to work, but broke in the latest beta. \at works well, but \in appears as a math "member of set" symbol ( ∈ ).
You could use the last stable for the moment.
======================== \starttext \placefigure[here][abc]{xyz}{123}
abc \at[abc]. abc \in[abc].
\stoptext ========================
If you still want to use the last beta use the following patch, Hans removed a few lines of code from enco-ini.mkiv and this breaks the \in command because it is redefined later in the core from the math commands. \def\definecommand#1 #2 % {\setvalue{\string#1}{\dohandlecommand{#1}}% \setvalue{\characterencoding\string#1}{#2}} \def\dohandlecommand#1% {\csname \ifcsname\characterencoding#1\endcsname \characterencoding \else \nocharacterencoding \fi #1\endcsname} \definecommand in {\doinatreference\currenttextreference} Wolfgang
Thanks a lot for the insights. I reverted to the 2008.10.31 version
for the moment.
shenchen
On Mon, Nov 10, 2008 at 7:59 PM, Wolfgang Schuster
Am 10.11.2008 um 10:55 schrieb Chen Shen:
Hi all,
the following code used to work, but broke in the latest beta. \at works well, but \in appears as a math "member of set" symbol ( ∈ ).
You could use the last stable for the moment.
======================== \starttext \placefigure[here][abc]{xyz}{123}
abc \at[abc]. abc \in[abc].
\stoptext ========================
If you still want to use the last beta use the following patch, Hans removed a few lines of code from enco-ini.mkiv and this breaks the \in command because it is redefined later in the core from the math commands.
\def\definecommand#1 #2 % {\setvalue{\string#1}{\dohandlecommand{#1}}% \setvalue{\characterencoding\string#1}{#2}}
\def\dohandlecommand#1% {\csname \ifcsname\characterencoding#1\endcsname \characterencoding \else \nocharacterencoding \fi #1\endcsname}
\definecommand in {\doinatreference\currenttextreference}
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Chen Shen wrote:
Hi all,
the following code used to work, but broke in the latest beta. \at works well, but \in appears as a math "member of set" symbol ( ∈ ).
======================== \starttext \placefigure[here][abc]{xyz}{123}
abc \at[abc]. abc \in[abc].
\stoptext ========================
fixed in current beta ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Chen Shen
-
Hans Hagen
-
Wolfgang Schuster