From: Felix W. <Fel...@gm...> - 2005-01-16 18:22:37
|
David Goodger wrote: > Felix Wiemann wrote: > >> David Goodger wrote: >> >>> A setting/option could be added to the HTML writer to turn off >>> "name" attributes. >> >> Too much bloat, IMO. > > Very minor, and localizable. It's not really minor: Implementation, testing, documentation, dealing with bug reports, additional effort for removing it later, more documentation to read for users. The costs outweigh the benefits, IMO. >>>> And the design seems to be quite some pain, given that we still >>>> didn't manage to fix the mislocated-targets bug (at >>>> <http://docutils.sourceforge.net/BUGS.html#mislocated-targets>). >>> >>> That bug is completely unrelated to the handling of names & IDs. >> >> It's not. We need multiple IDs and names per node to fix that, >> don't we? > > No, just move the 'target' element forward in the document, inside the > element it precedes. It's just that there is no reasonable place to move the target to if we don't want to break the assertion "isinstace(section[0], nodes.title)". Or we solve it with writer support, which is ugly. Or am I missing something? -- When replying to my email address, please ensure that the mail header contains 'Felix Wiemann'. http://www.ososo.de/ |