Re: [NTG-context] new structure code

2009-06-15 Thread Hans Hagen
Alan BRASLAU wrote: On Sunday 14 June 2009 20:23:50 Hans Hagen wrote: Alan BRASLAU wrote: Blindly using the following minimal example, I almost get the desired result, but the parts are unnumbered. \setuphead[part][sectionsegments=1:1] I am still fishing... and don't really get it...

Re: [NTG-context] new structure code

2009-06-14 Thread Alan BRASLAU
Hello, Different structuring behavior mkiv and mkii; How can the following minimal example be achieved under mkiv? (mkii gives the desired behavior) Alan \setuphead[part][resetnumber=no,placehead=yes] \setuplist[part,chapter,section][partnumber=no] \starttext \part{part one} \chapter{chapter

Re: [NTG-context] new structure code

2009-06-14 Thread Hans Hagen
Alan BRASLAU wrote: Hello, Different structuring behavior mkiv and mkii; How can the following minimal example be achieved under mkiv? (mkii gives the desired behavior) Alan \setuphead[part][resetnumber=no,placehead=yes] \setuplist[part,chapter,section][partnumber=no] \starttext \part{part

Re: [NTG-context] new structure code

2009-06-14 Thread Alan BRASLAU
On Sunday 14 June 2009 15:16:20 Hans Hagen wrote: keys like 'partnumber' are gone in mkiv; we now have sets and segments; here is the variant with segments: (2 = section 2 == chapter) \setuphead[part] [resetnumber=no,placehead=yes] % \setuphead[chapter][sectionsegments=2:100] %

Re: [NTG-context] new structure code

2009-06-14 Thread Hans Hagen
Alan BRASLAU wrote: Blindly using the following minimal example, I almost get the desired result, but the parts are unnumbered. \setuphead[part][sectionsegments=1:1] - Hans Hagen |

Re: [NTG-context] new structure code

2009-06-14 Thread Alan BRASLAU
On Sunday 14 June 2009 20:23:50 Hans Hagen wrote: Alan BRASLAU wrote: Blindly using the following minimal example, I almost get the desired result, but the parts are unnumbered. \setuphead[part][sectionsegments=1:1] I am still fishing... and don't really get it...

Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no longer defined. I've been using \nolist with long table captions, so I don't get the whole caption in the list of tables. Is there a new way to accomplish this?

Re: [NTG-context] new structure code

2009-04-24 Thread Wolfgang Schuster
Am 24.04.2009 um 19:22 schrieb Kevin D. Robbins: Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no longer defined. I've been using \nolist with long table captions, so I don't get the whole caption in the

Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
Thanks! Kevin On Fri, Apr 24, 2009 at 11:37 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 24.04.2009 um 19:22 schrieb Kevin D. Robbins: Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no

Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
Another question regarding ConTeXt beta 2009.04.21 16:11, should the \completelistoffigures in the example below work, or are the \completelistofXXX macros still not fully supported in the new Mark IV structure code? \starttext \completelistoffigures \input knuth \placefigure[fig:hacker]

Re: [NTG-context] new structure code

2009-04-24 Thread Hans Hagen
Kevin D. Robbins wrote: Another question regarding ConTeXt beta 2009.04.21 16:11, should the \completelistoffigures in the example below work, or are the \completelistofXXX macros still not fully supported in the new Mark IV structure code? expect an update next week (second stage clean up)

Re: [NTG-context] new structure code

2009-04-24 Thread Hans Hagen
Wolfgang Schuster wrote: Am 24.04.2009 um 19:22 schrieb Kevin D. Robbins: Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no longer defined. I've been using \nolist with long table captions, so I don't get the

Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
On Fri, Apr 24, 2009 at 12:36 PM, Hans Hagen pra...@wxs.nl wrote: Wolfgang Schuster wrote: Am 24.04.2009 um 19:22 schrieb Kevin D. Robbins: Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no longer defined.

Re: [NTG-context] new structure code

2009-04-24 Thread Hans Hagen
Kevin D. Robbins wrote: On Fri, Apr 24, 2009 at 12:36 PM, Hans Hagen pra...@wxs.nl wrote: Wolfgang Schuster wrote: Am 24.04.2009 um 19:22 schrieb Kevin D. Robbins: Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is

Re: [NTG-context] new structure code

2009-04-20 Thread Wolfgang Schuster
Another bug: ! Undefined control sequence. argument \handlepagebreakB \setuphead[chapter][placehead=no,incrementnumber=no] \starttext \chapter{Break?} \stoptext Wolfgang ___ If your question is of interest to

Re: [NTG-context] new structure code

2009-04-20 Thread Hans Hagen
Wolfgang Schuster wrote: Another bug: ! Undefined control sequence. argument \handlepagebreakB \setuphead[chapter][placehead=no,incrementnumber=no] ok, fixed - Hans Hagen | PRAGMA

Re: [NTG-context] new structure code

2009-04-16 Thread Hans Hagen
Wei-Wei Guo wrote: Hi Wolfgang, I just rsynced the latest beta, the error I posted in previous mail is gone, but a new one comes. ! Argument of \doplacepagenumberatlocation has an extra }. ok, will be fixed -

Re: [NTG-context] new structure code

2009-04-16 Thread Hans Hagen
Yanrui Li wrote: 2009/4/15 Hans Hagen pra...@wxs.nl: Wolfgang Schuster wrote: Hi, i found a few bugs in the new structure code for mkiv. i fixed a few things Hi, Hans, Header and footer appear in the chapter page. Isn't this problem fixed? also fixed in next beta

Re: [NTG-context] new structure code

2009-04-16 Thread Yanrui Li
2009/4/16 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: Header and footer appear in the chapter page. Isn't this problem fixed? also fixed in next beta Thanks very much. Now I found a new bug with \setupinteraction in latest beta. \setupinteraction [state=start,focus=standard] \starttext

Re: [NTG-context] new structure code

2009-04-16 Thread Hans Hagen
Yanrui Li wrote: 2009/4/16 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: Header and footer appear in the chapter page. Isn't this problem fixed? also fixed in next beta Thanks very much. Now I found a new bug with \setupinteraction in latest beta. ok, fixed in next beta ps. the backend

Re: [NTG-context] new structure code

2009-04-15 Thread Yanrui Li
2009/4/15 Hans Hagen pra...@wxs.nl: Wolfgang Schuster wrote: Hi, i found a few bugs in the new structure code for mkiv. i fixed a few things Hi, Hans, Header and footer appear in the chapter page. Isn't this problem fixed? \setuphead[chapter][header=empty,footer=empty]

Re: [NTG-context] new structure code

2009-04-15 Thread Hans Hagen
Yanrui Li wrote: 2009/4/15 Hans Hagen pra...@wxs.nl: Wolfgang Schuster wrote: Hi, i found a few bugs in the new structure code for mkiv. i fixed a few things Hi, Hans, Header and footer appear in the chapter page. Isn't this problem fixed? as currently i'm in the middle of backend

Re: [NTG-context] new structure code

2009-04-14 Thread Hans Hagen
Wolfgang Schuster wrote: 3. \\ generates a backslash but was a space before \starttext text\\text \stoptext actually, \\ depends on the context; in the main text stream \\ being \ makes more sense(as \$ \# etc) -

Re: [NTG-context] new structure code

2009-04-14 Thread Hans Hagen
Wolfgang Schuster wrote: Hi, i found a few bugs in the new structure code for mkiv. i fixed a few things concerning prefixes and such, keep in mind that we do things a bit differently now, as in: \definestructureprefixset [mine][section-1,section-2] \definestructureseparatorset[mine][:]

Re: [NTG-context] new structure code

2009-04-13 Thread Hans Hagen
Yanrui Li wrote: 2009/4/11 Hans Hagen pra...@wxs.nl: Wolfgang Schuster wrote: I add it to my list, mkii and mkiv behave in the reverse way. thanks for collecting the issues, i prefer looking at them at once (next week) so if you make a summary / test file ... \headnumber missing with

Re: [NTG-context] new structure code

2009-04-13 Thread Hans Hagen
Peter Münster wrote: 6. problem with \unprotect and \section{}: \unprotect \def\...@bla{sec title} \def\mysection{\section{\...@bla}} \protect \starttext \mySection bla bla \stoptext ERROR: Undefined control sequence. --- TeX said --- l.1 \bla @bla Cheers, Peter this is somewhat

Re: [NTG-context] new structure code

2009-04-13 Thread Wei-Wei Guo
Hi Wolfgang, I just notice that you said adding my error with new beta in this thread, so I post it here again. Problem with footertexts. ! Undefined control sequence. argument \@@plaatspaginanummer \firstoftwoarguments #1#2-#1 \doattributes ...sname #1...@ea \endcsname \fi {#4

Re: [NTG-context] new structure code

2009-04-13 Thread Longmin Wang
On Fri, Apr 10, 2009 at 03:38:03PM +0200, Wolfgang Schuster wrote: Hi, i found a few bugs in the new structure code for mkiv. \currentcounterreference is undefined in the latest beta. \starttext \defineenumeration [theorem] [text=Theorem, number=yes] \starttheorem[test] Test.

Re: [NTG-context] new structure code

2009-04-12 Thread Wolfgang Schuster
Am 11.04.2009 um 01:29 schrieb Hans Hagen: Wolfgang Schuster wrote: I add it to my list, mkii and mkiv behave in the reverse way. thanks for collecting the issues, i prefer looking at them at once (next week) so if you make a summary / test file ... I can send you the files at the end

Re: [NTG-context] new structure code

2009-04-12 Thread Hans Hagen
Wolfgang Schuster wrote: Am 11.04.2009 um 01:29 schrieb Hans Hagen: Wolfgang Schuster wrote: I add it to my list, mkii and mkiv behave in the reverse way. thanks for collecting the issues, i prefer looking at them at once (next week) so if you make a summary / test file ... I can send

[NTG-context] new structure code

2009-04-10 Thread Wolfgang Schuster
Hi, i found a few bugs in the new structure code for mkiv. 1. the dot after numbered items is missing \starttext \startitemize[n] \item first item \item second item \stopitemize \stoptext 2. indices in headers work not in interactive mode \setupinteraction[state=start] \starttext

Re: [NTG-context] new structure code

2009-04-10 Thread Wolfgang Schuster
Am 10.04.2009 um 15:38 schrieb Wolfgang Schuster: Hi, i found a few bugs in the new structure code for mkiv. 1. the dot after numbered items is missing \starttext \startitemize[n] \item first item \item second item \stopitemize \stoptext 2. indices in headers work not in interactive mode

Re: [NTG-context] new structure code

2009-04-10 Thread Wolfgang Schuster
Hi, i found a few bugs in the new structure code for mkiv. 1. the dot after numbered items is missing \starttext \startitemize[n] \item first item \item second item \stopitemize \stoptext 2. indices in headers work not in interactive mode \setupinteraction[state=start] \starttext

Re: [NTG-context] new structure code

2009-04-10 Thread Peter Münster
On Fri, 10 Apr 2009, Wolfgang Schuster wrote: Am 10.04.2009 um 15:38 schrieb Wolfgang Schuster: Hi, i found a few bugs in the new structure code for mkiv. 1. the dot after numbered items is missing \starttext \startitemize[n] \item first item \item second item

Re: [NTG-context] new structure code

2009-04-10 Thread Khaled Hosny
I think this might be related as well, heads without numbers don't appear in the table of content: \starttext \setuphead[chapter][number=no] \completecontent \chapter{One} \chapter{Two} \chapter{Three} \stoptext If I don't remove the 'number' option, I get empty TOC. Regards, Khaled --

Re: [NTG-context] new structure code

2009-04-10 Thread Wolfgang Schuster
Am 10.04.2009 um 22:24 schrieb Khaled Hosny: I think this might be related as well, heads without numbers don't appear in the table of content: \starttext \setuphead[chapter][number=no] Did number=no,incrementnumber=list work? Wolfgang

Re: [NTG-context] new structure code

2009-04-10 Thread Wolfgang Schuster
Am 10.04.2009 um 22:11 schrieb Peter Münster: I don't know, if this is a bug, but it worked with version 2009.04.06: 6. problem with \unprotect and \section{}: \unprotect \def\...@bla{sec title} \def\mysection{\section{\...@bla}} \def\mysection{\expanded{\section{\...@bla}}} Wolfgang

Re: [NTG-context] new structure code

2009-04-10 Thread Khaled Hosny
On Fri, Apr 10, 2009 at 10:28:25PM +0200, Wolfgang Schuster wrote: Am 10.04.2009 um 22:24 schrieb Khaled Hosny: I think this might be related as well, heads without numbers don't appear in the table of content: \starttext \setuphead[chapter][number=no] Did number=no,incrementnumber=list

Re: [NTG-context] new structure code

2009-04-10 Thread Wolfgang Schuster
Am 10.04.2009 um 23:27 schrieb Khaled Hosny: On Fri, Apr 10, 2009 at 10:28:25PM +0200, Wolfgang Schuster wrote: Am 10.04.2009 um 22:24 schrieb Khaled Hosny: I think this might be related as well, heads without numbers don't appear in the table of content: \starttext

Re: [NTG-context] new structure code

2009-04-10 Thread Hans Hagen
Wolfgang Schuster wrote: I add it to my list, mkii and mkiv behave in the reverse way. thanks for collecting the issues, i prefer looking at them at once (next week) so if you make a summary / test file ... -

Re: [NTG-context] new structure code

2009-04-10 Thread Yanrui Li
2009/4/11 Hans Hagen pra...@wxs.nl: Wolfgang Schuster wrote: I add it to my list, mkii and mkiv behave in the reverse way. thanks for collecting the issues, i prefer looking at them at once (next week) so if you make a summary / test file ... \headnumber missing with MkIV. \starttext

Re: [NTG-context] new structure code

2009-04-10 Thread Yanrui Li
2009/4/11 Yanrui Li liyanrui...@gmail.com: 2009/4/11 Hans Hagen pra...@wxs.nl: Wolfgang Schuster wrote: I add it to my list, mkii and mkiv behave in the reverse way. thanks for collecting the issues, i prefer looking at them at once (next week) so if you make a summary / test file ...