bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSS file for texinfo HTML output


From: Per Bothner
Subject: Re: CSS file for texinfo HTML output
Date: Sat, 30 Jul 2016 17:42:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0



On 07/30/2016 01:15 PM, Gavin Smith wrote:

In Chrome clicking on a link in the sidebar loaded a different page in
the sidebar.

I managed to fix the problem: You can now use a file: URL on Chrome,
and the iframe version (index.xhtml?sidebar) works.

(This is good, because obviously being able to use file: URLs makes it easier 
to install
local documentation for ultimate goal of info file format retirement.)

The frameset version will be more difficult to get working, but that doesn't 
really matter.

I uploaded an update to:

ftp://ftp.gnu.org/pub/gnu/kawa/kawa-latest.zip

(The fix was relatively simple: I mainly removed out some needless cross-frame 
references.
The existing code handled clicking links doing the right thing.  The problem 
was how
to generate a more useful (less complete) sidebar index based on the current 
context;
I did that by passing having the main page pass its filename as a "query"
(e.g. "toc.xhtml?main=Foo.xhtml") as part of the URL for creating the iframe; 
the latter
can extract the query string using the window.location property.)
--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]