Re: [NTG-context] conditional evaluation and section names

2011-02-16 Thread Wolfgang Schuster
Am 16.02.2011 um 08:36 schrieb Cedric Mauclair: On Wed, Feb 16, 2011 at 05:52, Daniel Lyons fus...@storytotell.org wrote: On Feb 15, 2011, at 12:05 PM, Wolfgang Schuster wrote: \doiftextelse{\getmarking[sectionnumber]} {§ \getmarking[sectionnumber]} {\unknown} I assume there are

Re: [NTG-context] conditional evaluation and section names

2011-02-15 Thread Wolfgang Schuster
Am 15.02.2011 um 09:11 schrieb Daniel Lyons: Hi again, I have this in my environment \startsetups[sectioninfo] \ss \rlap{\userpagenumber} \hfill § \getmarking[sectionnumber][current] \emspace \bf \getmarking[section][current] \hfill \llap{} \stopsetups

Re: [NTG-context] conditional evaluation and section names

2011-02-15 Thread Daniel Lyons
On Tue, Feb 15, 2011 at 07:12:51PM +0100, Wolfgang Schuster wrote: 2. If I'm in a chapter that doesn't have sections, I'd like the chapter name to show up instead (without the §). I'm not sure at all how to go about doing this. I suspect the answer is to use plain TeX but I don't

Re: [NTG-context] conditional evaluation and section names

2011-02-15 Thread Wolfgang Schuster
Am 15.02.2011 um 19:53 schrieb Daniel Lyons: On Tue, Feb 15, 2011 at 07:12:51PM +0100, Wolfgang Schuster wrote: 2. If I'm in a chapter that doesn't have sections, I'd like the chapter name to show up instead (without the §). I'm not sure at all how to go about doing this. I suspect the

Re: [NTG-context] conditional evaluation and section names

2011-02-15 Thread Daniel Lyons
On Feb 15, 2011, at 11:12 AM, Wolfgang Schuster wrote: Make a *complete* minimal example! 1. If I'm in a later chapter than the current section is defined in, it shows up anyway. I'd like to prevent that. I've fixed the symptom by adding this code:

Re: [NTG-context] conditional evaluation and section names

2011-02-15 Thread Daniel Lyons
On Feb 15, 2011, at 12:55 PM, Daniel Lyons wrote: On Feb 15, 2011, at 11:12 AM, Wolfgang Schuster wrote: Make a *complete* minimal example! 1. If I'm in a later chapter than the current section is defined in, it shows up anyway. I'd like to prevent that. I still haven't found a

Re: [NTG-context] conditional evaluation and section names

2011-02-15 Thread Daniel Lyons
On Feb 15, 2011, at 12:05 PM, Wolfgang Schuster wrote: \doiftextelse{\getmarking[sectionnumber]} {§ \getmarking[sectionnumber]} {\unknown} I assume there are other helpful functions like this that aren't documented on the wiki (such as \DropCap). Is there a place where these things are

Re: [NTG-context] conditional evaluation and section names

2011-02-15 Thread Cedric Mauclair
On Wed, Feb 16, 2011 at 05:52, Daniel Lyons fus...@storytotell.org wrote: On Feb 15, 2011, at 12:05 PM, Wolfgang Schuster wrote: \doiftextelse{\getmarking[sectionnumber]}  {§ \getmarking[sectionnumber]}  {\unknown} I assume there are other helpful functions like this that aren't