[docbook-apps] EPUB: suppress one chapter from the navigation document -- how?

2018-10-31 Thread Robert Nagle
I am  making an epub file, and on the TOC I want to suppress one or more
HTML pages from being listed in the navigation document. (For example, I
want the TOC to show  CHAPTER 1, CHAPTER 3,  but have  no Chapter 2
entry visible in the TOC navigation document. )


There are manual ways to do this. First, I can  manually remove the LI item
referring to the line I want to suppress. But the better solution is to
give  the LI item in the TOC navigation document  the "hidden=" attribute.
http://www.idpf.org/epub/301/spec/epub-contentdocs.html#sec-xhtml-nav-def-hidden

Has anyone figured out how to do that with docbook/xslt?

The use case is that I have some introductory stuff which shouldn't appear
in the navigation document on the reading system. (Like a page of blurbs,
or a page promoting other titles by that author).

Thanks.

-- 
Robert Nagle
http://www.imaginaryplanet.net/weblogs/idiotprogrammer/


Re: [docbook-apps] List of tables (LoT)

2018-10-31 Thread Bernhard Kleine
Thank you, Peter, this I had seen earlier, but if you search for LoT or
list of tables it does not pop out.

Regards

Bernhard


Am 31.10.2018 um 11:50 schrieb Peter Fleck:
>
> HI Bernhard,
>
> http://www.sagehill.net/docbookxsl/TOCcontrol.html
>
> Check that you have included tables in the generate.toc parameter.
>
> For example:
>
> 
> appendix  toc,title
> article/appendix  nop
> article   toc,title
> book  toc,title,figure,table,example,equation
> chapter   toc,title
> part  toc,title
> preface   toc,title
> qandadiv  toc
> qandaset  toc
> reference toc,title
> sect1 toc
> sect2 toc
> sect3 toc
> sect4 toc
> sect5 toc
> section   toc
> set   toc,title
> 
>
>
> Peter
>
>
> On 31/10/2018 07:23, Bernhard Kleine wrote:
>> I checked Docbook 5: the Definitive Guide and Docbook XSL: the complete
>> Guide for LoT and I did not find it.
>>
>> Adding tocentry="1" to selected tables did not generate a List of Tables
>> either. What do I miss? How to make it appear? How to place it?
>>
>> Regards
>>
>> Bernhard
>>
>

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09



signature.asc
Description: OpenPGP digital signature


Re: [docbook-apps] List of tables (LoT)

2018-10-31 Thread Dave Pawson
do you actually need the  element in the doc body?
to position the toc's.

regartds
On Wed, 31 Oct 2018 at 10:50, Peter Fleck  wrote:
>
> HI Bernhard,
>
> http://www.sagehill.net/docbookxsl/TOCcontrol.html
>
> Check that you have included tables in the generate.toc parameter.
>
> For example:
>
> 
> appendix  toc,title
> article/appendix  nop
> article   toc,title
> book  toc,title,figure,table,example,equation
> chapter   toc,title
> part  toc,title
> preface   toc,title
> qandadiv  toc
> qandaset  toc
> reference toc,title
> sect1 toc
> sect2 toc
> sect3 toc
> sect4 toc
> sect5 toc
> section   toc
> set   toc,title
> 
>
>
> Peter
>
>
> On 31/10/2018 07:23, Bernhard Kleine wrote:
>
> I checked Docbook 5: the Definitive Guide and Docbook XSL: the complete
> Guide for LoT and I did not find it.
>
> Adding tocentry="1" to selected tables did not generate a List of Tables
> either. What do I miss? How to make it appear? How to place it?
>
> Regards
>
> Bernhard
>
>


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] List of tables (LoT)

2018-10-31 Thread Peter Fleck

HI Bernhard,

http://www.sagehill.net/docbookxsl/TOCcontrol.html

Check that you have included tables in the generate.toc parameter.

For example:


appendix  toc,title
article/appendix  nop
article   toc,title
book  toc,title,figure,table,example,equation
chapter   toc,title
part  toc,title
preface   toc,title
qandadiv  toc
qandaset  toc
reference toc,title
sect1 toc
sect2 toc
sect3 toc
sect4 toc
sect5 toc
section   toc
set   toc,title



Peter


On 31/10/2018 07:23, Bernhard Kleine wrote:

I checked Docbook 5: the Definitive Guide and Docbook XSL: the complete
Guide for LoT and I did not find it.

Adding tocentry="1" to selected tables did not generate a List of Tables
either. What do I miss? How to make it appear? How to place it?

Regards

Bernhard





[docbook-apps] List of tables (LoT)

2018-10-31 Thread Bernhard Kleine
I checked Docbook 5: the Definitive Guide and Docbook XSL: the complete
Guide for LoT and I did not find it.

Adding tocentry="1" to selected tables did not generate a List of Tables
either. What do I miss? How to make it appear? How to place it?

Regards

Bernhard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




signature.asc
Description: OpenPGP digital signature