emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: pete@smtl.co.uk
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: org-info.js
Date: Wed, 26 Mar 2008 12:42:02 +0100	[thread overview]
Message-ID: <87lk45sodx.fsf@gmx.de> (raw)
In-Reply-To: <20371.1206440231@localhost> (Pete Phillips's message of "Tue, 25 Mar 2008 10:17:11 +0000")

Pete Phillips <pete@smtl.co.uk> 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:     pete@smtl.co.uk
> #+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	other threads:[~2008-03-26 11:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25 10:17 org-info.js Pete Phillips
2008-03-26 11:42 ` Sebastian Rose [this message]
2008-03-26 14:54   ` Add to do item in the Org Agenda Day Grid Xin Shi
2008-03-26 15:16     ` John Rakestraw
2008-03-26 16:23       ` Xin Shi
2008-03-26 15:22     ` Thomas Baumann
2008-03-26 16:25       ` Xin Shi
2008-03-26 16:54         ` Thomas Baumann
2008-03-26 17:00           ` Xin Shi
  -- strict thread matches above, loose matches on Subject: below --
2010-05-19 13:23 org-info.js Dan Davison
2010-05-19 13:58 ` org-info.js Nick Dokos
2010-05-19 14:34   ` org-info.js Dan Davison
2015-01-26 19:11 org-info.js Phillip Lord
2015-01-26 19:51 ` org-info.js Achim Gratz
2015-01-27 17:09   ` org-info.js Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lk45sodx.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=pete@smtl.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).