[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] tricky odt export needs
From: |
Jambunathan K |
Subject: |
Re: [O] tricky odt export needs |
Date: |
Sat, 15 Feb 2014 11:54:11 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Jambunathan K <address@hidden> writes:
> In the pdf version of Emacs info manuals one typically sees all three of
> a Section number AND a Description AND a Page number, something like:
>
> See Section 3.1 [Tropical Storms], page 24.
>
> In Org context, I am wondering whether there is such a need.
I have added support for generating page nos. See attachments for
sample test file.
--8<---------------cut here---------------start------------->8---
#+OPTIONS: ':nil *:t -:nil ::t <:t H:3 \n:nil ^:t arch:headline
#+OPTIONS: author:t c:nil creator:comment d:(not "LOGBOOK") date:t
#+OPTIONS: e:t email:nil f:t inline:t num:3 p:nil pri:nil prop:nil
#+OPTIONS: stat:t tags:t tasks:t tex:t timestamp:t toc:t todo:t |:t
#+TITLE: headline
#+DATE: <2014-02-12 Wed>
#+AUTHOR: Jambunathan K
#+EMAIL: address@hidden
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
#+SELECT_TAGS: export
#+EXCLUDE_TAGS: noexport
#+CREATOR: Emacs 24.3.50.20 (Org mode 8.2.5h)
#+TOC: headlines
* Headline 1
Some text. See [[Headline 2]].
#+PAGEBREAK:
* Headline 2
Some more text.
--8<---------------cut here---------------end--------------->8---
----------------------------------------------------------------
Page nos are disabled by default. To enable pagenos, you need to
M-x customize-variable org-odt-caption-and-xref-settings
and choose a setting as below.
[X] Key: :TARGET:
Plist:
[X] Key: :xref-format
Choice: Value Menu TexInfo style
INS
The "TexInfo style" is provided more for trial run. A variety of
different "format strings" can be chosen.
----------------------------------------------------------------
You can pull my changes from the following ELPA archive:
http://repo.or.cz/w/org-mode/org-kjn.git/blob_plain/master:/
See instructions at http://cauvery.nfshost.com/wiki.pl/ODT_Exporter
----------------------------------------------------------------
pagenos-after-upate.odt
Description: application/vnd.oasis.opendocument.text
pagenos.odt
Description: application/vnd.oasis.opendocument.text
pagenos.org
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] tricky odt export needs,
Jambunathan K <=