emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* generic page breaks for export?
@ 2013-04-07  2:47 Eric Abrahamsen
  2013-04-07 11:24 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2013-04-07  2:47 UTC (permalink / raw)
  To: emacs-orgmode

It seems like enough of org's export formats have the concept of page
breaks that a generic syntax might be warranted -- I'm finding myself
doing lots of exporting to multiple formats. What do people think of
that? Emacs already has a convention of using ascii 12 as a page
delimiter (though control characters in the buffer look ugly), or we
could introduce something like #+PAGEBREAK, or perhaps both.

If this seems desirable, I'll take a stab at a patch.

Eric

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

* Re: generic page breaks for export?
  2013-04-07  2:47 generic page breaks for export? Eric Abrahamsen
@ 2013-04-07 11:24 ` Nicolas Goaziou
  2013-04-07 16:45   ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-04-07 11:24 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode

Hello,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> It seems like enough of org's export formats have the concept of page
> breaks that a generic syntax might be warranted -- I'm finding myself
> doing lots of exporting to multiple formats. What do people think of
> that? Emacs already has a convention of using ascii 12 as a page
> delimiter (though control characters in the buffer look ugly), or we
> could introduce something like #+PAGEBREAK, or perhaps both.
>
> If this seems desirable, I'll take a stab at a patch.

Thank you for the offer. Though, I don't think it's worth implementing
it.

For navigation, Org has better tools than page break jumping. So, it
would only be related to export. Even in that case, adding a keyword
(#+PAGEBREAK, but that would be some irregular syntax since there's no
value attached) for such a simple thing is hardly a benefit:

  #+latex: \newline

Sure, when exporting to multiple formats, it can save a line or two.
Nothing earth-shaking here.


Regards,

-- 
Nicolas Goaziou

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

* Re: generic page breaks for export?
  2013-04-07 11:24 ` Nicolas Goaziou
@ 2013-04-07 16:45   ` Eric Abrahamsen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2013-04-07 16:45 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> It seems like enough of org's export formats have the concept of page
>> breaks that a generic syntax might be warranted -- I'm finding myself
>> doing lots of exporting to multiple formats. What do people think of
>> that? Emacs already has a convention of using ascii 12 as a page
>> delimiter (though control characters in the buffer look ugly), or we
>> could introduce something like #+PAGEBREAK, or perhaps both.
>>
>> If this seems desirable, I'll take a stab at a patch.
>
> Thank you for the offer. Though, I don't think it's worth implementing
> it.
>
> For navigation, Org has better tools than page break jumping. So, it
> would only be related to export. Even in that case, adding a keyword
> (#+PAGEBREAK, but that would be some irregular syntax since there's no
> value attached) for such a simple thing is hardly a benefit:
>
>   #+latex: \newline
>
> Sure, when exporting to multiple formats, it can save a line or two.
> Nothing earth-shaking here.

Fair enough: you're right it's only good for export, and even then only
really useful for multiple formats. On the other hand, the ^L character
is just sitting there, begging to be handled...

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

end of thread, other threads:[~2013-04-07 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-07  2:47 generic page breaks for export? Eric Abrahamsen
2013-04-07 11:24 ` Nicolas Goaziou
2013-04-07 16:45   ` Eric Abrahamsen

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