[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

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

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted, quality}}, bf={style: regular, features:{default, boldened-30}},

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

2024-03-02 Thread Pablo Rodriguez via ntg-context
On 3/2/24 14:41, vm via ntg-context wrote: > On 02/03/2024 13:46, Pablo Rodriguez via ntg-context wrote: >> Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. > > same here Many thanks for your confi

[NTG-context] issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a} \scale[width=30em]{\cg } \stoptext Using current latest from both

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 15:27, Jean-Pierre Delange wrote: > Sorry for the noise : I did'nt see the ConTeXt imposition schemas here : > > https://wiki.contextgarden.net/Imposition > > I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4][A3, landscape]

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

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 12:24, Pablo Rodriguez via ntg-context wrote: > [...] > This is why beforequadruple would make sense. I guess some Lua magic > could do that, computing x to the follwing page that "x % 4 = 3" (and > then \page[x]). > > I will try to find a trick for

[NTG-context] Re: \in, \at, and labletext

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 13:05, Ursula Hermann wrote: > Dear List, > > In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two > examples with \in and \at, and also the label. Dear Uschi, I guess you mean (a link may be simpler than attaching a single page):

[NTG-context] Re: output filename with SHA256

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/23/24 16:01, mf wrote: > [...] > A new run is started unless: > [...] > - the tuc file is identical to the one of the previous run Hi Massi, many thanks for your reply. If ConTeXt relies on that condition to stop compilation, then it would be great to know how it is performed to invoke

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

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 11:56, Bruce Horrocks wrote: > [...] > The sample works for me if you set plain A4 and doublesided, thus: > > \setuppagenumbering[alternative={doublesided}] > \starttext > \samplefile{lorem} > \page[quadruple] > page before the quadruple (must be 3, not 4) > \page[yes, quadruple]

[NTG-context] \getdocumentfilename or document.files

2024-02-27 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (saved as "a.tex"): \starttext \getdocumentfilename{1} \cldcontext{document.files[1]} \getdocumentfilename{2} \cldcontext{document.files[2]} \getdocumentfilename{3} \cldcontext{document.files[3]} \stoptext I compile it with: context

[NTG-context] Re: Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/27/24 10:10, Ursula Hermann wrote: >[...] > I have a question to my paragraphs: > > \definetextbackground[Paragaph][ > [...] >   \startparagraph Hi Uschi, if you define Paragaph, then you should use \startParagaph (and \stopParagaph). > \starttext Even if that works, it would be better to

[NTG-context] Re: Hyperlinks cease working after page selection

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/26/24 21:25, Michael Guravage wrote: > Greetings, > > The document in question compiles correctly. Its hyperlinks are correct > and work as expected. However, if I apply a page selection, the > hyperlinks in the resulting document, while correctly coloured, no > longer work. > [...] >

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

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/24/24 14:30, Wolfgang Schuster wrote: > Michael Guravage schrieb am 23.02.2024 um 10:07: >> Greetings, >> >> I would like to use the nextquadruple and beforequadruple >> pagebreakhandlers described at the bottom of the wiki's imposition >> page. However, the examples complain of an error

[NTG-context] Re: output filename with SHA256

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/23/24 23:58, Bruce Horrocks wrote: >> On 23 Feb 2024, at 13:32, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> Is there any way to check if compilation needs any other run? >> [...] > Rather than use the wrapup() hook can why not rename the file us

[NTG-context] output filename with SHA256

2024-02-23 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample file: \starttext whatever \startluacode luatex.wrapup( function() local t = {} local pdf_file_name = tex.jobname..".pdf" local sha_pdf = utilities.sha2.hash256(io.loaddata(pdf_file_name)) local c_r = environment.currentrun t[c_r] =

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-21 Thread Pablo Rodriguez via ntg-context
On 2/20/24 19:03, Gavin via ntg-context wrote: > […] > I don’t know how you are calling PdfLaTeX to typeset your document, > context-test.tex, but that is what you are doing. Hi Uschi and Gavin, I will try to go the same way you propose, Gavin. Otherwise, Uschi may find it hard to follow totally

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-20 Thread Pablo Rodriguez via ntg-context
On 2/20/24 14:45, Ursula Hermann wrote: > Dear Pablo, Dear List > > I have done all you told me yesterday. > > What I do not understand is that the Diagnosis in WinEdt 11 says, > that everything is ok. Also the PDF-Viewer. Sorry, but I can't copy > it, so I tell what I see. What I do not

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-19 Thread Pablo Rodriguez via ntg-context
On 2/19/24 13:06, Ursula Hermann wrote: > Dear List, > > I have done the new download at Work. After compiling is always the same: > > Command Line:   context.exe --synctex=-1 "context-test.tex" > […] > startup error : no format file given, quitting Dear Uschi, it is really hard to know what is

[NTG-context] /AFRelationship for attachments

2024-02-15 Thread Pablo Rodriguez via ntg-context
Dear list, the new lpdf-wid.lmt contains in lines 302 and 377: local relation = specification.relation or "Unspecified" AFRelationship = pdfconstant(relation), The following sample compiled with current latest: \setupinteraction[state=start] \starttext

[NTG-context] Re: OT: interview with John Warnock

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/6/24 14:04, Henning Hraban Ramm wrote: > Hi, I came across this interview with John Warnock (founder of Adobe and > developer of PostScript): > > https://archive.computerhistory.org/resources/access/text/2023/08/102738759-05-01-acc.pdf Many thanks for the reference, Hraban. This is the

[NTG-context] Re: Square right aligned

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/8/24 22:37, Otared Kavian wrote: > Hi Ursula, > > I think you mean the so-called end of the proof sign, or QED (Quod Erat > Demonstrandum). You can use this: > > \definesymbol[QED][\mathematics{\square}] > \def\qed{\wordright{\symbol[QED]}} > \starttext > This is the end of our proof. \qed >

[NTG-context] Re: distance in \setupinitial

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/9/24 09:53, Thomas Meyer wrote: > Hi folks, > > if I understand it correct it is not necessary to set default parameters. > In my example it is a difference to set it or not (distance=0pt should > be default): Hi Thomas, the default (as per line 65 in typo-drp.mkxl) is .125\emwidth. This

[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Pablo Rodriguez via ntg-context
On 1/27/24 17:44, Jim wrote: > The wiki page for \setupexternalfigure says > "Show frame around image. Most(?) options of \setupframed are usable!" Hi Jim, I’m afraid that this is a too generous statement. https://www.pragma-ade.com/general/qrcs/setup-en.pdf#page=218 shows which keys and

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
On 1/27/24 17:40, Ali Ali wrote: > Thanks, those seems close to what I wanted but not exactly. > > The ASCII graphic (better in typewriter font) may explain what I desired, > ``` > text width > |<>| > > ##. SECTION TITLE

[NTG-context] Re: upload

2024-01-20 Thread Pablo Rodriguez via ntg-context
On 1/20/24 09:38, Hans Hagen via ntg-context wrote: > On 1/19/2024 6:34 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I get a 404 error for both https://www.pragma-ade.nl/install.htm and >> https://www.pragma-ade.com/install.htm. >> [...] > can you try again?

[NTG-context] Re: upload

2024-01-19 Thread Pablo Rodriguez via ntg-context
On 1/18/24 20:43, Denis Maier via ntg-context wrote: >> *Von:*Alain Delmotte >> *Gesendet:* Donnerstag, 18. Januar 2024 20:04 >> *An:* ntg-context@ntg.nl >> *Betreff:* [NTG-context] Re: upload >> [...] >> When I go to https://www.pragma-ade.nl, I get an 404 Not Found >> message, so I can't

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Pablo Rodriguez via ntg-context
On 1/18/24 18:24, Shiv Shankar Dayal wrote: > I can process TeXBook in almost an instant using PDFTeX which is about > 450+ pages but my math book takes around 30 seconds averaging ~40 > pages/second. Hi Shiv Shankar Dayal, I guess that “The TeXbook” (having been written by Knuth himself) may be

[NTG-context] scaling tweaked fonts

2024-01-18 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample which behaves differently after latest from 2023.09.26 18:19: \definetweakedfont[wider][xscale=1075] \starttext \startTEXpage[align=center] \contextversion\\ \wider \contextversion \stopTEXpage \stoptext Up to that version, no

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-16 Thread Pablo Rodriguez via ntg-context
On 1/15/24 21:43, Mikael Sundqvist wrote: > Hi, > > Try this: > […] > \definebodyfontenvironment[16pt] > […] > Maybe some check will be added. (On the chat with Hans...) Many thanks for your help, Mikael. Your hint solved the issue and having a check that avoids the reported issue. BTW, I’m

[NTG-context] issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[coverface][rm][TeX Gyre Termes] \setupbodyfont[mainface, 16pt] \starttext \startmakeup[standard][style=\bf] \switchtobodyfont[coverface] This is a cover. \stopmakeup

[NTG-context] too large dimension in current latest

2024-01-15 Thread Pablo Rodriguez via ntg-context
Hi Hans, after updating to current latest (2024.01.08 11:23), I get the following error. This is triggered when compiling XML sources (with extra environment files), so it is not easy to get a minimal sample file. I wonder whehter the message itself could reveal what may be wrong here. Many

[NTG-context] issue with \setuptyping (and XML sources)

2024-01-14 Thread Pablo Rodriguez via ntg-context
Dear list, the issue I’m experiencing comes from XML sources typeset with ConTeXt. I have tried, but I found no way to get a minimal sample. For code fragments in the XML source, I use: \bgroup\xmlprettyprinttext{#1}{none}\egroup To which I apply: \setuptyping [style={\tt\wider},

[NTG-context] install-modules script and git URLs

2023-12-19 Thread Pablo Rodriguez via ntg-context
Hi Hraban and Taco, the install-modules script doesn’t allow .tar.gz as compression format to install modules. .tar.gz seems to be the compression format offered for modules that are uploaded using a git URL. Hraban explained in August that thee server could be configured to get .zip

[NTG-context] Re: QR Code

2023-12-18 Thread Pablo Rodriguez via ntg-context
On 12/18/23 20:34, Henning Hraban Ramm wrote: > [...] > Are you using MkIV (LuaTeX) or LMTX (LuaMetaTeX)? Many thanks for your reply, Hraban. I understood my issue with your reply (I known, your answer is intended to Uschi). It is also in the sent file: Creator: LuaMetaTeX 2.10.11 20230908

[NTG-context] Re: QR Code

2023-12-18 Thread Pablo Rodriguez via ntg-context
On 12/18/23 17:05, Ursula Hermann wrote: > […] > I got what you see in the pdf. Hi Uschi, I‘m on Linux64 using LuaMetaTEx. Contrary to the explanation from https://wiki.contextgarden.net/Barcodes#Zint_module, I need the zint package installed on Fedora. I have safely removed the whole contents

[NTG-context] Re: (again) wrong destination types?

2023-12-06 Thread Pablo Rodriguez via ntg-context
On 12/5/23 00:21, Bruce Horrocks wrote: >> On 3 Dec 2023, at 15:26, Pablo Rodriguez via ntg-context wrote: >> […] >> My issue is that I cannot avoid having "page=name" for links to external >> documents, but this breaks footnotes and other special operation links

[NTG-context] Re: externalfigure crashed

2023-12-06 Thread Pablo Rodriguez via ntg-context
On 12/4/23 20:44, Hans Hagen via ntg-context wrote: > On 12/4/2023 5:38 PM, Pablo Rodriguez via ntg-context wrote: >>> […] >> Does the above mean that ConTeXt will be able to sign PDF documents with >> digital certificates? > Well, that's what singing is, right? T

[NTG-context] Re: externalfigure crashed

2023-12-04 Thread Pablo Rodriguez via ntg-context
On 11/24/23 18:16, Hans Hagen via ntg-context wrote: > […] > will do for now ... i can't upload a new installer .. pending the built; > the advantage is that i can do some experiments that would otherwise > break the current version (making compact font mode very close to > normal, pdf signing […]

[NTG-context] Re: marginwidths

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 18:03, Wolfgang Schuster wrote: > Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: >> But changing the width of the section in the middle is not changing. dr. van der Meer, your sample works for me if you add width=fit, such as in: \setuplayout[width=fit,

[NTG-context] Re: unwanted blank page

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 09:57, madiazm.eo...@gmail.com wrote: > Thanks a lot Pablo for your comments, I think my bad English did not > let me be clear. Sorry (also for my delay in answering), but it was totally my fault (I totally missed your point).. Pablo

[NTG-context] Re: (again) wrong destination types?

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 00:06, Bruce Horrocks wrote: > [...] > I changed your example to the following: > \setupinteraction[state=start, page=name, focus=standard] > \starttext > \input knuth \par > a\footnote{b} \par > \dorecurse{7}{\input knuth \par} > \stoptext Many thanks for your fast reply, Bruce. I

  1   2   3   4   5   6   7   8   9   10   >