[NTG-context] Re: luatex doesn't see installed 3rd party module

2024-05-20 Thread Arthur Rosendahl via ntg-context
On Mon, May 20, 2024 at 02:31:29AM +0400, and...@borisov.dev wrote: > Correction for misspelling : `context --latex` —> `context --luatex` It was a funny typo ;-) Arthur ___ If your question is of interest

[NTG-context] Re: luatex doesn't see installed 3rd party module

2024-05-20 Thread Hans Hagen via ntg-context
On 5/20/2024 12:38 AM, and...@borisov.dev wrote: Hello! I’ve installed a 3rd party module by copying its TDS folder structure and invoking `context --generate` as described in https://wiki.contextgarden.net/Modules#ConTeXt_LMTX When I compile my project with `context` (using LuaMetaTeX),

[NTG-context] Re: defining hashtag simulator

2024-05-20 Thread Hans Hagen via ntg-context
On 5/20/2024 8:01 AM, seyal.zav...@gmail.com wrote: Thanks. What if we want the text to be copied when it is clicked? I found these link on the stack site for this https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-pdf-output/545107#545107 also i defined this:

[NTG-context] Re: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
On 5/19/2024 2:29 PM, garu...@azules.eu wrote: I still get some difficulties with build_parshape, \getshapetex and sectionning. I though I find a solution by removing \blank with \setuphead [subsection] [before=, after=, style=, command=\MySubSectionCommand, alternative=text ] But

[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 Hans Hagen via ntg-context
On 5/17/2024 8:22 PM, madiazm.eo...@gmail.com wrote: thanks Pablo, but this is strange If I reproduce your code in a new file I see the perfect alignment of the frames. But I had changed the code in my original file as suggested by Wolfgang and I additionally commented all lines in the

[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: How to use fonts without typescripts?

2024-05-15 Thread Henri Menke via ntg-context
On Wed, 2024-05-15 at 20:03 +0530, Shiv Shankar Dayal wrote: > Hi, > > Defining typescripts to use a font is very painful. How can I use a > font > without using a typescript? Use \definefontfamily which is essentially the successor of the old simplefonts module.

[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: Fwd: outlinetext broken?

2024-05-14 Thread Hans Hagen via ntg-context
On 5/13/2024 11:54 PM, Jairo A. del Rio wrote: -- Forwarded message - De: *Jairo A. del Rio* > Date: lun, 13 may 2024 a la(s) 9:53 p.m. Subject: Re: outlinetext broken? To: Hans Hagen mailto:j.ha...@xs4all.nl>> Hi, Hans! Thank you for the

[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: transparent color

2024-05-06 Thread Jacob Kauffmann via ntg-context
> Am 06.05.2024 um 10:41 schrieb Hans van der Meer via ntg-context > : > > I would like to use a transparent version of an existing color. Thus > \definecolor[transparentcolor][color,t=0.2,a=1] > instead of > \definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1] &g

[NTG-context] transparent color

2024-05-06 Thread Hans van der Meer via ntg-context
I would like to use a transparent version of an existing color. Thus \definecolor[transparentcolor][color,t=0.2,a=1] instead of \definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1] because I do not know the rgb values of the color that must be made transparent, only its name.

[NTG-context] Re: How to stop ConTeXt from thinking period is at the end of a sentence?

2024-05-05 Thread Denis Maier via ntg-context
https://wiki.contextgarden.net/French_spacing Joel via ntg-context hat am 05.05.2024 00:30 CEST geschrieben:     I noticed that some code is being rendered wrong, most especially apparent in a column environment where

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

2024-04-30 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Wolfgang Schuster > Gesendet: Samstag, 27. April 2024 07:40 > An: Denis Maier > Cc: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Re: \par and \startlines > > Denis Maier schrieb am 26.04.2024 um 19:52: > > > I see. But there's no

[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. >> >> Wh

[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: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
:     Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> hat am 26.04.2024 17:25 CEST gesch

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

2024-04-26 Thread Denis Maier via ntg-context
  Wolfgang Schuster hat am 26.04.2024 18:24 CEST geschrieben:     Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10:   Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> hat am 26.04.2024

[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] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
  Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> hat am 26.04.2024 17:25 CEST geschrieben:     On 4/26/24 15:33, denis.ma...@unibe.ch wrote: Hi, I’m trying to typeset a poe

[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}: \rawcounterva

[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 e

[NTG-context] Re: minwidth not working ?

2024-04-22 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Wolfgang Schuster > Gesendet: Samstag, 20. April 2024 11:56 > An: Denis Maier > Cc: mailing list for ConTeXt users ; denis.ma...@unibe.ch > Betreff: Re: [NTG-context] Re: minwidth not working ? > > Denis Maier schrieb am 19.04.2024 um 22:55: > > >>

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

2024-04-22 Thread Hans Hagen via ntg-context
On 4/22/2024 2:45 AM, 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. I have a history text that uses ConTeXt-SBL for the citations, as such, it has lots of footnotes. Sometimes

[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 mai

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
  Wolfgang Schuster hat am 19.04.2024 20:32 CEST geschrieben:     denis.ma...@unibe.ch schrieb am 10.04.2024 um 12:47: Hi, Shouldn’t minwidth set a default minimal width for external figures? But this here does

[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 sourc

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

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
Hi again, another follow up. Can anyone confirm this issue? Is there a way to set the minimal width of graphics? Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Mittwoch, 10. April 2024 12:47 An: ntg-context@ntg.nl Betreff: minwidth not working ? Hi, Shouldn't minwidth

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

2024-04-19 Thread Denis Maier via ntg-context
Hi again, just a quick follow up on this one. Can anyone reproduce this? 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 adjust slightly adjust the dimensions to get rid of that. Best, Denis Von:

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Alan Braslau via ntg-context
Hello, The APS style is an example of a number-based citation system. As you are looking for a tag-based citation, it might be better to start with something like the APA style. Is there some specification for your short tag-based citation style? Alan On Tue, 16 Apr 2024 06:04:35 +0200

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

2024-04-16 Thread Peter Hopcroft via ntg-context
> On 17/04/2024, at 7:11 AM, Henning Hraban Ramm wrote: > > In my poster (still WIP) I wrote: > … Excellent ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

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

2024-04-14 Thread Denis Maier via ntg-context
  Thomas A. Schmitz <thomas.schm...@uni-bonn.de> 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

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

[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

[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 t

[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

[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] 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

[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{% \ctxlua{document.print_the_thing

[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 D

[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: 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] 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: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
On 4/2/2024 7:44 AM, Henning Hraban Ramm wrote: Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Hans Hagen via ntg-context
On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Hans -

[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: Unknown units es and dk

2024-03-24 Thread Jan Ulrich Hasecke via ntg-context
Am 23.03.24 um 19:05 schrieb Hans Hagen: The es, ts and eu are discussed here: https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf it also discusses how the team callibrated these units by sampling texies. Ah, I see. :-) Thanks juh

[NTG-context] Unknown units es and dk

2024-03-23 Thread Jan Ulrich Hasecke via ntg-context
I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph, backgroundcolor=MyColors:4, backgroundoffset=1dk, frame=off] The units "es" and "dk" are unknown to me. What does they mean? TIA

[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: Comments placed in the margin

2024-03-19 Thread Hans van der Meer via ntg-context
I am using: \margindata[]{group to isolate change e.g. {\rm \it etc}} yours sincerely dr. Hans van der Meer > On 19 Mar 2024, at 15:38, Jeroen wrote: > > For comments that are placed in the margin, the \inleft{}, \inouter{} etc > will place text in the margin in bold. Can this text be

[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: how to include an an svg file?

2024-03-15 Thread Hans Hagen via ntg-context
On 3/13/2024 9:16 AM, Henning Hraban Ramm wrote: Am 12.03.24 um 23:59 schrieb seyal zavira: You are correct. when i convert this svg to pdf via inkscape it works like a charm. But what is standard way of including an svg file with context if we want to inkscape render the images?

[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: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
features are given on demand ! > Best regards: Otared > > On 10 Mar 2024, at 17:43, Emanuel Han via ntg-context > > wrote: > > > > Hi all, > > > > I added > > https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Hans Hagen via ntg-context
On 3/13/2024 12:26 PM, Mikael Sundqvist wrote: Hi, On Wed, Mar 13, 2024 at 11:37 AM Max Chernoff wrote: Hi Hans, On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote: the next upload will support the attached ... so no ugly hacky code needed "\texthere[inbetween]" looks perfect, thanks!

[NTG-context] Re: update

2024-03-11 Thread Emanuel Han via ntg-context
Dear developers, thanks for your hard work! Thank you Wolfgang for the Japanese line break rule fix in line 831 of scrp-cjk.lua: full_width_open = stretch_break, -- WS, was: nobreak_stretch_break_shrink, Emanuel On März 11 2024, at 7:23 pm, Pablo Rodriguez via ntg-context wrote: > On 3/11

[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 non-numeric release > names all

[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: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
Hi all, I added https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout with attached working example code and to-do list. Thanks for any contributions! The working example code is still a work in progress. Its text layout output

[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 acc

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

2024-03-10 Thread Hans Hagen via ntg-context
On 3/10/2024 9:32 AM, Pablo Rodriguez via ntg-context wrote: 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

[NTG-context] Re: How can I do this?

2024-03-10 Thread Hans Hagen via ntg-context
On 3/8/2024 6:36 PM, Henning Hraban Ramm wrote: Am 08.03.24 um 17:56 schrieb Otared Kavian: Hi Ursula, The reason for which you did not get the expected result is that you have « } » missing in your file, that is the closing brace after your italic command « {\it » at the end of your

[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] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
Hello, I am currently writing my paper for last year's BachoTeX proceedings. I am using tugboat.mkxl module to design the layout. In bachotex proceedings, the author's data and abstract are on a single column and the article is usually typeset on two columns. Comments in tugboat.mkxl states:

[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 f

[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

  1   2   3   4   5   6   7   8   9   10   >