bookmark linebreak and indentation
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
Am 04.01.2013 um 10:56 schrieb 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
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
participants (2)
-
ShcO
-
Wolfgang Schuster