Re: [NTG-context] the closing bracket (structuring syntax)

2006-09-12 Thread Aditya Mahajan
On Mon, 14 Aug 2006, Aditya Mahajan wrote: >> And what would be the opposite? >> >> For example \startquote ... \stopquote >> to something like {\MyQuote ... } > > AFAIK, there is no easy way to do this. One can use \aftergroup trickery. \def\MyQuote{\symbol[leftquote]\aftergroup\endMyQuote} \de

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-15 Thread Aditya Mahajan
On Mon, 14 Aug 2006, Steffen Wolfrum wrote: > > Am 13.08.2006 um 15:29 schrieb Steffen Wolfrum: > >> And what would be the opposite? >> >> For example \startquote ... \stopquote >> to something like {MyQuote ... } >> >> Steffen > > > \def\MyQuote#1{\startquote#1\stopquote} > > \MyQuote{something t

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-14 Thread Steffen Wolfrum
Am 13.08.2006 um 15:29 schrieb Steffen Wolfrum: > And what would be the opposite? > > For example \startquote ... \stopquote > to something like {MyQuote ... } > > Steffen \def\MyQuote#1{\startquote#1\stopquote} \MyQuote{something to be quoted} ... should work OK, right? Steffen __

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-14 Thread Aditya Mahajan
> And what would be the opposite? > > For example \startquote ... \stopquote > to something like {\MyQuote ... } AFAIK, there is no easy way to do this. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-contex

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-13 Thread Steffen Wolfrum
Am 10.08.2006 um 22:47 schrieb Aditya Mahajan: > You can always define your own startstop. > > \definestartstop[italic][before={\bgroup \it},after={\egroup}] > > and then do > > \startitalic > This is italic > \stopitalic > > When a command takes an optional agrument, you can do use something

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-10 Thread Steffen Wolfrum
Thank you. \footnote \index \chapter\section ... \it \bf \sc \mr \cap \language[...] That would be quite a good start. Steffen Am 10.08.2006 um 22:44 schrieb Hans Hagen: > Steffen Wolfrum wrote: >> Hi, >> >> in XML and alike there is a concept of dedicated start/stop

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-10 Thread Aditya Mahajan
On Thu, 10 Aug 2006, Steffen Wolfrum wrote: > Hi, > > in XML and alike there is a concept of dedicated start/stop in > formatting: > > ... > ... > ... > > But in ConTeXt/TeX we have always the same closing syntax "}". That > makes reading the code not easier. You can always define your own

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-10 Thread Hans Hagen
Steffen Wolfrum wrote: > Hi, > > in XML and alike there is a concept of dedicated start/stop in > formatting: > > ... > ... > ... > > But in ConTeXt/TeX we have always the same closing syntax "}". That > makes reading the code not easier. > > Is there a workaround to define the closing mo

[NTG-context] the closing bracket (structuring syntax)

2006-08-10 Thread Steffen Wolfrum
Hi, in XML and alike there is a concept of dedicated start/stop in formatting: ... ... ... But in ConTeXt/TeX we have always the same closing syntax "}". That makes reading the code not easier. Is there a workaround to define the closing more precisely (like the examples above), so