Hello, please see the following calling cases: 1) context.exe t6.mkiv --address=6 2) context.exe t6.2.mkiv --address=6 Content ot both .mkiv is identical - just to print the passed address value: ---- \starttext A \directlua{print("@@@", document.arguments.address)} \stoptext ---- The former case gives expected: " ConTeXt ver: 2012.04.26 22:27 MKIV fmt: 2012.4.30 int: english/english ... @@@ 6 backend > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' ... " whilst the latter doesn't: " ConTeXt ver: 2012.04.26 22:27 MKIV fmt: 2012.4.30 int: english/english ... @@@ nil backend > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' ... " Is use of more dots in the file name prohibited? - I'm forced to do so, although personally I don't tend to do so... Any way how to solve the latter case (other than to rename the latter file)? TIA. Kind regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
On 30-5-2012 10:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
please see the following calling cases:
1) context.exe t6.mkiv --address=6 2) context.exe t6.2.mkiv --address=6
Content ot both .mkiv is identical - just to print the passed address value:
you can remove line 484 in mtx-context.lua -- jobname = file.removesuffix(jobname) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
... OK, thanks for the patch.
Lukas
On Thu, 31 May 2012 10:24:52 +0200, Hans Hagen
you can remove line 484 in mtx-context.lua
-- jobname = file.removesuffix(jobname)
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
participants (2)
-
Hans Hagen
-
Procházka Lukáš Ing. - Pontex s. r. o.