Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)
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.li...@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 > ___ 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 ___
Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)
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 ___
[NTG-context] Fwd: \emph not working in LMTX (bug?)
-- Forwarded message - De: Jairo A. del Rio 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 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.li...@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 > > > > \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 ___
Re: [NTG-context] \emph not working in LMTX (bug?)
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 \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 ___
[NTG-context] \emph not working in LMTX (bug?)
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 \egroup \egroup l.2 \emph{Hola} Is it a bug? \emph worked for older versions. Thank you in advance. Regards, Jairo ___ 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 ___
[NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25
Hi Hans, A file which used to be typeset correctly with the previous versions of lmtx, now produces an error. Despite the error message being extremely cryptic: Error ! Missing number, treated as zero I could guess the origin of the bug, which seems to be \wordright, but although the following minimal example shows a bug it does not produce the same ERROR output page: the square ''end of proof'' \definesymbol[Fin][\mathematics{\square}] \def\qed{\wordright{\symbol[Fin]}} \starttext \startformula a^2 + b^2 = c^2 \stopformula \qed % the problem is here \stoptext In the above example if one adds something before \qed, then the square end-of-proof appears. However in my real file ConTeXt ouputs an error page and says: Error ! Missing number, treated as zero. Best regards: Otared ___ 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 ___
[NTG-context] \fontdimen in LuaMetaTeX
Hi, recent LuaMetaTeX versions no longer automatically resize the fontdimen arrays on assignments. Is there a way to manually resize them or is it necessary to reload a patched font you want more fontdimens? Also, there is an issue with the error message (I guess) for font.setfontdimen: \starttext \directlua{font.setfontdimen(0, 8, 0)} \stoptext gives token call, execute: invalid option '%i' to 'lua_pushfstring' stack traceback: [C]: in function 'font.setfontdimen' [ctxlua]:1: in main chunk 1 \starttext 2 >> \directlua{font.setfontdimen(0, 8, 0)} 3 \stoptext 4 Best regards, Marcel ___ 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 ___
Re: [NTG-context] bug in current latest (2019.10.11 15:57)?
On 8/3/20 7:26 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 03.08.2020 um 19:06: >> Hi Hans, >> >> the following sample complains about an undefined command with ConTeXt >> latest (2019.10.11 15:57): >> >> \starttext >> {\em æb} >> \stoptext >> >> I think this might be a bug in LMTX. > > The following two constants are missing from syst-ini.mkxl > (\semisimplegroupcode is needed for \triggergroupedcommand): > > \chardef\aligngroupcode = 6 > \chardef\semisimplegroupcode= 14 Many thanks for your fast reply, Wolfgang. Already fixed it on my computer and it works fine now. Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] lmtx update
On 7/31/20 10:32 AM, Hans Hagen wrote: > Hi, > > Sorry for the long mail ... > > One of the changes in lmtx is that we freeze the properties that > determine the paragraph shape as well as breaking into lines in such a > way that we have predictable behaviour. As a side effect it can be that > existing code (lmtx only) will behave differently (will be fixed when we > notice) but also that some low level user tweaking can not work, i.e. > they are just ignored, but only when they happen mid paragraph which > actually is always debatable anyway. Hi Hans, many thanks for your explanation. I wonder whether the new improvements could prevent body text running into the footnotes (as some of us have already reported). > [...] > No one ever requested it so see it an a quick and dirty example but > don't hesitate to ask for more anyway (we like an occasional challenge). If you are open for suggestions, I would ask for a footnotes that behave as a page index, such as in: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A6] \setupbodyfont[dejavu] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em] \setupnotation[dict][number=no, style={\tfx\setupinterlinespace[line=2.5ex]}] \starttext Πρῶτον δεῖ θέσθαι τί ὄνομα\dict{ὄνομα, -ατος, τό: noun} καὶ τί ῥῆμα\dict{ῥῆμα, -ατος, τό: verb}, ἔπειτα τί ἐστιν ἀπόφασις\dict{ἀπόφασις, -εως, ἡ: negation} καὶ κατάφασις\dict{κατάφασις, εως, ἡ: affirmation} καὶ ἀπόφανσις\dict{ἀπόφανσις, -εως, ἡ: statement} καὶ λόγος. \stoptext What I need there is that these notes are alphabetically sorted, such as in a standard register. As I proposed that (years ago), you told me it was too complex. I wonder whether this would be easier with the current developments. Many thanks for your improvements to ConTeXt, Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] bug in current latest (2019.10.11 15:57)?
Pablo Rodriguez schrieb am 03.08.2020 um 19:06: Hi Hans, the following sample complains about an undefined command with ConTeXt latest (2019.10.11 15:57): \starttext {\em æb} \stoptext I think this might be a bug in LMTX. The following two constants are missing from syst-ini.mkxl (\semisimplegroupcode is needed for \triggergroupedcommand): \chardef\aligngroupcode = 6 \chardef\semisimplegroupcode= 14 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 ___
[NTG-context] Notation of the first derivative in mathematical mode (lmtx)
Hello, I replaced the context engine with the lmtx engine but I find that the derivative symbol is too high regardless of the font used. I mainly use modern and pagella because I type many texts using mathematics: can we correct this problem, Thanks for your help. Fabrice \starttext \startitemize[n] \startitem \math{f'(x)=x²+4x+4} \stopitem \startitem \math{f''(x)=2x+4} \stopitem \stopitemize \stoptext ___ 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 ___
[NTG-context] bug in current latest (2019.10.11 15:57)?
Hi Hans, the following sample complains about an undefined command with ConTeXt latest (2019.10.11 15:57): \starttext {\em æb} \stoptext I think this might be a bug in LMTX. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___