* \emph not working in LMTX (bug?)
@ 2020-08-04 1:37 Jairo A. del Rio
2020-08-04 3:48 ` Wolfgang Schuster
2020-08-04 7:27 ` Hans Hagen
0 siblings, 2 replies; 7+ messages in thread
From: Jairo A. del Rio @ 2020-08-04 1:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 399 bytes --]
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.
Regards,
Jairo
[-- Attachment #1.2: Type: text/html, Size: 1236 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \emph not working in LMTX (bug?)
2020-08-04 1:37 \emph not working in LMTX (bug?) Jairo A. del Rio
@ 2020-08-04 3:48 ` Wolfgang Schuster
[not found] ` <CAKyqqabfRoAawd4rYG_R5Xwa-Ny0u2W4-kBF9Cu0iekHkQ7+0A@mail.gmail.com>
2020-08-04 9:17 ` Hans Hagen
2020-08-04 7:27 ` Hans Hagen
1 sibling, 2 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2020-08-04 3:48 UTC (permalink / raw)
To: mailing list for ConTeXt users, 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
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Fwd: \emph not working in LMTX (bug?)
[not found] ` <CAKyqqabfRoAawd4rYG_R5Xwa-Ny0u2W4-kBF9Cu0iekHkQ7+0A@mail.gmail.com>
@ 2020-08-04 4:07 ` Jairo A. del Rio
2020-08-04 4:16 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Jairo A. del Rio @ 2020-08-04 4:07 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2747 bytes --]
---------- Forwarded message ---------
De: Jairo A. del Rio <jairoadelrio6@gmail.com>
Date: lun., 3 de ago. de 2020 a la(s) 23:05
Subject: Re: [NTG-context] \emph not working in LMTX (bug?)
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
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
The log says:
\endgroup
\22>:157>:middle ...headshownumber \strut \headnumbercontent \par \else
\fakeheadnumbercontent \fi \begstrut \headtextcontent
\endstrut }
\strc_rendering_inject_number_and_text ...def \p_command {\headparameter
\c!command }\ifx \p_command \empty \directsetup \currentheadrenderingsetup
\else \p_command \headnumbercontent \headtextcontent \fi
\strc_rendering_place_head_number_and_text ...}\useheadstyleparameter
\c!style \setinlineheadreferenceattributes
\strc_rendering_inject_number_and_text
}\fi \strc_rendering_stop_placement
\strc_sectioning_handle ...onditional \headshownumber \let \getheadnumber
\fullheadnumber \strc_rendering_place_head_number_and_text
\else \strc_rendering_place_head_text \fi \dostoptagged
\strc_sectioning_after_yes \else \ifconditional \c_strc_sectioning_hidden
\strc_se...
\strc_sectioning_start_named_section ...de \currenthead \headparameter
\c!beforesection \the \everybeforehead \strc_sectioning_handle {#1}{#2}{#3}
\headparameter \c!insidesection
...
I guess it's unrelated to Pablo's issue (\emph works again after the patch).
El lun., 3 de ago. de 2020 a la(s) 22:48, Wolfgang Schuster (
wolfgang.schuster.lists@gmail.com) escribió:
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 5030 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fwd: \emph not working in LMTX (bug?)
2020-08-04 4:07 ` Fwd: " Jairo A. del Rio
@ 2020-08-04 4:16 ` Wolfgang Schuster
2020-08-04 4:23 ` Jairo A. del Rio
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2020-08-04 4:16 UTC (permalink / raw)
To: Jairo A. del Rio; +Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Fwd: \emph not working in LMTX (bug?)
2020-08-04 4:16 ` Wolfgang Schuster
@ 2020-08-04 4:23 ` Jairo A. del Rio
0 siblings, 0 replies; 7+ messages in thread
From: Jairo A. del Rio @ 2020-08-04 4:23 UTC (permalink / raw)
To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1161 bytes --]
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
>
[-- Attachment #1.2: Type: text/html, Size: 1577 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \emph not working in LMTX (bug?)
2020-08-04 1:37 \emph not working in LMTX (bug?) Jairo A. del Rio
2020-08-04 3:48 ` Wolfgang Schuster
@ 2020-08-04 7:27 ` Hans Hagen
1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2020-08-04 7:27 UTC (permalink / raw)
To: Jairo A. del Rio, mailing list for ConTeXt users
On 8/4/2020 3:37 AM, Jairo A. del Rio wrote:
> The following crashes with LMTX (current version: 2020.08.03 14:25):
>
>
> \starttext
> \emph{Hola}
> \stoptext
>
> Log:
>
>
> \emphasiscorrection ->\ifhmode \ifnum \currentgrouptype =\aligngroupcode
looks like some mismatch between the format and the engine as it works
ok here
i'll make a new distribuition later today
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \emph not working in LMTX (bug?)
2020-08-04 3:48 ` Wolfgang Schuster
[not found] ` <CAKyqqabfRoAawd4rYG_R5Xwa-Ny0u2W4-kBF9Cu0iekHkQ7+0A@mail.gmail.com>
@ 2020-08-04 9:17 ` Hans Hagen
1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2020-08-04 9:17 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jairo A. del Rio
On 8/4/2020 5:48 AM, Wolfgang Schuster wrote:
> Yes and it was already reported by Pablo but don't hesitate report
> future bugs.
Indeed. I really appreciate the fast testing of context lmtx updates
because that way we can move on fast and in steps.
> https://www.mail-archive.com/ntg-context@ntg.nl/msg95268.html
There was a file missing in the lmtx setup.
New upload. I pruned some 15 year old stub code (from the early luatex
dev times, it was still around; probably more such old code can go), so
hopefully all generates well.
Happy testing,
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-08-04 9:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 1:37 \emph not working in LMTX (bug?) Jairo A. del Rio
2020-08-04 3:48 ` Wolfgang Schuster
[not found] ` <CAKyqqabfRoAawd4rYG_R5Xwa-Ny0u2W4-kBF9Cu0iekHkQ7+0A@mail.gmail.com>
2020-08-04 4:07 ` Fwd: " Jairo A. del Rio
2020-08-04 4:16 ` Wolfgang Schuster
2020-08-04 4:23 ` Jairo A. del Rio
2020-08-04 9:17 ` Hans Hagen
2020-08-04 7:27 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).