From: David G. <go...@py...> - 2008-04-21 00:47:16
|
[Peter McNabb - 2008-04-20 19:39] > <h1><a id="two" name="two">two</a></h1> ... > It looks like the difference is yours places the id within the div tag > and mine makes an anchor tag. Even though it doesn't actually link > back to the TOC, the <a> is interpreted (properly) by browsers as a > link. Here <a> is a target, not a reference. I wouldn't expect it to be link-highlighted. I tried your output in both Firefox & Safari on OS X 10.5, and didn't see link highlighting in either. Are you seeing link highlighting in the titles? What happens when you click one? What URL show up in the status bar when you hover over it? What browser & OS are you using? Are you using a custom stylesheet? > I would expect to have output similar to yours. > > I'm using docutils-py25 0.4-7, installed with fink for OS X 10.5. Is > there a global setting for docutils I should change to put the id in > the div instead of an <a>? There's no setting. The output difference is due to different versions of Docutils. Try uninstalling the version from Fink, and install a current snapshot (<http://docutils.sourceforge.net/docutils-snapshot.tgz>, which redirects to <ftp://ftp.berlios.de/pub/docutils/docutils-snapshot.tgz>). -- David Goodger <http://python.net/~goodger> |