[NTG-context] \autoinsertedspace fails
Happy New Year all! Following up on the problem with \autoinsertnextspace (https://mailman.ntg.nl/pipermail/ntg-context/2022/107111.html) and the new \autoinsertedspace that came from that report, I see that there is still a problem, or perhaps a problem again after it was previously repaired. The following code, run under the latest (and recent previous) version, produces an incorrect result, with no space inserted where expected in many cases. As the first examples after \starttext show, the problem appears to be with \autoinsertedspace, but perhaps I am using it incorrectly in the macro as well. \starttexdefinition unexpanded BD \dodoublegroupempty \doBD \stoptexdefinition \starttexdefinition doBD #1#2 \removeunwantedspaces\ % insert a space ( \ifsecondargument #1|–|#2 \else\iffirstargument #1– \else {\red I NEED A DATE OR DATES!} \fi\fi ) \autoinsertedspace \stoptexdefinition \tt \starttext This\autoinsertedspace fails unexpectedly with autoinsertedspace.\par This\autoinsertedspace \emph{fails unexpectedly} with autoinsertedspace.\par This\autoinsertnextspace works with autoinsertnextspace.\par This\autoinsertnextspace \emph{fails} as expected with autoinsertnextspace.\par Saussure\BD{1857}{1913} works.\par Saussure \BD{1857}{1913} \emph{works}.\par Saussure \BD{1857}{1913}. Works.\par Chomsky\BD{1928} fails with LMTX, works with MkIV.\par Chomsky \BD{1928} \emph{fails with LMTX, works with MkIV}.\par Chomsky \BD{1928}. Works.\par \BD blah\par \contextversion\ \texenginename \stoptext -- Rik ___ 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 ___
[NTG-context] pgfplots module wrecks in latest
Hi List, The TikZ related module “pgfplots” is causing a fatal error in the latest ConTeXt. Here is a MWE: \usemodule[tikz] \usemodule[pgfplots]% PGFPlots module for graphs \starttext \starttikzpicture \draw (0, 0) circle (3cm); \stoptikzpicture \stoptext Without loading the pgfplots module, this draws a circle. With the \usemodule[pgfplots] line, this has the error below before doing anything. I don’t know when this started happening, because I don’t use pgfplots often, but it was probably in the last couple months. Thanks for all the great updates! Gavin tex error > tex error on line 521 in file pgfplots.code.tex: Use of \pgfplots@command@to@string@@ doesn't match its definition m acro:colormap \pgfplots@colormap@catcodemagic \pgfplots@command@to@string #1#2->\expandafter \pgfplots@command@to@string@@ \meaning #1 \pgfplots@EOI {#2} \pgfplots@command@to@string\pgfplots@colormap@catcodemagic\pgfplots@colormap@catcodemagic If you say, e.g., '\def\a1{...}', then you must always put '1' after '\a', since control sequence names are made up of letters only. The macro here has not been followed by the required stuff, so I'm ignoring it. ___ 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 ___
[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip general/manuals/ general/manuals/lowlevel-boxes.pdf general/manuals/lowlevel-paragraphs.pdf general/manuals/primitives.pdf general/manuals/rules-mkiv.pdf sent 106,782 bytes received 21,728,667 bytes 2,298,468.32 bytes/sec total size is 449,275,300 speedup is 20.58 Running archiver: New dir: /var/www/aanhet.net/context//htdocs/archives/context-2022-12-29.15 172280869 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-29.15/latest 126745317 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-29.15/current 18956262 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-29.15/alpha 126707516 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-29.15/beta 444694060 /var/www/aanhet.net/context//htdocs/archives/context-2022-12-29.15 444694060 total ___ 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 ___