From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: HTML export, org-mode version Date: Mon, 18 May 2009 14:33:43 +0200 Message-ID: <87ljou8uag.fsf@kassiopeya.MSHEIMNETZ> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M61yr-00005W-6V for emacs-orgmode@gnu.org; Mon, 18 May 2009 08:30:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M61yn-0008Us-2N for emacs-orgmode@gnu.org; Mon, 18 May 2009 08:30:08 -0400 Received: from [199.232.76.173] (port=46832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M61ym-0008Uk-LC for emacs-orgmode@gnu.org; Mon, 18 May 2009 08:30:04 -0400 Received: from mail.gmx.net ([213.165.64.20]:41129) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M61ym-0008BC-4e for emacs-orgmode@gnu.org; Mon, 18 May 2009 08:30:04 -0400 In-Reply-To: (Stefan Vollmar's message of "Mon, 18 May 2009 13:36:15 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stefan Vollmar Cc: emacs-orgmode You might want to take a look into the stylesheets on orgmode.org: http://orgmode.org/org.css and http://orgmode.org/worg/worg.css Depending on the tools you use on your site, modifiing the files on the fly (on output, maybe cached) might be a good solution too (DOM or XML parser). You might want to use a DOM parser, if you want to modify the document structure (e.g. pack the 'table-of-contents' into table cell, and the rest into another). Regards, Sebastian Stefan Vollmar writes: > Hallo, > > I am new to this list and apologize if this has been asked before. Before I > forget: many thanks for this EXCELLENT package! > > (1) I am running org 6.26d with Aquamacs 1.7 on a current Mac system. At least I > think I have installed that version correctly (Aquamacs 1.7 uses an older > version of org-mode) - how can I find out which version I am really using? > > (2) Is there a template/option to have the table of contents in an HTML export > at the left hand side for navigation, similar to automatically generated > bookmarks in PDF browsers? > > (3) Syntax highlighting of source code (6.26 d, Chapter 12, p. 102, "Literal > Examples") like this > > #+BEGIN_SRC emacs-lisp > (defun org-xor (a b) > "Exclusive or." > (if a (not b) b)) > #+END_SRC > > works nicely. However it took me a while to get there: I had first overlooked > the footnote and needed to install htmlize.el first. However, when using a > Python snippet with "Python" instead of "emacs- > lisp" there was no colour whatsoever: it needs to be "python" (although Emacs > displays the mode with a capital "P"), maybe this should be another footnote? I > have also added a little note here: http://www.emacswiki.org/emacs/Htmlize > > Warm regards, > Stefan