Re: [O] Tuning the layout of published html

2016-07-22 Thread Eric Abrahamsen
Jarmo Hurri writes: > Eric Abrahamsen writes: > >> Robert Klein writes: >> >>> Jarmo Hurri wrote: >>> More specifically, I would like to add, on all pages, a navigation bar on the left-hand side and

Re: [O] Tuning the layout of published html

2016-07-22 Thread Jarmo Hurri
Christian Moe writes: > 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

Re: [O] Tuning the layout of published html

2016-07-22 Thread Jarmo Hurri
Eric Abrahamsen writes: > Robert Klein writes: > >> 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 >>>

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

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 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] 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

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

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

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

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 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 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 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] 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 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