Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-06 Thread Bastien
Hi Suvayu, Suvayu Ali writes: > It already exists: > > > > Maybe this can be improved? This is the documentation for export filters, with some example. But it is not clear that this page welcome new contributed filters, and I think it do

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-05 Thread Suvayu Ali
On Sat, Jan 04, 2014 at 11:40:10AM +0100, Bastien wrote: > Hi Andreas, > > Andreas Leha writes: > > > It is a very small thing and I am very much happy with using a filter based > > approach here. > > One thing really worth improving is the tutorials around filters on > Worg. Or maybe: let's c

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-05 Thread Bastien
"Sebastien Vauban" writes: > The thing is that, IMHO, there are 2 types of filters required: > > - filters for my own additions to Org syntax, that I don't need (or > want) to share with anybody > > - filters for "missing" Org syntax which seems a need that many users > have at some point >

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-05 Thread Sebastien Vauban
Hello Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> Shouldn't, then, some filters be available by default in core Org? > > I don't think so: my understanding is that "default filters" would > then be implemented without relying on filters -- so filters are > really optional by nature.

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-04 Thread Bastien
"Sebastien Vauban" writes: > Shouldn't, then, some filters be available by default in core Org? I don't think so: my understanding is that "default filters" would then be implemented without relying on filters -- so filters are really optional by nature. Nicolas will correct me if I'm wrong.

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-04 Thread Sebastien Vauban
Andreas Leha wrote: >> Could you expand on what you mean by "less portable"? I'm interested in >> portability from a reproducible research perspective and want to avoid >> habits that don't port well to other researchers' systems. >> > > I did not want to include these words in the first place. Th

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-04 Thread Bastien
Andreas Leha writes: > I am very sorry -- would have been a nice way to contribute. No problem, I just wanted to verbalize this wish so that someone with more time at hand can take the challenge :) -- Bastien

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-04 Thread Andreas Leha
Bastien writes: > Hi Andreas, > > Andreas Leha writes: > >> It is a very small thing and I am very much happy with using a filter based >> approach here. > > One thing really worth improving is the tutorials around filters on > Worg. Or maybe: let's create a place similar to org-hacks.org calle

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-04 Thread Bastien
Hi Andreas, Andreas Leha writes: > It is a very small thing and I am very much happy with using a filter based > approach here. One thing really worth improving is the tutorials around filters on Worg. Or maybe: let's create a place similar to org-hacks.org called org-filters.org listing usefu

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-03 Thread Andreas Leha
Hi Tom, t...@tsdye.com (Thomas S. Dye) writes: > Aloha Andreas, > > Andreas Leha writes: > >> Bastien writes: >> >>> Nicolas Goaziou writes: >>> > So in short: If page breaks are not in org directly many people will > end up with inferior and/or less portable org files. For

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-03 Thread Thomas S. Dye
Aloha Andreas, Andreas Leha writes: > Bastien writes: > >> Nicolas Goaziou writes: >> So in short: If page breaks are not in org directly many people will end up with inferior and/or less portable org files. >>> >>> For the record, after thinking about it, I'd rather stay away from

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-03 Thread Andreas Leha
Bastien writes: > Nicolas Goaziou writes: > >>> So in short: If page breaks are not in org directly many people will >>> end up with inferior and/or less portable org files. >> >> For the record, after thinking about it, I'd rather stay away from >> invisible characters in Org syntax, would it

Re: [O] [PATCH] Re: \newpage in HTML export

2014-01-03 Thread Bastien
Nicolas Goaziou writes: >> So in short: If page breaks are not in org directly many people will >> end up with inferior and/or less portable org files. > > For the record, after thinking about it, I'd rather stay away from > invisible characters in Org syntax, would it be page breaks or > non-br

Re: [O] [PATCH] Re: \newpage in HTML export

2013-12-22 Thread Andreas Leha
Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> Just for me to understand: >> The recommended way now > > Note that the recommended way hasn't really changed. There was no > recommended way before, nor there is one now. > ;-) >> is to have a filter and write (say) \mypersonalnew

Re: [O] [PATCH] Re: \newpage in HTML export

2013-12-22 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > Just for me to understand: > The recommended way now Note that the recommended way hasn't really changed. There was no recommended way before, nor there is one now. > is to have a filter and write (say) \mypersonalnewline in my orgmode > files? Even if \mypersonal

Re: [O] [PATCH] Re: \newpage in HTML export

2013-12-22 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> So in short: If page breaks are not in org directly many people will >> end up with inferior and/or less portable org files. > > For the record, after thinking about it, I'd rather stay away from > invisible characters

Re: [O] [PATCH] Re: \newpage in HTML export

2013-12-22 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > So in short: If page breaks are not in org directly many people will > end up with inferior and/or less portable org files. For the record, after thinking about it, I'd rather stay away from invisible characters in Org syntax, would it be page breaks or non-breaki

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-25 Thread Jambunathan K
You could have used a #+PAGEBREAK and handled it as part of say an advice to org-BACKEND-keyword in whatever BACKEND you are using.

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-24 Thread Christian Moe
Nicolas Goaziou writes: > So, is this feature a must-have? No, it's not. (Just another user's ten cents.) > Or would a filter template in Worg more appropriate in this case? That, or showing how to make a {{{pagebreak}}} macro expanding to export snippets. (And explaining how regular page brea

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-24 Thread Andreas Leha
Eric Abrahamsen writes: > On 11/24/13 16:31 PM, Nicolas Goaziou wrote: >> Hello, >> >> Rüdiger Sonderfeld writes: >> >>> On Friday 22 November 2013 11:24:17 Nicolas Goaziou wrote: Anyway, I don't think this is a good idea to introduce a new syntax just to avoid a one-liner (or a hook,

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-24 Thread Eric Abrahamsen
On 11/24/13 16:31 PM, Nicolas Goaziou wrote: > Hello, > > Rüdiger Sonderfeld writes: > >> On Friday 22 November 2013 11:24:17 Nicolas Goaziou wrote: >>> Anyway, I don't think this is a good idea to introduce a new syntax just >>> to avoid a one-liner (or a hook, see below). Also, this would only

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-24 Thread Nicolas Goaziou
Hello, Rüdiger Sonderfeld writes: > On Friday 22 November 2013 11:24:17 Nicolas Goaziou wrote: >> Anyway, I don't think this is a good idea to introduce a new syntax just >> to avoid a one-liner (or a hook, see below). Also, this would only make >> sense in few export back-ends. > > But is it re

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Here's a fairly simple first stab, with page breaks made into an >> element, and a sample handling in the LaTeX backend. I've hardcoded ^L >> and the page-delimiter regexp that finds it, not sure it's worth >> providing an org-pag

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Here's a fairly simple first stab, with page breaks made into an >> element, and a sample handling in the LaTeX backend. I've hardcoded ^L >> and the page-delimiter regexp that finds it, not sure it's worth >> providing an org-pag

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-22 Thread Rüdiger Sonderfeld
On Friday 22 November 2013 11:24:17 Nicolas Goaziou wrote: > Anyway, I don't think this is a good idea to introduce a new syntax just > to avoid a one-liner (or a hook, see below). Also, this would only make > sense in few export back-ends. But is it really a new syntax or just support for an exis

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-22 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > Here's a fairly simple first stab, with page breaks made into an > element, and a sample handling in the LaTeX backend. I've hardcoded ^L > and the page-delimiter regexp that finds it, not sure it's worth > providing an org-page-delimiter shadow. For now, use C-q

[O] [PATCH] Re: \newpage in HTML export

2013-11-21 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Suvayu Ali writes: > >> On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: >>> Suvayu Ali writes: >>> >>> > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >>> >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: >>> >> > >>> >>