emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-info.js
@ 2008-03-25 10:17 Pete Phillips
  2008-03-26 11:42 ` org-info.js Sebastian Rose
  0 siblings, 1 reply; 8+ messages in thread
From: Pete Phillips @ 2008-03-25 10:17 UTC (permalink / raw)
  To: org-mode mailing list

Morning all

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 ?

Cheers,
Pete

--
Pete Phillips, Acting Director,     |   http://www.smtl.co.uk/
Surgical Materials Testing Lab,     |   http://www.worldwidewounds.com/
Princess of Wales Hospital, S Wales |   http://www.dressings.org/
Tel/Fax: +44 1656-752820/30         |   pete@smtl.co.uk

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

* Re: org-info.js
  2008-03-25 10:17 org-info.js Pete Phillips
@ 2008-03-26 11:42 ` Sebastian Rose
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastian Rose @ 2008-03-26 11:42 UTC (permalink / raw)
  To: pete; +Cc: emacs-orgmode Mailinglist

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

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

* org-info.js
@ 2010-05-19 13:23 Dan Davison
  2010-05-19 13:58 ` org-info.js Nick Dokos
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Davison @ 2010-05-19 13:23 UTC (permalink / raw)
  To: emacs org-mode mailing list

If I'm viewing the manual with Sebastian's org-info javascript info
emulation, and I'm on node 13 of the manual, what key do I press to get
to 13.1?

I wish I were better with info. My understanding is that I would use
space or ] in emacs.

Thanks,

Dan

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

* Re: org-info.js
  2010-05-19 13:23 org-info.js Dan Davison
@ 2010-05-19 13:58 ` Nick Dokos
  2010-05-19 14:34   ` org-info.js Dan Davison
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2010-05-19 13:58 UTC (permalink / raw)
  To: Dan Davison; +Cc: nicholas.dokos, emacs org-mode mailing list

Dan Davison <davison@stats.ox.ac.uk> wrote:

> If I'm viewing the manual with Sebastian's org-info javascript info
> emulation, and I'm on node 13 of the manual, what key do I press to get
> to 13.1?
> 
> I wish I were better with info. My understanding is that I would use
> space or ] in emacs.
> 

In emacs info, <SPACE> advances down the imaginary scroll, so it may or
may not get you to the next (sub)section, depending on the length of the
current section and the size of your screen. ']' will go to the next
node in a depth-first traversal, 'n' will get you to the next node in a
level-traversal (always assuming that the relevant nodes exist).
Numeric arguments will get you to the relevant subsection (i.e. if you
are in sec. 13 and press 6, you'll end up in subsection 13.6 - assuming
that it exists), whereas 'n' and 'p' will get you to the next/previous
heading at the same level and 'u' will go up a level.

Now I'm on much shakier ground (iow, I don't necessarily know what I'm
talking about), but I think `n' does a depth-first traversal, so it will
go from 13 to 13.1 - the question is how to go from 13 to 14 without
visiting all the 13.x... in-between: I thought I would go UP to the TOC
and then TAB to or click on the next section, but the UP link does not
seem to do what I think it should do (go up one level in the hierarchy -
at least that seems to be the case in the org-info pages:
http://orgmode.org/worg/code/org-info-js). I'm not saying there is no
way: I just didn't find one after a few minutes of fooling around.

HTH,
Nick

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

* Re: org-info.js
  2010-05-19 13:58 ` org-info.js Nick Dokos
@ 2010-05-19 14:34   ` Dan Davison
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Davison @ 2010-05-19 14:34 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs org-mode mailing list

Nick Dokos <nicholas.dokos@hp.com> writes:

> Dan Davison <davison@stats.ox.ac.uk> wrote:
>
>> If I'm viewing the manual with Sebastian's org-info javascript info
>> emulation, and I'm on node 13 of the manual, what key do I press to get
>> to 13.1?
>> 
>> I wish I were better with info. My understanding is that I would use
>> space or ] in emacs.
>> 
>
> In emacs info, <SPACE> advances down the imaginary scroll, so it may or
> may not get you to the next (sub)section, depending on the length of the
> current section and the size of your screen. ']' will go to the next
> node in a depth-first traversal, 'n' will get you to the next node in a
> level-traversal (always assuming that the relevant nodes exist).
> Numeric arguments will get you to the relevant subsection (i.e. if you
> are in sec. 13 and press 6, you'll end up in subsection 13.6 - assuming
> that it exists), whereas 'n' and 'p' will get you to the next/previous
> heading at the same level and 'u' will go up a level.
>
> Now I'm on much shakier ground (iow, I don't necessarily know what I'm
> talking about), but I think `n' does a depth-first traversal, so it will
> go from 13 to 13.1 - the question is how to go from 13 to 14 without
> visiting all the 13.x... in-between:

Actually, no, n goes from 13 to 14 (at least in google-chrome). But I'm
with you -- it seems to behave differently in

http://orgmode.org/worg/code/org-info-js

There n does the depth-first traversal you describe (and that is the
behaviour I'm looking for).

So
- how to get the full traversal in the org manual?
- why is there different behaviour between the manual and the worg page?

Dan


> I thought I would go UP to the TOC
> and then TAB to or click on the next section, but the UP link does not
> seem to do what I think it should do (go up one level in the hierarchy -
> at least that seems to be the case in the org-info pages:
> http://orgmode.org/worg/code/org-info-js). I'm not saying there is no
> way: I just didn't find one after a few minutes of fooling around.
>
> HTH,
> Nick
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please 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] 8+ messages in thread

* org-info.js
@ 2015-01-26 19:11 Phillip Lord
  2015-01-26 19:51 ` org-info.js Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Phillip Lord @ 2015-01-26 19:11 UTC (permalink / raw)
  To: emacs-orgmode


Can anyone tell me where the source code for org-info at

http://orgmode.org/org-info.js

is? This verison if minified.

There are these:

https://github.com/SebastianRose/org-info-js/
https://github.com/RickMoynihan/org-info-js

Some of the web pages aabout org-info aren't working.

http://orgmode.org/worg/code/org-info-js/index.html

Unfortunately, it is only output to documents including it in minified
forms and as a link.

Phil

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

* Re: org-info.js
  2015-01-26 19:11 org-info.js Phillip Lord
@ 2015-01-26 19:51 ` Achim Gratz
  2015-01-27 17:09   ` org-info.js Phillip Lord
  0 siblings, 1 reply; 8+ messages in thread
From: Achim Gratz @ 2015-01-26 19:51 UTC (permalink / raw)
  To: emacs-orgmode

Phillip Lord writes:
> Can anyone tell me where the source code for org-info at
>
> http://orgmode.org/org-info.js
>
> is? This verison if minified.
>
> There are these:
>
> https://github.com/SebastianRose/org-info-js/

A copy of this version is on Worg under code/org-info-js, the plain
source is org-info-src.js.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

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

* Re: org-info.js
  2015-01-26 19:51 ` org-info.js Achim Gratz
@ 2015-01-27 17:09   ` Phillip Lord
  0 siblings, 0 replies; 8+ messages in thread
From: Phillip Lord @ 2015-01-27 17:09 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> Phillip Lord writes:
>> Can anyone tell me where the source code for org-info at
>>
>> http://orgmode.org/org-info.js
>>
>> is? This verison if minified.
>>
>> There are these:
>>
>> https://github.com/SebastianRose/org-info-js/
>
> A copy of this version is on Worg under code/org-info-js, the plain
> source is org-info-src.js.


Thanks!

Phil

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

end of thread, other threads:[~2015-01-27 17:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- 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
2008-03-25 10:17 org-info.js Pete Phillips
2008-03-26 11:42 ` org-info.js Sebastian Rose

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