ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: varheit@gmx.de
Subject: RE: Modes
Date: Wed, 7 May 2003 14:05:50 +0200 (MEST)	[thread overview]
Message-ID: <18366.1052309150@www26.gmx.net> (raw)
In-Reply-To: <006c01c31488$89682f00$2197fac3@mii.cz>

Thanks, but this does not relly help:

I am looking for a command that would just insert whatever was specified
in the --mode option. A conditional comparison does not work, since a lot
of modes may be specified. A conditional comparison has to modified
whenever a new mode is used.

I want something like "This document is processed in \mode mode"


> This could be simple, try:
> 
> \startmode[somemode]
> ...
> \stopmode
> 
> (there is \startnotmode[somemode]..\stopnotmode variant too)
> 
> or
> 
> \doifmode{somemode}{this document was...}
> 
> or
> 
> \doifnotmode{somemode}{...}
> 
> or
> 
> \doifmodeelse{somemode}{when set}{when unset}
> 
> Have a nice day,
> 
> Martin
> 
> > -----Original Message-----
> > From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl]On
> > Behalf Of varheit@gmx.de
> > Sent: Wednesday, May 07, 2003 12:55 PM
> > To: ntg-context@ntg.nl
> > Subject: [NTG-context] Modes
> >
> >
> > Hello,
> >
> > I compile a document with texexec --pdf --mode=<somemode> ..., and I
> want
> > to access whatever is specified for <somemode> in the document as
> literal
> > text.
> > So if I run texexec --pdf --mode=screen ... I want something like "this
> > document was
> > processed in screen mode" to show up in the text.
> >
> > How can this be done?
> >
> > --
> > +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> > Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
> >
> > _______________________________________________
> > ntg-context mailing list
> > ntg-context@ntg.nl
> > http://www.ntg.nl/mailman/listinfo/ntg-context
> >
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

  parent reply	other threads:[~2003-05-07 12:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 10:54 Modes varheit
2003-05-07 11:05 ` Modes Martin Kolarík
2003-05-07 12:05   ` Modes varheit
2003-05-07 12:05   ` varheit [this message]
2003-05-07 13:19     ` Modes Hans Hagen
2010-10-14 13:57 modes Hans Hagen
2010-10-15  6:34 ` modes Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18366.1052309150@www26.gmx.net \
    --to=varheit@gmx.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).