Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, jbf wrote: > Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) > one that I presume would bring you to tears. Oh, it does: https://www.theonion.com/ Aditya___ If your

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, Hans Hagen wrote: > On 1/8/2021 12:39 AM, Vedran Miletić wrote: > > > It's whatever ConTeXt standalone has. I don't have any extra Lua installed: > > --credits should mention the lua version > > > Should I see it on non-HiDPI as well? Because it seems it's there. > >

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Vedran Miletić
ion of this software is covered by the terms of the GNU General Public License, version 2 or (at your option) any later version. For more information about these matters, see the file named COPYING and the LuaTeX source. Functionality : level 20210107 Support   : cont...@ntg.nl Copyright : The

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) one that I presume would bring you to tears. And yes, had discovered that processors don't like split 'strings'!! But I would never have worked out your definition on my own, but it offers me ideas for other

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Oh, I would do it another way, as processors aren't very happy with commands which split "strings". The drawback of my quick and dirty method is the need for additional commands, but I hope this will be useful. \defineregister[myindex] %Sorry for the funny names \def\myindexspaced#1{%

[NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Vedran Miletić
Hello, I compared latest ConTeXt standalone (LuaTeX 2.08) against TeX Live 2020 (LuaTeX 1.12). The produced PDFs are: https://miletic.net/lipsum-112.pdf https://miletic.net/lipsum-208.pdf Viewing them with Evince (and I assume Adobe Reader, I don't have it at hand to test) shows only minor

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen
On 1/8/2021 12:39 AM, Vedran Miletić wrote: It's whatever ConTeXt standalone has. I don't have any extra Lua installed: --credits should mention the lua version Should I see it on non-HiDPI as well? Because it seems it's there. depends on what you consider (non) hdpi ... the positioning

Re: [NTG-context] odd behaviour of mp odd function in lmtx

2021-01-07 Thread Hans Hagen
On 1/7/2021 8:03 PM, Damien Thiriet wrote: Hi, I may have found the bug that broke my metafun file. Looks like it is connected to odd function. This snippet of code: \starttext \startMPpage path p;p:=origin--(20,20); draw p; draw p reflectedabout ((10,10),(10,-10)) withcolor red; for i=1

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name.

[NTG-context] odd behaviour of mp odd function in lmtx

2021-01-07 Thread Damien Thiriet
Hi, I may have found the bug that broke my metafun file. Looks like it is connected to odd function. This snippet of code: \starttext \startMPpage path p;p:=origin--(20,20); draw p; draw p reflectedabout ((10,10),(10,-10)) withcolor red; for i=1 upto 2: if odd i: draw p yshifted 20

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name.

[NTG-context] odd seems to be broken in lmtx-metafun

2021-01-07 Thread Damien Thiriet
Hi, I think I found the bug that made me send a "false positive" a few days ago. Looks like something messes up with metafun odd function. This snippet of code: \starttext \startMPpage path p;p:=origin--(20,20); draw p; draw p reflectedabout ((10,10),(10,-10)) withcolor red; for i=1 upto 2:

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected: \defineregister[myindex] \defineprocessor[style][style=italic]%Isn't another name available? \starttext In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018 \placemyindex% \stoptext Jairo El jue, 7 de

[NTG-context] styling part of an index entry

2021-01-07 Thread jbf
I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And what I need is to be able to italicise entries that refer to newspaper names, e.g. The

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen
On 1/7/2021 10:10 PM, Vedran Miletić wrote: Hello, I compared latest ConTeXt standalone (LuaTeX 2.08) against TeX Live 2020 (LuaTeX 1.12). The produced PDFs are: https://miletic.net/lipsum-112.pdf https://miletic.net/lipsum-208.pdf Viewing them with Evince (and I assume Adobe Reader, I

Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Jairo A. del Rio
Oh, yeah. It works again. Thank you very much :) Jairo El jue., 7 de ene. de 2021 10:20 a. m., Hans Hagen escribió: > On 1/7/2021 3:04 PM, Jairo A. del Rio wrote: > > Hmm, it works for Persian because this uses less diacritics than Arabic. > > The following fails with LMTX: > > > >

Re: [NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Keith McKay
Thanks Hans! I had forgotten about \enabletrackers[metapost.tracingall]. Best Wishes Keith On 07/01/2021 15:35, Hans Hagen wrote: On 1/7/2021 4:11 PM, Keith McKay wrote: In the MWE below I would expect the "show" command to print the value of p in the console output (I use Texworks),

Re: [NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Hans Hagen
On 1/7/2021 4:11 PM, Keith McKay wrote: In the MWE below I would expect the "show" command to print the value of p in the console output (I use Texworks), however this does not seem to be happening. I haven't used "show" in MetaFun for a while, am I implementing it correctly? Best Wishes

Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Hans Hagen
On 1/7/2021 3:04 PM, Jairo A. del Rio wrote: Hmm, it works for Persian because this uses less diacritics than Arabic. The following fails with LMTX: \definefontfamily[main][serif][notonaskharabic][features=arabic] \setupdirections[bidi=global,method=one] \setupbodyfont[main] \starttext

[NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Keith McKay
In the MWE below I would expect the "show" command to print the value of p in the console output (I use Texworks), however this does not seem to be happening. I haven't used "show" in MetaFun for a while, am I implementing it correctly? Best Wishes Keith McKay MWE %

Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Jairo A. del Rio
Hmm, it works for Persian because this uses less diacritics than Arabic. The following fails with LMTX: \definefontfamily[main][serif][notonaskharabic][features=arabic] \setupdirections[bidi=global,method=one] \setupbodyfont[main] \starttext \obeylines

Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-07 Thread Jairo A. del Rio
I didn't test it, but I could with some Iranian song lyrics as I did last time... Jairo El jue, 7 de ene. de 2021 a la(s) 01:33, escribió: > Hi > > Does that work now? > > Best, > > Denis > > > > *Von:* ntg-context *Im Auftrag von *Jairo A. > del Rio > *Gesendet:* Dienstag, 24. November 2020

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Henning Hraban Ramm
> Am 07.01.2021 um 12:20 schrieb Henning Hraban Ramm : > > >> Am 07.01.2021 um 11:29 schrieb Marco Patzer : >> >> Thanks for the info. I updated the wiki. > > https://wiki.contextgarden.net/Titles > > I did some more edits, but the page is still a mess. I created the command page; not sure

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Henning Hraban Ramm
> Am 07.01.2021 um 11:29 schrieb Marco Patzer : > > Thanks for the info. I updated the wiki. https://wiki.contextgarden.net/Titles I did some more edits, but the page is still a mess. Hraban ___ If your question

Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Jano Kula
Sorry for the hassle, now I have read the other thread confirming the fix. Jano On Thu, 7 Jan 2021 at 12:04, Jano Kula wrote: > Hello Hans, > > On Thu, 7 Jan 2021 at 11:48, Hans Hagen wrote: > >> On 1/7/2021 11:22 AM, Jano Kula wrote: >> > Hello, >> > >> > On Sun, 27 Dec 2020 at 22:45, Hans

Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Jano Kula
Hello Hans, On Thu, 7 Jan 2021 at 11:48, Hans Hagen wrote: > On 1/7/2021 11:22 AM, Jano Kula wrote: > > Hello, > > > > On Sun, 27 Dec 2020 at 22:45, Hans Hagen > > wrote: > > > > hm, so what was the last version that it still worked ok? > > > > > > not sure about

Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Hans Hagen
On 1/7/2021 11:22 AM, Jano Kula wrote: Hello, On Sun, 27 Dec 2020 at 22:45, Hans Hagen > wrote: hm, so what was the last version that it still worked ok? not sure about last version, but it is working with version system          > ConTeXt  ver: 2020.12.10

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Marco Patzer
On Thu, 7 Jan 2021 00:02:20 +0100 Wolfgang Schuster wrote: > > \definestructureresetset is the same as \defineresetset. I assume > > that \definestructureresetset is the preferred way. But both will > > work. > > No, \defineresetset is the main command and \definestructureresetset > is a

Re: [NTG-context] HZ broken with latest 2020-12-27 LMTX

2021-01-07 Thread Jano Kula
Hello, On Sun, 27 Dec 2020 at 22:45, Hans Hagen wrote: > hm, so what was the last version that it still worked ok? > not sure about last version, but it is working with version system > ConTeXt ver: 2020.12.10 22:26 LMTX fmt: 2020.12.11 int: english/english Tested with