From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12126 Path: main.gmane.org!not-for-mail From: varheit@gmx.de Newsgroups: gmane.comp.tex.context Subject: RE: Modes Date: Wed, 7 May 2003 14:05:40 +0200 (MEST) Sender: ntg-context-admin@ntg.nl Message-ID: <17590.1052309140@www26.gmx.net> References: <006c01c31488$89682f00$2197fac3@mii.cz> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1052309270 9451 80.91.224.249 (7 May 2003 12:07:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 7 May 2003 12:07:50 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed May 07 14:07:46 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19DNi6-0002Rt-00 for ; Wed, 07 May 2003 14:07:46 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 580D210B4C; Wed, 7 May 2003 14:09:08 +0200 (MEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ref.ntg.nl (Postfix) with SMTP id EBC8910B3E for ; Wed, 7 May 2003 14:05:45 +0200 (MEST) Original-Received: (qmail 9291 invoked by uid 0); 7 May 2003 12:05:39 -0000 Original-To: ntg-context@ntg.nl X-Priority: 3 (Normal) X-Authenticated-Sender: #0000913228@gmx.net X-Authenticated-IP: [195.30.62.4] X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12126 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12126 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= ..., and I > want > > to access whatever is specified for 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!