From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Tuning the layout of published html Date: Tue, 19 Jul 2016 16:26:22 +0200 Message-ID: <877fchoga9.fsf@mbork.pl> References: <87poq9dbax.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPVyg-00006h-6u for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 10:26:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPVyb-0001Qe-OW for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 10:26:30 -0400 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:34304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPVyb-0001Pu-DY for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 10:26:25 -0400 In-reply-to: <87poq9dbax.fsf@iki.fi> 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: Jarmo Hurri Cc: emacs-orgmode@gnu.org 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 > 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? I don't know about other ways, but a derived backend /can/ be really simple -- you might as well use the "derived backend" feature to modify just the page template. You'd probably have to look at the `org-html-template' function and write your version of it. > Jarmo Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University