[NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread Alan BRASLAU
Hello, The bookmark mechanism has changed in a very recent beta and now \startfrontmatter \stopfrontmatter \startbodymatter \stopbodymatter \startappendices \stopappendices \startbackmatter \stopbackmatter ALL now add bookmarks to the PDF document??? This is VERY strange! I am using: \setupintera

[NTG-context] important line in TikZ

2013-11-07 Thread Xan
Hi, Can someone confirm if \draw[important line] (0,0) -- (1,0); works in ConTeXt? Or is it my old version? Thanks, Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maill

Re: [NTG-context] How to test the emptyness of a variable?

2013-11-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, Lua way: \setuplabeltext[chapter=] \define[1]\MyCommand{\ctxcommand{doifelse(1==\currentsectioncountervalue)}{ONE}{#1}} \setuphead[chapter][deepnumbercommand=\MyCommand] \starttext \chapter{Cool} \chapter{Cat} \chapter{Mouse} \stoptext I'm sure there is also a "cleaner

Re: [NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread Hans Hagen
On 11/7/2013 10:00 AM, Alan BRASLAU wrote: Hello, The bookmark mechanism has changed in a very recent beta and now \startfrontmatter \stopfrontmatter \startbodymatter \stopbodymatter \startappendices \stopappendices \startbackmatter \stopbackmatter ALL now add bookmarks to the PDF document??? Th

[NTG-context] How to test the emptyness of a variable?

2013-11-07 Thread Géry Ogam
> I'm sure there is also a "cleaner" TeX way, but I'm not experienced enough for that. I think you misunderstood my issue: your Lua way does the same thing than my TeX way: it displays: ONE Cool 2 Cat 3 Mouse but that is NOT what I want. What I want is: 1 Cool 2 Cat 3 Mouse So I need to check

Re: [NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread pol stra
Le jeudi 7 novembre 2013, 10:00:00 Alan BRASLAU a écrit : > Hello, > > The bookmark mechanism has changed in a very recent beta and now > \startfrontmatter \stopfrontmatter > \startbodymatter \stopbodymatter > \startappendices \stopappendices > \startbackmatter \stopbackmatter > ALL now add bookma

Re: [NTG-context] conditional argument and \doifemptyelse

2013-11-07 Thread Pablo Rodriguez
On 11/06/2013 10:33 PM, Wolfgang Schuster wrote: > Am 06.11.2013 um 20:26 schrieb Pablo Rodriguez : >> [...] >> Is there no way to make \MyCommand above work with \doifemptyelse even >> if its third argument is not defined? > > \def\MyCommand > {\dotriplegroupempty\doMyCommand} > > \def\doMyC

Re: [NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread Alan Braslau
On Thu, 7 Nov 2013 19:30:08 +0100 pol stra wrote: > Le jeudi 7 novembre 2013, 10:00:00 Alan BRASLAU a écrit : > > Hello, > > > > The bookmark mechanism has changed in a very recent beta and now > > \startfrontmatter \stopfrontmatter > > \startbodymatter \stopbodymatter > > \startappendices \stop

[NTG-context] bug in linenote?

2013-11-07 Thread Pablo Rodriguez
Dear list, I have a sample of nested linenotes (containing an user-defined command): \setuppapersize[A8] \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering \star

Re: [NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread Alan Braslau
On Thu, 7 Nov 2013 16:51:40 +0100 Hans Hagen wrote: > On 11/7/2013 10:00 AM, Alan BRASLAU wrote: > > Hello, > > > > The bookmark mechanism has changed in a very recent beta and now > > \startfrontmatter \stopfrontmatter > > \startbodymatter \stopbodymatter > > \startappendices \stopappendices > >

Re: [NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread Hans Hagen
On 11/7/2013 9:07 PM, Alan Braslau wrote: On Thu, 7 Nov 2013 16:51:40 +0100 Hans Hagen wrote: On 11/7/2013 10:00 AM, Alan BRASLAU wrote: Hello, The bookmark mechanism has changed in a very recent beta and now \startfrontmatter \stopfrontmatter \startbodymatter \stopbodymatter \startappendice

[NTG-context] Index - 'sort as' parameter for secondary and tertiary index entries

2013-11-07 Thread honyk
Dear All, while there is a sorting parameter for the primary index entry: \index[primary]{>primary<} I cannot find any method how to define 'sort as' parameter for next two levels: \index{primary+>aaa<} \index{primary+bbb} I want to have >aaa< before bbb in my index. Any idea? Thanks, Jan

[NTG-context] Index - ranges

2013-11-07 Thread honyk
Dear All, 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01]{primary} Dummy text. \stopreg

[NTG-context] Index - custom sorting

2013-11-07 Thread honyk
Dear All, czech sorting has a quite complex logic. How can a default index entries sorting be overridden? Using a macro or somewhere under the hood via a lua code? I am a total noob in this. Btw, as a Java programmer I have it implemented already in Java so I hope it won't be a huge task to conv

Re: [NTG-context] Index - custom sorting

2013-11-07 Thread Wolfgang Schuster
Am 07.11.2013 um 23:11 schrieb honyk : > Dear All, > > czech sorting has a quite complex logic. How can a default index entries > sorting be overridden? > > Using a macro or somewhere under the hood via a lua code? I am a total noob > in this. Btw, as a Java programmer I have it implemented al

[NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
Dear All, what is the correct placing indext entries somewhere in the section title? I use it for both ranges (when covering the whole section) and sometimes also for individual entries: (A) \section{\startregister[index][primary_range_01]{primary}Primary} (B) \section{\index{primary}Primary} T

Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread Wolfgang Schuster
Am 07.11.2013 um 23:43 schrieb honyk : > Dear All, > > what is the correct placing indext entries somewhere in the section title? > > I use it for both ranges (when covering the whole section) and sometimes > also for individual entries: > > (A) \section{\startregister[index][primary_range_01]

Re: [NTG-context] Index - 'sort as' parameter for secondary and tertiary index entries

2013-11-07 Thread honyk
On 2013-11-07 honyk wrote: > while there is a sorting parameter for the primary index entry: > \index[primary]{>primary<} > > I cannot find any method how to define 'sort as' parameter for next two > levels: > \index{primary+>aaa<} > \index{primary+bbb} I've tried '+' analogy and it seems to be w

Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
On 2013-11-07 Wolfgang Schuster wrote: > Am 07.11.2013 um 23:43 schrieb honyk : > > > > what is the correct placing indext entries somewhere in the section > title? > > > > I use it for both ranges (when covering the whole section) and > > sometimes also for individual entries: > > > > (A) \section