From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Problem with org-info.js? Date: Thu, 25 Jun 2009 23:26:29 +0200 Message-ID: <87zlbwhunu.fsf@kassiopeya.MSHEIMNETZ> References: <5236d6f90906251156o2942bb33ta6372482b9326b2c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJwVS-00042W-1x for emacs-orgmode@gnu.org; Thu, 25 Jun 2009 17:29:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJwVM-0003vy-BV for emacs-orgmode@gnu.org; Thu, 25 Jun 2009 17:29:16 -0400 Received: from [199.232.76.173] (port=44582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJwVM-0003vk-8n for emacs-orgmode@gnu.org; Thu, 25 Jun 2009 17:29:12 -0400 Received: from mail.gmx.net ([213.165.64.20]:52008) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MJwVL-00035O-Lj for emacs-orgmode@gnu.org; Thu, 25 Jun 2009 17:29:12 -0400 In-Reply-To: <5236d6f90906251156o2942bb33ta6372482b9326b2c@mail.gmail.com> (Xin Shi's message of "Thu, 25 Jun 2009 14:56:31 -0400") 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: Xin Shi Cc: emacs-orgmode 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