[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Pablo Rodriguez via ntg-context
On 6/23/24 21:50, Henning Hraban Ramm wrote: >> [...] >> It would be really helpful for me to have the TeX source of an already >> published article, so I can adapt the template to my article. > [...] > Noting special, besides the header. I just thought about something similar to:

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Pablo Rodriguez via ntg-context
On 6/22/24 20:29, Henning Hraban Ramm wrote: > Hey, don’t want a journal this year? > > Pretty please… Hraban, well, I think I could write something (so I get a permanent ban on using ConTeXt ever again ). It would be really helpful for me to have the TeX source of an already published

[NTG-context] Re: (off-topic) hovering over links in Acrobat Reader

2024-06-21 Thread Pablo Rodriguez via ntg-context
On 6/21/24 18:31, Hans Hagen wrote: > [...] > so that you can experiment a bit with it. We might at some point provide > optional descriptions per link but the quesiton is how to cleanly > interface this (easier if you use \define... instead of your own macros > for urls). Many thanks for the new

[NTG-context] Re: weekend update

2024-06-21 Thread Pablo Rodriguez via ntg-context
On 6/21/24 19:00, Hans Hagen via ntg-context wrote: > [...] > The last option can be handy when you don't want to make harvesting your > documents too easy for these ai bots (as in cloud based pdf stuff). It's > the first outcome of the multi-year, multi-stage, very scientific > 'inacessible pdf'

[NTG-context] Re: (off-topic) hovering over links in Acrobat Reader

2024-06-20 Thread Pablo Rodriguez via ntg-context
On 6/19/24 22:10, Wolfgang Schuster wrote: > [...] > This should be \protected\def > > \protect\def\myhref#1#2% >{...} Sorry for the mess, Wolfang and Hraban. I wasn’t aware of the mistake, since the PDF document was neither deleted not showing the colorful error word. I created the

[NTG-context] Re: (off-topic) hovering over links in Acrobat Reader

2024-06-20 Thread Pablo Rodriguez via ntg-context
On 6/19/24 21:55, Henning Hraban Ramm wrote: > Am 19.06.24 um 19:16 schrieb Pablo Rodriguez via ntg-context: >> Would you be so kind to test the attached document (and the one you may >> generate from the sample source) hovering over the link frames in >> Acrobat (ideally

[NTG-context] (off-topic) hovering over links in Acrobat Reader

2024-06-19 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following source: \setupbodyfont[dejavu, sans, 24pt] \setupinteraction[state=start, style=, color=, contrastcolor=, display=new] \enabledirectives[references.border=darkgreen] \def\myurl#1% {{\tt\goto{\hyphenatedurl{#1}}[url(#1)]}}

[NTG-context] Re: digital signing in ConTeXt

2024-06-19 Thread Pablo Rodriguez via ntg-context
On 6/19/24 09:28, Hans Hagen via ntg-context wrote: >> [...] >> I‘m afraid I don’t know what I’m missing. > probably a couple of libraries ... > > local libfiles = os.name == "windows" > and { "libcrypto-3-x64", "libssl-3-x64" } On MSYS2 (Win10), I have both libs even on the bin directory.

[NTG-context] Re: new upload

2024-06-19 Thread Pablo Rodriguez via ntg-context
On 6/18/24 22:15, Hans Hagen wrote: > [...] > - for pablo to test signing Many thanks for this, Hans. It might take a while, since I would like to test this for some time. Pablo ___ If your question is of interest

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Pablo Rodriguez via ntg-context
On 6/18/24 19:28, Pablo Rodriguez via ntg-context wrote: > [...] > I have just discovered that verify didn’t work with the binary. > > Figuring out now how to do the testing with the library. For some strange reason, I cannot get --library verification. I only get: sign pdf

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Pablo Rodriguez via ntg-context
On 6/18/24 18:42, Hans Hagen via ntg-context wrote: > On 6/18/2024 6:26 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> As far as I know, this has to be a reason for digest mismatch (or a huge >> hash collision). > > could be (depends on checker) but it

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Pablo Rodriguez via ntg-context
On 6/18/24 10:27, Hans Hagen via ntg-context wrote: > On 6/18/2024 8:44 AM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Generating certificates with OpenSSL is basically free. > > you cannot use a 'web certificate' Self-signed certificates may be used to stamp PDF

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Pablo Rodriguez via ntg-context
On 6/18/24 00:52, Hans Hagen via ntg-context wrote: > On 6/17/2024 7:51 PM, Pablo Rodriguez via ntg-context wrote: >> [...]>> 2. I cannot get any signature display in Acrobat. Does any PDF >> viewer (I >> have tested this with pdfsig from poppler and MuPDF-GL) displ

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-17 Thread Pablo Rodriguez via ntg-context
On 6/17/24 17:07, Gerion Entrup wrote: > [...] > I use Okular/Poppler as PDF viewer. > Can I fix this somehow or is it a bug somewhere deeper? Hi Gerion, I can confirm your issue. It seems to be an issue with LMTX. LuaTeX has no problem with the file. Just in case it helps, Pablo

[NTG-context] Re: digital signing in ConTeXt

2024-06-17 Thread Pablo Rodriguez via ntg-context
On 6/17/24 20:21, Henning Hraban Ramm wrote: >> [...] > Can confirm. Many thanks for your testing, Hraban. > Before patching, I checked with … > – Acrobat Reader: doesn’t recognize a signature > – Foxit Reader: "a signature is invalid" The signature is invalid since it leaves an space outside

[NTG-context] digital signing in ConTeXt

2024-06-17 Thread Pablo Rodriguez via ntg-context
Dear list, the latest version of LMTX can digitally sign PDF documents. It requires OpenSSL installed (since it does the crypto part). I have two issues that I would like to be tested by others. A sample certificate may be found at

[NTG-context] Re: expanded doif's

2024-06-17 Thread Pablo Rodriguez via ntg-context
On 6/17/24 16:52, Wolfgang Schuster wrote: > Hans van der Meer schrieb am 17.06.2024 um 09:01: >> I want to show an errormessage when the macro is undefined. It requires >> expansion of \xmlatt{#1}{name}. dr. van der Meer, \xmldoifatt (with ifnot and ifelse variants) should cover that case

[NTG-context] \xmlinlineverbatim not inline

2024-06-16 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[demo] text \stopbuffer \startxmlsetups xml:sample \xmlsetsetup{#1}{text}{xml:*} \stopxmlsetups \xmlregistersetup{xml:sample} \startxmlsetups xml:text block: a \xmlverbatim{#1} b\\ inline: a

[NTG-context] Re: comment on the wiki

2024-06-12 Thread Pablo Rodriguez via ntg-context
On 6/13/24 04:17, Max Chernoff wrote: > Hi Pablo (and others), > > On Wed, 2024-06-12 at 18:42 +0200, Pablo Rodriguez wrote: >> Is there any way in which regular wiki contributions may help in >> removing the accounts or at least all the pages generated with these >>

[NTG-context] comment on the wiki

2024-06-12 Thread Pablo Rodriguez via ntg-context
Dear wiki maintainers (Taco at others), I have found in the user creation log: 05:40, 7 June 2024 User account FelicaEnyeart34 was created 22:59, 26 May 2024 User account NonaAlber414387 was created 04:33, 26 May 2024 User account Tony83264596 was created 15:17, 24 May 2024 User account

[NTG-context] suggestion: two templates for the wiki

2024-06-10 Thread Pablo Rodriguez via ntg-context
Dear Taco and Hraban, trying to improve the XML page from the wiki, I think it would be extremely useful to have two templates for inline code: {{xml|…}}: inline XML highlighted as for blocks. {{tex|…}}: inline TeX code highlighted as for blocks. As for the second, {{cmd|…}} includes a link

[NTG-context] Re: [ remove all metadata in pdf ]

2024-06-10 Thread Pablo Rodriguez via ntg-context
On 6/10/24 17:49, vm via ntg-context wrote: > Is there a parameter for context lmtx to strip all metadata from the > generated pdf? > Or is that a better task for exiftool afterwards? \enabledirectives[backend.date=none] But this doesn’t remove all metadata. Title, Producer and XMP data still

[NTG-context] Re: Scale notation base on current font

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 17:09, seyal zavira wrote: > Thanks > > sorry for incomplete example > the code below shows the problem better: > \setupinteraction[state=start] As for the color, it is caused by \setupinteraction. You can remove it with: \setupinteraction[state=start, style=, color=,

[NTG-context] Re: Scale notation base on current font

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 13:16, seyal.zav...@gmail.com wrote: > Hi all, > > There's a problem when I want to define the note so that it's > displayed according to the size and font of the text: Not sure I’m getting your point. But this should show a difference in font size: \definenote[Mynote] \starttext

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 09:49, Wolfgang Schuster wrote: > Denis Maier via ntg-context schrieb am 08.06.2024 um 09:14: >> [...]  >> Hi, >> I've read Thomas Schmitt's My Way as an excellent introduction in XML >> processing with ConteXt, but I can't find it anywhere anymore... Does >> anyone know what happened to

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/24 10:49, vm via ntg-context wrote: > in the document > https://wiki.contextgarden.net/images/8/8c/xhtml.pdf > > near the end an essential line got truncated: > [...] > how should this line continue ? > {\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas("\xmla As this comes from

[NTG-context] Re: ConTeXt source from XML

2024-06-07 Thread Pablo Rodriguez via ntg-context
On 6/6/24 22:53, Christoph Edenhauser wrote: >> [...] >> XPath seems to have as it primary purpose to address the nodes of XML trees. >> [...] >> If you don’t want this to happen, you have to encode them in the TEI XML >> sources. > > In my case, the connection to the original source will be lost. 

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Pablo Rodriguez via ntg-context
On 6/5/24 20:23, Christoph Edenhauser wrote: > Dear Pablo, > > Thank you very much for your very clear, detailed and elaborate > explanations.  - Over the next few days I will meditate on the ConTeXt > way to handle XML and on my workflow and take a look at lpath (never > heard of it). And somehow

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
On 6/4/24 22:09, Hans Hagen wrote: > [...] > There is a xml-mkiv-tricks.tex file in the distribution (no pdf is > seems so I need to add that one.) Hans, sorry, I forgot to reply earlier. I think this is already included in https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=53 (as

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
On 6/5/24 12:00, Christoph Edenhauser wrote: > [...] > I realise that it is somehow difficult for me to describe what I would > like to achieve, perhaps what I have in mind is not even possible. Hi Christoph, as far as I know (and as Hraban has already mentioned), this is not possible. Either

[NTG-context] Re: ConTeXt source from XML

2024-06-04 Thread Pablo Rodriguez via ntg-context
On 6/4/24 13:51, Christoph Edenhauser wrote: > Dear list, > > I am currently trying to get into Context and XML. I would like to do > the typographical fine-tuning in Context and not in the XML document. My > question is: Is it possible to have ConTeXt output a (preliminary) > ConTeXt file instead

[NTG-context] issue with signing

2024-06-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample \setupinteraction[state=start] \definefield[signature][signed] \defineoverlay[signature][my signature] \starttext \startTEXpage[offset=1ts,frame=on,framecolor=darkblue] sign: \inframed[background=signature,framecolor=darkred]

[NTG-context] slides from 2023 meeting

2024-05-29 Thread Pablo Rodriguez via ntg-context
Hi there, just out of curiosity, are the slides from the 2023 meeting (https://meeting.contextgarden.net/2023/programme.shtml) planned for public release? Many thanks for your help, Pablo ___ If your question is of

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Pablo Rodriguez via ntg-context
On 5/29/24 13:00, Henning Hraban Ramm wrote: > [...] > See also Taco’s introduction to LPEG in > https://articles.contextgarden.net/journal/2019/77-98.pdf Many thanks for the reference, Hraban. I need to start digesting that to learn about LPEG. Pablo

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Pablo Rodriguez via ntg-context
On 5/28/24 20:06, Hans Hagen wrote: > On 5/28/2024 6:25 PM, Tomáš Hála wrote: >> Hi Pablo, >> >> unfortunately, that it is not possible: >> >> http://lua-users.org/wiki/PatternsTutorial, section Limitations. > > \starttext > \startTEXpage[pagestate=start, offset=1em] > \startluacode

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/28/24 18:25, Tomáš Hála wrote: > Hi Pablo, > > unfortunately, that it is not possible: > > http://lua-users.org/wiki/PatternsTutorial, section Limitations. Many thanks for your reply, Tomáš. It is clear to me now. Pablo

[NTG-context] regular expression as lua pattern

2024-05-28 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startTEXpage[pagestate=start, offset=1em] \startluacode local str = "this is that" context(str:match("(this|these)")) \stopluacode \stopTEXpage \stoptext In short,

[NTG-context] Re: wrong font scaling in LMTX?

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/26/24 20:50, Wolfgang Schuster wrote: > [...] > I get the same results with the default font mode in MkIV and LMTX but > when I add > > \enableexperiments[fonts.compact] > > the x and xx sizes are wrong. Many thanks for having fixed that in latest, both Hans and Wolfgang. Pablo

[NTG-context] Re: Number in a circle

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/28/24 17:47, Pablo Rodriguez via ntg-context wrote: > On 5/27/24 19:10, Kip Warner wrote: >> [...] >>to say pt, for printer's55points. two letters. >> >> I'm not sure what it is referring to. > > fw is a new dimensio unit only available in LMTX (not in

[NTG-context] Re: Number in a circle

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/27/24 19:10, Kip Warner wrote: > [...] > Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it > failed: > >Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, >bp, dk, or54sp; but yours is a new one! I'll assume that you meant >to say pt, for

[NTG-context] Re: wrong font scaling in LMTX?

2024-05-26 Thread Pablo Rodriguez via ntg-context
On 5/26/24 20:50, Wolfgang Schuster wrote: > [...] > I get the same results with the default font mode in MkIV and LMTX but > when I add > > \enableexperiments[fonts.compact] > > the x and xx sizes are wrong. Many thanks for your reply, Wolfgang. I tend to forget that I have always compact fonts

[NTG-context] wrong font scaling in LMTX?

2024-05-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][ss][TeX Gyre Heros] [scale=0.125] \setupbodyfont[mainface] \starttext \startTEXpage[pagestate=start, offset=1em]

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-18 Thread Pablo Rodriguez via ntg-context
On 5/17/24 20:46, madiazm.eo...@gmail.com wrote: > [...] > here is the last part of my script (the prior definitions are not > problematic, since they worked when only using "miFuente". It seems to > be something in "miCorm" that produces the protruding Just a comment about typescripts. At least

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-18 Thread Pablo Rodriguez via ntg-context
On 5/17/24 20:22, madiazm.eo...@gmail.com wrote: > thanks Pablo, but this is strange > [...] > The strange thing is that it is only the first section that > protrudes, the other sections are right (as seen in the link). > Therefore it must not be the code definition, since in that case all >

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Pablo Rodriguez via ntg-context
On 5/17/24 11:02, madiazm.eo...@gmail.com wrote: > thanks Wolfgang for your advice and sorry for being so verbose, but > since the margins are "included" in the problem I decided to put my > layout there too. > > I made your suggested changes and unfortunately it doesnt work, but > being a bit

[NTG-context] expansion question

2024-05-15 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start] \setupattachments[method=hidden] \protected\def\PDFfile[#1]% {\cldcontext{file.addsuffix("#1", "pdf")}} \starttext \doifelsefile{\PDFfile[xml-mkiv]} {yes}{no}

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-14 Thread Pablo Rodriguez via ntg-context
On 5/9/24 15:18, Pablo Rodriguez via ntg-context wrote: > [...] > Many thanks for your improvement, Wolfgang. > > It would be great to have it included in standard ConTeXt. Hans, many thanks for having added this to current latest (2024.05.13 19

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-09 Thread Pablo Rodriguez via ntg-context
On 5/9/24 12:57, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 08.05.2024 um 18:05: >> [...] >> Since \type doesn’t collapse hyphens, wouldn’t it be possible to add >> \nohyphencollapsing to \typeinlinebuffer just for the sake of output >> co

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-08 Thread Pablo Rodriguez via ntg-context
On 5/7/24 22:37, Wolfgang Schuster wrote: > [...] > \typebuffer disables automatic \endash and \emdash with the > \nohyphencollapsing command > but the command isn't used for \typeinlinebuffer. Many thanks for your explanation, Wolfgang. Since \type doesn’t collapse hyphens, wouldn’t it be

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-07 Thread Pablo Rodriguez via ntg-context
On 5/6/24 22:45, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 06.05.2024 um 20:06: >> Dear list, >> >> I have the following sample: >> >>\definefontfamily[mainface][tt][TeX Gyre Termes] > > Apply the none featu

[NTG-context] weird \inlinetypebuffer interaction

2024-05-06 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][tt][TeX Gyre Termes] \setupbodyfont[mainface] \starttext \startbuffer context --purgeall \stopbuffer inline \typeinlinebuffer block: \typebuffer \stoptext As long as there is no defined font family for

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
On 4/29/24 19:32, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 18:21: >> Is \protected the same as \unexpanded? > > Yes they are the same (\protected is the primitive and \unexpanded is a > copy) but this wasn't always the case. >

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
On 4/29/24 18:04, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 17:22: >> [...] >> Which is the right way to use "interfaces.definecommand" to get a simple >> command as in standard TeX? >> >> I mean, no a non \p

[NTG-context] unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode function document.test(str) context(str) end interfaces.definecommand { name = "testing", protected = false, macro = document.test, } \stopluacode \meaningfull\testing

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 19:52, Denis Maier via ntg-context wrote: >> Wolfgang Schuster hat am 26.04.2024 19:29 CEST geschrieben: >> The inbetween setting works because ConTeXt checks at the start of >> each line whether it's empty (in this case the value is used) or not. >> >> When you add a \par you just end

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 19:50, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04: >> I tried this approach (I hope it isn’t wrong): >> >>\starttext >>\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{% > > The \expanded mod

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 18:18, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29: >> What is wrong in my definition above? > > There is nothing wrong, this is just a side effect of the scanner used > with the \do...groupempty commands. To have

[NTG-context] wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \def\MyCommand{\doquadruplegroupempty\doMyCommand} \def\doMyCommand#1#2#3#4{% \iffourthargument #4% \orelse\ifthirdargument #3% \else #2% \fi} \MyCommand{}{second}{third}{fourth},\\

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 15:33, denis.ma...@unibe.ch wrote: > Hi, > > I’m trying to typeset a poem from XML, but I can’t figure out how to > make the inbetween key working here. > > As the source is XML, I cannot just add an empty line to start a new > group of lines inside \startlines…\stoplines. I guess,

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-24 Thread Pablo Rodriguez via ntg-context
On 4/24/24 02:15, Joel via ntg-context wrote: > [...] Any idea how I can get current footnote value? Hi Joel, current footnote value can be accessed with \rawcountervalue[footnote], such as in: \starttext \dorecurse{25} {\ \footnote{Footnote \recurselevel}:

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Pablo Rodriguez via ntg-context
On 4/22/24 15:51, Joel via ntg-context wrote: > A few years back, I tried using endnotes with ConTeXt-SBL, and it failed > to compile. I'm forced to try again (due to some other issue with > footnotes), and instead of compiling to error, it compiles, but the > footnote's message ends up being

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-21 Thread Pablo Rodriguez via ntg-context
On 4/22/24 02:45, Joel via ntg-context wrote: > I'm three days out from sending my work to an editor, and found some > serious problem: many footnotes just aren't rendering. Joel, please provide a minimal sample, otherwise it is really hard to help. > I've seen some 2+ year old mailing list

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

2024-04-19 Thread Pablo Rodriguez via ntg-context
On 4/19/24 17:48, Denis Maier via ntg-context wrote: > Hi again, > > just a quick follow up on this one. Can anyone reproduce this? Hi Denis, I can reproduce it. > Would be good to know how this can be fixed. I have this in a real > document, and as I’m typesetting a XML source I cannot just

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Pablo Rodriguez via ntg-context
On 4/19/24 17:51, Denis Maier via ntg-context wrote: > Hi again, > > another follow up. Can anyone confirm this issue? Is there a way to set > the minimal width of graphics? Hi Denis, maximum widht or height work fine, but their minimum counterparts seem not to be working at all: \showframe

[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: 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 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.s

[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: 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: 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: 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: ConTeXt on RPI400

2024-03-27 Thread Pablo Rodriguez via ntg-context
On 3/27/24 15:55, h...@hongfeng.ch wrote: > Hello Pablo, > > Tried, the problem still remains. Weird, if I remove the cache, I get a single line error message: mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' Could you run the "install.sh" script located at

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread Pablo Rodriguez via ntg-context
On 3/26/24 18:43, Andres Conrado Montoya wrote: > Can you try the following: Delete the `texmf-cache` folder > inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun > --generate && context --make`?  In principle, the two following commands should be enough: mtxrun --script cache

[NTG-context] (again) \xmlinlineprettyprinttext double hyphens

2024-03-24 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[demo] mtxrun --script check file \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{code}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:code \xmlprettyprinttext{#1}{none}

[NTG-context] Re: Use of marking

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/21/24 19:00, Thomas Meyer wrote: > Hi Pablo and Bruce, > > thank you very much for your two solutions. That helps me enormously now. Hi Thomas, literally, »nichts zu danken«, since it was Andrés and not me who provided a solution. Cheers, Pablo

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/22/24 15:57, Ursula Hermann wrote: > Dear Pablo,  > > Many thanks for your example. Sorry for writing so late.  Dear Ursula, many thanks for your minimal sample. > At least I found out, how it works for me .  This is the best way.  > [...] > \inrightmargin{\blackrule\\{3.2.2}}\par

[NTG-context] issue with \xmlinlineprettyprinttext

2024-03-20 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[demo] a --b c a --b c \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|code|inlinecode}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1}

[NTG-context] Re: issue with typing in footnotes

2024-03-18 Thread Pablo Rodriguez via ntg-context
On 3/17/24 23:58, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: >> [...] >> As far as I know, this sample should be compiled without any issue. >> >> Could you be so kind to confirm the issue or explain me what am I missing? &

[NTG-context] issue with typing in footnotes

2024-03-17 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote \stoptext Current latest (from 2024.03.11 09:34) breaks compilation with both

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
On 3/15/24 14:06, Ursula Hermann wrote: > Dear List,  Dear Ursula, this might help you (it isn’t perfect, but you just seem to copy and paste fragments from your source files): %\showframe\showstruts \mainlanguage[de-at] \setuppagenumbering[alternative=doublesided] \definemargindata

[NTG-context] Re: update

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 18:48, Hans Hagen wrote: > Hi, > > Todays update has a fix for the compact mode slant interference (as > explained by Wolfgang a few days ago). Hopefully that works out well. Many thanks for that fix, Hans. Pablo

[NTG-context] Re: issue with module update

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 17:17, Taco Hoekwater wrote: >> On 11 Mar 2024, at 16:57, Pablo Rodriguez wrote: >> [...] >> Is there something I am missing here? > > One of your releases had “changed-name” as its release ‘number’. > > The modules site does not know how to deal with n

[NTG-context] issue with module update

2024-03-11 Thread Pablo Rodriguez via ntg-context
Dear list, I have just updated a module named PresVoz. I get the standard directory (https://modules.contextgarden.net/dl/presvoz/) and (https://modules.contextgarden.net/dl/presvoz-{%version%}.zip), but no https://modules.contextgarden.net/dl/presvoz.zip (with current version). So when

[NTG-context] Re: weird character normalization in the wiki

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 09:31, Taco Hoekwater wrote: >> On 9 Mar 2024, at 09:35, Pablo Rodriguez via ntg-context >> wrote: >> >> Sure, they may be a workaround to type codepoints instead of characters >> (such as with \utfchar{0x1fbb}, but wouln’t it be possible to disable &

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Pablo Rodriguez via ntg-context
On 3/10/24 10:46, Hans Hagen via ntg-context wrote: > [...] > using the low level commands > > \glyphscale > \glyphxscale > \glyphyscale > \glyphslant > \glyphweight > > directly can have side efects when at an outer level these are also set, > so you need to accumulate, like > [...] > which you

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Pablo Rodriguez via ntg-context
On 3/9/24 16:04, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: >> [...] >>\enableexperiments[fonts.compact] >> >> Which seeems weird to me. Or at least, I thought I read that Hans >> enabled it by default in LMTX

[NTG-context] weird character normalization in the wiki

2024-03-09 Thread Pablo Rodriguez via ntg-context
Dear list, https://wiki.contextgarden.net/Greek#Monotonic_and_Acute_Accent includes two samples that should display the difference betweeen the monotonic accent and the polytonic acute accent (which generate two different characters for each such accented vowel). Excluding other implications,

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
On 3/8/24 19:09, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: >> [...] >> LMTX gets b, c and d in slanted form. >> >> LuaTeX gets only b and c in slanted form. > [...] > I get b and d in italic which is the expected out

[NTG-context] \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality}, it={style: regular, features:{default, quality, slanted}}, sl={style:

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Pablo Rodriguez via ntg-context
On 3/6/24 19:50, Wolfgang Schuster wrote: >> [...] >> Could you write the first line in plain language? > > Look at the second example of the Lua code in the example below for each > command (the first example is your version), the third example is just a > condensed version of example 2. Many

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
On 3/6/24 17:35, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52: >> [...] >> I wonder whether this requires a minimal sample to be fixed. > > Yes, a minimal example would help because \setupmetadata works in your > previous exampl

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
On 3/6/24 15:54, Hans Hagen wrote: > [...] >> \setupmetadata >>[title=FooBar] > > that's for those who go global Many thanks for the new command, Hans. I‘m afraid this new command breaks my compilation. The error message isn’t very helpful for me (see below). I wonder whether this requires

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 2/28/24 19:28, Wolfgang Schuster wrote: > [...] > \def\beforequadruplenumber#1% >{\ifcase\numexpr#1+1;4\relax > \number\numexpr#1+4\relax > \else > \number\numexpr#1+3-#1;4\relax > \fi} Sorry for not having answered before, Wolfgang. I’m afraid I don’t get how \ifcase

[NTG-context] Re: issue mixing font features (LMTX & MkIV)

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 3/4/24 11:09, Hans Hagen via ntg-context wrote: > [...] > in luametatex we have a bit more advanced mechanism (also relates to > compact mode) because th eengine is a bit more clever > > just make sure that you don't add up features where one calcels the > other, so use for instance: Many

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 3/4/24 09:08, Hans Hagen via ntg-context wrote: > On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. >> >> Latest font release can be directly download from >> h

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Pablo Rodriguez via ntg-context
On 3/4/24 01:18, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: >> [...] >> With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. >> [...] > I can confirm the issue and it happens because Hans changed t

[NTG-context] missing metadata in LMTX

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, this issue has been bugging me for some time: \startbuffer[demo] author title text \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{code|meta|text}{xml:*} \stopxmlsetups

  1   2   3   4   5   6   7   8   9   10   >