* new upload @ 2022-01-15 10:54 Hans Hagen via ntg-context 2022-01-15 11:33 ` hanneder--- via ntg-context 2022-01-15 18:34 ` undefined control sequence c!symbolcolor in MkIV, was " Rik Kabel via ntg-context 0 siblings, 2 replies; 13+ messages in thread From: Hans Hagen via ntg-context @ 2022-01-15 10:54 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen Hi, I uploaded a new version but best first read this because some is experimental and i need to sycn with those involved, so thereofre the uplaod (too many files involved): Indic: - We added indic language patterns ad well as defined the languages but labels are on the todo as are conversions; kauśika is working on this - We also added a tweak to deal with a certain class of indic fonts; there will be a more detailed report about the why and how by kauśika - So, Indic should work as before but with more dedicated support coming. Math: - Mikael and I are stepwise going over the math machinery: constructs, spacing etc in the perspective of what luametatex provided. - We think we can improve spacing (more consistent) but it needs some work and testing. Some gets shifted from engine heuristics to predictable control. - There will be a 'traditional swedish' spacing variant, also as an exaple of how users can finetune and adapt to the math culture they like. (I will likely make one for educational purpose). - All this is done by some fundamental extensions to the math engine (on top of all the already present configurability) but hopefully without side effects. Rest: - I added a few features discussed on the list (itemize and such) which I let others explain (omn the wiki). 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] 13+ messages in thread
* Re: new upload 2022-01-15 10:54 new upload Hans Hagen via ntg-context @ 2022-01-15 11:33 ` hanneder--- via ntg-context 2022-01-15 12:30 ` Hans Hagen via ntg-context 2022-01-15 18:34 ` undefined control sequence c!symbolcolor in MkIV, was " Rik Kabel via ntg-context 1 sibling, 1 reply; 13+ messages in thread From: hanneder--- via ntg-context @ 2022-01-15 11:33 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: hanneder > - We added indic language patterns ad well as defined the languages > but labels are on the todo as are conversions; kauśika is working on Perhaps the following notes are useful. 1. The simplest way, and what I was talking about, is to write and print Sanskrit in transliteration. ānandaḥ -> ānandaḥ 2. Then we can of course write and print the same word in the usual Indian Script (Devanāgarī) आनन्दः -> आनन्दः 3. But for academic use, one wants an input in roman (e-text are usually in roman), and the option to have an output in Devanāgarī) ānandaḥ -> आनन्दः For this an option with the transliterator would be required, I guess(?) Theoretically one could write Sanskrit in many scripts -- it has been written with many Indian scripts in history --, but I am wondering about the practical value of this. For imitating historic prints it would no doubt be nice, but not urgent. I was not aware of the hyphenation patterns by Yves Codet, if they work, they would cover case 1 and 2. And I just heard from a colleague that the latest babel version is incorporating a Sanskrit option that might cover the same ground (I am not sure whether this is useful). Thanks a lot! I just have to learn more about ConTeXt to able to use it:) --- Prof. Dr. Juergen Hanneder Philipps-Universitaet Marburg FG Indologie u. Tibetologie Deutschhausstr.12 35032 Marburg Germany Tel. 0049-6421-28-24930 hanneder@staff.uni-marburg.de ___________________________________________________________________________________ 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] 13+ messages in thread
* Re: new upload 2022-01-15 11:33 ` hanneder--- via ntg-context @ 2022-01-15 12:30 ` Hans Hagen via ntg-context 2022-01-15 14:52 ` Alexandre Christe via ntg-context 0 siblings, 1 reply; 13+ messages in thread From: Hans Hagen via ntg-context @ 2022-01-15 12:30 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen [-- Attachment #1: Type: text/plain, Size: 1831 bytes --] On 1/15/2022 12:33 PM, hanneder--- via ntg-context wrote: >> - We added indic language patterns ad well as defined the languages >> but labels are on the todo as are conversions; kauśika is working on > > Perhaps the following notes are useful. > > 1. The simplest way, and what I was talking about, is to write and print > Sanskrit in > transliteration. > > ānandaḥ -> ānandaḥ > > 2. Then we can of course write and print the same word in the usual > Indian Script (Devanāgarī) > > आनन्दः -> आनन्दः > > 3. But for academic use, one wants an input in roman (e-text are usually > in roman), and the option > to have an output in Devanāgarī) > > ānandaḥ -> आनन्दः > > For this an option with the transliterator would be required, I guess(?) > > Theoretically one could write Sanskrit in many scripts -- it has been > written > with many Indian scripts in history --, but I am wondering about the > practical value of this. > For imitating historic prints it would no doubt be nice, but not urgent. > > I was not aware of the hyphenation patterns by Yves Codet, if they work, > they would cover case 1 > and 2. And I just heard from a colleague that the latest babel version > is incorporating a Sanskrit option > that might cover the same ground (I am not sure whether this is useful). > > Thanks a lot! I just have to learn more about ConTeXt to able to use it:) does the attached sort of what you want 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 ----------------------------------------------------------------- [-- Attachment #2: indic.tex --] [-- Type: text/plain, Size: 2968 bytes --] \startluacode fonts.handlers.otf.addfeature { name = "iast", type = "ligature", data = { ["ऐ"] = { "a", "i" }, ["औ"] = { "a", "u" }, ["ख"] = { "k", "h" }, ["छ"] = { "c", "h" }, ["ठ"] = { "ṭ", "h" }, ["थ"] = { "t", "h" }, ["फ"] = { "p", "h" }, ["घ"] = { "g", "h" }, ["झ"] = { "j", "h" }, ["ढ"] = { "ḍ", "h" }, ["ध"] = { "d", "h" }, ["भ"] = { "b", "h" }, } } fonts.handlers.otf.addfeature { name = "iast", type = "substitution", data = { ["a"] = "अ", ["ā"] = "आ" , ["i"] = "इ", ["ī"] = "ई", ["u"] = "उ", ["ū"] = "ऊ", ["ṛ"] = "ऋ", ["ṝ"] = "ॠ", ["ḷ"] = "ऌ", ["ḹ"] = "ॡ", ["e"] = "ए", ["o"] = "ओ", ["ṃ"] = "ं", ["ḥ"] = "ः", ["˜"] = "ँ", ["'"] = "ऽ", ["k"] = "क", ["c"] = "च", ["ṭ"] = "ट", ["t"] = "त", ["p"] = "प", ["g"] = "ग", ["j"] = "ज", ["ḍ"] = "ड", ["d"] = "द", ["b"] = "ब", ["ṅ"] = "ङ", ["ñ"] = "ञ", ["ṇ"] = "ण", ["n"] = "न", ["m"] = "म", ["h"] = "ह", ["y"] = "य", ["r"] = "र", ["l"] = "ल", ["v"] = "व", ["ś"] = "श", ["ṣ"] = "ष", ["s"] = "स", } } \stopluacode \starttext \definefontfeature[iast][devanagari-two][iast=yes] \definedfont[file:shobhika-regular.otf*iast at 18pt] vid dhātorghañā vedaśabdo niṣpadyate. vid jñāne vid vicāraṇe vidlṛ lābhe vid sattāyām ityādidhātubhyo jñānaṃ sattā lābhaśceti trayo'pyarthāḥ siddhyanti. lāb haśabdena jīvanarūpā sthitirapi prahītuṃ śakyate sattāpadena cotpattiḥ. tena ut pattiḥ sthitiścetyubhayamapi vid dhātorarthe'ntarbhavati. ghañpratyayaścāpi bhāve akartari ca kārake vidhīyate iti jñānam jñānasādhanam jñānakarma jñānādhikara ṇam sattā sattāsādhanam sattākarma sattādhikaraṇam sthiti sthitisādhanam sthi tikarma sthityadhikaraṇaścetyādi sarvaṃ vedaśabdārthatayā vyākhyātuṃ śakyate. tatra granthātmakeṣu vedeṣu śābdajñānasādhanatvameva samanvāyayanti prāyeṇa vidvāṃsaḥ. anveṣaṇaprakriyayā pariśīlyamāne tu sarvavidhajñānasādhanam jñā narūpatvam sattāsādhanatvam sattārūpatvam sthitisādhanatvam sthitirūpatvam ce tyādyapi vedaśabdārthe samanvitaṃ bhavati. \stoptext [-- Attachment #3: 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] 13+ messages in thread
* Re: new upload 2022-01-15 12:30 ` Hans Hagen via ntg-context @ 2022-01-15 14:52 ` Alexandre Christe via ntg-context 2022-01-15 15:14 ` Hans Hagen via ntg-context 2022-01-15 16:45 ` Hans Hagen via ntg-context 0 siblings, 2 replies; 13+ messages in thread From: Alexandre Christe via ntg-context @ 2022-01-15 14:52 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Alexandre Christe [-- Attachment #1.1: Type: text/plain, Size: 2882 bytes --] Just came across a weird behavior with the latest upload. The following doesn't print as it should \startformula 4^{2x} - 4^x - 25 = 0 \stopformula I don't think it's normal (I see the spacing to make room for anything that comes after the first character in the exposant, but it is not printed). Le sam. 15 janv. 2022 à 13:31, Hans Hagen via ntg-context < ntg-context@ntg.nl> a écrit : > On 1/15/2022 12:33 PM, hanneder--- via ntg-context wrote: > >> - We added indic language patterns ad well as defined the languages > >> but labels are on the todo as are conversions; kauśika is working on > > > > Perhaps the following notes are useful. > > > > 1. The simplest way, and what I was talking about, is to write and print > > Sanskrit in > > transliteration. > > > > ānandaḥ -> ānandaḥ > > > > 2. Then we can of course write and print the same word in the usual > > Indian Script (Devanāgarī) > > > > आनन्दः -> आनन्दः > > > > 3. But for academic use, one wants an input in roman (e-text are usually > > in roman), and the option > > to have an output in Devanāgarī) > > > > ānandaḥ -> आनन्दः > > > > For this an option with the transliterator would be required, I guess(?) > > > > Theoretically one could write Sanskrit in many scripts -- it has been > > written > > with many Indian scripts in history --, but I am wondering about the > > practical value of this. > > For imitating historic prints it would no doubt be nice, but not urgent. > > > > I was not aware of the hyphenation patterns by Yves Codet, if they work, > > they would cover case 1 > > and 2. And I just heard from a colleague that the latest babel version > > is incorporating a Sanskrit option > > that might cover the same ground (I am not sure whether this is useful). > > > > Thanks a lot! I just have to learn more about ConTeXt to able to use it:) > > does the attached sort of what you want > > 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 > > ___________________________________________________________________________________ > [-- Attachment #1.2: Type: text/html, Size: 4169 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] 13+ messages in thread
* Re: new upload 2022-01-15 14:52 ` Alexandre Christe via ntg-context @ 2022-01-15 15:14 ` Hans Hagen via ntg-context 2022-01-15 15:16 ` Fabrice Couvreur via ntg-context 2022-01-15 16:45 ` Hans Hagen via ntg-context 1 sibling, 1 reply; 13+ messages in thread From: Hans Hagen via ntg-context @ 2022-01-15 15:14 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen On 1/15/2022 3:52 PM, Alexandre Christe via ntg-context wrote: > Just came across a weird behavior with the latest upload. > > The following doesn't print as it should > \startformula 4^{2x} - 4^x - 25 = 0 \stopformula > > I don't think it's normal (I see the spacing to make room for anything > that comes after the first character in the exposant, but it is not > printed). i'll fix it ... ----------------------------------------------------------------- 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] 13+ messages in thread
* Re: new upload 2022-01-15 15:14 ` Hans Hagen via ntg-context @ 2022-01-15 15:16 ` Fabrice Couvreur via ntg-context 2022-01-15 16:26 ` Hans Hagen via ntg-context 0 siblings, 1 reply; 13+ messages in thread From: Fabrice Couvreur via ntg-context @ 2022-01-15 15:16 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur [-- Attachment #1.1: Type: text/plain, Size: 1683 bytes --] Hi Hans I just updated lmtx and this macro does not work although it did before. On the other hand, no problem with context. Thanks. Fabrice \protected\def\e#1{\math{{\rm e}^{#1}}\autoinsertnextspace} \starttext \startformula \e{a+b} \stopformula \stoptext Le sam. 15 janv. 2022 à 16:14, Hans Hagen via ntg-context < ntg-context@ntg.nl> a écrit : > On 1/15/2022 3:52 PM, Alexandre Christe via ntg-context wrote: > > Just came across a weird behavior with the latest upload. > > > > The following doesn't print as it should > > \startformula 4^{2x} - 4^x - 25 = 0 \stopformula > > > > I don't think it's normal (I see the spacing to make room for anything > > that comes after the first character in the exposant, but it is not > > printed). > i'll fix it ... > > > > ----------------------------------------------------------------- > 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 > > ___________________________________________________________________________________ > [-- Attachment #1.2: Type: text/html, Size: 3622 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] 13+ messages in thread
* Re: new upload 2022-01-15 15:16 ` Fabrice Couvreur via ntg-context @ 2022-01-15 16:26 ` Hans Hagen via ntg-context 0 siblings, 0 replies; 13+ messages in thread From: Hans Hagen via ntg-context @ 2022-01-15 16:26 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen On 1/15/2022 4:16 PM, Fabrice Couvreur via ntg-context wrote: > Hi Hans > I just updated lmtx and this macro does not work although it did before. > On the other hand, no problem with context. > Thanks. > Fabrice > > \protected\def\e#1{\math{{\rm e}^{#1}}\autoinsertnextspace} > > \starttext > \startformula > \e{a+b} > \stopformula > \stoptext if the test suite doesn't crash (i only test that) i'll upload ... it has to do with decoupling some in the engine: tex uses lots of shifting, cheating on dimensions and displacements that relate to (older) fonts and for the purpose of tracing i changed some ... so we're seeing a side effect of that for a while we already have this: \tracingmath2\tracingonline2 just to give an idea what enters tex's math machinery 5:7: > \inlinemath= 5:7: \displaystyle 5:7: \mathord 5:7: .\nucleus 5:7: ..\mathchar (fam="0,char="65) 5:7: .\superscript 5:7: ..\mathlist 5:7: ...\mathord 5:7: ....\nucleus 5:7: .....\mathchar (fam="0,char="61) 5:7: ...\mathbin 5:7: ....\nucleus 5:7: .....\mathchar (fam="0,char="2B) 5:7: ...\mathord 5:7: ....\nucleus 5:7: .....\mathchar (fam="0,char="62) i'll upload a fixed version fwiw: \frac and friends are currently being redone; for that we now have a frac class (as well as rad), so \mathfrac{...} \mathrad{...} in addition to \mathord etc other new things are \beginmathgroup ... \endmathgroup that permits better local settings without messing up the spacing due to classes and we have dozens more spacing class variables ... all waiting to be used (some features are already there for more than a year but now get used in low level code, which is why we can expect some instabilities) 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] 13+ messages in thread
* Re: new upload 2022-01-15 14:52 ` Alexandre Christe via ntg-context 2022-01-15 15:14 ` Hans Hagen via ntg-context @ 2022-01-15 16:45 ` Hans Hagen via ntg-context 1 sibling, 0 replies; 13+ messages in thread From: Hans Hagen via ntg-context @ 2022-01-15 16:45 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen On 1/15/2022 3:52 PM, Alexandre Christe via ntg-context wrote: > Just came across a weird behavior with the latest upload. > > The following doesn't print as it should > \startformula 4^{2x} - 4^x - 25 = 0 \stopformula > > I don't think it's normal (I see the spacing to make room for anything > that comes after the first character in the exposant, but it is not > printed). to get an idea about default and additional spacing in tex ... \starttext \startbuffer \dontleavehmode\ruledhbox{$x^2 + x$}\par \dontleavehmode\ruledhbox{$x_2 + x$}\par \dontleavehmode\ruledhbox{$x^^2 + x$}\par \dontleavehmode\ruledhbox{$x__2 + x$}\blank \stopbuffer \startTEXpage[offset=3pt] \getbuffer \Umathspaceafterscript \textstyle0pt \Umathspacebeforescript\textstyle0pt \getbuffer \Umathextrasupspace \textstyle20pt \Umathextrasubspace \textstyle40pt \Umathextrasupprespace \textstyle10pt \Umathextrasubprespace \textstyle30pt \getbuffer \stopTEXpage \stoptext so by default there is space added to scripts (more in latin modern than in cmr btw as it is font driven) but one can argue if that makes sense at all ... this is why we might default to zero font spacing and specific super/subscript spacing instead (just as in lmtx we have prescripts and related (fake opentype) spacing) in a similar fashion there is built-in pre/post fraction spacing that makes that we cannot have tight fractions (by default) while in fact that has to be driven by proper fraction-class spacing so that's another thing that might happen: tight fractions + proper interclass spacing (because we have less memory constraints than when tex showed up we can add classes without overhead) (i bet that due to a 'tex does perfect math syndrome' these thinsg go unnoticed (not by DEK himself, just look at the chapters on finetunign math) ... some of it is also compensate for the width-of-glyph cheating that goes on in the traditional engine but that is another matter 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] 13+ messages in thread
* undefined control sequence c!symbolcolor in MkIV, was new upload 2022-01-15 10:54 new upload Hans Hagen via ntg-context 2022-01-15 11:33 ` hanneder--- via ntg-context @ 2022-01-15 18:34 ` Rik Kabel via ntg-context 2022-01-15 19:29 ` Hans Hagen via ntg-context 1 sibling, 1 reply; 13+ messages in thread From: Rik Kabel via ntg-context @ 2022-01-15 18:34 UTC (permalink / raw) To: ntg-context; +Cc: Rik Kabel [-- Attachment #1.1: Type: text/plain, Size: 664 bytes --] MWE: \definelabel[xx][headcolor=red] \starttext ab\xx \stoptext fails, reporting in log: tex error > tex error on line 4 in file G:/Desktop/mwe.tex: ! Undefined control sequence <argument> \c!symbolcolor \labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1 \endcsname \??labels \currentlabel :#1\else \expandafter \dolabelparentparameter \csname \??labels \currentlabel :\s!parent \endcsname {#1}\fi \endcsname \useconstructionstyleandcolor ...pty \else \dousecurrentstyleparameter \fi \edef \currentcolorparameter {\labelparameter {#2} MkIV only, no problem in LMTX. -- Rik [-- Attachment #1.2: Type: text/html, Size: 1380 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] 13+ messages in thread
* Re: undefined control sequence c!symbolcolor in MkIV, was new upload 2022-01-15 18:34 ` undefined control sequence c!symbolcolor in MkIV, was " Rik Kabel via ntg-context @ 2022-01-15 19:29 ` Hans Hagen via ntg-context 2022-01-19 17:29 ` Rik Kabel via ntg-context 0 siblings, 1 reply; 13+ messages in thread From: Hans Hagen via ntg-context @ 2022-01-15 19:29 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen On 1/15/2022 7:34 PM, Rik Kabel via ntg-context wrote: > MWE: > > \definelabel[xx][headcolor=red] > \starttext > ab\xx > \stoptext > > fails, reporting in log: > > tex error > tex error on line 4 in file G:/Desktop/mwe.tex: ! > Undefined control sequence > > <argument> \c!symbolcolor > > \labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1 > \endcsname \??labels \currentlabel :#1\else \expandafter > \dolabelparentparameter \csname \??labels \currentlabel :\s!parent > \endcsname {#1}\fi \endcsname > \useconstructionstyleandcolor ...pty \else > \dousecurrentstyleparameter \fi \edef \currentcolorparameter > {\labelparameter {#2} > > MkIV only, no problem in LMTX. replace by \c!numbercolor and remake the format ----------------------------------------------------------------- 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] 13+ messages in thread
* Re: undefined control sequence c!symbolcolor in MkIV, was new upload 2022-01-15 19:29 ` Hans Hagen via ntg-context @ 2022-01-19 17:29 ` Rik Kabel via ntg-context 2022-01-19 17:46 ` Adam Reviczky via ntg-context 2022-01-19 19:07 ` Hans Hagen via ntg-context 0 siblings, 2 replies; 13+ messages in thread From: Rik Kabel via ntg-context @ 2022-01-19 17:29 UTC (permalink / raw) To: Hans Hagen, mailing list for ConTeXt users; +Cc: Rik Kabel On 2022-01-15 14:29, Hans Hagen wrote: > On 1/15/2022 7:34 PM, Rik Kabel via ntg-context wrote: >> MWE: >> >> \definelabel[xx][headcolor=red] >> \starttext >> ab\xx >> \stoptext >> >> fails, reporting in log: >> >> tex error > tex error on line 4 in file G:/Desktop/mwe.tex: ! >> Undefined control sequence >> >> <argument> \c!symbolcolor >> >> \labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1 >> \endcsname \??labels \currentlabel :#1\else \expandafter >> \dolabelparentparameter \csname \??labels \currentlabel :\s!parent >> \endcsname {#1}\fi \endcsname >> \useconstructionstyleandcolor ...pty \else >> \dousecurrentstyleparameter \fi \edef \currentcolorparameter >> {\labelparameter {#2} >> >> MkIV only, no problem in LMTX. > replace by \c!numbercolor and remake the format > > This is still (or perhaps once again) a problem using the latest MkIV (context --luatex). -- Rik ___________________________________________________________________________________ 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] 13+ messages in thread
* Re: undefined control sequence c!symbolcolor in MkIV, was new upload 2022-01-19 17:29 ` Rik Kabel via ntg-context @ 2022-01-19 17:46 ` Adam Reviczky via ntg-context 2022-01-19 19:07 ` Hans Hagen via ntg-context 1 sibling, 0 replies; 13+ messages in thread From: Adam Reviczky via ntg-context @ 2022-01-19 17:46 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Adam Reviczky [-- Attachment #1.1: Type: text/plain, Size: 1820 bytes --] Hi Rik, In the interim you can change one more occurrence of "symbolcolor" in line 317: https://github.com/reviczky/context-mirror/commit/f4bfe0baaeb4bdcc6b8098de6ef1f8c96f928d07 Adam On Wed, Jan 19, 2022 at 5:31 PM Rik Kabel via ntg-context < ntg-context@ntg.nl> wrote: > On 2022-01-15 14:29, Hans Hagen wrote: > > On 1/15/2022 7:34 PM, Rik Kabel via ntg-context wrote: > >> MWE: > >> > >> \definelabel[xx][headcolor=red] > >> \starttext > >> ab\xx > >> \stoptext > >> > >> fails, reporting in log: > >> > >> tex error > tex error on line 4 in file G:/Desktop/mwe.tex: ! > >> Undefined control sequence > >> > >> <argument> \c!symbolcolor > >> > >> \labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1 > >> \endcsname \??labels \currentlabel :#1\else \expandafter > >> \dolabelparentparameter \csname \??labels \currentlabel :\s!parent > >> \endcsname {#1}\fi \endcsname > >> \useconstructionstyleandcolor ...pty \else > >> \dousecurrentstyleparameter \fi \edef \currentcolorparameter > >> {\labelparameter {#2} > >> > >> MkIV only, no problem in LMTX. > > replace by \c!numbercolor and remake the format > > > > > This is still (or perhaps once again) a problem using the latest MkIV > (context --luatex). > > -- > Rik > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > [-- Attachment #1.2: Type: text/html, Size: 3106 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] 13+ messages in thread
* Re: undefined control sequence c!symbolcolor in MkIV, was new upload 2022-01-19 17:29 ` Rik Kabel via ntg-context 2022-01-19 17:46 ` Adam Reviczky via ntg-context @ 2022-01-19 19:07 ` Hans Hagen via ntg-context 1 sibling, 0 replies; 13+ messages in thread From: Hans Hagen via ntg-context @ 2022-01-19 19:07 UTC (permalink / raw) To: Rik Kabel, mailing list for ConTeXt users; +Cc: Hans Hagen On 1/19/2022 6:29 PM, Rik Kabel wrote: > This is still (or perhaps once again) a problem using the latest MkIV > (context --luatex). not twice a day upload for something like that -) 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] 13+ messages in thread
end of thread, other threads:[~2022-01-19 19:07 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-01-15 10:54 new upload Hans Hagen via ntg-context 2022-01-15 11:33 ` hanneder--- via ntg-context 2022-01-15 12:30 ` Hans Hagen via ntg-context 2022-01-15 14:52 ` Alexandre Christe via ntg-context 2022-01-15 15:14 ` Hans Hagen via ntg-context 2022-01-15 15:16 ` Fabrice Couvreur via ntg-context 2022-01-15 16:26 ` Hans Hagen via ntg-context 2022-01-15 16:45 ` Hans Hagen via ntg-context 2022-01-15 18:34 ` undefined control sequence c!symbolcolor in MkIV, was " Rik Kabel via ntg-context 2022-01-15 19:29 ` Hans Hagen via ntg-context 2022-01-19 17:29 ` Rik Kabel via ntg-context 2022-01-19 17:46 ` Adam Reviczky via ntg-context 2022-01-19 19:07 ` Hans Hagen via ntg-context
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).