[NTG-context] regexp for matching entire footnotes

2006-07-29 Thread Steffen Wolfrum
Hi, I have to find (highlight) footnotes with the entire footnote being marked/highlighted. Constructing a regexp for this is far beyond what I can write, that's why I frankly ask for help here: The problems are the (potentially) nested pairs of curled brackets (like for \index, \emphasize

Re: [NTG-context] Bug with type << .. >>?

2006-07-29 Thread Aditya Mahajan
On Sat, 29 Jul 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Fri, 28 Jul 2006, Hans Hagen wrote: >> >> >>> Aditya Mahajan wrote: >>> Isn't \type<<..>> be supposed to be equivalent to \type{..} ? \title{some \type{thing} } works perfectly but \title{some \

Re: [NTG-context] sorting commalist?

2006-07-29 Thread Jano Kula
>>> I should extend that document, but I've lost the source :-( >> >> Considering this document very useful I had an idea of puting at least >> parts of it on garden. So shoud I extract the texts, make some formating >> and send it to you or put it on the wiki? > > The wiki would be great. That

[NTG-context] Another q, about setups

2006-07-29 Thread The Wizard
All - I have a small block which creates a "DRAFT" watermark as the page background: % Create "Draft" watermark for later use \doifmode{draft}{ % Put a "DRAFT" watermark in Sun Blue \defineoverlay[Draft][{\sunbluet \scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}] \setupbackgrounds[page][

[NTG-context] TOC and "Contents" entry

2006-07-29 Thread The Wizard
All - Although the manual seems to imply that \completecontent will include the "Contents" page entry itself in the TOC, it does not. I would like the "Contents" page itself to be included, in both the table of contents, and the navigation entries in the generated pdf output. I normally set

Re: [NTG-context] Bug with type << .. >>?

2006-07-29 Thread Taco Hoekwater
Hans Hagen wrote: > > Question for taco: can we make such spaces optionally disappear in future > tex's? > In most cases, yes. (but not always, because something like the internal form of "\aacute a" can not reliably be represented by adding extra tokens like in "\aacute{}a", for example) Tac

Re: [NTG-context] Bug with type << .. >>?

2006-07-29 Thread Hans Hagen
Aditya Mahajan wrote: > On Fri, 28 Jul 2006, Hans Hagen wrote: > > >> Aditya Mahajan wrote: >> >>> Isn't \type<<..>> be supposed to be equivalent to \type{..} ? >>> >>> \title{some \type{thing} } >>> >>> works perfectly but >>> >>> \title{some \type<>} >>> >>> >> << >> will not work

Re: [NTG-context] whitespace

2006-07-29 Thread Taco Hoekwater
Hans van der Meer wrote: > Why does \startframedtext does not honor the outside setting > by \setupwhitespace? Because its contents are most often used as a kind of inline figure, where normal paragraph spacing does not apply. Greetings, Taco ___ ntg-

Re: [NTG-context] \Word and friends

2006-07-29 Thread Taco Hoekwater
Hans van der Meer wrote: > After \def\Example{example} > \Word{\Example} gives example > So I need > \expanded{\Word{\Example}} to get Example > but > \WORD{\Example}} does give EXAMPLE > > I did not expect that. > Is this the intended behaviour? Well, expanding the argument of \Word automatical

Re: [NTG-context] setuphead

2006-07-29 Thread Taco Hoekwater
Steffen Wolfrum wrote: > You mean like this? > > \setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween= > \crlf,textcommand=\bf] That is what I meant but it dodn't work out too well. New approach: \def\Sectioncommand#1#2% {\vbox{\centerline{\it Chapter #1}% \centerlin