[NTG-context] LMTX: different output if dots are used in the file name
Hans Hagen
j.hagen at xs4all.nl
Thu May 28 18:18:51 CEST 2020
On 5/28/2020 5:59 PM, Marco Patzer wrote:
> On Thu, 28 May 2020 17:33:19 +0200
> Hans Hagen <j.hagen at xs4all.nl> wrote:
>
>> On 5/28/2020 2:49 PM, Marco Patzer wrote:
>>> Hi!
>>>
>>> LMTX and MkIV behave differently if dots are used in the file
>>> name. Example:
>>>
>>> printf '%s\n' '\starttext\null\stoptext' > foo.10.tex && context
>>> foo.10.tex
>>>
>>> MkIV: → foo.10.pdf
>>> LMTX: → foo.pdf
>>>
>>> Is this intentional?
>>
>> consider it to be so
>
> That's unfortunate.
>
> 1) The editor workflow with simple suffix replacement .tex → .pdf to
> open the corresponding PDF file doesn't work any more with lmtx.
> New logic is needed to find the correct pdf file name.
>
> 2) A project (of mine) that uses item numbers as file names
> (containing dots) compile to the same pdf:
>
> MkIV (everything's predictable and fine):
> 10.10.10.tex → 10.10.10.pdf
> 10.10.11.tex → 10.10.11.pdf
> 11.10.11.tex → 11.10.11.pdf
>
> LMTX:
> 10.10.10.tex → 10.10 (not even a PDF suffix)
> 10.10.11.tex → 10.10 (file 10.10 is over-written)
> 11.10.11.tex → 11.10 (no suffix)
>
> MkIV is way more predictable and consistent in that regard.
I'll look at it but not today ... first I need to play with some other
(neat) stuff and run tests.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list