<div>Great Stuff!</div>
<div> </div>
<div>So just to clarify things,  when using things like</div>
<div> </div>
<div>\phantomsection<br>\addcontentsline{toc}{section}{&lt;section-name&gt;}</div>
<div> </div>
<div>to get appropriate bookmark in editor tags, I can add </div>
<div> </div>
<div>%:section-name<br>\phantomsection<br>\addcontentsline{toc}{section}{&lt;section-name&gt;}</div>
<div><br>Paul </div>
<div> </div>
<div class="gmail_quote">2009/9/9 Bruno Voisin <span dir="ltr">&lt;<a href="mailto:bvoisin@me.com">bvoisin@me.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Le 9 sept. 2009 à 11:11, Stefan Löffler a écrit : 
<div class="im"><br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">And likewise, you can probably add custom entries to the pdf toc (either<br>through hyperref, I&#39;m not sure if that&#39;s supported, or through some<br>
specials). But the bottom line is: you need to add the data to the pdf<br>somehow, and hyperref is a convenient way to do that automatically.<br></blockquote><br></div>That&#39;s exactly what I&#39;ve done recently, using (with the hyperref package)<br>
<br>\phantomsection<br>\addcontentsline{toc}{section}{&lt;section-name&gt;}<br><br>to add a PDF bookmark at a point where there normally is none.<br><br>Below is a screenshot showing source tags and PDF table of contents in parallel for a structured document, and the difference between the two.<br>
<br>Another useful trick has been suggested to me on a list by CV Radhakrishnan, to enable automatic creation of PDF bookmarks while disabling automatic creation of hyperlinks within the PDF output (for section, equation, figure and table numbers and for bibliographic entries):<br>
<br>\usepackage[%<br> implicit=true,%<br> bookmarks=true,%<br> hyperfootnotes=false,%<br>]{hyperref}<br>\makeatletter<br>\AfterBeginDocument{\global\let\@setref=\real@setref}<br>\makeatother<br><font color="#888888"><br>Bruno<br>
<br></font></blockquote></div><br>