* Argument to ConTeXt
@ 2012-05-30 8:37 Procházka Lukáš Ing. - Pontex s. r. o.
2012-05-31 8:24 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-05-30 8:37 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]
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
[-- Attachment #2: t6.mkiv --]
[-- Type: application/octet-stream, Size: 81 bytes --]
\starttext
A \directlua{print("@@@", document.arguments.address)}
\stoptext
[-- Attachment #3: t6.2.mkiv --]
[-- Type: application/octet-stream, Size: 81 bytes --]
\starttext
A \directlua{print("@@@", document.arguments.address)}
\stoptext
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Argument to ConTeXt
2012-05-30 8:37 Argument to ConTeXt Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-05-31 8:24 ` Hans Hagen
2012-05-31 12:06 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-05-31 8:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Argument to ConTeXt
2012-05-31 8:24 ` Hans Hagen
@ 2012-05-31 12:06 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-05-31 12:06 UTC (permalink / raw)
To: ConTeXt
... OK, thanks for the patch.
Lukas
On Thu, 31 May 2012 10:24:52 +0200, Hans Hagen <pragma@wxs.nl> wrote:
> 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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-31 12:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30 8:37 Argument to ConTeXt Procházka Lukáš Ing. - Pontex s. r. o.
2012-05-31 8:24 ` Hans Hagen
2012-05-31 12:06 ` Procházka Lukáš Ing. - Pontex s. r. o.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).