emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML export, org-mode version
@ 2009-05-18 11:36 Stefan Vollmar
  2009-05-18 12:14 ` Ian Barton
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefan Vollmar @ 2009-05-18 11:36 UTC (permalink / raw)
  To: emacs-orgmode

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: vollmar@nf.mpg.de   http://www.nf.mpg.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML export, org-mode version
  2009-05-18 11:36 HTML export, org-mode version Stefan Vollmar
@ 2009-05-18 12:14 ` Ian Barton
  2009-05-18 12:16   ` Ian Barton
  2009-05-18 12:24 ` Carsten Dominik
  2009-05-18 12:33 ` Sebastian Rose
  2 siblings, 1 reply; 6+ messages in thread
From: Ian Barton @ 2009-05-18 12:14 UTC (permalink / raw)
  To: lists; +Cc: emacs-orgmode

> (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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML export, org-mode version
  2009-05-18 12:14 ` Ian Barton
@ 2009-05-18 12:16   ` Ian Barton
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Barton @ 2009-05-18 12:16 UTC (permalink / raw)
  Cc: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML export, org-mode version
  2009-05-18 11:36 HTML export, org-mode version Stefan Vollmar
  2009-05-18 12:14 ` Ian Barton
@ 2009-05-18 12:24 ` Carsten Dominik
  2009-05-18 12:33 ` Sebastian Rose
  2 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-05-18 12:24 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: emacs-orgmode


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: vollmar@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML export, org-mode version
  2009-05-18 11:36 HTML export, org-mode version Stefan Vollmar
  2009-05-18 12:14 ` Ian Barton
  2009-05-18 12:24 ` Carsten Dominik
@ 2009-05-18 12:33 ` Sebastian Rose
  2009-05-18 19:24   ` Stefan Vollmar
  2 siblings, 1 reply; 6+ messages in thread
From: Sebastian Rose @ 2009-05-18 12:33 UTC (permalink / raw)
  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 <vollmar@nf.mpg.de> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HTML export, org-mode version
  2009-05-18 12:33 ` Sebastian Rose
@ 2009-05-18 19:24   ` Stefan Vollmar
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Vollmar @ 2009-05-18 19:24 UTC (permalink / raw)
  To: emacs-orgmode

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 <vollmar@nf.mpg.de> 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: vollmar@nf.mpg.de   http://www.nf.mpg.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-18 19:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-18 11:36 HTML export, org-mode version Stefan Vollmar
2009-05-18 12:14 ` Ian Barton
2009-05-18 12:16   ` Ian Barton
2009-05-18 12:24 ` Carsten Dominik
2009-05-18 12:33 ` Sebastian Rose
2009-05-18 19:24   ` Stefan Vollmar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).