emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ODT preferred format option per-file?
@ 2012-08-31  4:53 James Harkins
  2012-09-01 18:45 ` Jambunathan K
  0 siblings, 1 reply; 6+ messages in thread
From: James Harkins @ 2012-08-31  4:53 UTC (permalink / raw)
  To: emacs-orgmode


I have one particular org file that I would like to export to PDF by way of ODT. (I already set up outline styling in LibreOffice and I would like to use that, instead of trying to reconfigure a similar look in LaTeX. For fun, I did try the LaTeX pdf export and the output format is not what I need for this case.)

But I may want to export other org files to ODT *without* converting them to PDF.


This says I can customize the org-export-odt-preferred-output-format variable. This works beautifully, but it's a global setting that will apply to every ODT export.

So my question is -- is there any export option for the preferred format, per file? Something like:


I couldn't find any documentation in the ODT export section of the manual for an option like this.

Alternately, I suppose I could write a lisp function that would set the variable and call the export, but that would definitely be a hack.

Thanks in advance,

James Harkins /// dewdrop world

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: ODT preferred format option per-file?
@ 2012-09-02  8:57 James Harkins
  0 siblings, 0 replies; 6+ messages in thread
From: James Harkins @ 2012-09-02  8:57 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

    # Local Variables:
    # org-export-odt-preferred-output-format: "pdf"
    # End:

This is a great help, thanks. Will pull and try it tonight.

I suppose I must be using the old exporter, since the variable without -e- enabled PDF conversion. That's working fine for me, but I should probably look into the new exporter (assuming the old one will be removed sometime). Good to know how to do it in both cases.

Thanks again!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-02 11:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-31  4:53 ODT preferred format option per-file? James Harkins
2012-09-01 18:45 ` Jambunathan K
2012-09-01 20:40   ` Jambunathan K
2012-09-02  8:43     ` Bastien
2012-09-02  9:25   ` Nicolas Goaziou
2012-09-02  8:57 James Harkins

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).