Re: [NTG-context] fancybreak module
Clyde Johnston schrieb am 25.01.2021 um 21:12: Thank you. It has been a few years since I have done an installation. I think the old installation instructions either installed the modules by default or guided me to do so (as I do not remember installing them) whereas the new one does not. I followed the Module installation instructions of LTMX (https://wiki.contextgarden.net/Modules) and it is now working. The only difficulty I had is that Windows does not come with "rsync" so I had to run it from Linux and then copy it across manually to my PC before running install.bat. When you need only a very small number of third party modules you can just download the zip file and unpack the content in the texmf-modules folder. 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] Footnotes in columns
I can no longer print the footnotes when I using columns in LTMX. If I remove the \{start|stop}columns, it works fine. This works on my old MKIV 2018.07.02 14:39 version. \setupcolumns[n=2,rule=off,balance=no] \starttext \startcolumns \input ward\footnote{A small footnote here} \stopcolumns \stoptext Context Version: 2021.01.24 16:07 Clyde ___ 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] Inline Fractions
On 1/25/2021 1:58 PM, Johann Birnick wrote: Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2} \frac{\sin(x)}{\epsilon_0}$ \stoptext Compare the output between the current LMTX version with some old version. (I compared with mk4, because I had nothing else available. I don't know when bugs were introduced.) I'll check it. We're in a transition to a dual font model in math and it's kind of tricky to let both do the same but we'll get there eventually. It also has some consequences for backand code which makes it even more tricky. But normally, once it does work it keeps working. 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 ___
Re: [NTG-context] fancybreak module
Thank you. It has been a few years since I have done an installation. I think the old installation instructions either installed the modules by default or guided me to do so (as I do not remember installing them) whereas the new one does not. I followed the Module installation instructions of LTMX (https://wiki.contextgarden.net/Modules) and it is now working. The only difficulty I had is that Windows does not come with "rsync" so I had to run it from Linux and then copy it across manually to my PC before running install.bat. Thanks, Clyde PS: I have a few other backward-compatibility issues but I need to take a closer look and build MWE for them. -Original Message- From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] Sent: Monday, January 25, 2021 9:31 PM To: mailing list for ConTeXt users Cc: Clyde Johnston Subject: Re: [NTG-context] fancybreak module Clyde Johnston schrieb am 25.01.2021 um 19:48: > Yes, thanks for taking a look. The following message in the log file (line12) modules > 'fancybreak' is not found tells us ConTeXt isn't able to load/find a module with the requested name. Are you sure the module is installed on your system? Is it possible your previous example works because the module is in the same folder as the file for the document. 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] externalizing TikZ graphics
On Mon, 2021-01-25 at 16:42 +0100, Henning Hraban Ramm wrote: > Hi, > > did anyone succeed in externalizing TikZ graphics with ConTeXt? The external library is LaTeX-only and that unfortunately won't change because it heavily relies on implementation detail of LaTeX's output routine. > It’s about a project with hundreds of diagrams that (in the current state) > clutter the main directory with cryptically-named PDFs (at least sorted by > component name) and that on each ConTeXt run take a lot of runtime (I guess > also the many log lines slow the process). > > In 2013, Aditya said it wasn’t possible to externalize pgf/TikZ graphics as > documented in the pgf manual, and "perhaps" it would make sense to use his > filter module: filter is your best bet, in my opinion. > https://mailman.ntg.nl/pipermail/ntg-context/2013/071162.html > > Did anyone try to do that? I didn’t find anything in this list’s archives. > > The original pgf way is two-pass, and you’d need to call LaTeX with the > intended graphics name as --jobname; that’s far too much of a hassle for that > many graphics. > > I generally like how the filter module works, as you can also define the name > of every buffer, but my only experience with that is my LilyPond setup. > > If nobody has better advice, I’ll try to come up with a filter setup. That > would mean we’d avoid the tikz module, every TikZ diagram will get written to > a buffer of configurable name, and that (with preamble setup) will get run > through LaTeX. I read pgf had some restrictions in plain TeX mode, but perhaps > we can also use LuaTeX in plain mode to avoid the LaTeX dependency. > > Best, Hraban > __ > _ > 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 > __ > _ ___ 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] fancybreak module
Clyde Johnston schrieb am 25.01.2021 um 19:48: Yes, thanks for taking a look. The following message in the log file (line12) modules > 'fancybreak' is not found tells us ConTeXt isn't able to load/find a module with the requested name. Are you sure the module is installed on your system? Is it possible your previous example works because the module is in the same folder as the file for the document. 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] externalizing TikZ graphics
> Am 25.01.2021 um 18:58 schrieb Aditya Mahajan : > > or some variant of that should also work. But the filter module does make it > easier to store the results in another directory so that they are out of > sight. No, you need additional file system commands. > Here is a simple example: Thank you! Meanwhile, looking at my LilyPond module, I got as far as: """ \startmodule[tikzfilter] \usemodule[filter] % docs see https://github.com/adityam/filter \def\TIKZTEMP{tikztemp} % name of folder for TikZ/buffer files \startbuffer[tikz::before] \environment env_world % contains font setup etc. \environment env_TikZ % contains TikZ settings \startpagefigure \starttikzpicture[thick,domain=-90:90]% TODO: make this configurable \stopbuffer \startbuffer[tikz::after] \stoptikzpicture \stoppagefigure \stopbuffer \define[1]\ParseTikZFile% #1 is the name of the output file {\ctxlua{thirddata.parsetikzfile("#1")}} \startluacode thirddata = thirddata or {} -- create temp folder if missing if not lfs.isdir("\TIKZTEMP") then lfs.mkdir("\TIKZTEMP") end function thirddata.parsetikzfile(name) -- name is like \TIKZTEMP/mainfile-temp-tikz-21.pdf logs.report("TIKZFILTER","name='" .. name .. "'") context("\\externalfigure[" .. name .. "]") end \stopluacode \defineexternalfilter[tikz][ cache=yes, purge=no, directory=\TIKZTEMP, bufferbefore={tikz::before}, bufferafter={tikz::after}, readcommand=\ParseTikZFile, output={\externalfilterbasefile.pdf}, % ConTeXt never writes results to other directories filtercommand={context --batchmode --once --autopdf=auto --result=\externalfilterbasefile\space \externalfilterinputfile\space && mv \externalfilterbasefile.pdf\space \TIKZTEMP/}, ] \stopmodule Hraban ___ 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] fancybreak module
Yes, thanks for taking a look. Clyde -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Monday, January 25, 2021 8:27 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] fancybreak module Clyde Johnston schrieb am 25.01.2021 um 18:44: > Hmm... That did not work for me. The example on the garden > (https://wiki.contextgarden.net/Command/setupfancybreak) is not working > either. I get a "tex error > tex error on line 2 in file ./mwe.tex: > Undefined control sequence" on \setupfancybreak. Can you show your log-file because the fancybreak module on the wiki provides the \setupfancybreak command. 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 ___ mwe.log Description: Binary data mwe-error.log Description: Binary data ___ 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] fancybreak module
Clyde Johnston schrieb am 25.01.2021 um 18:44: Hmm... That did not work for me. The example on the garden (https://wiki.contextgarden.net/Command/setupfancybreak) is not working either. I get a "tex error > tex error on line 2 in file ./mwe.tex: Undefined control sequence" on \setupfancybreak. Can you show your log-file because the fancybreak module on the wiki provides the \setupfancybreak command. 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] externalizing TikZ graphics
On Mon, 25 Jan 2021, Henning Hraban Ramm wrote: > > > Am 25.01.2021 um 17:31 schrieb Hans Hagen : > > > >> If nobody has better advice, I’ll try to come up with a filter setup. That > >> would mean we’d avoid the tikz module, every TikZ diagram will get written > >> to a buffer of configurable name, and that (with preamble setup) will get > >> run through LaTeX. I read pgf had some restrictions in plain TeX mode, but > >> perhaps we can also use LuaTeX in plain mode to avoid the LaTeX dependency. > > In the following case the buffer only gets typeset when it changes: > > Thank you (and Henri)! But we’d need to include the same setup header every > time, so the filter module is probably really the best way. It is not only the tikz setup; you also need to copy the font setup etc. \typesetbuffer[setups,figure] or some variant of that should also work. But the filter module does make it easier to store the results in another directory so that they are out of sight. > There’s just a problem with labels, I guess, if I go the filter-LaTeX or > filter-TeX route. So filter-ConTeXt might make sense. > I think I understand now why integrating MetaPost made a lot of sense. Here is a simple example: \usemodule[filter] \startbuffer[tikz-before] \usemodule[tikz] \startTEXpage \starttikzpicture \stopbuffer \startbuffer[tikz-after] \stoptikzpicture \stopTEXpage \stopbuffer \defineexternalfilter [externaltikz] [ bufferbefore=tikz-before, bufferafter=tikz-after, cache=yes, filtercommand={context --batchmode \externalfilterinputfile\space --purgeall --result=\externalfilteroutputfile}, output={\externalfilterbasefile.pdf}, readcommand=\readPDFfile, ] \define[1]\readPDFfile{\externalfigure[#1]} % width and height could be added \starttext \startexternaltikz \draw (0,0) -- (1,1); \stopexternaltikz \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 ___
Re: [NTG-context] fancybreak module
Hmm... That did not work for me. The example on the garden (https://wiki.contextgarden.net/Command/setupfancybreak) is not working either. I get a "tex error > tex error on line 2 in file ./mwe.tex: Undefined control sequence" on \setupfancybreak. \usemodule[fancybreak] \setupfancybreak[symbol=star] \starttext Paragraph \fancybreak Paragraph \stoptext Thanks, Clyde -Original Message- From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] Sent: Monday, January 25, 2021 7:22 PM To: mailing list for ConTeXt users Cc: Clyde Johnston Subject: Re: [NTG-context] fancybreak module Clyde Johnston schrieb am 25.01.2021 um 17:55: > I just realized that \starbreak was one of my own macros (defined ages > ago) so the MWE should be: > > \usemodule[fancybreak] > > \define\starbreak{ > \fancybreak{ > \strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\ hfill\strut > }} \definesymbol [starbreak] [\maxaligned\bgroup \hfill\hfill \strut\symbol{star}\hfill\symbol{star}\hfill\symbol{star}% \hfill\hfill \egroup] \definefancybreak [starbreak] [symbol=starbreak] 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] fancybreak module
Clyde Johnston schrieb am 25.01.2021 um 17:55: I just realized that \starbreak was one of my own macros (defined ages ago) so the MWE should be: \usemodule[fancybreak] \define\starbreak{ \fancybreak{ \strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\hfill\strut }} \definesymbol [starbreak] [\maxaligned\bgroup \hfill\hfill \strut\symbol{star}\hfill\symbol{star}\hfill\symbol{star}% \hfill\hfill \egroup] \definefancybreak [starbreak] [symbol=starbreak] 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] fancybreak module
I just realized that \starbreak was one of my own macros (defined ages ago) so the MWE should be: \usemodule[fancybreak] \define\starbreak{ \fancybreak{ \strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\ hfill\strut }} \starttext \input ward \starbreak \input ward \stoptext Sorry for the confusion. Clyde From: Clyde Johnston [mailto:cl...@johnston.name] Sent: Monday, January 25, 2021 6:46 PM To: mailing list for ConTeXt users (ntg-context@ntg.nl) Subject: fancybreak module I have finally gotten around to upgrading my ConTeXt installation to LTMX and found that the \starbreak command in the "fancybreak" module no longer works. \usemodule[fancybreak] \starttext \input ward \starbreak \input ward \stoptext Have I missed something about the LTMX changes? I was working in version 2018.07.02 14:39 but not in 2021.01.24 16:07. Regards, Clyde ___ 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] fancybreak module
I have finally gotten around to upgrading my ConTeXt installation to LTMX and found that the \starbreak command in the "fancybreak" module no longer works. \usemodule[fancybreak] \starttext \input ward \starbreak \input ward \stoptext Have I missed something about the LTMX changes? I was working in version 2018.07.02 14:39 but not in 2021.01.24 16:07. Regards, Clyde ___ 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] externalizing TikZ graphics
> Am 25.01.2021 um 17:31 schrieb Hans Hagen : > >> If nobody has better advice, I’ll try to come up with a filter setup. That >> would mean we’d avoid the tikz module, every TikZ diagram will get written >> to a buffer of configurable name, and that (with preamble setup) will get >> run through LaTeX. I read pgf had some restrictions in plain TeX mode, but >> perhaps we can also use LuaTeX in plain mode to avoid the LaTeX dependency. > In the following case the buffer only gets typeset when it changes: Thank you (and Henri)! But we’d need to include the same setup header every time, so the filter module is probably really the best way. There’s just a problem with labels, I guess, if I go the filter-LaTeX or filter-TeX route. So filter-ConTeXt might make sense. I think I understand now why integrating MetaPost made a lot of sense. Hraban ___ 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] externalizing TikZ graphics
On 1/25/2021 4:42 PM, Henning Hraban Ramm wrote: Hi, did anyone succeed in externalizing TikZ graphics with ConTeXt? It’s about a project with hundreds of diagrams that (in the current state) clutter the main directory with cryptically-named PDFs (at least sorted by component name) and that on each ConTeXt run take a lot of runtime (I guess also the many log lines slow the process). In 2013, Aditya said it wasn’t possible to externalize pgf/TikZ graphics as documented in the pgf manual, and "perhaps" it would make sense to use his filter module: https://mailman.ntg.nl/pipermail/ntg-context/2013/071162.html Did anyone try to do that? I didn’t find anything in this list’s archives. The original pgf way is two-pass, and you’d need to call LaTeX with the intended graphics name as --jobname; that’s far too much of a hassle for that many graphics. I generally like how the filter module works, as you can also define the name of every buffer, but my only experience with that is my LilyPond setup. If nobody has better advice, I’ll try to come up with a filter setup. That would mean we’d avoid the tikz module, every TikZ diagram will get written to a buffer of configurable name, and that (with preamble setup) will get run through LaTeX. I read pgf had some restrictions in plain TeX mode, but perhaps we can also use LuaTeX in plain mode to avoid the LaTeX dependency. In the following case the buffer only gets typeset when it changes: \starttext \startbuffer[foo] % maybe include a style / enviroment \usemodule[tikz] \usetikzlibrary[patterns] \startTEXpage \starttikzpicture \draw[pattern color=red,pattern=bricks] (0,0) circle (1cm); \stoptikzpicture \stopTEXpage \stopbuffer \framed[offset=overlay]{\typesetbuffer[foo]} \stoptext 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 ___
[NTG-context] externalizing TikZ graphics
Hi, did anyone succeed in externalizing TikZ graphics with ConTeXt? It’s about a project with hundreds of diagrams that (in the current state) clutter the main directory with cryptically-named PDFs (at least sorted by component name) and that on each ConTeXt run take a lot of runtime (I guess also the many log lines slow the process). In 2013, Aditya said it wasn’t possible to externalize pgf/TikZ graphics as documented in the pgf manual, and "perhaps" it would make sense to use his filter module: https://mailman.ntg.nl/pipermail/ntg-context/2013/071162.html Did anyone try to do that? I didn’t find anything in this list’s archives. The original pgf way is two-pass, and you’d need to call LaTeX with the intended graphics name as --jobname; that’s far too much of a hassle for that many graphics. I generally like how the filter module works, as you can also define the name of every buffer, but my only experience with that is my LilyPond setup. If nobody has better advice, I’ll try to come up with a filter setup. That would mean we’d avoid the tikz module, every TikZ diagram will get written to a buffer of configurable name, and that (with preamble setup) will get run through LaTeX. I read pgf had some restrictions in plain TeX mode, but perhaps we can also use LuaTeX in plain mode to avoid the LaTeX dependency. Best, Hraban ___ 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] Download old version
How to download an old LMTX version? Best regards, Johann ___ 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] Inline Fractions
Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2} \frac{\sin(x)}{\epsilon_0}$ \stoptext Compare the output between the current LMTX version with some old version. (I compared with mk4, because I had nothing else available. I don't know when bugs were introduced.) Best regards, Johann ___ 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] Missing images in Wiki?
> On 22 Jan 2021, at 20:41, Andres Conrado Montoya Acosta > wrote: > > This is one example: > > https://wiki.contextgarden.net/Command/externalfigure > > However, now I checked the source, and the image files are there... and they > are being correctly linked, but the image attributes width and height are set > to zero. Maybe something wrong with lazy loading? The remote cat was missing from ConTeXt’s image cache. I fixed that now by editing the source (added a space), which made the wiki rerun ConTeXt, and that in turn made ConTeXt re-fetch the url contents. The other images all load fine for me. Images for ‘’ blocks can be a little tricky, because the wiki software caches them based on a hash of the block’s contents. So if something transient goes wrong in the ConTeXt processing but ConTeXt still outputs some sort of PDF, then that output will never get fixed unless you edit the wiki source again. That does not happen a lot, but it is likelier to happen with remote content. There are two ways around this: 1. edit the block source slightly, by adding a space or a % or something else that is harmless. That changes the hash key of the content, and the wiki will (probably) regenerate the graphic. 2. There is a ‘secret’ force attribute for , but that should only be used to apply fixes like the one I did above, and it should be removed afterwards. That attribute bypasses the wiki caching altogether. But as that is really bad for the webserver’s performance, it should only be used if there is no other way. See also: https://wiki.contextgarden.net/Help:Context Best wishes, Taak — Taco Hoekwater E: t...@bittext.nl genderfluid (all pronouns) ___ 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 ___