On 11/6/22 11:21, Hans Hagen via ntg-context wrote:
> [...]
> More relevan tis that you'r on TeX where catcodes matter
> (here letter vs other)
>
>\doifelse{\inputfilebarename}{oeps}
> {yes}{no}
>
>\doifelse{\detokenize\expandafter{\jobname}}{\detok
On 11/5/22 16:55, Wolfgang Schuster via ntg-context wrote:
> Pablo Rodriguez via ntg-context schrieb am 05.11.2022 um 16:30:
>>
>>\doifelse{\jobname}{a}
>> {yes}{no}
>>
>> I get "no" as in TeX and "yes" with Lua, being "a.tex"
On 11/5/2022 4:30 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
using current latest (2022.10.22 11:23), I have the following sample:
\starttext
\doifelse{\jobname}{a}
{yes}{no}
\jobname
\startluacode
if tex.jobname == "a" then
context(&quo
Pablo Rodriguez via ntg-context schrieb am 05.11.2022 um 16:30:
Dear list,
using current latest (2022.10.22 11:23), I have the following sample:
\starttext
\doifelse{\jobname}{a}
{yes}{no}
\jobname
\startluacode
if tex.jobname == "a" then
context(&quo
Dear list,
using current latest (2022.10.22 11:23), I have the following sample:
\starttext
\doifelse{\jobname}{a}
{yes}{no}
\jobname
\startluacode
if tex.jobname == "a" then
context("yes")
else
context("no")
end
\stopluacode
\
On 22-10-2010 2:03, Mojca Miklavec wrote:
I have a silly question - how do I remove mpgraph files now that
ctxtools is gone and context --purge doesn't know about them?
context doesn't need to know about mpgraph files as long as MKIV is
not generating them, but if there is no mkii-only --purge
-only --purge alternative
...
I have fifty files \jobname-mpgraph.4000 ... \jobname-mpgraph.3951 and
even though I can use rm, --purge would be a lot more convenient.
Mojca
Hi Mojca,
If you are working on a Mac, with TeXShop, I can tell you what I do: my
mkiv.engine file contains
I have a silly question - how do I remove mpgraph files now that
ctxtools is gone and context --purge doesn't know about them?
context doesn't need to know about mpgraph files as long as MKIV is
not generating them, but if there is no mkii-only --purge alternative
...
I have fifty files \jobname
is
not generating them, but if there is no mkii-only --purge alternative
...
I have fifty files \jobname-mpgraph.4000 ... \jobname-mpgraph.3951 and
even though I can use rm, --purge would be a lot more convenient.
Does
mtxrun textutil --purgeall
work ?
--
luigi
Hi,
marking=on often uses \jobname.
My file's name is not as important as its respective folder name.
Is it possible to read and reuse this folder's name?
Thanks,
Steffen
___
If your question is of interest
Steffen Wolfrum wrote:
Hi,
marking=on often uses \jobname.
My file's name is not as important as its respective folder name.
Is it possible to read and reuse this folder's name?
In mkii you would have to do something with \write18, I fear.
In mkiv you can simply do:
\edef
Am 11.07.2008 um 22:44 schrieb Taco Hoekwater:
In mkiv you can simply do:
\edef\foldername{\ctxlua{tex.sprint(lfs.currentdir())}}
(assuming the jobname file lives inside the current directory)
quite comfortable ;o)
st
Thomas A. Schmitz wrote:
On Apr 17, 2007, at 3:39 PM, Tobias Burnus wrote:
Hello,
I have pagesize papersize and use crop marks. What I actually
miss is
the possibility to put text (Project name, date/time) outside the
page.
Currently, ConTeXt only prints there the colour bars,
Hello,
I have pagesize papersize and use crop marks. What I actually miss is
the possibility to put text (Project name, date/time) outside the page.
Currently, ConTeXt only prints there the colour bars, the page numbers
and the crop marks.
Example:
][\reuseMPgraphic{Cross}]
\defineoverlay[Camera][\reuseMPgraphic{Camera}]
\defineoverlay[Info][{\getbuffer[info]}]
\startbuffer[info]
\vbox to \paperheight \bgroup
\vskip -1 cm
\framed[frame=off,align=high]{\tt \tx \jobname - \currentdate
[y,/,mm,/,dd]\ - \currenttime\ - \realfolio
Thomas A. Schmitz wrote:
I'm not sure if this is what you're looking for, but I wrote a module
for my own use that has similar features.
That is exactly what I was looking for.
(For colour registering marks, one would have to print the marks in all
colours (usually CMYK and/or spot
Ed L Cashin [EMAIL PROTECTED] writes:
...
Texexec still just shows a usage message. I bet I have to change
something in texexec.ini, but I couldn't find it last time I looked.
I'll look again.
Now by doing pdfetex \cont-en test.tex I'm able to see the example
that made me want to
At 16:26 17/10/2003, you wrote:
I looked around a bit in the archives, but I'm not sure which zip that
is, so I decided to go ahead and upgrade my whole tetex to 2.0.2. I
went to pragma-ade and followed the links to find pdftex 14h.
http://www.pragma-ade.com/context/linuxtex.zip
to give you
18 matches
Mail list logo