Re: [Orgmode] HTML export, org-mode version
Dear Sebastian, On 18.05.2009, at 14:33, Sebastian Rose wrote: 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). Many thanks for the quick reply - the stylesheet was exactly what I was looking for - it looks beautiful! Warm regards, Stefan 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 -- Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: voll...@nf.mpg.de http://www.nf.mpg.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] HTML export, org-mode version
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 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] HTML export, org-mode version
On May 18, 2009, at 1:36 PM, Stefan Vollmar wrote: 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? You can use CSS, take a look at http://orgmode.org/org.css - Carsten (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 -- Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: voll...@nf.mpg.de http://www.nf.mpg.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] HTML export, org-mode version
Ian Barton wrote: (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? org/Documentation/Show version in an org buffer, or M-x orgversion. Doh, I meant: M-x org-version Ian. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] HTML export, org-mode version
(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? org/Documentation/Show version in an org buffer, or M-x orgversion. (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? Have a look at org-info.js http://orgmode.org/worg/code/org-info-js/ and I think you can also do this using the web site's default style sheet from http://orgmode.org/org.css. Ian. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode