[NTG-context] registers: setting pageleft parameter by index term

2019-04-29 Thread mf
Hello list, please consider this MWE: \definenumber[p] \setnumber[p][1] \def\PageLeft{ p.~} \def\TextCommand#1{\getnumber[p] #1\doif{\rawcountervalue[p]}{2}{\def\PageLeft{ P.~}}\incrementnumber[p]} \setupindex[n=1,pageleft=\PageLeft,pageright=,textcommand=\TextCommand] \starttext

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Alan Braslau
On Mon, 29 Apr 2019 13:18:04 +0200 Hans Hagen wrote: > anyway, as the png test suite passes ok the question is what makes your > image different ... here it looks ok when included on windows64 bit and > linux 64 bit Your very own .png image and MWE works fine here on OSX, freeBSD, and linux.

[NTG-context] Lua os.date() localization in context

2019-04-29 Thread Romain Diss
Hi all, I would like to print the day name of a date in french using my current locale. In lua I can do: > os.setlocale('fr_FR.UTF-8',all) > print(os.date("%A")) But in a cld document it doesn't work. Context complains about using "os.locale in a supposedly locale neutral enviroment" and it

[NTG-context] Lua error in latest beta?

2019-04-29 Thread Alan Bowen
When I process files using the latest standalone ConTeXt ver: 2019.04.29 08:52 MKIV beta fmt: LuaTeX, Version 1.10.0 (TeX Live 2019)), I now get the following error message: lua error > lua error on line 8 in file env_Brill-01.tex:

Re: [NTG-context] How to write a wiki page?

2019-04-29 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 05:55:14PM +0200, Henning Hraban Ramm wrote: > Hi Rudolf, > > it’s a wiki, i.e. you write directly into the system. > You’re welcome to announce the new page here, then someone can look over it. > > First you need to register an account: >

Re: [NTG-context] How to write a wiki page?

2019-04-29 Thread Henning Hraban Ramm
Hi Rudolf, it’s a wiki, i.e. you write directly into the system. You’re welcome to announce the new page here, then someone can look over it. First you need to register an account: https://wiki.contextgarden.net/index.php?title=Special:CreateAccount Then you can create a new page, e.g.

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Hans Hagen
On 4/29/2019 4:05 PM, Christian Prim wrote: Thanks for your answer, Hans. I checked standard (modern) and gyre-palatino font. Both give no output. Did pdf-Version change between mkiv and lmtx? I will try to find the problem in the pdf-file, if I can. you can run with \nopdfcompression i

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
Thanks for your answer, Hans. I checked standard (modern) and gyre-palatino font. Both give no output. Did pdf-Version change between mkiv and lmtx? I will try to find the problem in the pdf-file, if I can. Thanks Christian Am Mo., 29. Apr. 2019 um 13:21 Uhr schrieb Hans Hagen : > On 4/29/2019

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 01:18:04PM +0200, Hans Hagen wrote: > On 4/29/2019 10:52 AM, Rudolf Bahr wrote: > > > Sorry, but even after updating to > > ConTeXt ver: 2019.04.29 09:02 MKIV beta fmt: 2019.4.29 > > I'm experiencing the same artefacts as before. > > > > Please, what means "different

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Hans Hagen
On 4/29/2019 11:46 AM, Christian Prim wrote: Hi in lmtx the pdf output routine has changed afaik. I just wanted to report, that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print any character. A standard document as the MWE prints well under mkiv. Under lmtx, there is no

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Hans Hagen
On 4/29/2019 10:52 AM, Rudolf Bahr wrote: Sorry, but even after updating to ConTeXt ver: 2019.04.29 09:02 MKIV beta fmt: 2019.4.29 I'm experiencing the same artefacts as before. Please, what means "different inclusion code"? all in lua anyway, as the png test suite passes ok the question

[NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
Hi in lmtx the pdf output routine has changed afaik. I just wanted to report, that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print any character. A standard document as the MWE prints well under mkiv. Under lmtx, there is no output (blank sheet). In a document with a

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
Hi converting the document to ps and back to pdf works (pdf2ps and ps2pdf). But I think there must be a simpler solution... Christian Am Mo., 29. Apr. 2019 um 11:46 Uhr schrieb Christian Prim < christian.p...@gmx.ch>: > Hi > > in lmtx the pdf output routine has changed afaik. I just wanted to

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 10:52:59AM +0200, Bahr Rudolf wrote: > On Sun, Apr 28, 2019 at 11:12:43PM +0200, Hans Hagen wrote: > > On 4/28/2019 8:10 PM, Rudolf Bahr wrote: > > > > > > Dear list, > > > > > > I'm getting unexplainable artefacts in the pdf-output. > > > > > > My MWE is: > > > > > >

Re: [NTG-context] underscore hyphenation in LMTX

2019-04-29 Thread Hans Hagen
On 4/27/2019 1:51 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] tfmdata.characters[0xFE000] = {

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
On Sun, Apr 28, 2019 at 11:12:43PM +0200, Hans Hagen wrote: > On 4/28/2019 8:10 PM, Rudolf Bahr wrote: > > > > Dear list, > > > > I'm getting unexplainable artefacts in the pdf-output. > > > > My MWE is: > > > > -- > > \starttext > > > > \externalfigure > > [input.png] >