[NTG-context] bookmark linebreak and indentation

2013-01-04 Thread ShcO
dear list,

i have two problem need your help
1. if use \\, there will show a '\' in bookmark, how to ignore it.
2. if use \midaligned, the next pargraph's indentation will not work
properly. there is no problem with using \startalignment[middle].

ex:
\setupinteraction[state=start]
\placebookmarks[chapter]
\setupinteractionscreen[option=bookmark]
\setupindenting[yes, big, first]
\setupheads[indentnext=yes]
\starttext
\chapter{Long\\ title}
\midaligned{knuth}
\input knuth
\stoptext

--ver--
ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.3

Thank you.

--
Best regards,
Lukas
___
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] bookmark linebreak and indentation

2013-01-04 Thread Wolfgang Schuster

Am 04.01.2013 um 10:56 schrieb ShcO nightmaretroubad...@gmail.com:

 dear list,
 
 i have two problem need your help
 1. if use \\, there will show a '\' in bookmark, how to ignore it.
 2. if use \midaligned, the next pargraph's indentation will not work 
 properly. there is no problem with using \startalignment[middle].
 
 ex:
 \setupinteraction[state=start]
 \placebookmarks[chapter]
 \setupinteractionscreen[option=bookmark]
 \setupindenting[yes, big, first]
 \setupheads[indentnext=yes]
 \starttext
 \chapter{Long\\ title}
 \midaligned{knuth}
 \input knuth
 \stoptext

1. Separate your paragraphs with blank lines in the input.

2. Use \startchapter to set a different text for the bookmark.

3. Remove the space after \\ because it adds a unwanted space in the table of 
contents.

\starttext

\startchapter[title={Long\\title},bookmark={Short title}]

\midaligned{knuth}

\input knuth

\stopchapter

\stoptext

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
___