---------- Forwarded message ---------
De: Jairo A. del Rio
Jairo A. del Rio schrieb am 04.08.2020 um 03:37:
The following crashes with LMTX (current version: 2020.08.03 14:25):
\starttext \emph{Hola} \stoptext
Log:
\emphasiscorrection ->\ifhmode \ifnum \currentgrouptype =\aligngroupcode
\else \expandafter \expandafter \expandafter \font_emphasis_look \fi \fi
<to be read again> \egroup
\egroup
l.2 \emph{Hola}
Is it a bug? \emph worked for older versions. Thank you in advance.
Yes and it was already reported by Pablo but don't hesitate report future bugs.
https://www.mail-archive.com/ntg-context@ntg.nl/msg95268.html
Wolfgang
Jairo A. del Rio schrieb am 04.08.2020 um 06:07:
The following worked some days ago. Now it crashes:
\setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS] \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}] \setuphead[subsection][numbercommand=,textstyle={\it},sectionsegments=subsection,conversion=n] \starttext \startchapter[title=Dummy chapter] \startsection[title=Dummy section] \startsubsection[title=Dummy subsection] \input knuth \stopsubsection \stopsection \stopchapter \stoptext
This caused by the second related problem mentioned in my answer, you get the error message for the \cap and \WORDS command. In this case there is a easy fix and also better chapter setup: \setuphead [chapter] [alternative=middle, textstyle=cap, numberstyle=WORD] Wolfgang
Now it works. Thank you very much, Wolfgang! Cordially, Jairo El lun., 3 de ago. de 2020 a la(s) 23:17, Wolfgang Schuster ( wolfgang.schuster.lists@gmail.com) escribió:
Jairo A. del Rio schrieb am 04.08.2020 um 06:07:
The following worked some days ago. Now it crashes:
\setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS]
\setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}]
\setuphead[subsection][numbercommand=,textstyle={\it},sectionsegments=subsection,conversion=n]
\starttext \startchapter[title=Dummy chapter] \startsection[title=Dummy section] \startsubsection[title=Dummy subsection] \input knuth \stopsubsection \stopsection \stopchapter \stoptext
This caused by the second related problem mentioned in my answer, you get the error message for the \cap and \WORDS command.
In this case there is a easy fix and also better chapter setup:
\setuphead [chapter] [alternative=middle, textstyle=cap, numberstyle=WORD]
Wolfgang
participants (2)
-
Jairo A. del Rio
-
Wolfgang Schuster