Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Fabrice Couvreur via ntg-context
Hi Hans, When the rectangles are not identical, how to have the same type of hatching in both ? Thanks. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \switchtobodyfont[9pt] \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0

[NTG-context] lmtx status

2022-09-27 Thread Hans Hagen via ntg-context
cause there are platform changes). She's also working on cmake based installation helpers. One of the things we did was pruning the fonts that are part of the installation. With a few exceptions the type one fonts were dropped, which is most noticeable for math. There is no need for px an

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context
On Mon, Sep 26, 2022 at 07:10:40PM +0200, Pablo Rodriguez via ntg-context wrote: BTW, is TeX Gyre Heros the font with missing chars in the printed version of your PDF document? It doesn't seem to be that: $ pdffonts a6.pdf name type enc

Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Pablo Rodriguez via ntg-context
le.pdf" and "pdffonts your-file.pdf" are your friends. Both infos for the following source: \setupbodyfont[helvetica] \starttext \input zapf \stoptext $ pdffonts a.pdf name type encoding emb sub uni object ID ----- -

Re: [NTG-context] IBM Plex updates

2022-09-26 Thread BPJ via ntg-context
renamed (Semi > Bold and Medium to SmBld and Medm). > > Hraban > Thank you for bringing this interesting type family to my attention! /bpj ___ > If your question is of interest to others as wel

Re: [NTG-context] Math alignment question

2022-09-23 Thread Mikael Sundqvist via ntg-context
the case. These formulas are done for single chain equations. The example given above consists of two formulas, and the new broken formula type simply does not fit. You can play with more than one \alignhere, but they will only set new align points. I think \startalign ... \stopalign is the way to go t

[NTG-context] Lato typescripts (MKIV/LMTX)

2022-09-17 Thread Adam Reviczky via ntg-context
being able to find the font. There seems to be an issue with the typescript file type-imp-lato.mkiv. MWE: \setupbodyfont[lato,12pt] \starttext Hello World! \stoptext --- ConTeXt ver: 2022.09.11 20:44 MKIV - luatex version: 1.1501, functionality level: 7539: mtxrun --script fonts --list --all --pa

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-09-02 Thread 黄复雄 via ntg-context
edfont[file:mingliu.ttc*chinese @ 10pt]) I adapted type-imp-mscore.mkiv to the situation of the fonts in Win10, and made type-imp-notocjksc.mkiv according to the Notocjksc fonts. I refer to type-imp-ipaex.mkiv, and I don't know if the method in it is outdated. At least, the test results are

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-02 Thread Henning Hraban Ramm via ntg-context
e context related readme files" } assert(not figures.getinfo2) figures.getinfo2 = function(name, page) -- [ [NTG-context] Pdf info with Lua/Ctx API ] if type(name) == "string" then name = { name = name, page = page } end if name.name then local data = figures.push(name) local i

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread Henning Hraban Ramm via ntg-context
AGMA ADE / ConTeXt Development Team", license = "see context related readme files" } assert(not figures.getinfo2) figures.getinfo2 = function(name, page) -- [ [NTG-context] Pdf info with Lua/Ctx API ] if type(name) == "string" then name = { name = name, page = page

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-26 Thread Hans Hagen via ntg-context
uot;\\Mac Anulty" } } function xml.functions.p(t) local dt = t.dt for i=1,#dt do local di = dt[i] if type(di) == "string" then dt[i] = lpeg.match(rep,di) end end end \stopluacode \xmlregistersetup{xml:xh

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-22 Thread Hans Hagen via ntg-context
I've finished checking and adjusting type-imp-mscore.mkiv, scrp-cjk.lua, and char-scr.lua so far, but the changes are a bit much (or maybe you can say a bit reckless), so I'm hesitant to get back to you in order to minimize your troubles. And as mentioned partly in an earlier email, I&#x

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
d and submitted, please deal with it.) By the way, I've finished checking and adjusting type-imp-mscore.mkiv, scrp-cjk.lua, and char-scr.lua so far, but the changes are a bit much (or maybe you can say a bit reckless), so I'm hesitant to get back to you in order to minimize your troubles. A

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
ned (can better be done global) fonts > bodyfont '24pt' is defined (can better be done global) fonts > bodyfont '16pt' is defined (can better be done global) open source > level 2, order 3, name 'D:/venvs/context-win64/tex/texmf-context/tex/context/fo

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
them: > > > > begin example > > \setupinterlinespace[line=4ex] > > > > \setuptype[style=\ttx] > > > > \starttext > > > > \start > > x \ruby{aaa}{bbb} x > > \stop > > > > \start \setupruby[location=left]

Re: [NTG-context] Using MathTime Pro 2 fonts in ConTeXt

2022-08-18 Thread Hans Hagen via ntg-context
On 8/18/2022 12:51 AM, Sebastian Leonardo Molina Diaz via ntg-context wrote: Any hints on how to do it? you can look into mathtimes-math.lfg type-imp-mathtimes.mkiv to see how to turn t2 fonts into virtual ot fonts but one never knopws how well that works (depends on the fonts) Hans

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-16 Thread amano.kenji via ntg-context
arttext > > \start > x \ruby{aaa}{bbb} x > \stop > > \start \setupruby[location=left] > \type{\setupruby[location=left]}\quad x \ruby{aaa}{bbb} x > \stop > > \start \setupruby[location=right] > \type{\setupruby[location=right]}\quad xxx

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread amano.kenji via ntg-context
dn't really be a problem. > > 2. You want to install ConTeXt LMTX system-wide. > > This is doable with the standard Linux installer script. Just make sure > to run the script as root and install the files in /opt/context. This is > what I've done on my system, and it works

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Max Chernoff via ntg-context
Hi Hans, > > First, how do I get an insert's class/type from the "insert" nodes on > > the page? With LuaTeX, the insert's class/type is the same as the > > subtype of the "ins" nodes, but the subtype of the "insert" nodes is > >

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Max Chernoff via ntg-context
my system, and it works quite well. $ ls -l $(type -p context) lrwxrwxrwx. 1 root root 10 Jul 28 00:33 /opt/context/tex/texmf-linux-64/bin/context -> luametatex* 3. You want to install ConTeXt without any network access. The easiest way to do this would be to ins

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-15 Thread Wolfgang Schuster via ntg-context
x \ruby{aaa}{bbb} x \stop \start \setupruby[location=left] \type{\setupruby[location=left]}\quad x \ruby{aaa}{bbb} x \stop \start \setupruby[location=right] \type{\setupruby[location=right]}\quad x \ruby{aaa}{bbb} x \stop \start \setupruby[location

Re: [NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Hans Hagen via ntg-context
On 8/15/2022 8:18 AM, Max Chernoff via ntg-context wrote: Hi all, I'm trying to manipulate some inserts from Lua in LuaMetaTeX, and I'm having some problems that I'm not having with LuaTeX. First, how do I get an insert's class/type from the "insert" nodes

[NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-14 Thread Max Chernoff via ntg-context
Hi all, I'm trying to manipulate some inserts from Lua in LuaMetaTeX, and I'm having some problems that I'm not having with LuaTeX. First, how do I get an insert's class/type from the "insert" nodes on the page? With LuaTeX, the insert's class/type is the sam

[NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Mojca Miklavec via ntg-context
node %d", (int) p); } else if (p > lmt_node_memory_state.reserved && lmt_node_memory_state.nodesizes[p] == 0) { return tex_formatted_error("nodes", "attempt to copy a free %s node %d", get_node_name(node_type(p)), (int) p); } else { /*tex type of node

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread Hans Hagen via ntg-context
On 8/2/2022 4:08 PM, 黄复雄 via ntg-context wrote: Sorry, when you say ` that file for windows 10+`, which one are you referring to? to scrp-cjk.lua?( yes, I will upgrade it.) or to my lmtx the chinese font .. as defined in type-imp-mscore

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread 黄复雄 via ntg-context
ypescriptfile[mscore] > > \usebodyfont [mschinese,20pt] > > can you upgrade the chiese section in that file for windows 10+ as the > old fonts are gone > > (i tested with \definedfont[file:mingliu.ttc*chinese @ 10pt]) > Sorry, when you say ` that file for windows 10+`, which

Re: [NTG-context] font fallbacks

2022-08-01 Thread Denis Maier via ntg-context
➊ DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE > 9 U+0FFFD � REPLACEMENT CHARACTER > stop missing characters > start missing characters: cambriai.ttf > 266 U+0276C ❬ MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT > 266 U+0276D ❭ MEDIUM RIGHT-POINTING ANGLE BRACKET ORN

Re: [NTG-context] font fallbacks

2022-08-01 Thread Henning Hraban Ramm via ntg-context
e] \startlines \getbuffer[example] {\ss\getbuffer[example]} \stoplines \tex{abra}\arg{...} \type{kadabra} \type{~~~} \stoptext """ What’s wrong? Hraban ___ If your question is of interest to others as wel

Re: [NTG-context] Set up external figure for particular image type

2022-08-01 Thread Hans Hagen via ntg-context
On 8/1/2022 2:29 AM, Thangalin via ntg-context wrote: Got it working. Complete solution: |\setupexternalfigures[ location={local,global,default}, width=\textwidth ] \defineexternalfigure[svg][width=1cm] \defineexternalfigure[jpg][width=2cm] \defineexternalfigure[png][width=4cm] % Won't be app

Re: [NTG-context] Set up external figure for particular image type

2022-07-31 Thread Thangalin via ntg-context
Got it working. Complete solution: \setupexternalfigures[ location={local,global,default}, width=\textwidth ]\defineexternalfigure[svg][width=1cm]\defineexternalfigure[jpg][width=2cm]\defineexternalfigure[png][width=4cm] % Won't be applied because there's no process action.% Default (\textwidt

[NTG-context] font fallbacks

2022-07-30 Thread Henning Hraban Ramm via ntg-context
RIGHT-POINTING ANGLE BRACKET ORNAMENT stop missing characters \stopbuffer \typebuffer[example] \startlines \getbuffer[example] {\ss\getbuffer[example]} \stoplines \tex{abra}\arg{...} \type{kadabra} \type{~~~} \stoptext ""

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-22 Thread Max Chernoff via ntg-context
t when ConTeXt is subsetting the fonts, it is removing all of the hinting information, while LibreOffice is keeping all of the hints. I've opened PDFs from ConTeXt and LibreOffice in FontForge and the hints are still there, so I don't think that this is the case, but maybe? The hinting format i

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-22 Thread Pablo Rodriguez via ntg-context
On 7/22/22 12:37, juh+ntg-context--- via ntg-context wrote: > Dear all, > > the firefox pdf viewer has problems with at least two sans serif fonts. > [...] > > Where Libreoffice has type "Type 1", lmtx has "CID Type 0C". > > Where Libreoffice has enco

[NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-22 Thread juh+ntg-context--- via ntg-context
] \startdocument \starttext \input lorem \stoptext \stopdocument When I create a pdf from LibreOffice with these fonts I have a good display. pdffonts shows different font inclusion: pdffonts libreoffice.pdf name type encoding emb sub uni object ID

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-21 Thread Hans Hagen via ntg-context
used the following code to add them (and add en and em dash substitution as well). %% start \startluacode fonts.handlers.otf.addfeature { name = "v1", -- these character substitutions will be applied to venetian-301-demi-bt type = "liga

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
them (and add en and em dash substitution as well). %% start \startluacode fonts.handlers.otf.addfeature { name = "v1",-- these character substitutions will be applied to venetian-301-demi-bt type = "ligature", data = { [0xF001]

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 18.07.2022 um 19:10: Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} You can probably remove the second argument ([svg]) which was used

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} Is there anything else that needs to happen to ensure SVG files are piped through MetaPost? Thanks again! > \setupexternalfig

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Of course, you could also use pandoc to go directly to ConTeXt; that is > currently my preferred way of producing PDF from Markdown. > Thanks Albert! I'm going to stick with my desktop text editor, KeenWrite , rather than use shell scripts

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Thanks, Rik. Not using Pandoc. I was using Pandoc up until 2020: https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ I've since authored KeenWrite , which uses flexmark-java to generate XHTML docum

[NTG-context] New math additional requirement for font definitions

2022-07-13 Thread Alexandre Christe via ntg-context
ibertinus] \setupbodyfont[libertinus,11pt] Could someone enlighten me? The font definition file is attached. BR, Alex type-imp-alegreya.mkiv Description: Binary data ___ If your question is of interest to others as well, p

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Albert Krewinkel via ntg-context
e` function to produce the output you need. E.g., match on the file name extension use the library function `pandoc.path.split_extension` and then change the element type depending on the extension. This way you'd have all the important information in your XML. More info: <https://pan

[NTG-context] fullhz, kerning and glue

2022-07-12 Thread Henning Hraban Ramm via ntg-context
ce extreme expansion, i.e. \type {\normaladjustspacing\plustwo}. 56 57% 0 = disabled 58% 1 = notused (thesis) 59% 2 = glyph + kern 60% 3 = glyph only (default) 61 62\def\font_expansion_enable {\normaladjustspacing\plusthree} 63\def\font_expansion_enable_k{\normaladjustspacing\plust

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Rik Kabel via ntg-context
On 2022-07-12 14:11, Thangalin via ntg-context wrote: Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition, unfortunately.

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 12.07.2022 um 20:11: Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition, unfortunate

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Thangalin via ntg-context
Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition, unfortunately. All images use the same syntax and are treated the same way

Re: [NTG-context] upload

2022-07-09 Thread Hans Hagen via ntg-context
\dorecurse {10} { \startcombination[2*2] {\hbox to .45\textwidth{\typesetbuffer[threshold-none] [frame=on,width=.45\textwidth,page=#1]\hss}} {\type {threshold=none}} {\hbox to .45\textwidth{\typesetbuffer[threshold-small] [frame=on,width=.45\textwidth,page=#1]\

Re: [NTG-context] Set up external figure for particular image type

2022-07-08 Thread Henning Hraban Ramm via ntg-context
Am 08.07.22 um 17:46 schrieb Thangalin via ntg-context: I'd like to change the `maxheight` option for only PNG images, such as: Define your own figure class with \definexternalfigure: https://wiki.contextgarden.net/Command/defineexternalfigure It won’t automatically chose the file format (or m

[NTG-context] Set up external figure for particular image type

2022-07-08 Thread Thangalin via ntg-context
erent external figure setups based on image type? Thank you! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinf

Re: [NTG-context] upload

2022-07-07 Thread Hans Hagen via ntg-context
ebreak(node.copylist(head))     print(head, type(head), info, type(info))     if info == nil then     print "!!! info is nil !!!"     end     return head     end     nodes.tasks.appendaction("processors", "after", &q

Re: [NTG-context] upload

2022-07-06 Thread Max Chernoff via ntg-context
Hi, With the latest upload, "tex.linebreak" doesn't return an "info" table. When running this code: \startluacode function test(head) local new_head, info = tex.linebreak(node.copylist(head)) print(head, type(head), info, type(in

Re: [NTG-context] Using alegreya typescript

2022-07-06 Thread Hans Hagen via ntg-context
=type-imp-dejavu, %Dversion=2010.06.21, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Alegreya fonts, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ m

Re: [NTG-context] Odd behaviour with Plex typescript

2022-06-30 Thread Hans Hagen via ntg-context
yfont[modern]}]     \setupbodyfont[plex]     \starttext     \section{A}     A     \stoptext I was able to fix this by removing the space immediately before the "%" on line 136 of "type-imp-plex.mkiv", changing it from this (original): \definefontf

[NTG-context] Odd behaviour with Plex typescript

2022-06-30 Thread Max Chernoff via ntg-context
ttext \section{A} A \stoptext I was able to fix this by removing the space immediately before the "%" on line 136 of "type-imp-plex.mkiv", changing it from this (original): \definefontfeature[plexwideneddefault][default][extend=\luaexpr{1/0.85}] % An odd

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-25 Thread Benjamin Buchmuller via ntg-context
t;> 112 characters per line sounds much too long anyways. >> >> From "The Elements of Typographic Style": >>> Anything from 45 to 75 characters is widely regarded as a satisfactory >>> length of line for a single-column page set in a serifed text face >

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-25 Thread Benjamin Buchmuller via ntg-context
f line for a single-column page set in a serifed text face > > in a text size. The 66-character line (counting both letters and > > spaces) is widely regarded as ideal. For multiple-column work, a > > better average is 40 to 50 characters. > > > > If the type is well set and

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-24 Thread Hans Hagen via ntg-context
On 6/24/2022 5:15 AM, Benjamin Buchmuller via ntg-context wrote: Dear list, I've been confronted with the following 'intriguing' formatting requirement for a document: " • Type density: Must be no more than 15 characters per linear inch (including characters and spa

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Works, thanks! On Fri, 2022-06-24 at 12:44 +0200, Wolfgang Schuster via ntg-context wrote: > Johann Birnick via ntg-context schrieb am 24.06.2022 um 11:59: > > Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work > > anymore. Any ideas? &g

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Wolfgang Schuster via ntg-context
Johann Birnick via ntg-context schrieb am 24.06.2022 um 11:59: Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work anymore. Any ideas? What happens with     \cite[righttext={{, section 2.1}}] or     \cite[righttext={\textcomma\ section 2.1}] Wol

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work anymore. Any ideas? Johann On Fri, 2022-06-24 at 09:24 +0200, Henning Hraban Ramm via ntg-context wrote: > Am 24.06.22 um 02:09 schrieb Johann Birnick via ntg-context: > > Hi there, > > > >

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-24 Thread Henning Hraban Ramm via ntg-context
Am 24.06.22 um 05:15 schrieb Benjamin Buchmuller via ntg-context: • Type density: Must be no more than 15 characters per linear inch (including characters and spaces). This talks about "type density", not characters per line. This depends mostly on the font (and letterspacing)

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-23 Thread Max Chernoff via ntg-context
ne (counting both letters and > spaces) is widely regarded as ideal. For multiple-column work, a > better average is 40 to 50 characters. > > If the type is well set and printed, lines of 85 or 90 characters > will pose no problem in discontinuous texts, such as bibliographies, &

[NTG-context] Count (and limit) glyphs per line?

2022-06-23 Thread Benjamin Buchmuller via ntg-context
Dear list, I've been confronted with the following 'intriguing' formatting requirement for a document: " • Type density: Must be no more than 15 characters per linear inch (including characters and spaces). • Line spacing: Must be no more than six lines per vertical inc

Re: [NTG-context] colors and contours in luametafun

2022-06-23 Thread Hans Hagen via ntg-context
error end -- -local ccode = load(f_color(colorcode)) -local color = type(ccode) == "function" and ccode() - if type(color) ~= "function" then -return false -- fatal error -end --- for i=0,nx do local yt = ymin for

Re: [NTG-context] colors and contours in luametafun

2022-06-20 Thread Jacob Kauffmann via ntg-context
n) / ny local xt = xmin -- -local minf, maxf +local minf, maxf, minz, maxz -- -- similar as contours but no data loop here -- @@ -1908,12 +1930,6 @@ return false -- fatal error end -- -local ccode = load(f_color(colorcode)) -local color = type(

[NTG-context] Problems with MetaFun Transparency Groups

2022-06-13 Thread Stefan Haller via ntg-context
operator is called `grouped` but the source code of the graphics above uses the `asgroup` operator [1].) The `asgroup` does in fact insert a transparency group into the PDF output: > << /Type /XObject /Subtype /Form /FormType 1 /Group << /S /Transparency /I > false /K false

[NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
2 1 2920 96 1200320 system > all240 879059240 900800100 32 16000 48000 8 16 2920 96 28800 10240 system

Re: [NTG-context] Workshop at FrOSCon

2022-06-09 Thread a badin via ntg-context
ever used a commandline, they should be good to go. once you install, you open the commandline using Win+R and then type "cmd". Once in the cmd, you only need to know the command "cd" (change directory) to navigate to the folder where the .tex source is, so e.g. "cd c:\us

Re: [NTG-context] issue with scite module

2022-06-02 Thread Max Chernoff via ntg-context
IX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= root@e8d29a32595c:~# xxd test.tex : 5c75 7365 6d6f 6475 6c65 5b73 6369 7465 \usemodule[scite 0010: 5d0a 5c

Re: [NTG-context] issue with scite module

2022-06-02 Thread Pablo Rodriguez via ntg-context
-06-02 16:37:30.112824947 +0200 @@ -13,7 +13,7 @@ -- todo: parse entities in attributes local global, string, table, lpeg = _G, string, table, lpeg -local P, R, S, C, Cmt, Cp = lpeg.P, lpeg.R, lpeg.S, lpeg.C, lpeg.Cmt, lpeg.Cp +local P, R, S, C, Cmt, Cp, lpatterns = lpeg.P, lpeg.R, lpeg.S, l

Re: [NTG-context] issue with scite module

2022-06-01 Thread Henning Hraban Ramm via ntg-context
Am 01.06.22 um 18:47 schrieb Pablo Rodriguez via ntg-context: Dear list, I have the following sample: \usemodule[scite] \starttext \startTEXpage[offset=1ex] \type[option=xml]{} \type[option=xml]{<áñß/>} \stopTEXpage \stoptext Using scite, I don’t get the second e

[NTG-context] issue with scite module

2022-06-01 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \usemodule[scite] \starttext \startTEXpage[offset=1ex] \type[option=xml]{} \type[option=xml]{<áñß/>} \stopTEXpage \stoptext Using scite, I don’t get the second element right. Without scite, both elements are displayed right. In both

Re: [NTG-context] Callbacks (and nodes) in LuaMetaTeX

2022-05-25 Thread Max Chernoff via ntg-context
: ins 132>={ ["attr"]="", ["cost"]=0, ["depth"]=221327, ["head"]="", ["height"]=790454, ["next"]="nil : ins 123>", ["prev"]=&qu

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Jan-Erik Hägglöf via ntg-context
he\clozecount]% >> } >> >> \starttext >> >> Frogs have four \mycloze\ and two eyes. >> Frogs have four \mycloze\ and two eyes. >> Frogs have four \mycloze\ and two eyes. >> Frogs have four \mycloze\ and two eyes. >> >> \stoptext >>

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Jan-Erik Hägglöf via ntg-context
oze\the\clozecount][line]% > \field[uniqcloze\the\clozecount]% > } > > \starttext > > Frogs have four \mycloze\ and two eyes. > Frogs have four \mycloze\ and two eyes. > Frogs have four \mycloze\ and two eyes. > Frogs have four \mycloze\ and two eyes. > &

Re: [NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Jan-Erik Hägglöf via ntg-context
From https://tex.stackexchange.com/questions/560042/how-to-create-unique-clozes-in-context-in-a-pdf-that-users-can-type-in > 24 maj 2022 kl. 07:44 skrev Jan-Erik Hägglöf : > > Thank you, unfortunately it has no effect. Even if I make a macro, still it > is the same field. > >&g

[NTG-context] PDF/A-3, XMP and Factur-X

2022-05-18 Thread Henning Hraban Ramm via ntg-context
123456") \stopluacode Would I need to add my tags to the mapping table of lpdf-xmp.lua? Or circumvent it after a look at the function concerned: function lpdf.addxmpinfo(tag,value,check) local pattern = permitdetail(tag) if type(pattern) == "string" then xmlfillin(x

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
ht\fi} \definenamespace [addr] [type=module, name=address, command=yes, setup=list, parent=addr, ] \define[1]\useaddress {\setnotetext[address][#1]{\namedaddressparameter{#1}{name}}} \setupaddress[style=italic] \defineaddress[fst][name={Name of Institute or Affiliation,

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
% if footnotes need to be >> > grouped, >> > > uncomment the second argument and the line after >> \the\titlefootnotes >> > > \setupnote[putjustnote][textcommand=\gobbleoneargument] >> > > \setupnotation[putjustnote][n

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
eoneargument] > > > \setupnotation[putjustnote][numberconversion=set 2] > > > > > > > > > \newtoks\titlefootnotes > > > > > > > > > \def\thanks#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to > > > \titlefootnotes} &g

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
1}\appendtoks \putjustnote{#1} \to > > \titlefootnotes} > > \def\email#1{\putjustmark{#1}\appendtoks \putjustnote{#1} \to > > \titlefootnotes} > > > > > > \appendtoks > >\setcounter[footnote][0] % this looks stupid because it has no eff

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread mf via ntg-context
#1}\appendtoks \putjustnote{#1} \to \titlefootnotes} \appendtoks   \setcounter[footnote][0] % this looks stupid because it has no effect   %\setupnotation[footnote][numberconversion=numerals] \to \titlefootnotes \definenamespace    [addr]    [type=module,     name=address,     command=yes,

[NTG-context] Can I just put a footnote without marking in the main text?

2022-05-17 Thread Zhichu Chen via ntg-context
mberconversion=numerals] \to \titlefootnotes \definenamespace    [addr]    [type=module,     name=address,     command=yes,     setup=list,     parent=addr,   ] \define[1]\useaddress     {\setnotetext[address][#1]{\namedaddressparameter{#1}{name}}} \starttext \defineaddress[fst][name={Name o

Re: [NTG-context] List of publications…

2022-05-17 Thread śrīrāma via ntg-context
-22,7 +22,7 @@ -- gain is not that large anyway because not much publication stuff is flushed. local next, rawget, type, tostring, tonumber = next, rawget, type, tostring, tonumber -local match, find, gsub, lower = string.match, string.find, string.gsub, string.lower +local match, find, gsub = str

Re: [NTG-context] issue with two recently added PDF manuals

2022-05-15 Thread Günter Kolousek via ntg-context
(4194333): Illegal character '}'" "Error (4194339): Illegal character '>'" "Error (4194333): Illegal character '}'" "Error (4194339): Illegal character '>'" "Error: Kid object (page 38) is wrong type (null)"

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread Bruce Horrocks via ntg-context
#x27;s document. > > I added a section in the wiki making a note of this: > https://wiki.contextgarden.net/TABLE#Headers_with_TABLEs > > Thanks Wolfgang! Until now, I did not even know of the 'nested' type for > TABLE. > > Sreeram > — Bruce Horrocks Hampshire,

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread śrīrāma via ntg-context
Enested > \stopsetups Splendid (as always)! Definitely a better solution for Stefan's document. I added a section in the wiki making a note of this: https://wiki.contextgarden.net/TABLE#Headers_with_TABLEs Thanks Wolfgang! Until now, I did not even know of the 'n

Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Alexandre Christe via ntg-context
Hi Pablo, Thank you so much. That was indeed the issue! Le mer. 11 mai 2022 à 19:14, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 5/11/22 18:42, Alexandre Christe via ntg-context wrote: > > Dear list, > > > > I've played a bit with a custo

Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 18:42, Alexandre Christe via ntg-context wrote: > Dear list, > > I've played a bit with a custom type-imp file (partly inspired from the > wiki https://wiki.contextgarden.net/Alegreya_Typescript > <https://wiki.contextgarden.net/Alegreya_Typescript>). However,

[NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Alexandre Christe via ntg-context
Dear list, I've played a bit with a custom type-imp file (partly inspired from the wiki https://wiki.contextgarden.net/Alegreya_Typescript). However, the file I ended up with seems to create some empty lines at the beginning of the document (if I use the default or another font this vanishe

[NTG-context] \placenotes ends up in wrong place when mixing one- and two- column layouts.

2022-05-10 Thread Zhichu Chen via ntg-context
\definenote[address] \setupnote[address][rule=off,location=text] \definenote[thanks] \setupnote[thanks][location=firstcolumn] \setupnotation[thanks][numberconversion=set 2] \definenote[email][thanks] \definenamespace    [addr]    [type=module,     name=address,     command=yes,     setup=l

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Heinrich Paeßens via ntg-context
nt (NewCM10-Book.otf vs NewCM10-Regular.otf). Trying many >> ways but the right one. >> >> please advise, >> can I define something similar like \bf for bold — maybe \bk for book? >> >> … all I get is >> >> hp@mbp16 ~ % pdffonts page1

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Mikael Sundqvist via ntg-context
lar« variant (NewCM10-Book.otf vs NewCM10-Regular.otf). Trying many ways > but the right one. > > please advise, > can I define something similar like \bf for bold — maybe \bk for book? > > … all I get is > > hp@mbp16 ~ % pdffonts page1.pdf > name

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Heinrich Paeßens via ntg-context
wCM10-Book.otf vs NewCM10-Regular.otf). Trying many >> ways but the right one. >> please advise, >> can I define something similar like \bf for bold — maybe \bk for book? >> … all I get is >> hp@mbp16 ~ %

Re: [NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Henning Hraban Ramm via ntg-context
dvise, can I define something similar like \bf for bold — maybe \bk for book? … all I get is hp@mbp16 ~ % pdffonts page1.pdf name                                 type              encoding emb sub uni

[NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Heinrich Paeßens via ntg-context
advise, can I define something similar like \bf for bold — maybe \bk for book? … all I get is hp@mbp16 ~ % pdffonts page1.pdf name type encoding emb sub uni object ID

[NTG-context] Issue in btx rendering

2022-05-04 Thread śrīrāma via ntg-context
rl = {https://www.cambridge.org/core/product/identifier/S000186780002807X/type/journal_article}, volume = {29}, year= {1997}, } ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
name)}}] \addtocommalist {\xmlfilter{#1}{/family-name/command(xml:author:family-name)}\xmlfilter{#1}{/given-name/command(xml:author:given-name)}} \AuthorList \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1}\par \stopxmlsetups \definenamespace [documentauthor] % name of internal varialb

Re: [NTG-context] context module t-account in LMTX

2022-04-28 Thread Heinrich Paeßens via ntg-context
latinmodern-math.otf, lmroman12-regular.otfmkiv lua stats  > font engine: otf 3.120, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.237 seconds mkiv lua stats  > font embedding time: 0.004 seconds, 1 fontsmkiv lua stats  > result saved in fi

[NTG-context] $\sin \theta$ behave differently in metafun

2022-04-15 Thread Jeong Dal via ntg-context
ty.l...@gmail.com > Subject: Re: [NTG-context] Setting up zint on a mac with macOS Montery > Version 12.3.1 > Message-ID: <475d96e6-0905-7d2d-a51d-84b06d340...@gmail.com> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Hi All > &g

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