168 lines
6.4 KiB
HTML
168 lines
6.4 KiB
HTML
<!-- MHonArc v2.5.0b2 -->
|
||
<!--X-Subject: Re: table of content w/ DocBook -->
|
||
<!--X-From-R13: Xbetr Ubqbl <tbqblNpbarpgvin.pbz.oe> -->
|
||
<!--X-Date: Thu, 24 Feb 2000 05:41:07 -0500 (EST) -->
|
||
<!--X-Message-Id: 20000224083947.E24290@conectiva.com.br -->
|
||
<!--X-Content-Type: text/plain -->
|
||
<!--X-Reference: 38B4C6AC.96ADD6C3@snafu.de -->
|
||
<!--X-Head-End-->
|
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
|
||
<html>
|
||
<head>
|
||
<title>Re: table of content w/ DocBook</title>
|
||
<link rev="made" href="mailto:godoy@conectiva.com.br">
|
||
</head>
|
||
<body>
|
||
<!--X-Body-Begin-->
|
||
<!--X-User-Header-->
|
||
<!--X-User-Header-End-->
|
||
<!--X-TopPNI-->
|
||
<hr>
|
||
[<a href="msg01624.html">Date Prev</a>][<a href="msg01626.html">Date Next</a>][<a href="msg01624.html">Thread Prev</a>][<a href="msg01626.html">Thread Next</a>][<a href="maillist.html#01625">Date Index</a>][<a href="threads.html#01625">Thread Index</a>]
|
||
<!--X-TopPNI-End-->
|
||
<!--X-MsgBody-->
|
||
<!--X-Subject-Header-Begin-->
|
||
<h1>Re: table of content w/ DocBook</h1>
|
||
<hr>
|
||
<!--X-Subject-Header-End-->
|
||
<!--X-Head-of-Message-->
|
||
<ul>
|
||
<li><em>To</em>: Werner Heuser <<A HREF="mailto:wehe@snafu.de">wehe@snafu.de</A>></li>
|
||
<li><em>Subject</em>: Re: table of content w/ DocBook</li>
|
||
<li><em>From</em>: Jorge Godoy <<A HREF="mailto:godoy@conectiva.com.br">godoy@conectiva.com.br</A>></li>
|
||
<li><em>Date</em>: Thu, 24 Feb 2000 08:39:47 -0200</li>
|
||
<li><em>Cc</em>: <A HREF="mailto:ldp-discuss@lists.linuxdoc.org">ldp-discuss@lists.linuxdoc.org</A></li>
|
||
<li><em>In-reply-to</em>: <<a href="msg01624.html">38B4C6AC.96ADD6C3@snafu.de</a>>; from wehe@snafu.de on Thu, Feb 24, 2000 at 06:50:36AM +0100</li>
|
||
<li><em>Mail-followup-to</em>: Werner Heuser <wehe@snafu.de>,ldp-discuss@lists.linuxdoc.org</li>
|
||
<li><em>References</em>: <<a href="msg01624.html">38B4C6AC.96ADD6C3@snafu.de</a>></li>
|
||
<li><em>Resent-cc</em>: recipient list not shown: ;</li>
|
||
<li><em>Resent-date</em>: 24 Feb 2000 10:40:32 -0000</li>
|
||
<li><em>Resent-from</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
|
||
<li><em>Resent-message-id</em>: <5ds9GC.A.xcF.fqQt4@murphy></li>
|
||
<li><em>Resent-sender</em>: <A HREF="mailto:ldp-discuss-request@lists.debian.org">ldp-discuss-request@lists.debian.org</A></li>
|
||
</ul>
|
||
<!--X-Head-of-Message-End-->
|
||
<!--X-Head-Body-Sep-Begin-->
|
||
<hr>
|
||
<!--X-Head-Body-Sep-End-->
|
||
<!--X-Body-of-Message-->
|
||
<pre>
|
||
On Thu, Feb 24, 2000 at 06:50:36AM +0100, Werner Heuser wrote:
|
||
> Hello,
|
||
>
|
||
> I have just finished to convert my Medicine-HOWTO from ld to db.
|
||
> This was really easy using 'sgmltools -ld2db <HOWTO.sgml>'. I have
|
||
> than processed 'sgmltools -b html <HOWTO.db.sgml>'. This
|
||
> generated a nice HTML output.
|
||
>
|
||
> Some problems I have still left:
|
||
>
|
||
> - I have just finished reading the DocBook HOWTO, but I didn't find
|
||
> any hints to generate a toc. Have I overlooked something?
|
||
|
||
Yep.
|
||
|
||
There's one customization needed for generating a ToC in an article.
|
||
|
||
> - also the <toc> entry from the ld source doesn't
|
||
> seem to be converted into db
|
||
|
||
Because of the customization needed I've said above.
|
||
|
||
> - the generated file names by 'sgmltools -b html' seem arbitrary
|
||
> to me t1.html, x23.html, .. is this the expected behaviour? How
|
||
> can I avoid this?
|
||
|
||
You can use, after the <section> or <sect[12345]> tag a pre-processing
|
||
directive: <?dbhtml filename="file_name.html">. Or, in your
|
||
stylesheet, make another customization so that your id's are converted
|
||
into filenames.
|
||
|
||
> - How will the LDP handle some parts which have been included and
|
||
> formatted in former HOWTOs only on an informal basis, for instance:
|
||
> revision history and legal notice. In other words how will this
|
||
> example from the DocBook HOWTO be processed by the LDP?
|
||
>
|
||
> <revhistory>
|
||
> <revision>
|
||
> <revnumber>1.0</revnumber>
|
||
> <date>27 de janeiro de 2000</date>
|
||
> <authorinitials>godoy</authorinitials>
|
||
> <revremark>Vers<EFBFBD>o inicial.</revremark>
|
||
> </revision>
|
||
> </revhistory>
|
||
>
|
||
> <legalnotice>
|
||
> <para>This document can be freely translated and distributed. It's
|
||
> released
|
||
> under the LDP License.</para>
|
||
> </legalnotice>
|
||
|
||
I thought of this as an informative option. The reader will know what
|
||
happened from one version to another and will know if this HOWTO's
|
||
version is the one he's looking for. We'll be able to reference, then,
|
||
"See XYZ-HOWTO version A.BC or newer for more information".
|
||
|
||
For the customization details, please write me in private. It is a
|
||
somewhat big amount of text that might not interest to all the people
|
||
here. But, the "ToC" customization is in the HOWTO (it's one of the
|
||
characteristics that I missed more from LinuxDoc).
|
||
|
||
Regards,
|
||
--
|
||
Godoy. <godoy@conectiva.com.br> GPG Fingerprint
|
||
851B B620 626D 2AD0 E783
|
||
"Ser poeta n<>o <20> minha ambi<62><69>o, E932 1330 BE6D A4A3 0625
|
||
<20> minha maneira de estar sozinho"
|
||
- Fernando Pessoa. Publica<63><61>es @ Conectiva S.A.
|
||
|
||
Except where explicitly stated I speak on my own behalf.
|
||
Exceto onde explicitado as declara<72><61>es aqui feitas s<>o apenas minhas.
|
||
|
||
|
||
--
|
||
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
|
||
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
||
|
||
</pre>
|
||
|
||
<!--X-Body-of-Message-End-->
|
||
<!--X-MsgBody-End-->
|
||
<!--X-Follow-Ups-->
|
||
<hr>
|
||
<!--X-Follow-Ups-End-->
|
||
<!--X-References-->
|
||
<ul><li><strong>References</strong>:
|
||
<ul>
|
||
<li><strong><a name="01624" href="msg01624.html">table of content w/ DocBook</a></strong>
|
||
<ul><li><em>From:</em> Werner Heuser <wehe@snafu.de></li></ul></li>
|
||
</ul></li></ul>
|
||
<!--X-References-End-->
|
||
<!--X-BotPNI-->
|
||
<ul>
|
||
<li>Prev by Date:
|
||
<strong><a href="msg01624.html">table of content w/ DocBook</a></strong>
|
||
</li>
|
||
<li>Next by Date:
|
||
<strong><a href="msg01626.html">NetHelp for HOWTOs</a></strong>
|
||
</li>
|
||
<li>Previous by thread:
|
||
<strong><a href="msg01624.html">table of content w/ DocBook</a></strong>
|
||
</li>
|
||
<li>Next by thread:
|
||
<strong><a href="msg01626.html">NetHelp for HOWTOs</a></strong>
|
||
</li>
|
||
<li>Index(es):
|
||
<ul>
|
||
<li><a href="maillist.html#01625"><strong>Date</strong></a></li>
|
||
<li><a href="threads.html#01625"><strong>Thread</strong></a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
<!--X-BotPNI-End-->
|
||
<!--X-User-Footer-->
|
||
<!--X-User-Footer-End-->
|
||
</body>
|
||
</html>
|