On Thu, Nov 21, 2013 at 11:34:55AM -0500, Dan Griswold wrote: > On Wed, Nov 20, 2013 at 4:33 PM, Christian Moe <m...@christianmoe.com>wrote: > > > > > Well, here's one way to get those page references, using filters: > > > > (defun my-odt-filter-pagerefs (text backend info) > > "Make page references, not textual references in ODT export." > > (when (org-export-derived-backend-p backend 'odt) > > (replace-regexp-in-string "text:reference-format=\"text\"" > > "text:reference-format=\"page\"" text))) > > > > (add-to-list 'org-export-filter-link-functions > > 'my-odt-filter-pagerefs) > > > > (Whee! I just wrote my first export filter.) > > > > That sounds pretty neat, Christian. But I get an export failed error, and > it doesn't complete creating the odt file. Any suggestions?
First I would check the Output buffer. That should have more information on why the export failed. Hope this helps, -- Suvayu Open source is the future. It sets us free.