fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

improve noteref conversion in dtbook-to-zedai #365

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If the ID referenced in a `noteref` @idref attribute is not found, the noteref 
is not translated and a "FIXME" comment is added.

We can slightly improve the conversion logic by:

 * testing the presence of the leading '#' character; if not found, treat the entire @idref value as the ID (not as a fragment identifier).
 * in any case, keep the text of the noteref (as regular inline text)

Original issue reported on code.google.com by rdeltour@gmail.com on 29 Aug 2013 at 3:27