ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bookmark linebreak and indentation
@ 2013-01-04  9:56 ShcO
  2013-01-04 10:12 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: ShcO @ 2013-01-04  9:56 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 581 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 722 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 2+ messages in thread

* Re: bookmark linebreak and indentation
  2013-01-04  9:56 bookmark linebreak and indentation ShcO
@ 2013-01-04 10:12 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2013-01-04 10:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.01.2013 um 10:56 schrieb ShcO <nightmaretroubadour@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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-01-04 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-04  9:56 bookmark linebreak and indentation ShcO
2013-01-04 10:12 ` 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).