[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-15 Thread Jim
Hraban and any emacs users: On Sun, Apr 14, 2024 at 11:56 (+0200), Henning Hraban Ramm wrote: > Am 13.04.24 um 22:28 schrieb Mikael Sundqvist: >> What will work will depend on the viewers. We noticed a few weeks ago >> that synctex (pdf -> editor) was not working in a few viewers (okular) >>

[NTG-context] [ using horizontal table lines ]

2024-04-15 Thread vm via ntg-context
I'm probably using the \starttable incorrectly: with this code I only get only *one* horizontal line in the header \starttable[|r|r|r|r|r|r|r|l|r|r|r|r|][bodyfont=9pt] \NC step\NC frac\NC ival\NC \NC\Use{4}[cI]{freq (Hz)}\NC~\NC\Use{4}[cI]{wavelength (m)}\AR \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC 0

[NTG-context] \getmarking for top at the current page

2024-04-15 Thread Biblio--- via ntg-context
Dear list, I've got a problem. Not the first one, but the first one to contribute to the list. ;) system> ConTeXt  ver: 2024.04.01 08:59 LMTX  fmt: 2024.4.12  int: english/english system> 'cont-new.mkxl' loaded %== %== \definehead[Datum][subsubsubject] \startsetups[Test]  

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Henning Hraban Ramm
Am 14.04.24 um 22:25 schrieb Denis Maier via ntg-context: Thomas A. Schmitz > hat am 14.04.2024 22:18 CEST geschrieben: On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Denis Maier via ntg-context
  Thomas A. Schmitz hat am 14.04.2024 22:18 CEST geschrieben:     On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Thomas A. Schmitz
On 4/14/24 22:18, Thomas A. Schmitz wrote: I don't think tiff has ever be supported? Thomas s/be/been/ Sorry! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Thomas A. Schmitz
On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using \externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt anymore? --Joel I don't think

[NTG-context] Is TIFF image no longer supported?

2024-04-14 Thread Joel via ntg-context
I have a document with PNG, JPG, and TIFF. When I try using \externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt anymore? --Joel

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Peter Hopcroft via ntg-context
It would be great if the main page actually said what Context does. > On 15/04/2024, at 2:18 AM, Henning Hraban Ramm wrote: > > Hi Garulfo, > > I’m not against the “new order”, but I’d keep the colorful subject tiles. > Different accesses are good IMO (as long as it doesn’t get to

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Henning Hraban Ramm
Hi Garulfo, I’m not against the “new order”, but I’d keep the colorful subject tiles. Different accesses are good IMO (as long as it doesn’t get to convoluted). I’d say updating, sorting, restructuring pages is more important than a new start page. Yes, please sort out reference vs.

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.04.2024 um 14:53: Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : -

[NTG-context] Wiki - test/proposal to further clarify documentation

2024-04-14 Thread garulfo
Hi all, I just discover the Diátaxis documentation framework : - https://www.diataxis.fr/ - 30min video : "What nobody tells you about documentation", https://www.youtube.com/watch?v=t4vKPhjcMZg , from Daniele Procida at PyCon 2017 As I understand it, it can help both readers and writers of

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer -

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-14 Thread Henning Hraban Ramm
Am 13.04.24 um 22:28 schrieb Mikael Sundqvist: What will work will depend on the viewers. We noticed a few weeks ago that synctex (pdf -> editor) was not working in a few viewers (okular) while it was working in others. Could you please tell us which combinations of viewers and editors you

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-14 Thread Martin Hasoň
Hi Denis, I made a similar solution for docker image [minidocks/context](https://hub.docker.com/r/minidocks/context): [https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e](https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e). You

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Mikael Sundqvist
Hi, On Sat, Apr 13, 2024 at 7:54 PM Jim wrote: > > Thanks for the quick reply. > > On Sat, Apr 13, 2024 at 09:18 (+0200), Hans Hagen wrote: > > > On 4/13/2024 12:39 AM, Jim wrote: > >> Hi, > > >> I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my > >> system. > > >>

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Jim
Thanks for the quick reply. On Sat, Apr 13, 2024 at 09:18 (+0200), Hans Hagen wrote: > On 4/13/2024 12:39 AM, Jim wrote: >> Hi, >> I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my >> system. >> Recently, the stand-alone ConTeXt distribution seems to not create a >>

[NTG-context] Re: Back in the 90s

2024-04-13 Thread Hans Hagen
On 4/13/2024 2:12 PM, Riviera Taylor wrote: Hello, I was reading about the history of ConTeXt in the Not So Short Introduction To ConTeXt and I have a historical question. I noticed that the PDF specification was published in 1993 yet ConTeXt was invented in 1991. The book suggests that PDF

[NTG-context] Back in the 90s

2024-04-13 Thread Riviera Taylor
Hello, I was reading about the history of ConTeXt in the Not So Short Introduction To ConTeXt and I have a historical question. I noticed that the PDF specification was published in 1993 yet ConTeXt was invented in 1991. The book suggests that PDF output was handled by the PdfTeX engine in MKII

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Hans Hagen
On 4/13/2024 12:39 AM, Jim wrote: Hi, I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my system. Recently, the stand-alone ConTeXt distribution seems to not create a synctex file any more. Specifically, /usr/local/context/tex/texmf-linux-64/bin/context --once

[NTG-context] Most recent context doesn't like synctex?

2024-04-12 Thread Jim
Hi, I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my system. Recently, the stand-alone ConTeXt distribution seems to not create a synctex file any more. Specifically, /usr/local/context/tex/texmf-linux-64/bin/context --once --texutil --synctex=1 --nonstop file.tex

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
On 4/11/24 18:56, Hans Hagen via ntg-context wrote: > [...] >>> \protected\def\PrintTheThing{\ctxlua{document.print_the_thing()}} >> >> Sorry, but why \protected is required or recommended here? > > depends if you want it to be expandable I see now that "still.pdf" has a full chapter (#3, titled

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
On 4/11/24 18:56, Hans Hagen via ntg-context wrote: > [...] > it searches for mtxrun.lua and context.lua in the same path so you need: > > luametatex.exe > mtxrun.exe (can be link to luametatex.exe) > context.exe (can be link to luametatex.exe) > context.lua > mtxrun.lua > > all in the same (bib)

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-11 Thread Hans Hagen via ntg-context
On 4/11/2024 5:07 PM, Pablo Rodriguez via ntg-context wrote: On 4/10/24 21:48, Hans Hagen via ntg-context wrote: On 4/10/2024 7:49 PM, Pablo Rodriguez via ntg-context wrote: [...] I wonder whether there is a proper way in the Lua code to avoid [[\luaescapestring{}]] in \ctxlua. [...]

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Hans Hagen via ntg-context
On 4/11/2024 5:25 PM, Pablo Rodriguez via ntg-context wrote: On 4/10/24 22:28, Denis Maier wrote: [...] context --luatex --generate Thanks, Pablo. I've tried it, but it doesn't seem to work... I get the same result on Win64 when I move the luatex binary from the tex/texmf-win64/bin/

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
On 4/11/24 17:39, Denis Maier via ntg-context wrote: > [...] > Ok. It wasn't there. I have now copied it from my Miktex installation, but > it still does not work. (Looks like some path issue. The luatex binary from > the miktex installation seems to take priority over the one now in the > ConTeXt

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Pablo Rodriguez via ntg-context > Gesendet: Donnerstag, 11. April 2024 17:26 > An: 'mailing list for ConTeXt users' > Cc: Pablo Rodriguez > Betreff: [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx- > context.lua > > On 4/10/24 22:28,

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
On 4/10/24 22:28, Denis Maier wrote: >> [...] >> context --luatex --generate > > Thanks, Pablo. > I've tried it, but it doesn't seem to work... I get the same result on Win64 when I move the luatex binary from the tex/texmf-win64/bin/ directory. This may sound stupid, but could you check

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
On 4/10/24 21:48, Hans Hagen via ntg-context wrote: > On 4/10/2024 7:49 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I wonder whether there is a proper way in the Lua code to avoid >> [[\luaescapestring{}]] in \ctxlua. >> [...] > context(tokens.scanners.string()) Many thanks

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-10 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Pablo Rodriguez via ntg-context > Gesendet: Mittwoch, 10. April 2024 19:35 > An: ntg-context@ntg.nl > Cc: Pablo Rodriguez > Betreff: [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx- > context.lua > > On 4/10/24 13:59, Denis Maier via

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-10 Thread Hans Hagen via ntg-context
On 4/10/2024 7:49 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \startluacode function document.print_the_thing(str) context(str) end \stopluacode \unexpanded\def\PrintTheThing#1{%

[NTG-context] \luaescapestring in proper Lua

2024-04-10 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode function document.print_the_thing(str) context(str) end \stopluacode \unexpanded\def\PrintTheThing#1{% \ctxlua{document.print_the_thing([[\luaescapestring{#1}]])}} \PrintTheThing{a \em b {c}} \stoptext I

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-10 Thread Pablo Rodriguez via ntg-context
On 4/10/24 13:59, Denis Maier via ntg-context wrote: > Hi, > I wanted to test my earlier example (float placement) also with MKIV, but > context ---luatex … > give me this error message : > unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua > How can I make it work? Hi Denis, as far as I

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 14:21 schrieb Hans Hagen: It fails for me as well, when "mode=columns" is used. compare with and without mode columns: \starttext     \enablemode[columns]     As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have     more than one cell in a row.

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
Hm, I see. This question appeared while using the tug-boat-style. Taking the example at the end of the style I adapted my article accordingly. However I missed the point to enable the mode “columns”… Thanks for the explanation! Willi > On 10 Apr 2024, at 14:21, Hans Hagen wrote: > > On

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
On 4/10/2024 1:30 PM, Taco Hoekwater wrote: On 10 Apr 2024, at 13:04, Willi Egger wrote: Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? It fails for me as well,

[NTG-context] unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-10 Thread Denis Maier via ntg-context
Hi, I wanted to test my earlier example (float placement) also with MKIV, but context ---luatex . give me this error message : unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua How can I make it work? Best, Denis

[NTG-context] Weird (?) float placement for specific widths of image

2024-04-10 Thread Denis Maier via ntg-context
Hi, another graphics/floats question: consider the following example % \setupexternalfigures [location={local,global,default}] \starttext \placefigure{A Cow}{\externalfigure[cow][ height=.5\textheight,

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Taco Hoekwater
> On 10 Apr 2024, at 13:04, Willi Egger wrote: > > Hello, > > It seems, that the referencing mechanism is failing. I detected this with the > January version and the current version: 2024.04.01 08:59. > > Could some one confirm this? It fails for me as well, when "mode=columns" is used.

[NTG-context] Figure reference failing

2024-04-10 Thread Willi Egger
Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data

[NTG-context] minwidth not working ?

2024-04-10 Thread denis.maier
Hi, Shouldn't minwidth set a default minimal width for external figures? But this here does not work == \setupexternalfigures [ maxwidth=\textwidth, minwidth=\textwidth, location={local,global,default}, ] \starttext

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-10 Thread Hans Hagen
On 4/10/2024 5:22 AM, seyal zavira wrote: seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. as mentioned kind = "outline" will be in

[NTG-context] Re: regular online meet-up

2024-04-09 Thread Henning Hraban Ramm
reminder: this is tonight (in European perception). Am 07.04.24 um 09:37 schrieb Henning Hraban Ramm: You’re invited to our regular online meet-up, this upcoming Wednesday, April 10th, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter:

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-09 Thread seyal zavira
seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. also when i edit the code and replace metapost part like this: \startMPcode draw

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
seyal.zav...@gmail.com schrieb am 09.04.2024 um 14:53: i want to produce a gradient header i tried this code but it does not produce any result: \startext \def\Mystyle#1{\startMPcode picture tt ; tt := lmt_outline [ kind = "path", text = "#1", ] ; fill for i within tt :

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
i want to produce a gradient header i tried this code but it does not produce any result: \startext \def\Mystyle#1{\startMPcode picture tt ; tt := lmt_outline [ kind = "path", text = "#1", ] ; fill for i within tt : pathpart i && endfor cycle withshademethod "linear"

[NTG-context] Fwd: [lug-leaders] BachoTeX 2024: Last minute

2024-04-09 Thread Taco Hoekwater
Hi all, Please see the forwarded message from GUST below. Best wishes, Taco > Begin forwarded message: > > From: Jerzy Ludwichowski > Subject: [lug-leaders] BachoTeX 2024: Last minute > Date: 9 April 2024 at 14:09:09 CEST > To: tex...@tug.org, LUG boards > Reply-To: lug-boa...@ifi.uio.no >

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread Hans Hagen
On 4/8/2024 8:22 AM, seyal zavira wrote: thank you Harban and Keith McKay. \startMPpage       picture tt ; tt := lmt_outline [           kind = "path",           text = "\definedfont[name:texgyrepagellabold*default]foo f o o",       ] ;       fill          

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread seyal zavira
thank you Harban and Keith McKay. \startMPpage > picture tt ; tt := lmt_outline [ > kind = "path", > text = "\definedfont[name:texgyrepagellabold*default]foo f o o", > ] ; > > fill > for i within tt : pathpart i && endfor cycle >

[NTG-context] Re: international type design

2024-04-07 Thread hf
It is an interesting team. 2024年4月5日 02:52, "Henning Hraban Ramm" 写到: > Have a look at these beautiful font designs: > > https://esadtype.esad-amiens.fr/ > > Unfortunately the fonts are not available (yet). > > Take your time to browse the papers about intention, design process etc. > > I

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
On 4/7/24 22:33, Hans Hagen wrote: No problem, is it a rpi 5? If so, how does that one perform? Yes, it's a Pi 5 with 8GB of RAM, and I'm very satisfied with the performance. I use it headless for backup, file serving, and the occasional context job that ties the cpu up for a long time, and

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Hans Hagen
On 4/7/2024 10:14 PM, Thomas A. Schmitz wrote: On 4/7/24 19:44, Hans Hagen wrote: ok, so this "on" ... where does it come from .. you can try to run with \tracingall and then quit the run after the first and search the log for !on to get a clue Hans Found it - and I'm embarrassed to say it

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
On 4/7/24 19:44, Hans Hagen wrote: ok, so this "on" ... where does it come from .. you can try to run with \tracingall and then quit the run after the first and search the log for !on to get a clue Hans Found it - and I'm embarrassed to say it was in my own environment file, not in the

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Hans Hagen
On 4/7/2024 7:42 PM, Henning Hraban Ramm wrote: Am 07.04.24 um 19:05 schrieb Hans Hagen: \startMPpage picture tt ; tt := lmt_outline [ kind = "fillup", text = "\definedfont[name:texgyrepagellabold*default]foo f o o", ] xsized 12cm ; path bb ; bb := boundingbox

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Keith McKay
I've found my original file and the image is as Hraban says below. The code is the original in the post I quoted  and gives a green background with shaded colours in the text. Best Wishes Keith On 07/04/2024 18:42, Henning Hraban Ramm wrote: Am 07.04.24 um 19:05 schrieb Hans Hagen:

[NTG-context] Re: incosistent output of --- dash

2024-04-07 Thread madiazm . eoicc
thanks to all for pointing to the reason, to the collapsing command and to pablo for pointing to the hbox-trick. I will use the \emdash to ensure a right dash ___ If your question is of interest to others as well,

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Hans Hagen
On 4/7/2024 7:37 PM, Thomas A. Schmitz wrote: On 4/7/24 19:21, Hans Hagen wrote: can you make a format with line 25 of context.mkxl uncommented to see if you get a message (not production, just a test) Hans That should give a message "some spurious input in line..." in the output or the

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 19:05 schrieb Hans Hagen: \startMPpage     picture tt ; tt := lmt_outline [     kind = "fillup",     text = "\definedfont[name:texgyrepagellabold*default]foo f o o",     ] xsized 12cm ;     path bb ; bb := boundingbox tt ;     path pp ; pp := bb enlarged 2cm ;    

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
On 4/7/24 19:21, Hans Hagen wrote: can you make a format with line 25 of context.mkxl uncommented to see if you get a message (not production, just a test) Hans That should give a message "some spurious input in line..." in the output or the log, right? No, did not see such a message.

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Hans Hagen
On 4/7/2024 7:08 PM, Thomas A. Schmitz wrote: Hi everybody, this is bizarre, but hear me out: a file that I have has a mixture of xml, TeX and Lua. It compiles cleanly, no problem, on macos and linux. I also have a little raspberry pi on which I have installed lmtx. The file compiles, BUT:

[NTG-context] Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
Hi everybody, this is bizarre, but hear me out: a file that I have has a mixture of xml, TeX and Lua. It compiles cleanly, no problem, on macos and linux. I also have a little raspberry pi on which I have installed lmtx. The file compiles, BUT: it has one additional page. The first page of

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen via ntg-context
On 4/7/2024 9:31 AM, Henning Hraban Ramm wrote: Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it That’s not how you promote open standards. should have been an ecma

[NTG-context] Fwd: Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Hans Hagen
Forwarded Message Subject: Re: [NTG-context] Re: how to apply gradient color to a piece of text? Date: Sun, 7 Apr 2024 19:05:13 +0200 From: Hans Hagen To: Keith McKay On 4/7/2024 6:56 PM, Keith McKay wrote: Not for me either. I used it somewhere so I'll need to look

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen
Hi, -- Support for MathML* ha, mml and support for it (comes and goes in browsers) has been if flux for ages (features get added but also removed) so what are we talking about here, maybe in a few decades when people stopped messing with it (and somethign new showed up it might work out

[NTG-context] Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Keith McKay
Not for me either. I used it somewhere so I'll need to look back in my files. Keith On 07/04/2024 17:41, Henning Hraban Ramm wrote: Am 07.04.24 um 15:51 schrieb Keith McKay: Have a look at the posts starting on the 2 March 2021 with the subject heading "Shaded Large Letters in LMTX". Hans

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen
On 4/7/2024 9:31 AM, Henning Hraban Ramm wrote: Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it Oh, as usual with PDF association… That’s not how you promote open

[NTG-context] Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 15:51 schrieb Keith McKay: Have a look at the posts starting on the 2 March 2021 with the subject heading "Shaded Large Letters in LMTX". Hans gave a great solution. Neither for the example in

[NTG-context] Re: how to apply gradient color to a piece of text?

2024-04-07 Thread Keith McKay
Have a look at the posts starting on the 2 March 2021 with the subject heading "Shaded Large Letters in LMTX". Hans gave a great solution. Best Wishes Keith On 07/04/2024 11:48, seyal.zav...@gmail.com wrote: hi all, when i look at luametafun manual there are some intresting examples that

[NTG-context] how to apply gradient color to a piece of text?

2024-04-07 Thread seyal . zavira
hi all, when i look at luametafun manual there are some intresting examples that can apply gradient colors to metapost paths. how i can apply this cool feature to a piece of text? i tried the code below but it does not produce any result. \definecolor[Gleft] [h=9f9393] \definecolor[Gright]

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Ulrike Fischer
Am Sun, 7 Apr 2024 11:57:33 +0200 schrieb Henning Hraban Ramm: >>> Oh, as usual with PDF association… >> >> Sorry that pdf/UA-2 costs something is due to ISO not to the PDF >> association. The PDF association made the WTPDF document which is >> for free (and is very similar to pdf/UA-2). And

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 11:17 schrieb Ulrike Fischer: Am Sun, 7 Apr 2024 09:31:30 +0200 schrieb Henning Hraban Ramm: Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it Oh, as

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Ulrike Fischer
Am Sun, 7 Apr 2024 09:31:30 +0200 schrieb Henning Hraban Ramm: > Am 07.04.24 um 08:06 schrieb Hans Hagen: >> On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: >> >>> 1. PDF/UA-2 >>> https://pdfa.org/iso-14289-2-pdfua-2/ >> >> looks likes one has to pay for it > > Oh, as usual with PDF

[NTG-context] regular online meet-up

2024-04-07 Thread Henning Hraban Ramm
You’re invited to our regular online meet-up, this upcoming Wednesday, April 10th, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all levels are welcome! Do you have a subject that you’d like to talk about?

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it Oh, as usual with PDF association… That’s not how you promote open standards. (Didn’t check, jost forwarded the

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen
On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it 2. Well-Tagged PDF (WTPDF) https://pdfa.org/wtpdf/ well, tagging ... Hans -

[NTG-context] Re: incosistent output of --- dash

2024-04-07 Thread vm via ntg-context
\starttext \startbuffer \starttabulate[|T] \NC U+0002D \NC - \NC -- \NC --- \NC\NR \NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR \NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR \stoptabulate \stopbuffer \nohyphencollapsing \getbuffer \setupbodyfont[pagella] \getbuffer \dohyphencollapsing \getbuffer

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Hans Hagen
On 4/6/2024 1:38 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 06.04.2024 um 12:23: Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but

[NTG-context] PDF/UA-2, WTPDF

2024-04-06 Thread Henning Hraban Ramm
Quoting a post by Philipp Kiff, https://mastodon.social/@pkiff/11221949350928: In amongst the release of PDF/UA-2 (PDF for Universal Accessibility) and the new Well-Tagged PDF (WTPDF) standard last month, some PDF professionals may have missed two other new resources that may help

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Thomas Meyer
Here is a minimal example that better describes my problem. It seems to depend on the size of the image. 30 mm and 40 mm width works, 35 mm does not. I have not tested height, although the image I want to use would be portrait format. \setuplayout[grid=yes] \setupinterlinespace[line=15pt]

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 06.04.2024 um 12:56: Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 06.04.2024 um 12:23: Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works...

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Pablo Rodriguez via ntg-context
On 4/6/24 11:43, madiazm.eo...@gmail.com wrote: > Hi everyone, Hi Miguel, > […] > Am I missing something on the use of this ligature? I don’t think so. In some cases you may not get the ligature for a good reason: \starttyping program --option=value file.ext \stoptyping It would make

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disable,nowhite,back}" https://wiki.contextgarden.net/Command/setupfloat

[NTG-context] blank line and \placefigure

2024-04-06 Thread Thomas Meyer
Hi folks, how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Thanks and greetings on a sunny weekend Thomas ___ If your question is of interest to others

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried it on

[NTG-context] incosistent output of --- dash

2024-04-06 Thread madiazm . eoicc
Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried it on overleaf and of ContextOnWeb with the same

[NTG-context] statistical charts module re-published

2024-04-05 Thread Henning Hraban Ramm
Hi, since the Akela server at Mendel University is down since a while, I got no response from Tomáš, and it would be a pity to lose this module, I re-published the statistical charts module at https://codeberg.org/fiee/context-statistical-charts I’ll also put it on modules.contextgarden.net

[NTG-context] international type design

2024-04-04 Thread Henning Hraban Ramm
Have a look at these beautiful font designs: https://esadtype.esad-amiens.fr/ Unfortunately the fonts are not available (yet). Take your time to browse the papers about intention, design process etc. I just browsed the dissertation about the (Vietnamese) "Dilinh" font and found the

[NTG-context] Re: error with \sc

2024-04-04 Thread Pablo Rodriguez via ntg-context
On 4/3/24 07:16, Peter Münster wrote: > On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > >> You shouldn't run context as root in any case. > > I don’t run context as root. But I need to erase the cache in > /opt/context/tex/texmf-cache as root, because the user doesn’t have the > permission to

[NTG-context] Re: last page number for a list

2024-04-03 Thread Wolfgang Schuster
Alan Bowen schrieb am 30.03.2024 um 20:59: How can I get the last page number of a chapter for a list (ToC)? Outside of a list, I use \lastpagenumber. But that does not work in a list such as the ToC. Any tips or pointers will be gladly received. You can try this: \definepagestate[alanpage]

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
Hi, Bruce— This does not quite work—the page numbers are those of the first page of the chapter, not the last. But thanks for the tip about \writetolist. Perhaps I can get that to work. What I need are ToC entries like AuthorName ShortTitle 1–6 I need this pagination

[NTG-context] Re: last page number for a list

2024-04-03 Thread Bruce Horrocks
> On 30 Mar 2024, at 19:59, Alan Bowen wrote: > > How can I get the last page number of a chapter for a list (ToC)? > > Outside of a list, I use \lastpagenumber. > But that does not work in a list such as the ToC. > > Any tips or pointers will be gladly received. I'm not quite sure what

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > You shouldn't run context as root in any case. I don’t run context as root. But I need to erase the cache in /opt/context/tex/texmf-cache as root, because the user doesn’t have the permission to do that. -- Peter

[NTG-context] Re: error with \sc

2024-04-02 Thread Andres Conrado Montoya
You shouldn't run context as root in any case. But glad it worked. El mar, 2 abr 2024 a las 15:34, Peter Münster () escribió: > On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > > > mtxrun --script cache --erase && mtxrun --generate > > Thanks. It did not work after doing it as

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > mtxrun --script cache --erase && mtxrun --generate Thanks. It did not work after doing it as root, but then I saw, that there is also a cache in the user home-directory, so I’ve done it as the user too, and now it works. --

[NTG-context] Re: error with \sc

2024-04-02 Thread Pablo Rodriguez via ntg-context
On 4/2/24 21:23, Mikael Sundqvist wrote: > On Tue, Apr 2, 2024 at 9:16 PM Peter Münster wrote: >> [...] >> TIA for any hints, > > Hans wrote in his email: > -- If you have troubles (crash) you need to wipe the cache due to a > change in lua bytecode storage (no easy way to catch it). > > Did you

[NTG-context] Re: error with \sc

2024-04-02 Thread Mikael Sundqvist
Hi, On Tue, Apr 2, 2024 at 9:16 PM Peter Münster wrote: > > Hi, > > With ConTeXt version 2024.04.01, the \sc command produces an error: > > fonts > preloading latin modern fonts (second stage) > fonts > 'fallback modern rm 12pt' is loaded > pages > flushing realpage

[NTG-context] error with \sc

2024-04-02 Thread Peter Münster
Hi, With ConTeXt version 2024.04.01, the \sc command produces an error: fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern rm 12pt' is loaded pages > flushing realpage 1, userpage 1, subpage 1 close source> level 1, order 3, name

<    1   2   3   4   5   6   7   8   9   10   >