From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: Problem with org-info.js? Date: Fri, 26 Jun 2009 17:14:08 -0400 Message-ID: <5236d6f90906261414v6f4434f8t4fa77873372e555e@mail.gmail.com> References: <5236d6f90906251156o2942bb33ta6372482b9326b2c@mail.gmail.com> <87zlbwhunu.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016364176472f9245046d46d255 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKIkR-00055T-Ir for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 17:14:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKIkM-00051n-Ka for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 17:14:15 -0400 Received: from [199.232.76.173] (port=51664 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKIkM-00051g-Du for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 17:14:10 -0400 Received: from mail-fx0-f223.google.com ([209.85.220.223]:36800) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKIkL-0001lM-W4 for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 17:14:10 -0400 Received: by fxm23 with SMTP id 23so2554607fxm.42 for ; Fri, 26 Jun 2009 14:14:08 -0700 (PDT) In-Reply-To: <87zlbwhunu.fsf@kassiopeya.MSHEIMNETZ> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode --0016364176472f9245046d46d255 Content-Type: multipart/alternative; boundary=0016364176472f923e046d46d253 --0016364176472f923e046d46d253 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Sebastian, I've attached a simple test org (a.org), please check it it works for you. My environment does not work: Emacs: 22.3.1 Org-mode: 6.28b Firefox: 3.0.11 Thanks! Xin On Thu, Jun 25, 2009 at 5:26 PM, Sebastian Rose wrote: > Xin Shi writes: > > Hello Experts, > > > > I'm using org-6.28b and the fresh org-info.js (a few minutes ago). I > publish > > org file into HTML with #+INFOJS_OPT: view:info. Just like this page: > > http://orgmode.org/Changes.html > > > > However, the internal links (such as [[#tag-name]]) still does not > > work. > > Here it does. I wonder if we could finally help you, if you submitted a > simple test file that reproduces the problem. > > > As I wrote before, I can use custom IDs in the several documented ways > and they all work for me. Please send a test file so we have a chance to > find out where the problem is. I fear without a chance to reproduce the > error, > we can not be of great help. > > > > When I hover the courser on the link, I can see it is correct. Somehow, > the > > javascript just does not follow the link. Put it another way, once get > into > > that page, all of the movement for the internal links are governed by > > javascript only, only links like javascript:org_html_manager.go(12) > works. I > > don't know if it's possible to fix it. > > > No. Not in info view. The info-view mode (and folding in plain view) is > done by hiding the other sections. To show a section, the script has to > show it again. > > > > For example, in the same page: > > http://orgmode.org/Changes.html > > > > although it already have "customed_id"s, such as #v6.27, when you click > on > > the Version 6.27, the real link get you to there is > > javascript:org_html_manager.go(29). If one put a link on that page: > > [[#v6.27][Go to Version 6.27]], it might not work. > > There is a script like that on the page, but the script changes all > those links to ensure that the script gets noticed if the link is > used. How else should the script show and hide sections as needed?? > > To see that, just click on the [[#v6.27][Go to Version 6.27]] and then > press `U'. Do you see the URL in the link the script shows on top of the > screen? > > It looks like this: > > http://orgmode.org/Changes.html#v6.27 > > If you now click this link, you will come to that exact section. > > > > Sebastian > > --0016364176472f923e046d46d253 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Sebastian,

I've attached a=A0 simple test org (a.org), please check it it works for you.

My environ= ment does not work:

Emacs: 22.3.1
Org-mode: 6.28b
Firefox: 3.0= .11

Thanks!

Xin

On Thu, Jun 25, 20= 09 at 5:26 PM, Sebastian Rose <sebastian_rose@gmx.de> wrote:
Xin Shi <shixin= 111@gmail.com> writes:
> Hello Experts,
>
> I'm using org-6.28b and the fresh org-info.js (a few minutes ago).= I publish
> org file into HTML with #+INFOJS_OPT: view:info. Just like this page:<= br> > http://o= rgmode.org/Changes.html
>
> However, the internal links (such as [[#tag-name]]) still does not
> work.

Here it does. I wonder if we could finally help you, if you submitted= a
simple test file that reproduces the problem.


As I wrote before, I can use custom IDs in the several documented ways
and they all work for me. Please send a test file so we have a chance to find out where the problem is. I fear without a chance to reproduce the err= or,
we can not be of great help.


> When I hover the courser on the link, I can see it is correct. Somehow= , the
> javascript just does not follow the link. Put it another way, once get= into
> that page, all of the movement for the internal links are governed by<= br> > javascript only, only links like javascript:org_html_manager.go(12) wo= rks. I
> don't know if it's possible to fix it.


No. Not in info view. The info-view mode (and folding in plain view) = is
done by hiding the other sections. To show a section, the script has to
show it again.


> For example, in the same page:
> http://o= rgmode.org/Changes.html
>
> although it already have "customed_id"s, such as #v6.27, whe= n you click on
> the Version 6.27, the real link get you to there is
> javascript:org_html_manager.go(29). If one put a link on that page: > [[#v6.27][Go to Version 6.27]], it might not work.

There is a script like that on the page, but the script changes all those links to ensure that the script gets noticed if the link is
used. How else should the script show and hide sections as needed??

To see that, just click on the [[#v6.27][Go to Version 6.27]] and then
press `U'. Do you see the URL in the link the script shows on top of th= e
screen?

It looks like this:

=A0 ht= tp://orgmode.org/Changes.html#v6.27

If you now click this link, you will come to that exact section.



=A0 Sebastian


--0016364176472f923e046d46d253-- --0016364176472f9245046d46d255 Content-Type: application/octet-stream; name="a.org" Content-Disposition: attachment; filename="a.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fwfee7mj0 IytTVEFSVFVQOiBoaWRlc3RhcnMgCiMrU1RZTEU6IDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgdHlw ZT0idGV4dC9jc3MiIGhyZWY9IndlYi9tYWluLmNzcyIgLz4KIytJTkZPSlNfT1BUOiB2aWV3Omlu Zm8gcGF0aDp3ZWIvb3JnLWluZm8uanMgdGRlcHRoOjEgZnRvYzp0IAojK09QVElPTlM6IGF1dGhv cjpuaWwgY3JlYXRvcjpuaWwgbnVtOm5pbCB0b2M6bmlsIHRvZG86bmlsCiMrTElOS19VUDogLi8K CiogT3ZlcnZpZXcKCiAtIFRoaXMgaXMgYW4gaW50ZXJuYWwgbGluayB0byBbWyN0YWItY29tcGFy ZV95aWVsZHNfc2lnbmFsXzcuMDZfcmVndWxhcjFdW3RhYmxlXV0KCgoqIFRhYmxlcwoKKiogT25s eSBOZXcgRE50dXBsZSAtIHJlZ3VsYXIxCioqKiBDb21wYXJlIHlpZWxkcyBzaWduYWwgNy4wNiBy ZWd1bGFyMQogICAgOlBST1BFUlRJRVM6CiAgICA6Q1VTVE9NX0lEOiB0YWItY29tcGFyZV95aWVs ZHNfc2lnbmFsXzcuMDZfcmVndWxhcjEKICAgIDpFTkQ6CiAgICAKICAgIDogZGhhZCB0YWJsZSBj b21wYXJlIHlpZWxkcyBzaWduYWwgNy4wNiByZWd1bGFyMQogICAgCg== --0016364176472f9245046d46d255 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --0016364176472f9245046d46d255--