Hello,
is there any command to test for write18/shell escape available in ConTeXt?
In one of the LaTeX packages I saw:
\newif\ifShellEscape
...
\ifShellEscape
\def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time}
\ifmiktex
\immediate\write18{rem \tmpfile}
\else
Am 2006-12-25 um 11:38 schrieb Taco Hoekwater:
There a few definition files already there, and you should start
from the one that is closest to the language you want to define
(especially wrt comment and string syntax).
...
Good luck, Taco
I found that interesting and wikified it at http://
On Tue, 26 Dec 2006, Mojca Miklavec wrote:
Hello,
is there any command to test for write18/shell escape available in ConTeXt?
\ifeof18 checks if write18 is disabled. I think that it is etex only.
The next method is error prone, for a lot of reasons, the directory
/tmp may not exist
On 12/26/06, Henning Hraban Ramm wrote:
Am 2006-12-25 um 11:38 schrieb Taco Hoekwater:
There a few definition files already there, and you should start
from the one that is closest to the language you want to define
(especially wrt comment and string syntax).
...
Good luck, Taco
I
On Tue, 26 Dec 2006, Mojca Miklavec wrote:
is there any command to test for write18/shell escape available in ConTeXt?
There is such a command in pdfTeX-1.40 but I don't remember the name
(I think it's \ifshellescape).
Cheers, Peter
--
http://pmrb.free.fr/contact/
Am 2006-12-26 um 19:57 schrieb Peter Münster:
is there any command to test for write18/shell escape available in
ConTeXt?
There is such a command in pdfTeX-1.40 but I don't remember the name
(I think it's \ifshellescape).
\ifeof18
From the t-lilypond sources:
%D If \type{\ifeof18}
2006/12/26, Peter Münster [EMAIL PROTECTED]:
There is such a command in pdfTeX-1.40 but I don't remember the name
(I think it's \ifshellescape).
It's new in 1.30:
- \pdfshellescape is a read-only integer that is 1 if \write18 is enabled, 0
otherwise.
Best
Martin
After looking at these files a bit more closely, I decided I didn't
have a week to spare. Too much to learn and too few instructions. For
now I'm sticking with plain old black verbatim code listings.
Sometimes one has to set one's sights a little lower...! :-)
But thanks again.
Hans van der Meer wrote:
On Dec 24, 2006, at 0:21, Sanjoy Mahajan wrote:
ConText is developed rapidly, ... and illustrates the free-
software philosophy of release
often, sometimes twice a day! ( my emphasis here, hvdm)
I wouldn't stress that fact in this manner. And at the
� wrote:
On Tue, 26 Dec 2006, Mojca Miklavec wrote:
is there any command to test for write18/shell escape available in ConTeXt?
There is such a command in pdfTeX-1.40 but I don't remember the name
(I think it's \ifshellescape).
Cheers, Peter
grep shellescape *.tex
I just noticed this test file failing:
\starttext
$f'(x)$
\startformula
f^\prime(x)\quad f'(x)
\stopformula
\stoptext
It gives:
! Undefined control sequence.
l.4 f^\prime(x)\quad f'
(x)
As you can see from lack of complaint about $f'(x)$, the ' still works
in inline math
On 12/26/06, Hans Hagen wrote:
Peter Münster wrote:
On Tue, 26 Dec 2006, Mojca Miklavec wrote:
is there any command to test for write18/shell escape available in ConTeXt?
There is such a command in pdfTeX-1.40 but I don't remember the name
(I think it's \ifshellescape).
Cheers,
2006/12/26, Mojca Miklavec [EMAIL PROTECTED]:
Wait! So many alternatives that I'll have to create another function
to choose one of them randomly ;)
pdftex 1.30 has functions for random numbers. :-)
Best
Martin
___
ntg-context mailing list
Hello,
I'm still trying to get shading in MetaPost as the one in the attached
eps file, but I don't manage to decipher the way how other shandings
are done.
There's a .tex file attached with a failed (hardcoded) example tries
... but I don't know where to explore further.
I would appreciate
On 12/26/06, Hans Hagen wrote:
core-job.tex:\ifx\pdfshellescape\undefined \else
core-job.tex:\chardef\systemcommandmode \ifcase\pdfshellescape
\plusone \else \plustwo \fi
so \systemcommandmode is your friend
What exactly is the advantage of using \pdfshellescape over \ifeof18
as the
I am sorry to say that this really looks like the INF of the standard
Times-Roman font that does not have cyrillic glyphs (and the same was
true of your log file).
Yes, Taco, you are right. I was muddled by Extensis Suitcase which displayed
Cyrillic text in a font preview mode (probably,
On 12/26/06, Vyatcheslav Yatskovsky wrote:
I am sorry to say that this really looks like the INF of the standard
Times-Roman font that does not have cyrillic glyphs (and the same was
true of your log file).
Yes, Taco, you are right. I was muddled by Extensis Suitcase which displayed
I might have missed the point completely, but do you set the file
encoding anywhere, such as \enableregime[cp1251] (= windows-1251)
anywhere? I didn't try your examples, but unless you set this
somewhere cyrilic glyphs unlikely to work properly.
Thank you, Mojca.
No, I didn't set the
I might have missed the point completely, but do you set the file
encoding anywhere, such as \enableregime[cp1251] (= windows-1251)
anywhere? I didn't try your examples, but unless you set this
somewhere cyrilic glyphs unlikely to work properly.
Thank you, Mojca.
No, I didn't set the
On 12/27/06, Vyatcheslav Yatskovsky wrote:
I might have missed the point completely, but do you set the file
encoding anywhere, such as \enableregime[cp1251] (= windows-1251)
anywhere? I didn't try your examples, but unless you set this
somewhere cyrilic glyphs unlikely to work properly.
Hi Aditya,
I've copied your codes and replaced the original ones with them, but I
failed when I make the formats:
texexec --make --all
It gives me the following message:
---
On Wed, 27 Dec 2006, Zhichu Chen wrote:
Hi Aditya,
I've copied your codes and replaced the original ones with them, but I
failed when I make the formats:
texexec --make --all
It gives me the following message:
---
22 matches
Mail list logo