[O] Tuning the layout of published html

2016-07-19 Thread Jarmo Hurri
Greetings. I am writing teaching material (for programming) using Org. All the material (text, figures, code, program outputs) are written using Org and Babel-supported languages. Publishing to html works just fine. What I would like to do, however, is to add some layout structure to the

Re: [O] Tuning the layout of published html

2016-07-19 Thread Scott Randby
On 07/19/2016 09:09 AM, Jarmo Hurri wrote: Greetings. I am writing teaching material (for programming) using Org. All the material (text, figures, code, program outputs) are written using Org and Babel-supported languages. Publishing to html works just fine. What I would like to do, however,

Re: [O] Tuning the layout of published html

2016-07-19 Thread Eric S Fraga
On Tuesday, 19 Jul 2016 at 13:09, Jarmo Hurri wrote: > More specifically, I would like to add, on all pages, a navigation bar > on the left-hand side and a title bar with no functionality on the top > of each page. You are probably looking for cascading style sheets (CSS) for the HTML. org's

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-19 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: >> I would suggest that you push the latest maint branch org version to the >> master branch of emacs now, so that it would be fairly tested by the time >> the next to next emacs release happens (25.2?). > > My secret plan is to have

Re: [O] Tuning the layout of published html

2016-07-19 Thread Christian Moe
Hi, No need for derived backends. You could just add both the title bar and the navigation bar in the HTML preamble to each page, and position the different parts as needed with CSS. If you're using Org's publishing function, define a :html-preamble in org-publish-project-alist. Yours,

Re: [O] Tuning the layout of published html

2016-07-19 Thread Robert Klein
Hi, Jarmo Hurri wrote: > I am writing teaching material (for programming) using Org. All the > material (text, figures, code, program outputs) are written using Org > and Babel-supported languages. Publishing to html works just fine. > What I would like to do, however, is to

Re: [O] Tuning the layout of published html

2016-07-19 Thread Josiah Schwab
On 19 July 2016 at 13:35 GMT, Eric S Fraga wrote: > On Tuesday, 19 Jul 2016 at 13:09, Jarmo Hurri wrote: >> More specifically, I would like to add, on all pages, a navigation bar >> on the left-hand side and a title bar with no functionality on the top >> of each page. > > You are probably

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-19 Thread Kyle Meyer
Bastien Guerry writes: [...] >> last stable release in the 8.3.X series. > > I agree. Let me know if there is anything special to check before > releasing 8.3.5. If not, I will release it this afternoon. The backports from the main Emacs repo are up-to-date. -- Kyle

Re: [O] Tuning the layout of published html

2016-07-19 Thread Jarmo Hurri
Greetings. > No need for derived backends. > > You could just add both the title bar and the navigation bar in the > HTML preamble to each page, Can do that. > and position the different parts as needed with CSS. This is where I don't know what exactly is going to happen. Org writes quite a

Re: [O] Tuning the layout of published html

2016-07-19 Thread Jarmo Hurri
Eric S Fraga writes: > On Tuesday, 19 Jul 2016 at 13:09, Jarmo Hurri wrote: >> More specifically, I would like to add, on all pages, a navigation >> bar on the left-hand side and a title bar with no functionality on >> the top of each page. > > You are probably looking for

[O] bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Eli Zaretskii
> From: Stefan Monnier > Cc: rpl...@gmail.com, 23...@debbugs.gnu.org, alex.ben...@linaro.org, > jwieg...@gmail.com, nljlistb...@gmail.com > Date: Tue, 19 Jul 2016 00:48:19 -0400 > > > The more general problem is when there's at least one more > > sub-expression,

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-19 Thread Bastien Guerry
Kyle Meyer writes: >> I agree. Let me know if there is anything special to check before >> releasing 8.3.5. If not, I will release it this afternoon. > > The backports from the main Emacs repo are up-to-date. Thanks Kyle! I may still have some time to make the release

Re: [O] Tuning the layout of published html

2016-07-19 Thread Jarmo Hurri
Robert Klein writes: > You can use the preamble and postamble features for this. > > You'd have to edit the navigation bar manually, though. > > Example preamble (file: html/preamble.html): > ... > Does this help a bit? Yes it does, but it is impossible for me to tell which

[O] bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Eli Zaretskii
> From: Stefan Monnier > Cc: Robert Pluim , 23...@debbugs.gnu.org, > alex.ben...@linaro.org, jwieg...@gmail.com, nljlistb...@gmail.com > Date: Mon, 18 Jul 2016 20:58:35 -0400 > > > I think this change performed by save-match-data is harmless: the

Re: [O] Tuning the layout of published html

2016-07-19 Thread Marcin Borkowski
On 2016-07-19, at 15:09, Jarmo Hurri wrote: > Greetings. > > I am writing teaching material (for programming) using Org. All the > material (text, figures, code, program outputs) are written using Org > and Babel-supported languages. Publishing to html works just fine. What

Re: [O] Tuning the layout of published html

2016-07-19 Thread Robert Klein
Hi, Jarmo Hurri wrote: > > Robert Klein writes: > > > You can use the preamble and postamble features for this. > > > > You'd have to edit the navigation bar manually, though. > > > > Example preamble (file: html/preamble.html): > > ... > > Does this

[O] bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Stefan Monnier
> Before call to replace_range in replace-match: > >|---|---|--|| >s1 e1 s2e2 EOB > > (s1, e1, etc. are the start and end of the corresponding > sub-expressions.) > > After the call to replace_range in replace-match: > >

[O] bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Eli Zaretskii
> From: Stefan Monnier > Cc: rpl...@gmail.com, 23...@debbugs.gnu.org, alex.ben...@linaro.org, > jwieg...@gmail.com, nljlistb...@gmail.com > Date: Tue, 19 Jul 2016 12:03:51 -0400 > > I guess the next best thing is: > - copy search_regs.start and search_regs.end

Re: [O] Tuning the layout of published html

2016-07-19 Thread Scott Randby
On 07/19/2016 10:27 AM, Jarmo Hurri wrote: This is where I don't know what exactly is going to happen. Org writes quite a bit of CSS in each exported HTML file. If I add in, say, a vertical navigation bar, how am I going to control its placement with respect to everything else that is already

[O] bug#23917: bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Eli Zaretskii
> From: Alex Bennée > Cc: Stefan Monnier , 23...@debbugs.gnu.org, > rpl...@gmail.com, jwieg...@gmail.com, nljlistb...@gmail.com > Date: Tue, 19 Jul 2016 18:05:37 +0100 > > > Do we care that using save-match-data in every call to replace-match >

[O] bug#23917: bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Alex Bennée
Eli Zaretskii writes: >> From: Stefan Monnier >> Cc: rpl...@gmail.com, 23...@debbugs.gnu.org, alex.ben...@linaro.org, >> jwieg...@gmail.com, nljlistb...@gmail.com >> Date: Tue, 19 Jul 2016 12:03:51 -0400 >> >> I guess the next best thing is: >> -

Re: [O] Tuning the layout of published html

2016-07-19 Thread Scott Randby
On 07/19/2016 09:59 AM, Robert Klein wrote: You can use the preamble and postamble features for this. This solves a problem that has been bugging me for some time. All I need to do is use the preamble to solve my problem. Why didn't I think of that sooner? Scott Randby

Re: [O] how to update and add info to babel documentation?

2016-07-19 Thread Thomas S. Dye
Aloha dmg, You can find instructions here: http://orgmode.org/worg/worg-git.html Thanks for your help. All the best, Tom dmg writes: > hi there, > > I was trying to find the sources for the babel language documentation. > Specifically: > > >

Re: [O] Tuning the layout of published html

2016-07-19 Thread Christian Moe
Jarmo Hurri writes: >> and position the different parts as needed with CSS. > > This is where I don't know what exactly is going to happen. Org writes > quite a bit of CSS in each exported HTML file. If I add in, say, a > vertical navigation bar, how am I going to control its placement with >

Re: [O] Tuning the layout of published html

2016-07-19 Thread Eric Abrahamsen
Robert Klein writes: > Hi, > Jarmo Hurri wrote: > >> I am writing teaching material (for programming) using Org. All the >> material (text, figures, code, program outputs) are written using Org >> and Babel-supported languages. Publishing to html works

[O] bug#23917: bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Alex Bennée
Eli Zaretskii writes: >> From: Alex Bennée >> Cc: Stefan Monnier , 23...@debbugs.gnu.org, >> rpl...@gmail.com, jwieg...@gmail.com, nljlistb...@gmail.com >> Date: Tue, 19 Jul 2016 18:05:37 +0100 >> >> > Do we care that using

[O] convert rmarkdown (rmd) files to orgmode?

2016-07-19 Thread Xebar Saram
Hi all anyone know of a way to convert rmarkdown (rmd) files to orgmode? im preparing a R course and lots of cool examples in R are in rmd format so it could be very useful to me best Z

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-19 Thread Bastien Guerry
Nicolas Goaziou writes: > Here it is: Go! Done, thanks! -- Bastien

[O] bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Stefan Monnier
> Do we care that using save-match-data in every call to replace-match > might mean a performance hit? I do but: - to be honest, it's probably lost in the noise. - if we copy search_regs.start and search_regs.end with something like alloca+memcpy (instead of calling Fmatch_data), the cost

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-19 Thread Nicolas Goaziou
Hello, Bastien Guerry writes: > I may still have some time to make the release tonight, waiting for > Nicolas "go". Here it is: Go! Thank you! -- Nicolas Goaziou

Re: [O] how to update and add info to babel documentation?

2016-07-19 Thread dmg
Thanks Tom, Here is my patch. On Tue, Jul 19, 2016 at 10:05 AM, Thomas S. Dye wrote: > Aloha dmg, > > You can find instructions here: > > http://orgmode.org/worg/worg-git.html > > Thanks for your help. > > All the best, > Tom > > dmg writes: > > > hi there, > > > > I was

[O] Release 8.3.5

2016-07-19 Thread Bastien Guerry
Hi all, Org 8.3.5, a minor release, is out. Thanks again to Nicolas and all the contributors! Enjoy, -- Bastien

[O] bug#23917: bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-19 Thread Eli Zaretskii
> From: Alex Bennée > Cc: monn...@iro.umontreal.ca, 23...@debbugs.gnu.org, rpl...@gmail.com, > jwieg...@gmail.com, nljlistb...@gmail.com, m...@lunaryorn.com > Date: Tue, 19 Jul 2016 18:45:44 +0100 > > ;; Save and restore the match data, as recommended in (elisp)Change