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

2011-02-15 Thread Cedric Mauclair
On Wed, Feb 16, 2011 at 05:52, Daniel Lyons 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 documented > on the

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 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'

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: \setuphead[chapter][after={\marking[

Re: [NTG-context] references

2011-02-15 Thread Hans Hagen
On 15-2-2011 12:00, Florian Wobbe wrote: \definereferenceformat [aPage] [label=page, autocase=yes] See \aPage[one]. \aPage[one] is important. % "Page" is always capitalised fixed in next beta -- -

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 su

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 d

Re: [NTG-context] Chapters not sowing up in ToC

2011-02-15 Thread Wolfgang Schuster
Am 14.02.2011 um 21:05 schrieb Tom: > When attempting to place only the chapter number on the first page of a > chapter, the chapters do not appear in the ToC & the ToC does not display. > Inserting #2 just before the last } in the definition for MyChapterCommand > causes the ToC to appear with c

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-15 Thread Wolfgang Schuster
Am 15.02.2011 um 01:45 schrieb Tom: > > Follows is some code that executes. The lines immediately following > \starttext create a sample of the desired output format. However, I want to > accomplish similar results for chapter titles via the passing of arguments > containing the chapter title an

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 > > \s

Re: [NTG-context] curly bracket different values (entries)

2011-02-15 Thread Vyatcheslav Yatskovsky
Hi, Sorry for stealing the tread, but what "mathcases" do and how it is different from mathalign? Sometimes, I need to typeset multiline equations, and have to admit that this an obscure subject. Regards, Vyatcheslav ___

Re: [NTG-context] [OS X TeX] \ne in a definetyping environment in context

2011-02-15 Thread Wolfgang Schuster
Am 14.02.2011 um 01:37 schrieb David Arnold: > All, > > I have the following in a Context file: > > \definetyping[XXX] > > \startXXX > If int(N/2) \ne N/2 > > Then > Disp "N MUST BE EVEN" > Stop > End > \stopXXX > > Is there an easy way to replace the \ne with code that will produce the > n

Re: [NTG-context] Glyph fallbacks

2011-02-15 Thread Aditya Mahajan
On Tue, 15 Feb 2011, Mojca Miklavec wrote: There's a virtual feature "compose=yes". If it doesn't work for you in the first try, I will search my source code to find a working example. Thanks. Adding compose=yes works perfectly. Aditya _

Re: [NTG-context] running headers on postponed makeup

2011-02-15 Thread Steffen Wolfrum
Am 22.12.2010 um 16:35 schrieb Hans Hagen: > On 22-12-2010 4:14, Steffen Wolfrum wrote: > >> wow, isn't this even worse?! > > depends on the view: consistency comes first, reasons why come next > >> Please look at your example (page 7) attached: >> >> Now you have >> Header = 1.1 A >> Section

Re: [NTG-context] references

2011-02-15 Thread Florian Wobbe
> fyi: you can say autocase=yes so that e.g. page becomes Page when it ends up > at the beginning of a line. Hans, thanks for the new functionality. How would I use autocase? This does not seem to work: \definereferenceformat [aPage] [label=page, autocase=yes] See \aPage[one]. \aPage[one] is im

Re: [NTG-context] subfootnote

2011-02-15 Thread Steffen Wolfrum
Am 07.10.2010 um 10:36 schrieb Hans Hagen: > >> \definestructureseparatorset [footnote][][] >> \definestructureconversionset[footnote][number,characters][numbers] >> \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] >> >> \setupfootnotes[way=bytext]%<- here

[NTG-context] Glyph fallbacks

2011-02-15 Thread Aditya Mahajan
Hi, I thought that if a font does not have certain (accented) glyphs, then MkIV fakes a fallback. But that does not happen. Consider, for example, Delicious font, that does not have scedilla. Using that in a document fails silently. \usemodule[simplefonts] \setmainfont[Delicious] \starttex

Re: [NTG-context] Bug

2011-02-15 Thread Oliver Buerschaper
>>> I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this >>> didn't happen… are included files now automatically terminated by an >>> implicit >>> "\par"? Personally I would find that confusing. >> >> No answer to your question, just a workaround: >> >> \starttext >> \secti

[NTG-context] conditional evaluation and section names

2011-02-15 Thread 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 \setupheadertexts[\setups{chapterinfo}][] []