Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Taco Hoekwater
> On 30 Sep 2020, at 11:46, jbf wrote: > > For some reason that I cannot work out, the recto page header is not > appearing in frontmatter sections like Foreword. It is important to note that > for this item I am using: > > \definehead > [foreword] [chapter]… ‘chapter' suppresses the

Re: [NTG-context] page counter problem

2020-09-30 Thread Taco Hoekwater
Hi Alan, > On 30 Sep 2020, at 12:50, Alan Bowen wrote: > > he page counter does not increase in the first iteration an PDf inclusion but > seems to work properly after that. Have attached a sample file (69K) that > will serve to show the problem—at least, on my machine. It is not the

Re: [NTG-context] scaling images

2020-09-27 Thread Taco Hoekwater
> On 27 Sep 2020, at 11:42, Henning Hraban Ramm wrote: > > Hi, > I’m struggling with scaling images: > > \externalfigure[hacker][width=0.5\textwidth] > > looks right. > > > If I use the scale / xscale / yscale options, the image gets smaller, > regardless of height/width settings Have

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg

Re: [NTG-context] issue with interaction=all and \insertpages

2020-09-23 Thread Taco Hoekwater
Hi Pablo, > On 20 Sep 2020, at 18:29, Pablo Rodriguez wrote: > > Dear list, > > I have the following sample: > > \setuplayout[page] > \setupinteraction > [state=start, color=, contrastcolor=, focus=standard] > \enabledirectives[references.border=red] >

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-22 Thread Taco Hoekwater
> On 22 Sep 2020, at 13:51, Hans Hagen wrote: > > On 9/22/2020 7:19 AM, Christoph Reller wrote: >> On Mon, Sep 21, 2020 at 3:27 PM Hans Hagen > > wrote: >>On 9/21/2020 2:55 PM, Christoph Reller wrote: >> > >>

Re: [NTG-context] How to get the last item from an XML node

2020-09-22 Thread Taco Hoekwater
> On 21 Sep 2020, at 18:31, Denis Maier wrote: > > Hi > > struggling again: Shouldn't the code below give me the last element under > ? Right now \xmlfilter{#1}{/tr/last()/command(xml:table:tbody:tr)} > gives me nothing... > > (Use case is that I want to have a frame above the table and

Re: [NTG-context] 2020 Meeting recordings?

2020-09-21 Thread Taco Hoekwater
No. I post what I have ;) Taco > On 21 Sep 2020, at 16:40, Denis Maier wrote: > > Thanks! But not recordings, right? > > Am 21.09.2020 um 15:50 schrieb Taco Hoekwater: >> Hi, >> Most of the available slides are now integrated with the abstracts page: >> https

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Taco Hoekwater
> On 21 Sep 2020, at 16:38, Denis Maier wrote: > > Hi, > > I'm a bit confused, but this here won't compile: > > = > > \startxmlsetups xml:table > \startxtable > \startxrow > \startxcell one \stopxcell > \startxcell two \stopxcell > \stopxrow >

Re: [NTG-context] 2020 Meeting recordings?

2020-09-21 Thread Taco Hoekwater
chive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ Taco Hoekwater Elvenkind BV ___ If your question is of interest to others as well, ple

Re: [NTG-context] Parallel text support

2020-09-21 Thread Taco Hoekwater
> On 21 Sep 2020, at 12:21, Denis Maier wrote: > > > However, as it turns out, split only seems to mean that the table is split > between rows, individual rows stay on the same page. > > Is there a better approach? I've found the page-streams, but that seems to be > too much…

[NTG-context] https

2020-09-10 Thread Taco Hoekwater
Hi, The certificate for *.contextgarden.net expired this morning. I installed a new certificate just now, but it is possible that I missed one of the uses of the old certificate. If you find that you get an error about ‘Connection is not private’ still, even after a hard reload, please send

Re: [NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Taco Hoekwater
Hi, > On 7 Sep 2020, at 22:05, Andres Conrado Montoya > wrote: > >  > Hello list. I'm trying to call a direct glyph from the Phaistos font, but it > seems it doesn't work. The font is loaded, the log file says it so: > > system > 12: filename=/home/vantta/.fonts/Phaistos.otf

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Taco Hoekwater
an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-

Re: [NTG-context] Typing efficiency

2020-09-04 Thread Taco Hoekwater
ntext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Taco Hoekwater
Hi, > On 1 Sep 2020, at 16:46, Hans Hagen wrote: > > On 9/1/2020 3:04 PM, Fabrice Couvreur wrote: >> Hi Taco, >> Thank you for your help. I specify that this extension works perfectly by >> compiling the following file. A logfile of a failed run would have been more helpful in trying to

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Taco Hoekwater
.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ Taco Hoekwater Elvenkind BV __

Re: [NTG-context] Wiki New Extension: ConTeXtXML

2020-08-27 Thread Taco Hoekwater
: ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Taco Hoekwater
Hi, > On 27 Aug 2020, at 17:11, Pablo Rodriguez wrote: > > Dear list, > > I have and \xmlraw command that gives some text with percent signs. > ConTeXt parses them as comments (so no output). > > Using Lua gsub(), I need to replace something like: > > string.gsub([[\xmlraw{#1}{.}]], "%",

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Taco Hoekwater
> On 24 Aug 2020, at 19:59, Wolfgang Schuster > wrote: > >> >> >> \setcounter[figure][5] % next figure is no.6 For this subfigure stuff, perhaps this is useful? % setup definitions \definecounter[subfigure][way=bytext,prefix=no] \setupcounter[subfigure][state=start,numberconversion=a]

[NTG-context] Wiki New Extension: ConTeXtXML

2020-08-20 Thread Taco Hoekwater
Hi, As announced last week, I have been working on a wiki extension to control the editing of /Command pages. That extension is now installed on the main wiki. In short, we will switch to XML as the page model for newly created /Command pages. This makes editing a bit harder, but it allows

Re: [NTG-context] removing word in filtered XML

2020-08-20 Thread Taco Hoekwater
> On 19 Aug 2020, at 18:10, Pablo Rodriguez wrote: > > Dear list, > > I have the following sample: > > \startbuffer[demo] > > > >This is > One of the best a paragraph. >This is another paragraph. >This is another > Two of the best

Re: [NTG-context] TOC chapter and section numbering

2020-08-18 Thread Taco Hoekwater
> On 18 Aug 2020, at 06:40, Adrian wrote: > > > I would like all the chapters to be prefixed with "Chapter RN." and the > sections to keep a single count, > for example: > \setuplabeltext[chapter=Chapter~] \definestructureresetset[default][1,1,0][1] % reset part, chapter, but not section

Re: [NTG-context] A dumb question about MetaFun

2020-08-16 Thread Taco Hoekwater
> On 16 Aug 2020, at 21:09, Keith McKay wrote: > > Jairo > > Try > > draw unitsquare scaled 1cm shifted (xcm, ycm); > > Page 11 of the manual metafun-p.pdf is your friend here. My recent > conversation with Taco on this list will be usefull as well. Also: \starttext \startMPpage % puts

Re: [NTG-context] reading a single element from XML

2020-08-16 Thread Taco Hoekwater
___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > a

Re: [NTG-context] Missing graphic in MPpage when viewing in Apple MAC Preview or GIMP 2.10 but not Adobe

2020-08-15 Thread Taco Hoekwater
; \stopMPpage > \stoptext > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-c

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Taco Hoekwater
context.mkiv > mtx-context | current version: 2020.03.10 14:44 > mtx-context | main context file: > /usr/local/texlive/2020basic/texmf-dist/tex/context/base/mkiv/context.mkxl > mtx-context | current version: 2020.03.10 14:44 > On 13 Aug 2020, 13:12 +0200, Taco Hoekwat

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Taco Hoekwater
> On 13 Aug 2020, at 14:15, Pablo Rodriguez wrote: > >>> My questions are: what is the restricted horizontal mode (as different >>> from the horizontal mode)? I forgot to answer this. Simple explanation: * 'restricted horizontal mode' is inside an \hbox{} or something similar like a

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Taco Hoekwater
> On 13 Aug 2020, at 13:07, Pablo Rodriguez wrote: > > Dear list, > > in order to avoid a problem already reported > (https://mailman.ntg.nl/pipermail/dev-context/2020/003694.html), I added > to an indiviual table \startxtable[split=yes] (being the default in the > document

Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Taco Hoekwater
> On 13 Aug 2020, at 10:06, Tim Steenvoorden wrote: > > Hi all, > > Anybody some pointers? Next time, prepare a minimal (non)working example. Because the attachment works for me. Best wishes, Taco tryme.tex Description: Binary data

[NTG-context] Wiki New Extension Preview

2020-08-12 Thread Taco Hoekwater
Hi, Some of you already know that I have been working on a wiki extension to control the editing of /Command pages. The goal is to eventually be able to easily export all of the reference documentation in the wiki to a separate system (for instance, Paul Mazaitis plans to create a full-blown

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Taco Hoekwater
> On 10 Aug 2020, at 14:59, Otared Kavian wrote: > > Hi Alex, > > Thank you and Taco for helping. > In order to help solve the problem of running ConTeXt from MacTeX, I > installed MacTeX2020 (which is the same as TeXLive2020). Now if in a Terminal > window I do > which context > the

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Taco Hoekwater
> On 10 Aug 2020, at 12:03, Otared Kavian wrote: > > Hi all, > > I suggested to a friend, who is using plain TeX and LaTeX, to switch to > ConTeXt, and since he is using TeXShop on MacOSX with a version of > TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple test >

Re: [NTG-context] please explain

2020-08-07 Thread Taco Hoekwater
> On 6 Aug 2020, at 21:30, Hans van der Meer wrote: > > This MWE is an example of strange font behaviour according to the log and I > do not understand what is causing it. > ConTeXt complains "check count_components with mkiv" when the word 'suffi' is > present (see log message below). > >

Re: [NTG-context] Header bottom line vanishing after 87 pages

2020-08-06 Thread Taco Hoekwater
> On 6 Aug 2020, at 09:09, Willi Egger wrote: > > Hello good morning, > > I encounter a strange problem when compiling my project. The book has 252 > pages, compilation runs without errors. But after 87 pages the bottom frame > of the header is turned off. The \setupbackgrounds command is

Re: [NTG-context] lmtx update

2020-07-31 Thread Taco Hoekwater
to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net >

Re: [NTG-context] ntg-context Digest, Vol 193, Issue 65

2020-07-30 Thread Taco Hoekwater
Help request will be handled off-list. Best wishes, Taco > On 30 Jul 2020, at 22:01, Jan Hansen wrote: > > Help ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Taco Hoekwater
> On 29 Jul 2020, at 23:08, Willi Egger wrote: > > Good evening! > > I have a bookproject in which sections are ended with a small graphical > element. Now as usual this graphic might be moved to a new page which is of > course unwanted. > > At this moment I have: > > \startsetups

Re: [NTG-context] --silent and so on

2020-07-23 Thread Taco Hoekwater
> On 23 Jul 2020, at 16:21, Hans Hagen wrote: > > On 7/23/2020 2:39 PM, Taco Hoekwater wrote: >>> On 22 Jul 2020, at 17:57, thierry horsin wrote: >>> >>> Hi everybody >>> >>> I am a current context user since now many years and in partic

Re: [NTG-context] --silent and so on

2020-07-23 Thread Taco Hoekwater
> On 22 Jul 2020, at 17:57, thierry horsin wrote: > > Hi everybody > > I am a current context user since now many years and in particular I use it > on linux with automatic compilation with a bash script detecting any > modifications of the .tex file. In order for this to work I used with

Re: [NTG-context] Fill an area defined by a subpath (Metafun)

2020-07-23 Thread Taco Hoekwater
> On 23 Jul 2020, at 11:48, Fabrice Couvreur > wrote: > > Hello, > I have a little problem with coloring an area (path b). > Thanks for your help. > Fabrice > > \starttext > \startMPcode > > path circle, p, q, b; > > circle = fullcircle xscaled 6cm yscaled 3.5cm; > p = (point 2 of

Re: [NTG-context] error after Linux upgrade

2020-07-11 Thread Taco Hoekwater
man/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___

Re: [NTG-context] Store images and text in the right margin

2020-07-06 Thread Taco Hoekwater
Hi Fabrice, Like this maybe? It depends on what you want to achieve exactly, I think \useMPlibrary[dum] \setuppapersize[A4] \setuplayout [width=12cm, rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext]

Re: [NTG-context] ConTeXt source browser website update

2020-07-05 Thread Taco Hoekwater
Hi, > On 5 Jul 2020, at 21:41, Hans Hagen wrote: > > On 7/5/2020 9:11 PM, Leah Neukirchen wrote: >> Taco Hoekwater writes: >>> Hi all, >>> >>> I just replaced the software of https://source.contextgarden.net/ by a >>> Lua implementa

Re: [NTG-context] overfull message

2020-07-03 Thread Taco Hoekwater
an/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ______

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Taco Hoekwater
ondo regno > dove l'umano spirito si purga > e di salire al ciel diventa degno. > \stoplines > > \stoptext Taco Hoekwater Elvenkind BV ___ If your question is of interest to others as well, please add an

[NTG-context] Fwd: TeX Annual Meeting 2020 going online

2020-07-02 Thread Taco Hoekwater
istration is required. While access to the meeting will be free to > everyone, you will be required to register to view the meeting. Even if you > registered to attend the TUG 2020 at RIT, you will need to register again for > TUG 2020 Online. Registration for the meeting is open at > &g

[NTG-context] Wiki ConText Installation updated

2020-07-01 Thread Taco Hoekwater
Hi all, Today I updated the ConText behind wiki.contextgarden.net, live.contextgarden.net and source.contextgarden.net to the current latest: 2020.06.30 17:30. * The wiki’s tag now defaults to “lmtx” mode, and you can switch back to “mkiv“ using the “mode” attribute. The “mkii” mode is no

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Taco Hoekwater
Sorry, that was a bit too much oversimplification: > On 29 Jun 2020, at 12:36, Taco Hoekwater wrote: > > In math mode, there *is* an expression state maintained, and that is why > \over and \atop work. Actually (still oversimplifying), the found commands are saved in a tem

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Taco Hoekwater
_ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt

Re: [NTG-context] Which lua XML library is embedded in LMTX?

2020-06-26 Thread Taco Hoekwater
Hi, > On 25 Jun 2020, at 12:37, Gerben Wierda wrote: > > According to the XML manual: > > << 2.1 >> TEX versus LUA > > It will not come as a surprise that we can access xml files from TEX as well > as from Lua. In fact there are two methods to deal with xml in Lua. First > there are the low

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Taco Hoekwater
> On 25 Jun 2020, at 17:54, Jan-Erik Hägglöf wrote: > > It is difficult to see the differences in this case, but I supply both > logfiles > > The two PATHs are not the same, so it is possible that one of the two uses a different mtxrun, context and/or luatex that is elsewhere in the PATH:

Re: [NTG-context] error running wiki example with labels

2020-06-25 Thread Taco Hoekwater
y to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > __

Re: [NTG-context] How to define an array of pens

2020-06-22 Thread Taco Hoekwater
> On 22 Jun 2020, at 09:17, Otared Kavian wrote: > > Hi Hans, > > After learning from you how to define an array of colors and paths, I would > like to know how is it possible to define a variable pen size. > In the following working example below, I would like to replace > >

Re: [NTG-context] Variables in \useURL

2020-06-19 Thread Taco Hoekwater
> On 19 Jun 2020, at 13:49, Hans Hagen wrote: > > On 6/19/2020 1:28 PM, Nigel King wrote: >> Hi Group, >> I want to insert a variable hyper reference into a pdf document. The >> following method does not work for some reason. >> \def\hyperref{http://www.website.com/abc/def} >> show \hyperref

Re: [NTG-context] (no subject)

2020-06-17 Thread Taco Hoekwater
of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.o

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
gt; \incrementcounter[volpage]}] > [] > > If your suggestion had worked, I would have had difficulty in applying it. > > Alan > > On Wed, Jun 10, 2020 at 3:14 AM Taco Hoekwater wrote: > Hi, > > Incrementing the counter outside of

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
ps://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ Taco Hoekwater Elvenkind BV ___ If your question i

[NTG-context] ConTeXt source browser website update

2020-06-07 Thread Taco Hoekwater
Hi all, I just replaced the software of https://source.contextgarden.net/ by a Lua implementation that uses Hans Hagen’s SciTE lexers for syntax highlighting and a Lua-generated search index. There is no official documentation yet (because I may want to change some stuff still) but here is

Re: [NTG-context] Dangerous bend metafont/post code?

2020-05-27 Thread Taco Hoekwater
Sure, it is a character in manfnt.mf (and there is a pfb version of that as well) Taco > On 27 May 2020, at 21:20, Gerben Wierda wrote: > > To honour Donald Knuth, I’ve use his ‘dangerous bend’ (with attribution of > course) in one of my publications. But I only had a low res image. Is the

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-25 Thread Taco Hoekwater
y to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > __

Re: [NTG-context] --silent and so on

2020-05-04 Thread Taco Hoekwater
> On 4 May 2020, at 13:35, Thierry Horsin wrote: > > Hi everybody > > I am a current context user since now many years and in particular I use it > with automatic compilation with a bash script detecting any modifications of > the .tex file. In order for this to work I used with previous

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Taco Hoekwater
. Taco > On 24 Apr 2020, at 14:24, Gerben Wierda wrote: > > > >> On 24 Apr 2020, at 11:56, Taco Hoekwater wrote: >> >> Hi, >> >> FYI, my "context mkiv” standalone seems to be fine (latest download). >> “lmtx” standalone (also latest down

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Taco Hoekwater
> On 24 Apr 2020, at 12:14, Benjamin Buchmuller > wrote: > > Hi Hraban, > > This might confirm Taco‘s notion that there is some bug lmtx. We have moved this off-list for a while. For now, if you have problems with lmtx, just switch back to the regular mkiv standalone. Best wishes, Taco

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Taco Hoekwater
Hi, FYI, my "context mkiv” standalone seems to be fine (latest download). “lmtx” standalone (also latest download) not so much (same problems). Looks like something is broken in ltmx’ TTC parser. OS X Catalina 10.15.4 Taco

Re: [NTG-context] METAPOST: How do I get this 'max' cutafter to work?

2020-04-22 Thread Taco Hoekwater
Hi, > On 21 Apr 2020, at 17:52, Gerben Wierda wrote: > >> pair a ; a := arrowHead intersection_point connection ; Hans’ example also works with “intersectionpoint”: the differences between intersectionpoint and intersection_point are minimal except if there is no intersection at all. The

Re: [NTG-context] Best way to create a large number of documents from database

2020-04-16 Thread Taco Hoekwater
> On 16 Apr 2020, at 11:12, Mojca Miklavec > wrote: > > Hi, > > I have been asked to create a few thousand PDF documents from a CSV > "database" today (which I can easily transform into any other form, > like XML or a lua table or TeX definitions or whatever). > > Generating a few thousand

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-14 Thread Taco Hoekwater
> On 14 Apr 2020, at 11:25, Gerben Wierda wrote: > > This helps for adding information to my processing. > > What I was also looking for is that I don’t have a test.tex anymore, just the > XML file I am parsing and a command line action. > > So, I use mtxrun, give it the name of an XML.

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-14 Thread Taco Hoekwater
Hi Gerben, What you want is quite easy to do since you are using lua already. Try this: % context --whatever=green test with test.tex: \starttext \startluacode table.print(environment.arguments) \stopluacode \stoptext everything from the command line ends up in

Re: [NTG-context] Why does this example from the MetaFun manual not work?

2020-04-09 Thread Taco Hoekwater
Hi, Using multiple (text ) arguments in macros doesn’t work, you would need to convert all but the last argument into (expr ) somehow. That means that you probably cannot do a call like the one below at all. (I, at least, do not see how you could convert one of those transparent colours into

Re: [NTG-context] Why does this example from the MetaFun manual not work?

2020-04-09 Thread Taco Hoekwater
>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> ___ > > ___ > If

Re: [NTG-context] startMPpage..stopMPpage written to a separate PDF?

2020-04-06 Thread Taco Hoekwater
> On 5 Apr 2020, at 12:27, Gerben Wierda wrote: > > Alternatively, I could have a step before this to turn the input XML into > many separate XMLs and have many ConTeXt runs. Probably that is the best way > to do it. Each generated XML would have all of the original XML except it > would

Re: [NTG-context] Issue with rendering arrows in lmtx

2020-03-17 Thread Taco Hoekwater
> On 17 Mar 2020, at 15:51, Jan-Erik Hägglöf wrote: > > Hi All! > > When I invoke this command > > \startMPcode > picture p ; p := lmt_svg [ filename ="pil.svg" ]; > draw p; > \stopMPcode > > I get weird results, the arrowhead points in wrong direction That one is because lmt_svg does

Re: [NTG-context] METAPOST vardef returning multiple and non-numeric types as a single answer?

2020-03-16 Thread Taco Hoekwater
> On 16 Mar 2020, at 10:10, Taco Hoekwater wrote: > > > >> On 16 Mar 2020, at 09:53, Gerben Wierda wrote: >> >> Hola! So, the arguments passed to macros are by reference and not by value? >> I could have known of course, they are simple expansions, but

Re: [NTG-context] METAPOST vardef returning multiple and non-numeric types as a single answer?

2020-03-16 Thread Taco Hoekwater
> On 16 Mar 2020, at 09:53, Gerben Wierda wrote: > > Hola! So, the arguments passed to macros are by reference and not by value? I > could have known of course, they are simple expansions, but I’d like to be > sure. IfI assign to a variable inside a vardef macro and that variable is not >

Re: [NTG-context] Why do I see the outline of the green box in this METAPOST code?

2020-03-16 Thread Taco Hoekwater
gt; webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ Taco Hoekwater Elvenkind BV _

Re: [NTG-context] METAPOST vardef returning multiple and non-numeric types as a single answer?

2020-03-16 Thread Taco Hoekwater
> On 15 Mar 2020, at 11:22, Gerben Wierda wrote: > > I would like a vardef macro to return the pair of a picture and a bounding > box. I don't want to use the setbound operator, because as soon as I do that, > I cannot access the components of the picture anymore with pathpart. > > I found

Re: [NTG-context] Can I share METAPOST vardefs over multiple pages?

2020-03-13 Thread Taco Hoekwater
Hi, > On 13 Mar 2020, at 12:53, Gerben Wierda wrote: > > Suppose I have this code: > > > Can I reuse that varied across follow-up MPPages? Sure, put the vardef inside \startMPinclusions: \startMPinclusions vardef MyShape(expr w, h) = ... enddef ; \stopMPinclusions \startMPpage picture

Re: [NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Taco Hoekwater
> On 10 Mar 2020, at 16:20, Hans Hagen wrote: > > On 3/10/2020 3:07 PM, Taco Hoekwater wrote: >> Hi, >> Never mind, I got it (starting at \loggingall output for a while). This >> patch to my input fixes it: >> \unprotect >> \setupfootertexts[{

[NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Taco Hoekwater
Hi, Never mind, I got it (starting at \loggingall output for a while). This patch to my input fixes it: \unprotect \setupfootertexts[{\tabl_ntb_next_level \getbuffer[mytable] \tabl_ntb_prev_level}] \protect Best wishes, Taco > On 10 Mar 2020, at 14:47, Taco Hoekwater wrote: >

[NTG-context] \bTABLE bug, please help !

2020-03-10 Thread Taco Hoekwater
Hi, Please see the attached example. The \bTABLE in the footer of the page ‘inherits' the first line of the split \bTABLE in the running text. I have no idea how to fix this or why this even happens. Help! I’ll need a way to work around this problem in my current ConTeXt installation for this

Re: [NTG-context] mtxrun

2020-02-10 Thread Taco Hoekwater
as mtxrun in: ~/elvenkind/tex_2014/tex/texmf-osx-64/bin/mtxrun and then it works fine. But If I were to move it to e.g. ~/bin/mtxrun it would (likely) fail to find any files. Best wishes, Taco Taco Hoekwater Elv

Re: [NTG-context] checking whether file is landscape or portrait

2020-01-28 Thread Taco Hoekwater
> > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki

Re: [NTG-context] characterspacing not always working in LMTX

2020-01-15 Thread Taco Hoekwater
> On 15 Jan 2020, at 10:15, Hans Hagen wrote: > >> By the way, thin spaces are not specific to French typography, historically >> speaking, since they seem to have been used everywhere in Europe for >> centuries — at least in England, Belgium, Germany and Italy (probably in the >>

Re: [NTG-context] developer not verified error

2019-11-19 Thread Taco Hoekwater
> On 18 Nov 2019, at 22:25, Alan Bowen wrote: > > This seems to be a problem peculiar to Catalina (macOS 10.15.1). There is a > fix, as Otared and Glen have indicated. > > go to Apple menu -> Preferences -> Security & Privacy > on the Security & Privacy, login, choose the tab General >

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
> On 15 Nov 2019, at 16:31, Taco Hoekwater wrote: > > But that outer \numexpr rounds instead of truncates. so anything that > is past halfway of the column is rounded too far up. This fixes it ^ horizo

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
>> - >>> Hans Hagen | PRAGMA ADE >>> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >>>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl >>> -

Re: [NTG-context] Math symbol for inexact differential

2019-11-13 Thread Taco Hoekwater
Like this? \def\dbar{\mathop{\text{\it đ}}} I do not know whether you want it to be \mathop or \mathord > On 13 Nov 2019, at 10:35, w n wrote: > > Can you give an example on how to use đ (U+00111) in \def\dbar{ ... } Taco Hoekwater Elv

Re: [NTG-context] Math symbol for inexact differential

2019-11-13 Thread Taco Hoekwater
www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _

Re: [NTG-context] Luacode: Data File to Table

2019-10-24 Thread Taco Hoekwater
Here is the problem: > context ( 'function Rosi(): b.smrk = ', b.smrk ) That should be: context ( 'function Rosi(): b.smrk = ' .. b.smrk ) since the context() function does not support variable argument lists (not not like print()) Best wishes, Taco

Re: [NTG-context] PDF viewer poll

2019-10-15 Thread Taco Hoekwater
> On 15 Oct 2019, at 06:42, Henning Hraban Ramm wrote: > > Thank you all for you valuable insights so far! > I’ll compile them to a wiki page and also complete the list in my upcoming > book. > >> Am 2019-10-14 um 11:17 schrieb Hans Hagen : >> >> When developing pdf specific code (like last

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-15 Thread Taco Hoekwater
Hi Rudolf, > On 15 Oct 2019, at 00:50, Rudolf Bahr wrote: > > Now to your suggestion not to use "assert ()". Indeed it's a solution! My > program > works! I append again its output (again just for fun!). Did you really try it > or > has it been just an idea? First, let me say that embedded

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Taco Hoekwater
Hi, > On 14 Oct 2019, at 21:08, Rudolf Bahr wrote: > > > 2. But in the case of an not existing file (BBB.lua) the known error message > comes up > again: > "token call, execute: [ctxlua]:8: /home/sam/context-tests/BBB.lua: No such > file or >directory". >This, of course, is

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Taco Hoekwater
Hi, > On 14 Oct 2019, at 18:51, Rudolf Bahr wrote: > >  > Dear List! > > THis MWE must be faulty, but where is the error? > > === > \lookupfile{"$HOME/context-tests/AAA.lua"}% "AAA.lua" intentionally does > exist $HOME is an actual

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Taco Hoekwater
Hi, > On 13 Oct 2019, at 12:43, Henning Hraban Ramm wrote: > > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) Preview.App (Mac) — since it is fast and the MacOS default. But it does not handle anything well except the actual page display.

Re: [NTG-context] Problem inserting image within MP

2019-10-10 Thread Taco Hoekwater
> On 10 Oct 2019, at 13:23, cont...@vivaldi.net wrote: > > Hello, > > this is a probably basic question, but the following code doesn't compile: > > > \setupbackgrounds[page][background={Bkg}] > > \defineoverlay[Bkg][\useMPgraphic{Bkg}] > > \startuseMPgraphic{Bkg} > externalfigure

Re: [NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-02 Thread Taco Hoekwater
others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https:

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Taco Hoekwater
entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net >

Re: [NTG-context] SSL certificate expired

2019-09-30 Thread Taco Hoekwater
> Op 30 sep. 2019 om 22:43 heeft Henri Menke het > volgende geschreven: > > Dear list, > >$ curl https://mailman.ntg.nl/ >curl: (60) SSL certificate problem: certificate has expired This has been fixed by Ferdy (reissued) Best, Taco

Re: [NTG-context] This mailing list is not DKIM (DMARC) compatible

2019-09-25 Thread Taco Hoekwater
> On 16 Sep 2019, at 15:34, Gerben Wierda wrote: > > In addition: Lists should keep the From address, the Subject, and the Message > totally unchanged. They should add a Sender header to indicate their relay > role, and set at least the List-Id and List-Unsubscribe headers for mailbox >

  1   2   3   4   5   6   7   8   9   10   >