emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Orgmode <emacs-orgmode@gnu.org>
Cc: Nicolas Goaziou <n.goaziou@gmail.com>
Subject: Hrules and Column/Page breaks
Date: Wed, 01 Feb 2012 13:30:31 +0530	[thread overview]
Message-ID: <81fwev56g0.fsf@gmail.com> (raw)


Is it possible to extend horizontal ruler to also stand for page *and*
column breaks (say) by attaching a header to it. For it to be useful,
the page break can have a style attached to it that specifies what
manner of pages that this break introduces. 

(For example, start emitting Frontmatter pages from here on. Start
emitting Regular pages from here on.)

Would you be interested in formalizing this arrangement? WDYT.

Org file below:

--8<---------------cut here---------------start------------->8---
* Headline

There is horizontal line below.

#+header: some qualifiers
------------------

There is a horizontal ruler above.
--8<---------------cut here---------------end--------------->8---


gets transformed to this:

#+begin_src emacs-lisp
(headline
	   (:raw-value "Headline" :title
		       ("Headline")
		       :begin 403 :end 531 :pre-blank 1 :hiddenp nil :contents-begin 415 :contents-end 530 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :scheduled nil :deadline nil :timestamp nil :clock nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :category nil)
	   (section
	    (:begin 415 :end 530 :contents-begin 415 :contents-end 530 :post-blank 0)
	    (paragraph
	     (:begin 415 :end 449 :contents-begin 415 :contents-end 447 :post-blank 1)
	     "There is horizontal ruler below.")
	    (horizontal-rule
	     (:begin 449 :end 495 :post-blank 1 :header
		     ("some qualifiers")))
	    (paragraph
	     (:begin 495 :end 530 :contents-begin 495 :contents-end 529 :post-blank 0)
	     "There is a horizontal ruler above.")))
#+end_src
-- 

             reply	other threads:[~2012-02-01  8:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01  8:00 Jambunathan K [this message]
2012-02-01 12:52 ` Hrules and Column/Page breaks Nicolas Goaziou

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=81fwev56g0.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.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).