emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
Cc: Emacs-orgmode <emacs-orgmode@gnu.org>,
	Christian Moe <mail@christianmoe.com>
Subject: Re: Need extra text in ODT export of headers
Date: Tue, 04 Feb 2014 08:22:23 +0530	[thread overview]
Message-ID: <87ppn3y4go.fsf@gmail.com> (raw)
In-Reply-To: CAGO+QKtWVC4Ls0eZKPE9WM+jquz936YU7FkCPKCOvxD=CvGEqg@mail.gmail.com

Dan Griswold <kc5gmr@gmail.com> writes:

> The only downside right now seems to be that I have to do the outline
> numbering for each file in the manuscript. But there are only 9 of
> them.

You just need to create a opendocument template file and have all the
org file use it.

See

   (info "(org) Applying custom styles")

1. Export ONE document.
2. Fix outline numbering
3. Save the file as say custom-style.ott (Note: It is OTT and not ODT)
4. Add a directive to ALL THE OTHER org file as below.

       M-x org-export-insert-default-template odt

   and modify the ODT_STYLES_FILE directive as below.

      #+ODT_STYLES_FILE: "~/a/b/custom-style.ott"

5. Now if I export the org files with (4), you will get the outline
   numbering that you desire.

  reply	other threads:[~2014-02-04  2:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-03 15:43 Need extra text in ODT export of headers Dan Griswold
     [not found] ` <m2bnyokwrr.fsf@uio.no>
2014-02-03 16:12   ` Dan Griswold
2014-02-04  2:52     ` Jambunathan K [this message]
2014-02-04  9:09       ` Christian Moe
2014-02-09  4:31         ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppn3y4go.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).