Hi, I uploaded a new lmtx. There are some new features that wil be revealed in the future (likely after the meeting) but here is one: \starttext \defineoverlay [test] [\color [blue] {TEST \inframed [foregroundcolor=red] {xxx} TEST}] \framed [background=test, foregroundstyle=\switchtobodyfont[small]] {test} \stoptext From now on many commands accept (properly) nested [] inside commands that use [] as fences (like the setup commands) where it makes sense. It is up to the user to decide to use {} (as before) or not but it is less error prone. It is now also possible to nest setups as in \starttext \startsetups one \startsetups [three] HERE \stopsetups \stopsetups \startsetups two \startsetups [three] THERE \stopsetups \stopsetups \setups[one] \setups[three] \setups[two] \setups[three] \stoptext As part of the ongoing improvements on math rendering we added some classic lm/cm kerns (between upperacse and periods / commas) in the goodie files. Some lowlevel manuals have been extended, explaining experimental 'named cross macro nesting parameter referencing' and 'constrained cq. retained assignments', but that is only relevant for those interested in overcoming some limitations in the traditional engines. 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 -----------------------------------------------------------------
On 8/9/2023 11:42 AM, Hans Hagen wrote:
Hi,
I uploaded a new lmtx. There are some new features that wil be revealed in the future (likely after the meeting) but here is one:
Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed. \setuppagenumbering [alternative=doublesided,location=] \setupcaption[style=sans,headstyle=sans] \starttext \startchapter[title={Page Numbering Test}] \startplacetable[location={here,spit,force},title={Title?}] \starttabulate[|rp|lp|] \HL \NC tufte \NC \input tufte \NC \AR \NC ward \NC \input ward \NC \AR \NC montgomery \NC \input montgomery \NC \AR \HL \stoptabulate \stopplacetable \dorecurse{7}{ \input tufte \par} \stopchapter \stoptext -- RIk
On 8/9/2023 9:29 PM, Rik Kabel wrote:
On 8/9/2023 11:42 AM, Hans Hagen wrote:
Hi,
I uploaded a new lmtx. There are some new features that wil be revealed in the future (likely after the meeting) but here is one:
Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed.
indeed, probably a fix tomorrow ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am 09.08.23 um 23:11 schrieb Hans Hagen:
On 8/9/2023 9:29 PM, Rik Kabel wrote:
Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed.
indeed, probably a fix tomorrow
I don’t know if that’s the same problem, but the current version gives a parsing error at \quotation{\about[kap:example]} (2023.07.29 still works.) Hraban
Am 09.08.23 um 23:11 schrieb Hans Hagen:
On 8/9/2023 9:29 PM, Rik Kabel wrote:
Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed.
indeed, probably a fix tomorrow
I don’t know if that’s the same problem, but the current version gives a parsing error at \quotation{\about[kap:example]}
(2023.07.29 still works.)
On 8/10/2023 2:57 PM, Henning Hraban Ramm wrote: there was a new upload ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am 10.08.23 um 15:03 schrieb Hans Hagen:
Am 09.08.23 um 23:11 schrieb Hans Hagen:
On 8/9/2023 9:29 PM, Rik Kabel wrote:
Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed.
indeed, probably a fix tomorrow
I don’t know if that’s the same problem, but the current version gives a parsing error at \quotation{\about[kap:example]}
(2023.07.29 still works.)
On 8/10/2023 2:57 PM, Henning Hraban Ramm wrote: there was a new upload
I was already on the latest, and the problem persists. Here’s a MWE:
"""
\setupreferencing[left=,right=,]
\starttext
\about[something]
\stoptext
"""
tex error > tex error on line 5 in file referencetest.tex: Extra
}, or forgotten \endgroup
<macro>
\egroup
<macro> \about
...ways \let \\\space \postponenotes \referencingparameter \c!left
\doifelsereferencefound {#1} {\goto {\limitatetext
\currentreferencetitle {\referencingparameter \c!width }\unknown
}[#1]}{}\flushnotes \referencingparameter \c!right
\endgroup
Henning Hraban Ramm schrieb am 10.08.2023 um 15:33:
I was already on the latest, and the problem persists. Here’s a MWE:
""" \setupreferencing[left=,right=,]
\starttext
\about[something]
\stoptext """
It's unrelated to \about. Using nothing as argument to the last key doesn't work, e.g. in the following example "b" keeps \endgroup as value when I wrote "b=". \starttext \getdummyparameters[a=\begingroup,b=\endgroup] \dummyparameter{a} \dummyparameter{b} % b is still \endgroup \getdummyparameters[a=,b=] \dummyparameter{a} \dummyparameter{b} \stoptext Wolfgang
Henning Hraban Ramm schrieb am 10.08.2023 um 15:33:
I was already on the latest, and the problem persists. Here’s a MWE:
""" \setupreferencing[left=,right=,]
\starttext
\about[something]
\stoptext """
It's unrelated to \about. Using nothing as argument to the last key doesn't work, e.g. in the following example "b" keeps \endgroup as value when I wrote "b=".
\starttext
\getdummyparameters[a=\begingroup,b=\endgroup]
\dummyparameter{a} \dummyparameter{b}
% b is still \endgroup
\getdummyparameters[a=,b=]
\dummyparameter{a} \dummyparameter{b}
\stoptext indeed that was the issue, seems like i generated the update but didn't
On 8/10/2023 3:52 PM, Wolfgang Schuster wrote: push it, can you check again? 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 -----------------------------------------------------------------
Hans Hagen via ntg-context schrieb am 10.08.2023 um 16:41:
On 8/10/2023 3:52 PM, Wolfgang Schuster wrote:
Henning Hraban Ramm schrieb am 10.08.2023 um 15:33:
I was already on the latest, and the problem persists. Here’s a MWE:
""" \setupreferencing[left=,right=,]
\starttext
\about[something]
\stoptext """
It's unrelated to \about. Using nothing as argument to the last key doesn't work, e.g. in the following example "b" keeps \endgroup as value when I wrote "b=".
\starttext
\getdummyparameters[a=\begingroup,b=\endgroup]
\dummyparameter{a} \dummyparameter{b}
% b is still \endgroup
\getdummyparameters[a=,b=]
\dummyparameter{a} \dummyparameter{b}
\stoptext indeed that was the issue, seems like i generated the update but didn't push it, can you check again?
It works now as expected. Wolfgang
Did arguments regress in 2023.08.10 02:59?
$ cat u.tex
\starttext
Feisty arguments
\stoptext
$ context u.tex
$ ls -la *.pdf
-rw-r--r-- 1 username username 6279 Aug 10 18:28 u.pdf
$ context --arguments=x=y u.tex | grep error
tex error > tex error on line 13 in file : Use of \getrawparameters
doesn't match its definition
mtx-context | fatal error: return code: 1
This was working with the previous release.
On Wed, Aug 9, 2023 at 8:43 AM Hans Hagen
Hi,
I uploaded a new lmtx. There are some new features that wil be revealed in the future (likely after the meeting) but here is one:
\starttext
\defineoverlay [test] [\color [blue] {TEST \inframed [foregroundcolor=red] {xxx} TEST}]
\framed [background=test, foregroundstyle=\switchtobodyfont[small]] {test}
\stoptext
From now on many commands accept (properly) nested [] inside commands that use [] as fences (like the setup commands) where it makes sense. It is up to the user to decide to use {} (as before) or not but it is less error prone.
It is now also possible to nest setups as in
\starttext
\startsetups one \startsetups [three] HERE \stopsetups \stopsetups
\startsetups two \startsetups [three] THERE \stopsetups \stopsetups
\setups[one] \setups[three]
\setups[two] \setups[three]
\stoptext
As part of the ongoing improvements on math rendering we added some classic lm/cm kerns (between upperacse and periods / commas) in the goodie files.
Some lowlevel manuals have been extended, explaining experimental 'named cross macro nesting parameter referencing' and 'constrained cq. retained assignments', but that is only relevant for those interested in overcoming some limitations in the traditional engines.
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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net
___________________________________________________________________________________
Did arguments regress in 2023.08.10 02:59?
$ cat u.tex \starttext Feisty arguments \stoptext $ context u.tex $ ls -la *.pdf -rw-r--r-- 1 username username 6279 Aug 10 18:28 u.pdf $ context --arguments=x=y u.tex | grep error tex error > tex error on line 13 in file : Use of \getrawparameters doesn't match its definition mtx-context | fatal error: return code: 1
This was working with the previous release.
On 8/11/2023 3:31 AM, Thangalin wrote: line 802 in core-env should be: \permanent\tolerant\protected\def\setupenv {\syst_variables_set\getrawparameters[\s!environment]} (seems i forgot that one when doing some cleanup) 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 -----------------------------------------------------------------
That works Hans, thank you. line 802 in core-env should be:
\permanent\tolerant\protected\def\setupenv {\syst_variables_set\getrawparameters[\s!environment]}
(seems i forgot that one when doing some cleanup)
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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net
___________________________________________________________________________________
participants (6)
-
Hans Hagen
-
Hans Hagen
-
Henning Hraban Ramm
-
Rik Kabel
-
Thangalin
-
Wolfgang Schuster