ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Heading with linebreaks in pdf bookmarks: linebreak sign stays
@ 2011-07-17 14:51 Peter Schorsch
  2011-07-17 15:44 ` Thomas A. Schmitz
  2011-07-17 16:29 ` Wolfgang Schuster
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Schorsch @ 2011-07-17 14:51 UTC (permalink / raw)
  To: ntg-context

Hi,

as soon I have a linebreak inside a heading via \\ I get this
\\ also in the text of that heading in the pdf-bookmarks:

\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection][chapter,section]

\starttext
\completecontent[criterium=all]
\chapter{A very,\\very long long title}
\chapter{A very, very long long title}
\stoptext

What did I forgot to get rid of the linebreak sign in the pdf
bookmarks?
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Heading with linebreaks in pdf bookmarks: linebreak sign stays
  2011-07-17 14:51 Heading with linebreaks in pdf bookmarks: linebreak sign stays Peter Schorsch
@ 2011-07-17 15:44 ` Thomas A. Schmitz
  2011-07-17 16:29 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas A. Schmitz @ 2011-07-17 15:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 7/17/11 4:51 PM, Peter Schorsch wrote:
> Hi,
>
> as soon I have a linebreak inside a heading via \\ I get this
> \\ also in the text of that heading in the pdf-bookmarks:
>
> \setupinteraction[state=start]
> \placebookmarks[chapter,section,subsection][chapter,section]
>
> \starttext
> \completecontent[criterium=all]
> \chapter{A very,\\very long long title}
> \chapter{A very, very long long title}
> \stoptext
>
> What did I forgot to get rid of the linebreak sign in the pdf
> bookmarks?


\startchapter[title={A very,\\very long long title},bookmark={A very, 
very long long title}]

Bla

\stopchapter

HTH

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Heading with linebreaks in pdf bookmarks: linebreak sign stays
  2011-07-17 14:51 Heading with linebreaks in pdf bookmarks: linebreak sign stays Peter Schorsch
  2011-07-17 15:44 ` Thomas A. Schmitz
@ 2011-07-17 16:29 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2011-07-17 16:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 17.07.2011 um 16:51 schrieb Peter Schorsch:

> Hi,
> 
> as soon I have a linebreak inside a heading via \\ I get this
> \\ also in the text of that heading in the pdf-bookmarks:
> 
> \setupinteraction[state=start]
> \placebookmarks[chapter,section,subsection][chapter,section]
> 
> \starttext
> \completecontent[criterium=all]
> \chapter{A very,\\very long long title}
> \chapter{A very, very long long title}
> \stoptext
> 
> What did I forgot to get rid of the linebreak sign in the pdf
> bookmarks?

Use \startchapter as Thomas suggests or add

  \appendtoks\def\\{ }\to \simplifiedcommands

to the begin of your document.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-17 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-17 14:51 Heading with linebreaks in pdf bookmarks: linebreak sign stays Peter Schorsch
2011-07-17 15:44 ` Thomas A. Schmitz
2011-07-17 16:29 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).