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 13:03:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0



On 07/30/2016 12:26 PM, Per Bothner wrote:

(1) Unzip kawa-manual.epub.

(I assume you tried this, but I failed to specify the URLs to use.)

Then point Firefox at either (appropriately adjusted):

  file:///tmp/kawa-2.1.9/doc/OEBPS/index.xhtml?sidebar

or:

  file:///tmp/kawa-2.1.9/doc/OEBPS/with-frames.html

The former uses an iframe; the latter old-fashioned framesets.

The reason for the awkward URLs is because we don't want the
JavaScript-generated sidebar when running in an ereader, since they
generate their own sidebar.  So we need to have some way to distinguish
"add the sidebar" from "don't add the sidebar".

A possible better solution might be to add an "index.html" which just
forwards to "index.xhtml?sidebar".  I haven't explored that idea.
Or we can generate the epub so it has a different starting page
from either index.html or index.xhtml.

--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

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