[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}][] []

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 \section{Paragraph} \input

[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]

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 is the

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

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 = 1.2 B

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] [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 normal not equals

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] 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] 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 and

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

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