I would like to create PDF bookmarks in my ConTeXt document, but I do not want my document arranged in "normal" chapter/sections. I know that I can do \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark] and then in my document I can do \chapter{Foo} In this case, my PDF bookmark appears as "1 Foo". Furthermore, in the document itself, the chapter heading shows as "1 Foo". I would like the bookmark to just appear as "Foo" and I do not want ANY chapter/section headings when I issue the \chapter{Foo} or \section{Bar} commands. That is, in the document, I would like those commands to basically JUST create the bookmarks and have the bookmarks omit the chapter/section number. Troy
On Jan 26, 2013, at 1:01 PM, Troy Henderson
I would like to create PDF bookmarks in my ConTeXt document, but I do not want my document arranged in "normal" chapter/sections. I know that I can do
\setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]
and then in my document I can do
\chapter{Foo}
In this case, my PDF bookmark appears as "1 Foo". Furthermore, in the document itself, the chapter heading shows as "1 Foo". I would like the bookmark to just appear as "Foo" and I do not want ANY chapter/section headings when I issue the \chapter{Foo} or \section{Bar} commands. That is, in the document, I would like those commands to basically JUST create the bookmarks and have the bookmarks omit the chapter/section number.
Troy
Try this: \setuphead[chapter,section,subsection][number=no,placehead=no] ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).
\setuphead[chapter,section,subsection][number=no,placehead=no]
Outstanding. The only problem that I have now is that issuing \chapther{Foo} immediately before \copypages[path/to/file.pdf] forces a new (blank) page before the external page is inserted. Without the \chapter{Foo} command, this new page is not inserted. Troy
On Jan 26, 2013, at 4:21 PM, Troy Henderson
\chapter{Foo}\page[no] \copypages[path/to/file.pdf]
did the trick.
Troy
This should work, too: \setuphead[chapter,section,subsection][number=no,placehead=no,page=no] ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).
participants (2)
-
Rogers, Michael K
-
Troy Henderson