* Wrong values for \inputfilename etc.
@ 2012-09-06 4:42 Wolfgang Schuster
2012-09-06 21:40 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-09-06 4:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hans,
when I run the following example (saved as filename.tex) I got in the past this output
\jobname filename
\jobfilename filename.tex
\jobfilesuffix tex
\inputfilename filename.tex
\inputfilebarename filename
\inputfilesuffix tex
\outputfilename filename
\operatingsystem osx-64
but now I get this output
\jobname filename
\jobfilename filename
\jobfilesuffix
\inputfilename /Users/…/filename
\inputfilebarename filename
\inputfilesuffix
\outputfilename filename
\operatingsystem osx-64
where the suffix is missing.
Example:
\starttext
\starttabulate [|T|T|]
\NC \type{\jobname} \NC \jobname \NC\NR
\NC \type{\jobfilename} \NC \jobfilename \NC\NR
\NC \type{\jobfilesuffix} \NC \jobfilesuffix \NC\NR
\NC \type{\inputfilename} \NC \inputfilename \NC\NR
\NC \type{\inputfilebarename} \NC \inputfilebarename \NC\NR
\NC \type{\inputfilesuffix} \NC \inputfilesuffix \NC\NR
\NC \type{\outputfilename} \NC \outputfilename \NC\NR
\NC \type{\operatingsystem} \NC \operatingsystem \NC\NR
\stoptabulate
\stoptext
Wolfgang
___________________________________________________________________________________
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: Wrong values for \inputfilename etc.
2012-09-06 4:42 Wrong values for \inputfilename etc Wolfgang Schuster
@ 2012-09-06 21:40 ` Hans Hagen
2012-09-11 21:21 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-09-06 21:40 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster
On 6-9-2012 06:42, Wolfgang Schuster wrote:
> Hi Hans,
>
> when I run the following example (saved as filename.tex) I got in the past this output
... new beta
--
-----------------------------------------------------------------
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: Wrong values for \inputfilename etc.
2012-09-06 21:40 ` Hans Hagen
@ 2012-09-11 21:21 ` Wolfgang Schuster
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2012-09-11 21:21 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
Am 06.09.2012 um 23:40 schrieb Hans Hagen <pragma@wxs.nl>:
> On 6-9-2012 06:42, Wolfgang Schuster wrote:
>> Hi Hans,
>>
>> when I run the following example (saved as filename.tex) I got in the past this output
>
> ... new beta
Still not perfect because \jobfilename and \inputfilename show the whole path, in my case "\Users\wolf\…\filename.tex"
Wolfgang
___________________________________________________________________________________
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-09-11 21:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-06 4:42 Wrong values for \inputfilename etc Wolfgang Schuster
2012-09-06 21:40 ` Hans Hagen
2012-09-11 21:21 ` Wolfgang Schuster
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).