Re: hyphen handling changed in references?
Guenter Milde <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
On 2016-02-07, Alan G Isaac wrote: > Fine Header > ------------ > Am I wrong that I used to be able to refer to the > `fine-header`_ (with hyphen) example above, > and not just as `fine header`_ (no hyphen)? > Memory glitch? Why didn't you just try? Running your example, I get: /tmp/ss.rst:4: (ERROR/3) Unknown target name: "fine-header". However, the HTML anchor uses the replacements as documented somewhere which include spaces-to-hypens. Therefore, you get <div class="document" id="fine-header"> <h1 class="title">Fine Header</h1> and if you want to refer to this place without using rst (e.g. inter-document links), you must use this, like in the link to the section "syntax highlight": http://docutils.sourceforge.net/docs/user/config.html#syntax-highlight Günter ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Docutils-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.