Am 31.10.2010 um 01:27 schrieb Aditya Mahajan:
> Hi,
>
> I want to write a macro that checks for some settings and if the settings are
> wrong stop the current compilation and terminate with an error message. Right
> now I have
>
> \def\ERROR
> {\writeline
> \showmessage\??external
On Sun, 31 Oct 2010, Khaled Hosny wrote:
On Sun, Oct 31, 2010 at 01:08:40AM -0400, Aditya Mahajan wrote:
On Sun, 31 Oct 2010, Khaled Hosny wrote:
On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote:
Hi,
I want to write a macro that checks for some settings and if the
settings are
On Sun, Oct 31, 2010 at 01:08:40AM -0400, Aditya Mahajan wrote:
> On Sun, 31 Oct 2010, Khaled Hosny wrote:
>
> >On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote:
> >>Hi,
> >>
> >>I want to write a macro that checks for some settings and if the
> >>settings are wrong stop the current
On Sun, 31 Oct 2010, Khaled Hosny wrote:
On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote:
Hi,
I want to write a macro that checks for some settings and if the
settings are wrong stop the current compilation and terminate with
an error message. Right now I have
\def\ERROR
On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote:
> Hi,
>
> I want to write a macro that checks for some settings and if the
> settings are wrong stop the current compilation and terminate with
> an error message. Right now I have
>
> \def\ERROR
> {\writeline
>\showmes
On Sun, 31 Oct 2010, Aditya Mahajan wrote:
How can I force context (the macro package) to exit with a status of 1 so
that context (the program) does not attempt a second compilation?
Adding \errmessage{} before \normalend changes the error code to 1.
Aditya
___
On Sun, 31 Oct 2010, Wolfgang Schuster wrote:
Am 31.10.2010 um 01:27 schrieb Aditya Mahajan:
Hi,
I want to write a macro that checks for some settings and if the settings are
wrong stop the current compilation and terminate with an error message. Right
now I have
\def\ERROR
{\writeli
Am 31.10.2010 um 01:27 schrieb Aditya Mahajan:
> Hi,
>
> I want to write a macro that checks for some settings and if the settings are
> wrong stop the current compilation and terminate with an error message. Right
> now I have
>
> \def\ERROR
> {\writeline
> \showmessage\??external
Hi,
I want to write a macro that checks for some settings and if the settings
are wrong stop the current compilation and terminate with an error
message. Right now I have
\def\ERROR
{\writeline
\showmessage\??externalfilter??{forbidden}\getexternalfilterdirectory
\batchmod