On 11/12/11 20:41:18, Alan L Tyree wrote: > On 11/12/11 18:42:10, Nick Dokos wrote: > > Alan L Tyree <alanty...@gmail.com> wrote: > > > > > > http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849 > > > > > > Yes, Calibre does a nice job of converting XHTML to ePub; it can > be > > > read in all the readers that I use, but it won't pass the > > validation > > > tests. OK unless you want to publish on sites that require > > validation. > <SNIP> > > I was being unfair to Calibre. If I clean up the XHTML file produced > by > org (in the way indicated by my original post plus a couple of things > that I didn't mention), then Calibre produces an ePub book that > passes > > validation. > > So -- back to my original question: is there some variable somewhere > that puts in both name="xxx" and id="xxx" or do I need to write a > post > > export clean up function?
Bad form to answer my own question: these seem to be hard coded in org- html.el along with the other items that give ePub validation a nervous breakdown. I'll post a full list of the offending items later. Cheers, Alan > > Thanks, > Alan > > -- > Alan L Tyree http://www2.austlii.edu.au/~alan > Tel: 04 2748 6206 sip:172...@iptel.org > > > -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org