From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Tuning the layout of published html Date: Tue, 19 Jul 2016 14:33:09 -0400 Message-ID: <87lh0x7a1m.fsf@ericabrahamsen.net> References: <87poq9dbax.fsf@iki.fi> <20160719155900.6c326ea4@pckr186.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPZpb-00048H-7I for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 14:33:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPZpW-00026A-7d for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 14:33:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:45810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPZpW-00025c-0d for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 14:33:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bPZpT-0001Kv-LZ for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 20:33:16 +0200 Received: from otwaon234vw-lp140-05-1176444371.dsl.bell.ca ([70.31.29.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jul 2016 20:33:15 +0200 Received: from eric by otwaon234vw-lp140-05-1176444371.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jul 2016 20:33:15 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 just fine. >> What I would like to do, however, is to add some layout structure to >> the produced html. >> >> 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. >> >> What options do I have to accomplish this? Searches led me to "derived >> backends," but they sound like an overkill for a task that is this >> simple. Or? > > You can use the preamble and postamble features for this. [...] > A lot depends on the CSS. I'm dumping one here, not a very good one... FWIW, this seems like a perfect place to use flexboxes, where the actual location of the elements in the document matters a bit less...