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

2022-09-17 Thread Adam Reviczky via ntg-context
Hi, With the latest upload (2022-09-16 14:41) I wanted to compare some older projects that I've used with MKIV to the LMTX 2.10.00. In one of which I am using the Lato 2.0 font ( https://packages.debian.org/sid/fonts-lato). With MKIV I get the correct output but LMTX complains about not being

[NTG-context] Repeating binary operators with split multiline formulas

2022-08-20 Thread Adam Reviczky via ntg-context
Hi, Since there has been a lot of work done on the math side of things, I wanted to ask if there is an automated way to have binary operators repeated when splitting a formula. From the MKIV math manual there is an option to move the operators into the new line:

Re: [NTG-context] Fwd: Typesetting modern Greek (UTF8) with ConTeXt

2022-08-12 Thread Adam Reviczky via ntg-context
Thanks Hanx for the fix! >> Just curious: you're still in mkii? No, I was just trying to compare an old project (nothing important) with lmtx, otherwise I wouldn't have even noticed. Adam On Fri, Aug 12, 2022 at 8:14 AM Hans Hagen wrote: > On 8/12/2022 2:57 AM, Adam Reviczky wrot

Re: [NTG-context] Crediting copyright on photographs

2022-05-04 Thread Adam Reviczky via ntg-context
Hi Bruce, The Layers page has some examples ( https://wiki.contextgarden.net/Layers#Place_labels_on_pictures) and the Collectors page as well (https://wiki.contextgarden.net/Collectors). Some MWE: \starttext \definelayer [figure][width=\overlaywidth,height=\overlayheight]

Re: [NTG-context] Xml - Lua - context

2022-03-28 Thread Adam Reviczky via ntg-context
Hi Thomas, Not sure whether it helps or not, but in regards to combinations and Lua I have had some challenges as well, but Hans' and Wolfgangs' solution with externalfigures works fine for me now: https://mailman.ntg.nl/pipermail/ntg-context/2021/103822.html

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Adam Reviczky via ntg-context
m using now the solution > presented by Sreeram. > > Again thank you so much! > Kind regards > > Willi > > > On 22 Mar 2022, at 01:21, Adam Reviczky via ntg-context < > ntg-context@ntg.nl> wrote: > > > > Hi, > > > > There is a good overview of ac

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread Adam Reviczky via ntg-context
Hi, There is a good overview of accessible variables at: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names Maybe you want something like this? \starttext \setuphead[chapter][number=no] \startchapter[title={My Chapter}] Hello world! \startMPcode

Re: [NTG-context] zint module on LMTX

2022-03-16 Thread Adam Reviczky via ntg-context
sample works in the same way for both MKIV and LMTX: zint-test.tex --- \usemodule[zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \stoptext --- context zint-test.tex context --luatex zint-test.tex Adam On Wed, Mar 16, 2022 at 9:39 PM Pablo Rodriguez via ntg-context &l

Re: [NTG-context] zint module on LMTX

2022-03-16 Thread Adam Reviczky via ntg-context
Hi Pablo, If you use an older version of zint, maybe "isbn" instead of "isbnx" would work. I have used both isbnx and qrcode successfully with zint 2.10 on linux. \usemodule[zint] \starttext \barcode[alternative=isbn,text=9783865419026,width=4cm]

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Adam Reviczky via ntg-context
Hi Julian, How about using the keys in every instance? \setupregister[index][n=1,method={zc,pc,zm,pm,uc},style=WORD] \defineprocessor[special][style=italic] \starttext P\index[Plenary+periti]{Plenary Council+{\it periti} (experts)} B\index[Plenary+beriti]{Plenary Council+{\it beriti} (experts)}

Re: [NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Adam Reviczky via ntg-context
Hi Joel, I don't think you can stack those, just use \bi (see: https://wiki.contextgarden.net/Font_Switching) \starttext \startitemize \item This text has {\bf bold} in it. \item This text has {\it italics} in it. \item Why doesn't this have {\bi bold and italics} in it? \stopitemize See also:

Re: [NTG-context] registers, how to ignore quote marks

2022-01-28 Thread Adam Reviczky via ntg-context
Hi Julian, Have you tried \index[Innovative]{‘Innovative’}? See wiki entry: https://wiki.contextgarden.net/Registers - To sort a word (such as "ConTeXt" under "C"), use: \index [CONTEXT]{\ConTeXt} You would have to change each index call though.

Re: [NTG-context] undefined control sequence c!symbolcolor in MkIV, was new upload

2022-01-19 Thread Adam Reviczky via ntg-context
Hi Rik, In the interim you can change one more occurrence of "symbolcolor" in line 317: https://github.com/reviczky/context-mirror/commit/f4bfe0baaeb4bdcc6b8098de6ef1f8c96f928d07 Adam On Wed, Jan 19, 2022 at 5:31 PM Rik Kabel via ntg-context < ntg-context@ntg.nl> wrote: > On 2022-01-15 14:29,

Re: [NTG-context] Paragraph break over pages with hanging float

2021-11-15 Thread Adam Reviczky via ntg-context
her change the float in my document than create more issues. Regards, Adam On Mon, Nov 15, 2021 at 2:00 PM Hans Hagen wrote: > On 11/15/2021 6:26 AM, Adam Reviczky via ntg-context wrote: > > Hi, > > > > Is there a way to allow a paragraph to break over two pages (

[NTG-context] Paragraph break over pages with hanging float

2021-11-14 Thread Adam Reviczky via ntg-context
Hi, Is there a way to allow a paragraph to break over two pages (between the paragraph start and the placement of the float) with a hanging float further down the paragraph? MWE: \starttext \input lorem \blank[20*line] % commenting out the hanging float allows paragraph break

[NTG-context] PDF text stream with delimitedtext

2021-10-30 Thread Adam Reviczky via ntg-context
Hi, I am trying to use quotation or blockquote in a document, but when selecting and copying the text in poppler/pdf.js I get double marks. Looking at the minimal example below: \nopdfcompression \setuppagenumbering[location=] \starttext \startquotation Hello world! \stopquotation

Re: [NTG-context] logo from wiki

2021-10-23 Thread Adam Reviczky via ntg-context
Hi Pablo, https://gitlab.com/schickele/new-context-logo (See: https://mailman.ntg.nl/pipermail/ntg-context/2019/093859.html) Adam On Sat, Oct 23, 2021 at 8:16 AM Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > Dear list, > > where could I get the vector version from > >

Re: [NTG-context] combination with lua

2021-10-12 Thread Adam Reviczky via ntg-context
Thank you Hans and Wolfgang for the explanation! Adam On Tue, Oct 12, 2021 at 4:22 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Hans Hagen via ntg-context schrieb am 12.10.2021 um 14:12: > > On 10/11/2021 1:38 PM, Adam Reviczky via ntg-context wrote: >

[NTG-context] combination with lua

2021-10-11 Thread Adam Reviczky via ntg-context
Hi, I am trying to use a combination figure with luacode (both with latest MKIV and LMTX). However, the figures do not line up in the grid of the combination. I get the correct result with examples 1 and 2 below, but example 3 using lua functions for combination and externalfigure is what I

[NTG-context] prefixstarter in captions

2021-08-28 Thread Adam Reviczky via ntg-context
Hi, There was a question on the list before on prepending to the numberpart of a caption with the 'numberstarter' command, which works just fine ( https://mailman.ntg.nl/pipermail/ntg-context/2017/089142.html). I wanted to try the same but for prepending to the entire prefix (not just the number

[NTG-context] MKIV ansi/ansilog

2021-08-25 Thread Adam Reviczky via ntg-context
Hi, I have been using the ansi and ansilog flags in the past and they work fine with lmtx, but do not seem to make a difference with luatex/mkiv. (There was a thread back in 2019: https://mailman.ntg.nl/pipermail/ntg-context/2019/095666.html) I am trying just a simple hello world: \starttext

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
Thank you very much Wolfgang for the explanation, Both solutions make sense now and work great. Regards, Adam On Wed, Aug 25, 2021 at 11:46 AM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02: > > Hi,

[NTG-context] TOC labeltext and no partlabel

2021-08-24 Thread Adam Reviczky via ntg-context
Hi, I have asked this question before, but now I cannot get it working again. https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc I want to set partlabels in my TOC but not in the document itself. The desired output would be: --- Contents Chapter 1 Bodypart

[NTG-context] footnote interaction in titles

2021-08-09 Thread Adam Reviczky via ntg-context
Hi, I probably shouldn't use footnotes within titles, but I am misusing the title elements for a quick interview style document (I use them in the ToC). One thing I have noticed is that interaction style (color and styles) are not applied in the footnote and footnote numbering. Is that a side

Re: [NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread Adam Reviczky
Hi Kurt, It is because of the spaces after the last line in contrastcolor. Use any of the following instead: \setupinteraction [state=start, color=blue, contrastcolor=blue, ] \setupinteraction [state=start, color=blue, contrastcolor=blue% ] \setupinteraction [state=start,

Re: [NTG-context] PDF forms not creating proper children

2021-06-08 Thread Adam Reviczky
Not sure how good it is, but in the poppler discussion this site was mentioned to verify the signature details: https://validator.docusign.com/ I have tried using with poppler's pdfsig and Okular. Adam On Tue, Jun 8, 2021 at 10:14 PM Leonard Janis Robert König wrote: > On Tue, 2021-06-08 at

Re: [NTG-context] chapter number sought

2021-05-30 Thread Adam Reviczky
Hi Hans, Does this help: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names ? \starttext \startchapter[title={First chapter}] \structurenumber\ - \structuretitle \stopchapter \stoptext Although getmarking is probably what you're really after:

Re: [NTG-context] ctxlua percentage format escape

2021-05-29 Thread Adam Reviczky
; $\pi = \expression string.format("\letterpercent.6f", pi)\relax$ > > > %Changing catcodes so $ and % are letter characters > > \startasciimode > > \m{\pi = \expression ("%.6f"):format(pi) \relax} > > > \m{\pi = \ctxlua{context("%.6f", math.pi)}} >

[NTG-context] ctxlua percentage format escape

2021-05-29 Thread Adam Reviczky
Hi, I was trying to use a quick calculation like the new mathfun in lmtx for an older mkiv document. MWE from the wiki: https://wiki.contextgarden.net/Programming_in_LuaTeX#Examples \starttext $\pi = \ctxlua{context("\%.6f", math.pi)}$ \stoptext But that gives an error (actually for both lmtx

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Adam Reviczky
Hi Werner, Did you try startembeddedxtable ? See Section 5 in the manual ( https://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf). Adam On Tue, May 18, 2021 at 6:38 PM Werner Hennrich wrote: > Hello everyone, > > I'm trying to create an xtable from within a \def (or within a \setups) >

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-14 Thread Adam Reviczky
/14/2021 3:21 AM, Jairo A. del Rio wrote: > > > > > > El jue, 13 de may. de 2021 a la(s) 19:52, Adam Reviczky > > (revic...@gmail.com <mailto:revic...@gmail.com>) escribió: > > > > Thanks Jairo, > > > > That indeed works, should've

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Adam Reviczky
e damaged. >Output may be incorrect. > > > Only SVG fonts don't trigger this error in LMTX. > > > I confirm ConTeXt MkIV is having issues with emoji fonts. It seems that > GraphicsMagick is not properly generating images as it complains about an > im

[NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Adam Reviczky
Hi, I am trying to use the 'handshake' character ( https://www.fileformat.info/info/unicode/char/1f91d/fontsupport.htm) from the Noto Color Emoji font ( https://github.com/googlefonts/noto-emoji/blob/main/fonts/NotoColorEmoji.ttf ). The following MWE gives an error: \starttext

Re: [NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
and "StopPage" compiles. mtx-context | current version: 2021.05.09 17:14 This is LuaTeX, Version 1.14.0 Development id: 7438 Adam On Sun, May 9, 2021 at 9:57 PM Adam Reviczky wrote: > Hi, > > With the latest luatex change from > https://github.com/TeX-Live/luatex/commit/15

[NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
Hi, With the latest luatex change from https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59 (and MKIV 2021-05-09 17:14:00) I get an input stack overflow: simpleslides> loading style Boxed system > command '\NormalHeight' is already defined system

Re: [NTG-context] PDF forms not creating proper children

2021-05-02 Thread Adam Reviczky
On Sun, May 2, 2021 at 5:50 PM Pablo Rodriguez wrote: > On 5/2/21 12:20 AM, Adam Reviczky wrote: > > Hi, > > > > I cannot get the signature working either, but almost certain it did > > work in February this year, as I have done some with MKIV. > > [...] > > H

Re: [NTG-context] PDF forms not creating proper children

2021-05-01 Thread Adam Reviczky
Hi, I cannot get the signature working either, but almost certain it did work in February this year, as I have done some with MKIV. >From the test suite: fields-007.tex \nopdfcompression \setupinteraction[state=start] \starttext \definefield[x][signature] \field[x] \stoptext Using the

Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
ightmargin] \startplaceformula \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stoptext Adam On Sun, Mar 21, 2021 at 8:41 PM Adam Reviczky wrote: > Thanks Hraban, > > That should be fine, I've tried to increase the margins as well, but not > sure that's the issue as I ca

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stoptext Adam On Sun, Mar 21, 2021 at 8:31 PM Henning Hraban Ramm wrote: > > > Am 21.03.2021 um 20:56 schrieb Adam Reviczky : > > > > Thanks Hraban, > > > > I've tried the numbercommand

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
lob/a0270f13065d116355a953c6f246cbba26289fc2/doc/context/sources/general/manuals/math/math-framing.tex>) however does work, so not sure: \setupformula[numbercommand={\inframed[framecolor=green]}] Adam On Sun, Mar 21, 2021 at 7:47 PM Henning Hraban Ramm wrote: > > > > Am 21.03.2021 um 19:40 sch

[NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
Hi, One more question on formulas. How can I get the formula number to be put into the left/right margin instead of left/right inside the text? I have tried the following: \starttext \showframe % figure caption into the margin \setupcaption[figure][location={rightmargin}]

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
:45 PM, Adam Reviczky wrote: > > Hi, > > > > Is there a way to have formula numbers showing all prefix segments? > > When I use prefixsegments, I get the desired numbering in the placelist > > but not in the formula number itself. > > > > For example: > &

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*]

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*]

Re: [NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-17 Thread Adam Reviczky
ext -- Adam On Tue, Mar 16, 2021 at 5:28 AM Adam Reviczky wrote: > Hi, > > I want to use placenamedformula to list a formula in the placelist with > both the formula name and the formula number (alongside the pagenumber). > > The example in the wiki (https://wiki.contextgarden.

[NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-15 Thread Adam Reviczky
Hi, I want to use placenamedformula to list a formula in the placelist with both the formula name and the formula number (alongside the pagenumber). The example in the wiki (https://wiki.contextgarden.net/Math/Display) and the test suite (cont-tst/doc/context/tests/mkiv/math/formulas-003.tex)

[NTG-context] MKIV format generation error with latest 2021-02-17 13:33

2021-02-17 Thread Adam Reviczky
Hi, I am getting the following error with luatex/mkiv with today's latest: context --make loading : ConTeXt Token Support / Initialization /usr/share/texmf/tex/context/base/mkxl/toks-ini.lmt:21: attempt to call a nil value (field 'getcommandvalues') stack traceback:

[NTG-context] mkiv broken in 2020-12-04 20:21:00 (typo-spa.lua)

2020-12-05 Thread Adam Reviczky
Hi Hans, The removal of typo-spa.lua breaks the format generation in mkiv: loading > ConTeXt Typesetting Macros / Wrapping resolvers > lua > loading file '/usr/share/texmf/tex/context/base/mkiv/typo-wrp.lua' succeeded close source> level 1, order 226, name

Re: [NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)

2020-11-17 Thread Adam Reviczky
Thank you Hans, all fine now again! Adam On Tue, Nov 17, 2020 at 8:54 AM Hans Hagen wrote: > On 11/17/2020 3:06 AM, Adam Reviczky wrote: > > Hi, > > > > I am getting the following error message trying to generate the formats > > (context --make) with the latest versi

[NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)

2020-11-16 Thread Adam Reviczky
Hi, I am getting the following error message trying to generate the formats (context --make) with the latest version (latest 2020-11-16 19:40) with luatex 1.13.0 7385 (not lmtx). loading > ConTeXt Typesetting Macros / Triggering Actions resolvers > lua > loading file

Re: [NTG-context] gnuplot module broken with latest 2020-07-13 16:31

2020-07-13 Thread Adam Reviczky
Many thanks for the quick fix Hans, I have tried the lmtx inclusions as well, very nice indeed (and added it to the wiki)! Kind Regards, Adam Reviczky On Mon, Jul 13, 2020 at 10:38 PM Hans Hagen wrote: > On 7/13/2020 8:53 PM, Adam Reviczky wrote: > > Hi, > > > > Using the

[NTG-context] gnuplot module broken with latest 2020-07-13 16:31

2020-07-13 Thread Adam Reviczky
Hi, Using the minimal example from the contextgarden for gnuplot ( https://wiki.contextgarden.net/Gnuplot) I am getting the following error message: This is LuaTeX, Version 1.13.0 (TeX Live 2021/dev/Debian) system commands enabled. open source > level 1, order 1, name

[NTG-context] Interaction references with Reference List and Bibliography

2020-06-10 Thread Adam Reviczky
Hi, When I try to create a "Reference List" (for cited references in the document) followed by a "Bibliography" (for the rest of literature, not cited) I get wrong references linked back in the document when citing a reference multiple times, although the citation in the text is always fine. See

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Adam Reviczky
Thank you Wolfgang! Adam On Wed, Apr 8, 2020 at 9:11 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Adam Reviczky schrieb am 08.04.2020 um 21:53: > > Thank you Hans and Wolfgang, > > > > I have updated the wiki (https://wiki.contextgarden.net/Com

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Adam Reviczky
t id: 7330 Thanks, Adam On Sat, Apr 4, 2020 at 11:24 AM Hans Hagen wrote: > On 4/4/2020 11:47 AM, Adam Reviczky wrote: > > Hi, > > > > Is there a way to achieve a short weekday option with \date[] to get 3 > > letter equivalents (Mon, Tue, Wed, Thu, Fri, Sat, Sun)

[NTG-context] Short weekday option for date command

2020-04-04 Thread Adam Reviczky
Hi, Is there a way to achieve a short weekday option with \date[] to get 3 letter equivalents (Mon, Tue, Wed, Thu, Fri, Sat, Sun) similar to the monthshort either through context or lua? Thanks, Adam ___ If your

Re: [NTG-context] metafun 2

2019-08-17 Thread Adam Reviczky
Hi Hans, Alan, This is really cool! Not sure how I missed this feature, works exactly for my use-case. Thanks a lot for pointing this out, I was able to find it in the MAPS as well. Cheers, Adam On Sat, Aug 17, 2019 at 9:52 AM Hans Hagen wrote: > On 8/17/2019 3:27 AM, Alan Braslau wrote: > >

Re: [NTG-context] metafun 2

2019-08-16 Thread Adam Reviczky
Hi Hans, One MetaPost feature that I was looking forward to is the ability to create a fill between two shapes. Something like a difference function of two path's. For logos I use the workaround with creating a path alongside the excluded areas but it is always cumbersome. I have briefly

[NTG-context] MetaPost shading broken with latest beta

2018-06-23 Thread Adam Reviczky
Hi, Using the shading function in a metapost image the whole page is filled in instead of the figure that defines it. Minimal example as from the metafun manual 8.3.3 (http://www.pragma-ade.nl/general/manuals/metafun-p.pdf): \starttext \startMPcode fill fullsquare xyscaled (1cm,1cm)

[NTG-context] setmemstream to use pdfe.new instead of epdf.openMemStream

2018-06-23 Thread Adam Reviczky
Hi, I am using the "figures.setmemstream" for inline images and it is broken now with the latest luatex on the changes from epdf.openMemStream to pdfe.new. Although it does say "very experimental and likely to change", but can we update the call from epdf.openMemStream? Minimal example: