emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Hrules and Column/Page breaks


From: Nicolas Goaziou
Subject: Re: [O] Hrules and Column/Page breaks
Date: Wed, 01 Feb 2012 13:52:06 +0100

Hello,

Jambunathan K <address@hidden> writes:

> Is it possible to extend horizontal ruler to also stand for page *and*
> column breaks (say) by attaching a header to it. 

This is already possible.

For example, in e-ascii back-end, the following will create a 10
characters long hline instead of full text-width (I should also probably
center it, but it's not the case actually):

--8<---------------cut here---------------start------------->8---
#+attr_ascii: :width 8
-----
--8<---------------cut here---------------end--------------->8---

In your case, just put anything in #+attr_odt affiliated
keyword. Example:

--8<---------------cut here---------------start------------->8---
#+attr_odt: some qualifiers
-----
--8<---------------cut here---------------end--------------->8---

Then, (org-element-get-property :attr_odt HRULE) will return:

                         '("some qualifiers").

Note that #+header in only Babel related at the moment. Also this really
back-end specific (hence the special keywords) since some back-ends have
no clue about a page or a column.


Regards,

-- 
Nicolas Goaziou



reply via email to

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