Re: [NTG-context] bookmark expansion again
On 5/27/19 8:46 PM, Wolfgang Schuster wrote: > [...] > You can try > \setuphead[section][expansion=yes] Many thanks for your reply, Wolfgang. This is exactly what I needed. I promise I checked it (with "expansion=xml" mainly) and I saw no real expansion. But I missed something, since it works perfectly fine now. > or (for documents which use XML as input format) > \setuphead[section][expansion=xml] With "expansion=xml" I don’t get titles in text and bookmarks are wrong. "expansion=xml" must be needed for something different (I wonder what could be). Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] bookmark expansion again
Pablo Rodriguez schrieb am 27.05.2019 um 20:33: Hi Hans, I have the following sample: \def\eap{expansion} \def\MyContent{Expanded \eap} %~ \enabledirectives[references.bookmarks.preroll] \setupinteraction[state=start, title={\MyContent}] \placebookmarks[section] \starttext \section{\MyContent} \startsection[title=\MyContent, bookmark=\MyContent] \stopsection \stoptext I see that now PDF contents are prerolled by default (which I think it is a great idea [I hope it isn’t a bug]). But bookmarks alone (when aren’t prerolled. From strc-sec.mkiv, I see that prerolling is only applied to \currentstructuretitle when \currentstructurebookmark is empty. Would it be possible that \currentstructurebookmark could have prerolling when it is different from \currentstructuretitle? Sorry for insisting, but I need this to avoid having "main:345{/h2}" as bookmark for some chapters. You can try \setuphead[section][expansion=yes] or (for documents which use XML as input format) \setuphead[section][expansion=xml] 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] bookmark expansion again
Hi Hans, I have the following sample: \def\eap{expansion} \def\MyContent{Expanded \eap} %~ \enabledirectives[references.bookmarks.preroll] \setupinteraction[state=start, title={\MyContent}] \placebookmarks[section] \starttext \section{\MyContent} \startsection[title=\MyContent, bookmark=\MyContent] \stopsection \stoptext I see that now PDF contents are prerolled by default (which I think it is a great idea [I hope it isn’t a bug]). But bookmarks alone (when aren’t prerolled. From strc-sec.mkiv, I see that prerolling is only applied to \currentstructuretitle when \currentstructurebookmark is empty. Would it be possible that \currentstructurebookmark could have prerolling when it is different from \currentstructuretitle? Sorry for insisting, but I need this to avoid having "main:345{/h2}" as bookmark for some chapters. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] no bookmark prerollling in bookmark option
Dear list, I have the following sample: \def\MyContent{This is expanded content} \enabledirectives[references.bookmarks.preroll] \setupinteraction[state=start, title={\MyContent}] \placebookmarks[section] \starttext \section{\MyContent} \startsection[title=\MyContent] \stopsection \startsection[title=\MyContent, bookmark=\MyContent] \stopsection \stoptext Bookmarks aren’t prerolled when the bookmark option from \startSECTION is used. I think it may be a bug. Could anyone confirm it? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wrong bookmark for TOC
On 09/04/2016 07:28 PM, Wolfgang Schuster wrote: >> Henri Menke <mailto:henrime...@gmail.com> >> 4. September 2016 um 13:28 >> Dear list, >> >> when I specify that titles should be added to the bookmarks, the text of the >> bookmark is somewhat wrong. The heading of the table of contents is >> »Contents«, so I expect this to appear as bookmark. Unfortunately, the >> bookmark read »content« (all lowercase and singular). MWE is below. How do I >> fix this? >> >> Cheers, Henri >> >> --- >> > \enabledirectives[references.bookmarks.preroll] Thank you Wolfgang, but hat enables expansion for all macros in bookmarks. For me it is okay but this is perhaps not the best way to deal with it. I think strings like »content« should be expanded by default in bookmarks (just like synonyms). Cheers, Henri >> \setupinteraction[state=start] >> \placebookmarks[chapter,title][force=yes] >> \starttext >> \completecontent >> \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 > ___ > ___ 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 ___
[NTG-context] issue with bookmark for sections
Dear list, I have the following sample: \setuppapersize[A5] \setupinteraction[state=start, focus=standard] \startsetups[placelist:section] \start \setupinterlinespace [line=2.8ex] \placelist [section] [alternative=d, pagenumber=no, style=\itxx] \par \stop \stopsetups \setuplist [chapter] [after=\directsetup{placelist:section}] \starttext \completecontent \dorecurse{5}{\chapter{Chapter \Romannumerals{\recurselevel}} \dorecurse{10}{\section{Section}\input zapf\par\input knuth} } \stoptext The setups are required to allow a different interline space in the list of section items from the content lists. But the issue I’m experiencing is that the bookmarks from the first sections in each chapter have their destinations in the chapter and not in its section titles. Am I missing something or this is a bug in ConTeXt? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] wrong bookmark destinations in PDF files
On 03/27/2014 08:07 PM, Hans Hagen wrote: On 3/27/2014 7:13 PM, Pablo Rodriguez wrote: Hans, I’m afraid that bookmark destinations are wrong in latest beta from 2014.03.25 16:58. [...] fixed (hopefully) Many thanks for the fast fix, Hans. I’m experiencing two other issues with bookmarks, but I’ll report them in another message. Pablo -- http://www.ousia.tk ___ 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 ___
[NTG-context] wrong bookmark destinations in PDF files
Hans, I’m afraid that bookmark destinations are wrong in latest beta from 2014.03.25 16:58. Here you have the minimal sample (that I copied from source): \nopdfcompression \starttext \setupinteraction[state=start]\setupinteractionscreen[option=bookmark] \placebookmarks[chapter,section,subsection][chapter] \chapter{First} \bookmark{The First Indeed} \section{alpha} \bookmark[chapter]{The First Indeed Again} \section{beta} \chapter{Second} \bookmark{The Second Indeed} \section{gamma \tex{radiation}} \subsection{a} \subsection{b} \section{delta} \section{epsilon} \chapter{Third \relax} \chapter{我〈能吞下玻璃而不傷身〉體。}% whatever that means \chapter{Idris Samawi Hamid ادريس سماوي حامد} \stoptext The output generated with beta from 2014.03.25 16:58 (http://www.ousia.tk/wrong-destination.pdf) contains bookmarks that don’t work either in okular or in SumatraPDF (I don’t have other viewers to check it). The output generated with beta from 2014.03.07 11:42 (http://www.ousia.tk/right-destination.pdf) works fine with these viewers. I’m afraid this might be a bug. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] wrong bookmark destinations in PDF files
On 3/27/2014 7:13 PM, Pablo Rodriguez wrote: Hans, I’m afraid that bookmark destinations are wrong in latest beta from 2014.03.25 16:58. Here you have the minimal sample (that I copied from source): \nopdfcompression \starttext \setupinteraction[state=start]\setupinteractionscreen[option=bookmark] \placebookmarks[chapter,section,subsection][chapter] \chapter{First} \bookmark{The First Indeed} \section{alpha} \bookmark[chapter]{The First Indeed Again} \section{beta} \chapter{Second} \bookmark{The Second Indeed} \section{gamma \tex{radiation}} \subsection{a} \subsection{b} \section{delta} \section{epsilon} \chapter{Third \relax} \chapter{我〈能吞下玻璃而不傷身〉體。}% whatever that means \chapter{Idris Samawi Hamid ادريس سماوي حامد} \stoptext fixed (hopefully) The output generated with beta from 2014.03.25 16:58 (http://www.ousia.tk/wrong-destination.pdf) contains bookmarks that don’t work either in okular or in SumatraPDF (I don’t have other viewers to check it). The output generated with beta from 2014.03.07 11:42 (http://www.ousia.tk/right-destination.pdf) works fine with these viewers. I’m afraid this might be a bug. indeed a side effect of a partial reimplementation Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] 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 ___ 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
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 ___
Re: [NTG-context] solution for missing bookmark (minimal example)
Am 27.02.2012 um 23:21 schrieb Hans Hagen: On 25-2-2012 10:32, Steffen Wolfrum wrote: Hi, is there a chance that this problem can be solved within the next days (the publishers won't wait too long for the working PDF). Sorry for being persistent, I have to catch up after a week of flu and have some deadlines to catch as well. Going over old code (that I don't even have on my machine any more) is not on the agenda now. If it's just a few bookmarks being wrong, can't you just add them in acrobat then? It's about 30 to 40 bookmarks missing. Sure, these can be added in Acrobat. But the corresponding 30 to 40 links from the table of content to their respective pages are missing too ... and how to add these? Do you want me to send you a zipped version 2011.05.14? Steffen ___ 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] solution for missing bookmark (minimal example)
On Tue, Feb 28, 2012 at 9:19 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Am 27.02.2012 um 23:21 schrieb Hans Hagen: On 25-2-2012 10:32, Steffen Wolfrum wrote: Hi, is there a chance that this problem can be solved within the next days (the publishers won't wait too long for the working PDF). Sorry for being persistent, I have to catch up after a week of flu and have some deadlines to catch as well. Going over old code (that I don't even have on my machine any more) is not on the agenda now. If it's just a few bookmarks being wrong, can't you just add them in acrobat then? It's about 30 to 40 bookmarks missing. Sure, these can be added in Acrobat. But the corresponding 30 to 40 links from the table of content to their respective pages are missing too ... and how to add these? http://www.ehow.com/how_9665_create-links-pdf.html (but keep in mind that often I don't understand the questions...) -- luigi ___ 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] solution for missing bookmark (minimal example)
On 25-2-2012 10:32, Steffen Wolfrum wrote: Hi, is there a chance that this problem can be solved within the next days (the publishers won't wait too long for the working PDF). Sorry for being persistent, I have to catch up after a week of flu and have some deadlines to catch as well. Going over old code (that I don't even have on my machine any more) is not on the agenda now. If it's just a few bookmarks being wrong, can't you just add them in acrobat then? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] solution for missing bookmark (minimal example)
Hi, is there a chance that this problem can be solved within the next days (the publishers won't wait too long for the working PDF). Sorry for being persistent, Steffen Am 23.02.2012 um 09:53 schrieb Steffen Wolfrum: Hi Hans I managed to narrow down my example to just one bibliography, no index, no register, nothing fancy. If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the bookmarks FIVE, SIX and SEVEN do not work. If you run this minimal example with all your tracing magic, can't you find where the bug hides (that was part of MkIV at least since May 2011 and vanished no more than with your experimental February 2012 versions)? Steffen --- \setuppublications[state=start,refcommand=author] \setupcite [author] [pubsep={},lastpubsep={},inbetween={}, left={},right={},andtext={|::|}, otherstext={ \tf et al.}] \newbibfield[shorttitle] \newbibfield[shortauthor] \unexpanded\def\mycite {\dodoubleempty\domycite} \def\domycite[#1][#2]#3% {\bgroup \nocite[#3]% \getcitedata[shortauthor][#3] to \myshortauthor% \getcitedata[shorttitle][#3] to \myshorttitle% \getcitedata[title][#3] to \mytitle% \getcitedata[journal][#3] to \myjournal% \doifsomethingelse{#2} {{\em #1} in: \doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]}, \doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}\doifsomethingelse{#1}{, #2}{}} {{\em\doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]}}, \doifsomethingelse{\myjournal}{{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\doifsomethingelse{\myjournal}{\myjournal\doifsomethingelse{\myvolume}{\ \myvolume\ [\mypubyear]}{\ \mypubyear}}{\mytitle{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}}\doifsomethingelse{#1}{, #1}{}}% \egroup} \setuppublicationlist[samplesize={DDBD08},totalnumber=2] \startpublication[k=Duetz2008,t=book, a={{Dütz}},y=2009, n=53,s=Düt09] \title{Arbeitsrecht} \stoppublication % \starttext \setupinteraction [state=start,style=,color=black] \placebookmarks [chapter,section,subsection,subsubsection] [chapter,section,subsection,subsubsection][force=yes] \chapter{ONE} \section{TWO} \input tufte \footnote{\input ward} \subsection{THREE} \subsubsection{FOUR} Text.\footnote{% Siehe \cite{Duetz2008}; \mycite[Rn. 556 ff.]{Duetz2008}; \mycite[Rn. 556 ff.]{Duetz2008}; } \dorecurse{5}{\input tufte \footnote{\input ward}} \subsubsection{FIVE} {\input tufte \footnote{\input ward}} \subsection{SIX} \subsubsection{SEVEN} {\input tufte \footnote{\input ward}} \stoptext ___ 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 ___ ___ 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 ___
[NTG-context] solution for missing bookmark (minimal example)
Hi Hans I managed to narrow down my example to just one bibliography, no index, no register, nothing fancy. If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the bookmarks FIVE, SIX and SEVEN do not work. If you run this minimal example with all your tracing magic, can't you find where the bug hides (that was part of MkIV at least since May 2011 and vanished no more than with your experimental February 2012 versions)? Steffen --- \setuppublications[state=start,refcommand=author] \setupcite [author] [pubsep={},lastpubsep={},inbetween={}, left={},right={},andtext={|::|}, otherstext={ \tf et al.}] \newbibfield[shorttitle] \newbibfield[shortauthor] \unexpanded\def\mycite {\dodoubleempty\domycite} \def\domycite[#1][#2]#3% {\bgroup \nocite[#3]% \getcitedata[shortauthor][#3] to \myshortauthor% \getcitedata[shorttitle][#3] to \myshorttitle% \getcitedata[title][#3] to \mytitle% \getcitedata[journal][#3] to \myjournal% \doifsomethingelse{#2} {{\em #1} in: \doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]}, \doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}\doifsomethingelse{#1}{, #2}{}} {{\em\doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]}}, \doifsomethingelse{\myjournal}{{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\doifsomethingelse{\myjournal}{\myjournal\doifsomethingelse{\myvolume}{\ \myvolume\ [\mypubyear]}{\ \mypubyear}}{\mytitle{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}}\doifsomethingelse{#1}{, #1}{}}% \egroup} \setuppublicationlist[samplesize={DDBD08},totalnumber=2] \startpublication[k=Duetz2008,t=book, a={{Dütz}},y=2009, n=53,s=Düt09] \title{Arbeitsrecht} \stoppublication % \starttext \setupinteraction [state=start,style=,color=black] \placebookmarks [chapter,section,subsection,subsubsection] [chapter,section,subsection,subsubsection][force=yes] \chapter{ONE} \section{TWO} \input tufte \footnote{\input ward} \subsection{THREE} \subsubsection{FOUR} Text.\footnote{% Siehe \cite{Duetz2008}; \mycite[Rn. 556 ff.]{Duetz2008}; \mycite[Rn. 556 ff.]{Duetz2008}; } \dorecurse{5}{\input tufte \footnote{\input ward}} \subsubsection{FIVE} {\input tufte \footnote{\input ward}} \subsection{SIX} \subsubsection{SEVEN} {\input tufte \footnote{\input ward}} \stoptext ___ 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] solution for missing bookmark (minimal example)
On Thu, Feb 23, 2012 at 9:53 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi Hans I managed to narrow down my example to just one bibliography, no index, no register, nothing fancy. If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the bookmarks FIVE, SIX and SEVEN do not work. They seems ok with AdobeReader 9.4 on linux. -- luigi ___ 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] solution for missing bookmark (minimal example)
Am 23.02.2012 um 14:19 schrieb luigi scarso: On Thu, Feb 23, 2012 at 9:53 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi Hans I managed to narrow down my example to just one bibliography, no index, no register, nothing fancy. If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the bookmarks FIVE, SIX and SEVEN do not work. They seems ok with AdobeReader 9.4 on linux. You must be joking?! I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... and all results were the same: no link for bookmark FIVE, SIX, SEVEN. Did you actually test to click on the link? Steffen --- link_test.pdf Description: Adobe PDF document ___ 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] solution for missing bookmark (minimal example)
On Thu, Feb 23, 2012 at 2:45 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: Am 23.02.2012 um 14:19 schrieb luigi scarso: On Thu, Feb 23, 2012 at 9:53 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi Hans I managed to narrow down my example to just one bibliography, no index, no register, nothing fancy. If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the bookmarks FIVE, SIX and SEVEN do not work. They seems ok with AdobeReader 9.4 on linux. You must be joking?! no, maybe I don't understand the problem. I will check your pdf asap. -- luigi ___ 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] solution for missing bookmark (minimal example)
On 2012-02-23 14:45, Steffen Wolfrum wrote: I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... and all results were the same: no link for bookmark FIVE, SIX, SEVEN. Confirmed for version 2012-01-16/Linux x64 with Okular. (Current beta seems fine, though.) Philipp Did you actually test to click on the link? Steffen --- ___ 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 ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpoOKwtlJeAm.pgp Description: PGP signature ___ 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] solution for missing bookmark (minimal example)
Am 23.02.2012 um 15:48 schrieb Philipp Gesang: On 2012-02-23 14:45, Steffen Wolfrum wrote: I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... and all results were the same: no link for bookmark FIVE, SIX, SEVEN. Confirmed for version 2012-01-16/Linux x64 with Okular. (Current beta seems fine, though.) but current beta shouldn't be used, as it has not yet (fully) working footnotes. thus, a version before february must be used ... (that's a problem). Steffen ___ 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] Wrong bookmark for publications list
On 8-12-2011 11:24, Marco wrote: There is an inconsistency concerning the bookmarks for the publications list. It generates the section head “References”, but the PDF bookmark “pubs”. \setupinteraction [state=start] \placebookmarks \starttext this is because the title is derived from a labeltext and bookmarks don't work that way ... % generates bookmark ”pubs” \completepublications % workaround: % generates bookmark ”References” \startchapter [title=References] \placepublications \stopchapter indeed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Wrong bookmark for publications list
On 2011-12-09 Hans Hagen pra...@wxs.nl wrote: On 8-12-2011 11:24, Marco wrote: There is an inconsistency concerning the bookmarks for the publications list. It generates the section head “References”, but the PDF bookmark “pubs”. \setupinteraction [state=start] \placebookmarks \starttext this is because the title is derived from a labeltext and bookmarks don't work that way ... That means it is not a bug, but expected behaviour? Marco ___ 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] Wrong bookmark for publications list
On 9-12-2011 20:53, Marco wrote: On 2011-12-09 Hans Hagenpra...@wxs.nl wrote: On 8-12-2011 11:24, Marco wrote: There is an inconsistency concerning the bookmarks for the publications list. It generates the section head “References”, but the PDF bookmark “pubs”. \setupinteraction [state=start] \placebookmarks \starttext this is because the title is derived from a labeltext and bookmarks don't work that way ... That means it is not a bug, but expected behaviour? indeed. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] Wrong bookmark for publications list
There is an inconsistency concerning the bookmarks for the publications list. It generates the section head “References”, but the PDF bookmark “pubs”. \setupinteraction [state=start] \placebookmarks \starttext % generates bookmark ”pubs” \completepublications % workaround: % generates bookmark ”References” \startchapter [title=References] \placepublications \stopchapter \stoptext Marco ___ 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 ___
[NTG-context] incrementnumber and bookmark
Hello, What is the relationship between incrementnumber and bookmarks? I don't get the desired bookmark here: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[title] \starttext \starttitle[title=Test title] bla \stoptitle \stoptext But with \setuphead[title][incrementnumber=list] it works. Is this behaviour wanted? If yes, then why? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] incrementnumber and bookmark
On Wednesday 23 June 2010 09:10:17 Peter Münster wrote: Hello, What is the relationship between incrementnumber and bookmarks? I don't get the desired bookmark here: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[title] \starttext \starttitle[title=Test title] bla \stoptitle \stoptext But with \setuphead[title][incrementnumber=list] it works. Is this behaviour wanted? If yes, then why? Cheers, Peter As I understand, \title does not add an entry to the toc, nor to the bookmarks list either; You change this behavior with \setuphead. On the subject of bookmarks, I have not been able to see (looking at the code) how to add the numbers to the bookmark list, as in the LaTeX hyperref option: \usepackage[bookmarksnumbered=true]{hyperref} Alan ___ 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 ___
[NTG-context] bookmark for index
Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that? Thanks, Matthias ___ 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 for index
On 20-5-2010 6:01, Matthias Weber wrote: Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that? \startchapter[title=Index,bookmark=TITLE] \placeregister[index] \stopchapter - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 for index
Thanks Hans, is there a mk2 solution as well? Matthias On May 20, 2010, at 1:01 PM, Hans Hagen wrote: On 20-5-2010 6:01, Matthias Weber wrote: Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that? \startchapter[title=Index,bookmark=TITLE] \placeregister[index] \stopchapter - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___ ___ 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 for index
On 20-5-2010 7:33, Matthias Weber wrote: is there a mk2 solution as well? no, well, you could do macro magic like \unexpanded\def\mybookmarktitle{\firstofoneargument} \unexpanded\def\mybookmarktitle{\secondofoneargument} \title{\mybookmarktitle{Index}{INDEX}} with the right definition at the right time - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Incorrect bookmark title of \completelistofabbreviations and no abbreviations are listed
On Tue, Mar 10, 2009 at 13:44, Nikolai Weibull n...@bitwi.se wrote: In neither --lua nor --xtx do I get a list of abbreviations with \completelistofabbreviations. The bookmark text is \headtext {abbreviations} for both. Can I at least get an acknowledgement that this is a problem with LuaTeX and that there's no simple fix at the moment so that I can begin working around it? Thanks. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Incorrect bookmark title of \completelistofabbreviations and no abbreviations are listed
On Tue, Mar 10, 2009 at 1:44 PM, Nikolai Weibull n...@bitwi.se wrote: Hi! Long time no post. Anyway, I’m writing a document where I’m using abbreviations. In neither --lua nor --xtx do I get a list of abbreviations with \completelistofabbreviations. The bookmark text is \headtext {abbreviations} for both. With --pdf I get a list of abbreviations and the bookmark text is abbreviations. Here's a minimal example: \setupheadtext[en][abbreviations={Abbreviations Used in This Document}] \abbreviation{CSS}{Cascading Style Sheets} \setupinteraction [state=start, menu=on] \placebookmarks[chapter] \starttext \startbodymatter \CSS\ stands for \infull{CSS}. \stopbodymatter \startbackmatter \completelistofabbreviations \stopbackmatter \stoptext $ context test.tex seems to work ok here with latest minimals, or I don't understand the problem . -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Incorrect bookmark title of \completelistofabbreviations and no abbreviations are listed
Hi! Long time no post. Anyway, I’m writing a document where I’m using abbreviations. In neither --lua nor --xtx do I get a list of abbreviations with \completelistofabbreviations. The bookmark text is \headtext {abbreviations} for both. With --pdf I get a list of abbreviations and the bookmark text is abbreviations. Here's a minimal example: \setupheadtext[en][abbreviations={Abbreviations Used in This Document}] \abbreviation{CSS}{Cascading Style Sheets} \setupinteraction [state=start, menu=on] \placebookmarks[chapter] \starttext \startbodymatter \CSS\ stands for \infull{CSS}. \stopbodymatter \startbackmatter \completelistofabbreviations \stopbackmatter \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] last bookmark is wrong
Hello, The last bookmark is s3 instead of b3 (MKII and MKIV): \setupinteraction[state=start] \placebookmarks[section] \starttext \section{s1}\bookmark{b1} \section{s2}\bookmark{b2} \section{s3}\bookmark{b3} \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] last bookmark is wrong
Peter Münster wrote: Hello, The last bookmark is s3 instead of b3 (MKII and MKIV): \setupinteraction[state=start] \placebookmarks[section] \starttext \section{s1}\bookmark{b1} \section{s2}\bookmark{b2} \section{s3}\bookmark{b3} \stoptext That is because there is no text at all following the last bookmark, so hopefully this buglet will not affect any finished documents. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] last bookmark is wrong
Peter Münster wrote: That is because there is no text at all following the last bookmark, so hopefully this buglet will not affect any finished documents. Ok, here comes a better example: I did not say there was no bug, just that it is unlikely to be hit ;-) The \bookmark command works out fine in context enters horizontal (paragraph) mode before the \stoptext, and it is wrong otherwise. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] last bookmark is wrong
Peter Münster wrote: On Sat, Jun 07 2008, Taco Hoekwater wrote: The last bookmark is s3 instead of b3 (MKII and MKIV): \setupinteraction[state=start] \placebookmarks[section] \starttext \section{s1}\bookmark{b1} \section{s2}\bookmark{b2} \section{s3}\bookmark{b3} \stoptext That is because there is no text at all following the last bookmark, so hopefully this buglet will not affect any finished documents. Ok, here comes a better example: \setupinteraction[state=start] \placebookmarks[section] \starttext \section{s1}\bookmark{b1} bla \section{s2}\bookmark{b2} bla \section{s3}\bookmark{b3} \bTABLE\bTR\bTD bla\eTD\eTR\eTABLE this is because there is no everypar applied - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] last bookmark is wrong
Peter Münster wrote: Hello, The last bookmark is s3 instead of b3 (MKII and MKIV): \setupinteraction[state=start] \placebookmarks[section] \starttext \section{s1}\bookmark{b1} \section{s2}\bookmark{b2} \section{s3}\bookmark{b3} \the\everpar \stoptext indeed, this is because bookmarks are handled at the next paragraph (which makes overloading easier) the future alternative is start/stopsection Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bookmark question
Your solution works, but now I have to rewrite my carefully crafted environment and setups. I rather wish your solution works within the start/stop frontmatter construct. Is this possible ? Kind regards Wim WN wrote: This is what I would like to do \startfrontmatter \bookmark[chapter]{Inhoudsopgave} \completecontent[partnumber=no] \page \bookmark[chapter]{Lijst van figuren} \completelistoffigures[partnumber=no] \stopfrontmatter \startbodymatter \component chapter01 \component chapter02 \stopbodymatter the bookmarks only appears with the [chapter] included, but twice. Also they appear twice in the table of contents (which is consistent). \setupinteraction[state=start] \placebookmarks \starttext \completecontent[partnumber=no] \bookmark[chapter]{Inhoudsopgave} \page \completelistoffigures[partnumber=no] \bookmark[chapter]{Lijst van figuren} \chapter{first} \chapter{second} \stoptext I would like the bookmarks to appear once and not in the TOC. Perhaps Hans can take the above code, as indeed your code works but not in the above code. Best wishes Wim Taco Hoekwater wrote: WN wrote: I think chapter titles are supposed appear automatically in the bookmarks, no need for an explicit \bookmark. True enough. But should they appear twice ? I want a custom bookmark for the table of contents and list of figures, so I used \bookmark[chapter] to include these (once not twice). Ah, I see now. Looks like a bug to me. I do not understand the code well enough to fix it, however. I am attaching a minimal example for Hans. (meanwhile, you could use \bookmark without the optional argument). Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bookmark question
WN wrote: Hi, When I use \bookmark[chapter]{Some bookmark} the bookmark appears twice in the list of bookmarks but the bookmark also appears twice in the Table of Contents. I think chapter titles are supposed appear automatically in the bookmarks, no need for an explicit \bookmark. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bookmark question
Taco Hoekwater wrote: WN wrote: Hi, When I use \bookmark[chapter]{Some bookmark} the bookmark appears twice in the list of bookmarks but the bookmark also appears twice in the Table of Contents. I think chapter titles are supposed appear automatically in the bookmarks, no need for an explicit \bookmark. True enough. But should they appear twice ? I want a custom bookmark for the table of contents and list of figures, so I used \bookmark[chapter] to include these (once not twice). Best wishes Wim Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bookmark question
WN wrote: I think chapter titles are supposed appear automatically in the bookmarks, no need for an explicit \bookmark. True enough. But should they appear twice ? I want a custom bookmark for the table of contents and list of figures, so I used \bookmark[chapter] to include these (once not twice). Ah, I see now. Looks like a bug to me. I do not understand the code well enough to fix it, however. I am attaching a minimal example for Hans. (meanwhile, you could use \bookmark without the optional argument). Best wishes, Taco \setupinteraction[state=start] \placebookmarks[chapter][chapter] \setupinteractionscreen[option=bookmark] \starttext \chapter{In the beginning} \bookmark[chapter]{In initio} % Without [chapter], this is fine! Oh no. \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bookmark question
WN wrote: This is what I would like to do \startfrontmatter \bookmark[chapter]{Inhoudsopgave} \completecontent[partnumber=no] \page \bookmark[chapter]{Lijst van figuren} \completelistoffigures[partnumber=no] \stopfrontmatter \startbodymatter \component chapter01 \component chapter02 \stopbodymatter the bookmarks only appears with the [chapter] included, but twice. Also they appear twice in the table of contents (which is consistent). \setupinteraction[state=start] \placebookmarks \starttext \completecontent[partnumber=no] \bookmark[chapter]{Inhoudsopgave} \page \completelistoffigures[partnumber=no] \bookmark[chapter]{Lijst van figuren} \chapter{first} \chapter{second} \stoptext I would like the bookmarks to appear once and not in the TOC. Perhaps Hans can take the above code, as indeed your code works but not in the above code. Best wishes Wim Taco Hoekwater wrote: WN wrote: I think chapter titles are supposed appear automatically in the bookmarks, no need for an explicit \bookmark. True enough. But should they appear twice ? I want a custom bookmark for the table of contents and list of figures, so I used \bookmark[chapter] to include these (once not twice). Ah, I see now. Looks like a bug to me. I do not understand the code well enough to fix it, however. I am attaching a minimal example for Hans. (meanwhile, you could use \bookmark without the optional argument). Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bookmark question
Hans Hagen wrote: WN wrote: This is what I would like to do \startfrontmatter \bookmark[chapter]{Inhoudsopgave} \completecontent[partnumber=no] \page \bookmark[chapter]{Lijst van figuren} \completelistoffigures[partnumber=no] \stopfrontmatter \startbodymatter \component chapter01 \component chapter02 \stopbodymatter the bookmarks only appears with the [chapter] included, but twice. Also they appear twice in the table of contents (which is consistent). \setupinteraction[state=start] \placebookmarks \starttext \completecontent[partnumber=no] \bookmark[chapter]{Inhoudsopgave} \page \completelistoffigures[partnumber=no] \bookmark[chapter]{Lijst van figuren} \chapter{first} \chapter{second} \stoptext That looks good, but why? Does \complexbookmark only work to overrule a yet-to-come sectioning command? Cheers, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bookmark question
Hans Hagen wrote: That looks good, but why? Does \complexbookmark only work to overrule a yet-to-come sectioning command? no, the previous one (bookmarks are flushed in everypar) in this case the \complete... has a \chapter so the bookmark influences that one So what is wrong with this input then? % engine=pdftex \setupinteraction[state=start] \placebookmarks \starttext \chapter{In the beginning} \bookmark[chapter]{In initio} % Without [chapter], this is fine! Oh no. \stoptext This creates three (3!) chapter bookmark entries: In the beginning In initio In initio instead of the expected 1: In initio Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Pdf bookmark
Hi, When I use \bookmark[chapter]{Some bookmark} the bookmark appears twice in the list of bookmarks but the bookmark also appears twice in the Table of Contents. Is this a known problem/bug or is there something I should do ? I am using ConTeXt ver: 2008.02.01 17:25 MKII fmt: 2008.2.4 int: english/english Kind regards Wim ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bookmark, underscore bug?
Hey all, I'm a new Context user, so forgive me if I do not have the standard formalities down... I have come across what I believe to be a bug with respect to filenames containing the underscore character '_' and the ability to generated pdf bookmarks (see http://en.wikipedia.org/wiki/ Image:Acroread.png image if you're not sure what exactly the bookmarks are in a pdf format) If I use the simple example \setupinteraction[state=start] \placebookmarks[chapter,section,subsection] \setupinteractionscreen[option=bookmark] \starttext \chapter{One} \section{demo} \stoptext The file new-file.tex and newfile.tex work properly, but the file new_file.tex does not. I'll gladly ignore for now and just use all alphnumerical letters... but I'm a big underscore user (as one can see from my email address), and would like to keep going that route if possible. Any information would be appreciated! Love the Context showcase demos... hope to build some of my own. -Rick ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Index and bookmark problem
Hi, I get an error when I use bookmarks in combination with indexed keywords in chapter/section like the example below. When I comment out the \placebookmarks, things seem to work. Is this behavior to be expected or is there a workaround/solution ? Kind regards Wim Neimeijer % Example % \setupinteraction[state=start] \placebookmarks[chapter] \setupinteractionscreen[option=bookmark] \starttext \chapter{Affiene connectie en affiene \index{geodeten}geodeten} \section{Inleiding} \index{Ruimtetijd} Ruimtetijd is een vierdimensionale differentieerbare vari\eteit. In de vorige paragrafen hebben we op grond van het equivalentieprincipe van Einstein een metriek en een metrische connectie op \index{Ruimtetijd} Ruimtetijd ingevoerd. In deze paragraaf zullen we wat algemener een \index{connectie+affiene}affiene connectie op \index{Ruimtetijd} Ruimtetijd invoeren. Het zal blijken dat de metrische en de affiene connectie aan elkaar gelijk kunnen zijn. \setupfootertexts[] \setupheadertexts[][][][] \setupregister[index] [partnumber=no, criterium=all, pagestyle={\tf}, style={\WORD}, % use uppercase header characters! interaction=pagenumber, align=yes] \completeindex \stoptext Error from log texmfstart texexec --autopdf --pdf testindex.tex TeXExec | processing document 'testindex.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file testindex.top TeXExec | using randomseed 1138 TeXExec | tex engine: pdfetex TeXExec | tex format: cont-en TeXExec | progname: context This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) \write18 enabled. (f:\context\usr\local\context\tex\texmf-local/web2c/natural.tcx) entering extended mode (./testindex.tex ConTeXt ver: 2006.11.16 12:02 MK II fmt: 2006.11.16 int: english/english language: language en is active system : cont-new loaded .. ( some info lines deleted) (f:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,tpd loaded ) systems : system commands are enabled interaction : active (./testindex.tuo) (./testindex.tuo ! Undefined control sequence. \doregister #1-\chardef \registerpagestatus \plusone \def \currentregister ... argument Affiene connectie en affiene \index {geodeten}geodeten \sanitizePDFdocencoding ...docencoding \edef #2{#1 } \doPDFinsertbookmark ...oding #3\to \bookmarktext \stripstring \bookmarktext... argument \flushbookmark \dodoputbookmarkelement {\v!chapter }{10}{2}{\head... \secondoftwoarguments #1#2-#2 l.27 ...\headtext {index}}{2--0-2-0-0-0-0-0--3}{3} ? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index and bookmark problem
On Fri, 1 Dec 2006, Wim Neimeijer wrote: Hi, I get an error when I use bookmarks in combination with indexed keywords in chapter/section like the example below. When I comment out the \placebookmarks, things seem to work. Is this behavior to be expected or is there a workaround/solution ? add \appendtoks\let\index\gobbleoneargument\to\simplifiedcommands somewhere before \placebookmarks. You may need to remove your tuo file to get this working. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] bookmark UTF-8 accented characters
Hi all, I have problem with bookmark when I use Vietnamese UTF-8 input encoding. By using \placebookmarks[chapter,section] I got a bookmark with TeX codes in chapter and section names instead of UTF-8 string like in document. (see the shot http://people.vnoss.org/~vnpenguin/pub/bookmark.png). In LaTeX, IIRC, there is a command \texorpdfstring{st1}{st2} of hyperref package which allows me to use st1 for the content and st2 (without accented characters) for bookmarks. Yes, I see the using a non-accented string for vietnamese has no sense, but this is a workaround for us for this moment :) Any solution for this problem ? Thank you in advance, Q. NGUYEN-DAI PS: I have done research around mailing archive but unfortunately I not found the solution yet. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmark UTF-8 accented characters
VnPenguin wrote: Hi all, I have problem with bookmark when I use Vietnamese UTF-8 input encoding. By using \placebookmarks[chapter,section] I got a bookmark with TeX codes in chapter and section names instead of UTF-8 string like in document. (see the shot http://people.vnoss.org/~vnpenguin/pub/bookmark.png). i wonder what the bottomaccent does there maybe \PDFunicodetrue helps Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmark UTF-8 accented characters
On Mon, 27 Dec 2004 14:58:54 +0100, Hans Hagen [EMAIL PROTECTED] wrote: VnPenguin wrote: Hi all, I have problem with bookmark when I use Vietnamese UTF-8 input encoding. By using \placebookmarks[chapter,section] I got a bookmark with TeX codes in chapter and section names instead of UTF-8 string like in document. (see the shot http://people.vnoss.org/~vnpenguin/pub/bookmark.png). i wonder what the bottomaccent does there maybe \PDFunicodetrue helps How to try it ? I added a line \PDFunicodetrue at top of my code and the problem is still here :( Thank you, ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmark UTF-8 accented characters
VnPenguin wrote: How to try it ? I added a line \PDFunicodetrue at top of my code and the problem is still here :( can you make me a small example file ? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmark UTF-8 accented characters
On Mon, 27 Dec 2004 16:33:45 +0100, Hans Hagen [EMAIL PROTECTED] wrote: VnPenguin wrote: How to try it ? I added a line \PDFunicodetrue at top of my code and the problem is still here :( can you make me a small example file ? Sure, here is my example: http://people.vnoss.org/~vnpenguin/context/test-bookmark.tex The PDF output is : http://people.vnoss.org/~vnpenguin/context/test-bookmark.pdf I found also that all UTF-8 strings title, author defined in \setupinteraction are not correctly displayed in Summary of Acrobat reader 5.0.10 (Linux). I use tetex 2.99.7-beta and here is info: --- TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 --help overview of all options and their values --help all all about all options --help short just the main options --help mode ... pdf all about a few options --help '*.pdf' all about options containing 'pdf' more infohttp://www.pragma-ade.com/general/manuals/mtexexec.pdf http://www.ntg.nl/mailman/listinfo/ntg-context --- Thank you for your support, Regards, Quy NGUYEN-DAI PS: If you can not download my files, I'll send to you directly. Just tell me in this case :) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmark UTF-8 accented characters
VnPenguin wrote: On Mon, 27 Dec 2004 16:33:45 +0100, Hans Hagen [EMAIL PROTECTED] wrote: VnPenguin wrote: How to try it ? I added a line \PDFunicodetrue at top of my code and the problem is still here :( can you make me a small example file ? Sure, here is my example: http://people.vnoss.org/~vnpenguin/context/test-bookmark.tex The PDF output is : http://people.vnoss.org/~vnpenguin/context/test-bookmark.pdf I found also that all UTF-8 strings title, author defined in \setupinteraction are not correctly displayed in Summary of Acrobat reader 5.0.10 (Linux). actually i can get it working on my machine, but i need to tweak the pdf file it seems that i commented some code because pdftex lacks a feature -) i'll send you a pdf file; let's get thanh in the loop because we need a patch to the bookmark primitive Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmark UTF-8 accented characters
VnPenguin wrote: On Mon, 27 Dec 2004 16:33:45 +0100, Hans Hagen [EMAIL PROTECTED] wrote: VnPenguin wrote: How to try it ? I added a line \PDFunicodetrue at top of my code and the problem is still here :( of course one can also extend enco-pdf to map characters to accentless ones Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context