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

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

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

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

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

[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

[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

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

[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

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

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

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

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) >

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

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

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

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

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

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

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

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

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

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