Re: [NTG-context] PDF-Toc text is wrong for new \start? commands
o ConTeXt users, >>> >>> I am switching from texexec to context, and from table to tabulate. >>> Question: What is the equivalent for \use{2}\ReFormat[c]{text} in the >>> \table environment, when you what to do the same in the \tabulate >>> environment? I couldn't find the answer in the context garden. >> >> The tabulate environment has no support for spanned cells. >> >> Wolfgang >> ___ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> _______ > > > ------------------ > > Message: 4 > Date: Tue, 16 Jul 2013 10:10:29 +0200 > From: Steffen Kram > To: mailing list for ConTeXt users > Subject: [NTG-context] PDF-Toc text is wrong for new \start? commands > Message-ID: <6b6f3970-3477-4021-9312-b9408c70f...@kram.io> > Content-Type: text/plain; charset=windows-1252 > > Hi all, > > I just converted my thesis from the old \chapter format to the new > \startchapter ? commands, to be more flexible when defining the titles for > toc etc. If you're just giving a title, e.g. > > \startsection[ >title={my fancy section} > ] > bla > \stopsection > > then the title is correctly displayed within the document. Nevertheless, it > ends up enclosed in curly braces in the PDF-Toc. My current workaround, if I > put a comma after the title > > \startsection[ > title={my fancy section}, > ] > > it looks fine. Guess this is bug, not expected behavior. > > Cheers, > Steffen > > -- > > Message: 5 > Date: Tue, 16 Jul 2013 10:52:55 +0200 > From: Steffen Kram > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] PDF-Toc text is wrong for new \start? > commands > Message-ID: > Content-Type: text/plain; charset=windows-1252 > > A similar problem occurs, when using references: > > \startsection[ > title={my fancy section}, > ] > > > \startsubsection[title={first subsection}] > \in{see}[secsub] > \stopsubsection > > \startsubsection[ > title={second subsection}, > reference=secsub > ] > foo > \stopsubsection > \stopsection > > > the \in reference does not work, as long as you don't declare the reference as > > \startsubsection[ > title={second subsection}, > reference=secsub, > ] > > Since other context commands don't work that way, I guess something is wrong ? > > Steffen > > > Am 16.07.2013 um 10:10 schrieb Steffen Kram : > >> Hi all, >> >> I just converted my thesis from the old \chapter format to the new >> \startchapter ? commands, to be more flexible when defining the titles for >> toc etc. If you're just giving a title, e.g. >> >> \startsection[ >> title={my fancy section} >> ] >> bla >> \stopsection >> >> then the title is correctly displayed within the document. Nevertheless, it >> ends up enclosed in curly braces in the PDF-Toc. My current workaround, if I >> put a comma after the title >> >> \startsection[ >>title={my fancy section}, >> ] >> >> it looks fine. Guess this is bug, not expected behavior. >> >> Cheers, >> Steffen >> ___ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ___ >> > > > > -- > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > > End of ntg-context Digest, Vol 109, Issue 28 > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF-Toc text is wrong for new \start… commands
On Tue, Jul 16, 2013 at 10:10 AM, Steffen Kram wrote: > Hi all, > > I just converted my thesis from the old \chapter format to the new > \startchapter … commands, to be more flexible when defining the titles for > toc etc. If you're just giving a title, e.g. > > \startsection[ >title={my fancy section} > ] > bla > \stopsection > > then the title is correctly displayed within the document. Nevertheless, > it ends up enclosed in curly braces in the PDF-Toc. My current workaround, > if I put a comma after the title > > \startsection[ > title={my fancy section}, > ] > > it looks fine. Guess this is bug, not expected behavior. > > \starttext \startsection[ title={my fancy section} ] bla \stopsection then the title is correctly displayed within the document. Nevertheless, it ends up enclosed in curly braces in the PDF-Toc. My current workaround, if I put a comma after the title \startsection[ title={my fancy section}, ] foo \stopsection \stoptext is ok here $ context --version mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /opt/luatex/standalone-mkiv-new/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2013.07.12 19:10 -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF-Toc text is wrong for new \start… commands
On 2013–07–16 Steffen Kram wrote: > A similar problem occurs, when using references: It might be a parser issue. ConTeXt uses different parsers for different commands. Most commands happily accept values without trailing comma. The commands using a different parser require a trailing comma. I recall this applied to \definepalet, \usepath and a few others. The issue occasionally pops up on the mailing list, since it's inconsistent and non-intuitive behaviour. http://www.ntg.nl/pipermail/ntg-context/2012/067585.html https://gist.github.com/phi-gamma/2941284#file-features-wiki-L258 Personally I don't use that syntax any more. It doesn't work reliably and fails occasionally with particular commands. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF-Toc text is wrong for new \start… commands
There’s a similar quirk in the title and author attributes of \setupinteraction. I’ve just got myself into a habit of always having a trailing comma in […,…] lists, and haven’t had any problems with that so far. Gareth ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF-Toc text is wrong for new \start… commands
A similar problem occurs, when using references: \startsection[ title={my fancy section}, ] \startsubsection[title={first subsection}] \in{see}[secsub] \stopsubsection \startsubsection[ title={second subsection}, reference=secsub ] foo \stopsubsection \stopsection the \in reference does not work, as long as you don't declare the reference as \startsubsection[ title={second subsection}, reference=secsub, ] Since other context commands don't work that way, I guess something is wrong … Steffen Am 16.07.2013 um 10:10 schrieb Steffen Kram : > Hi all, > > I just converted my thesis from the old \chapter format to the new > \startchapter … commands, to be more flexible when defining the titles for > toc etc. If you're just giving a title, e.g. > > \startsection[ > title={my fancy section} > ] > bla > \stopsection > > then the title is correctly displayed within the document. Nevertheless, it > ends up enclosed in curly braces in the PDF-Toc. My current workaround, if I > put a comma after the title > > \startsection[ >title={my fancy section}, > ] > > it looks fine. Guess this is bug, not expected behavior. > > Cheers, > Steffen > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] PDF-Toc text is wrong for new \start… commands
Hi all, I just converted my thesis from the old \chapter format to the new \startchapter … commands, to be more flexible when defining the titles for toc etc. If you're just giving a title, e.g. \startsection[ title={my fancy section} ] bla \stopsection then the title is correctly displayed within the document. Nevertheless, it ends up enclosed in curly braces in the PDF-Toc. My current workaround, if I put a comma after the title \startsection[ title={my fancy section}, ] it looks fine. Guess this is bug, not expected behavior. Cheers, Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___