emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: henry atting <snd@online.de>
To: emacs-orgmode@gnu.org
Subject: Re: [new exporter] blank html page with org-info.js
Date: Fri, 08 Mar 2013 12:24:45 +0100	[thread overview]
Message-ID: <87txomuoaq.fsf@bye.fritz.box> (raw)
In-Reply-To: 87ip52f8r3.fsf@bzg.ath.cx

Bastien <bzg@altern.org> writes:

> Hi Henry,

Hi Bastien,

> henry atting <snd@online.de> writes:
>
>> I will not say anything against the migration to the new exporter
>> because this represents the bright, carefree future we all want to reach
>> but can somebody point me to the right direction this time:
>>
>> #+INFOJS_OPT: view:info toc:t path:.org-info.js
>>
>> Apparently ox-jsinfo.el does not longer exist or is needed so the above
>> line exports correctly to
>>
>> <script type="text/javascript" src=".org-info.js">
>
> With latest Org from master ("8.0-pre"), publication produces
>
>   <script type="text/javascript" src=".org-info.js">
>
> correctly here.

Same here.

> *But* you need .org-info.js to be in the same directory than
> the html file.  Is it the case?

Yes, it is. 
> In general, it safer to not change the path of org-info.js,
> the one in http://orgmode.org/org-info.js is the one you want
> to use.

Okay, I changed it to the above line and created a test file:

------------------------------------------------------------

#+INFOJS_OPT: view:info toc:t path:http://orgmode.org/org-info.js

* 1st headline
text

* 2nd headline
more text

--------------------------------------------------------------

Everything looks good, the appropriate line in the .html file appears:

<script type="text/javascript" src="http://orgmode.org/org-info.js">

But the file is not displayed, as mentioned before only in text
browsers. Older .html files, created before the last pull still work
properly.
If I remove the INFOJS_OPT line from the .org file I get a working .html
file, only without js.

> HTH,

Thanks,

-- 
henry atts, web: http://literaturlatenight.de

  reply	other threads:[~2013-03-08 11:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08  8:14 [new exporter] blank html page with org-info.js henry atting
2013-03-08 11:09 ` Bastien
2013-03-08 11:24   ` henry atting [this message]
2013-03-08 11:43     ` Bastien
2013-03-08 11:55       ` henry atting
2013-03-08 15:53         ` Bastien
2013-03-08 16:15           ` henry atting

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=87txomuoaq.fsf@bye.fritz.box \
    --to=snd@online.de \
    --cc=emacs-orgmode@gnu.org \
    /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).