emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-info.js


From: Sebastian Rose
Subject: Re: [Orgmode] org-info.js
Date: Wed, 26 Mar 2008 12:42:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Pete Phillips <address@hidden> writes:
> I'm trying to use org-info.js.
>
> I am using the git repository, and have placed the stylesheet.css and
> the org-info.js into the same directory that my org file is in.
>
> The top of my org-file is as follows:
>
> #+TITLE:     ubuntu-general.org
> #+AUTHOR:    Pete Phillips
> #+EMAIL:     address@hidden
> #+DATE:      <2008-03-25 Tue>
> #+LANGUAGE:  en
> #+TEXT:      Some descriptive text to be emitted.  Several lines OK.
> #+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t 
> LaTeX:nil skip:t d:nil tags:not-in-toc
> #+STYLE:     <script type=\"text/javascript\" language=\"JavaScript\" 
> src="org-info.js\" /> <script type="text/javascript" language="JavaScript">/* 
> <![CDATA[ */ org_html_manager.setup ();/* ]]> */</script>
>
> When I use ^C^Eh (to export as html), the resulting html file does not
> have any of the <script> stuff in there. browsing with firefox does not
> give me the interface that the org-info.js.html does.
>
> Can anyone explain what I'm doing wrong ?

Hello Pete,

unfortunately I can not tell what's wrong. I tried some of the
configuration alternatives I mentioned in the documentation of
org-info.js and found that none of them works anymore. Exept the one in
section 4.2.3. So I'm afraid it's the only way that works at the moment.

Or just put the code in the header of the generated XHTML by hand. I
suspect something is broken in the export. Well, I'm quite shure it
worked that way here. But I can't find the keyword #+STYLE: in the docs
and `M-x org-insert-export-options-templat´ does not insert the STYLE
option, so maybe I'm wrong here.

I'll have investigate this tonight at home and rework the documentation
accordingly.

Sorry for this late answer, but I just got home from searching easter
eggs with my kids ;-)


Regards,

    Sebastian



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sebastian Rose             Fachinformatiker/Anwendendungsentwickler
Viktoriastaße 22
30451 Hannover             Entwicklung  von Internetanwendungen und
                           Programmen  mit  freien  Werkzeugen  und
sebastian_rose at gmx de   Bibliotheken.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]