emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] tricky odt export needs


From: Suvayu Ali
Subject: Re: [O] tricky odt export needs
Date: Thu, 21 Nov 2013 17:38:43 +0100
User-agent: Mutt/1.5.22 (2013-10-16)

On Thu, Nov 21, 2013 at 11:34:55AM -0500, Dan Griswold wrote:
> On Wed, Nov 20, 2013 at 4:33 PM, Christian Moe <address@hidden>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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]