From: Guenter M. <mi...@us...> - 2016-02-13 20:40:14
|
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 |