From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Create preamble from an .org file ? Date: Tue, 27 Mar 2012 22:11:57 +0200 Message-ID: <87k4254wbm.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCg5w-0004u6-If for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 19:46:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCg5u-0007jJ-DH for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 19:46:32 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:57204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCg5u-0007ib-3r for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 19:46:30 -0400 Received: by wibhj13 with SMTP id hj13so340271wib.12 for ; Tue, 27 Mar 2012 16:46:26 -0700 (PDT) In-Reply-To: (Vincent Beffara's message of "Tue, 27 Mar 2012 11:04:51 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vincent Beffara Cc: emacs-orgmode@gnu.org Hi Vincent, Vincent Beffara writes: > How do I do that? Maybe a dedicated .org file for the navigation bar is > not the right way to do, is there a better one? Since you only need to export your preamble in HTML once, I'd rather use `org-export-html-preamble' and set it to the HTML string you want. There may be other ways using #+INCLUDE but the solution above is the one I use. HTH, -- Bastien