old-www/pub/Linux/docs/ldp-archived/mail_archives/ldp-discuss/msg01625.html

168 lines
6.4 KiB
HTML
Raw Permalink Blame History

<!-- 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 &#45;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 &lt;<A HREF="mailto:wehe@snafu.de">wehe@snafu.de</A>&gt;</li>
<li><em>Subject</em>: Re: table of content w/ DocBook</li>
<li><em>From</em>: Jorge Godoy &lt;<A HREF="mailto:godoy@conectiva.com.br">godoy@conectiva.com.br</A>&gt;</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>: &lt;<a href="msg01624.html">38B4C6AC.96ADD6C3@snafu.de</a>&gt;; from wehe@snafu.de on Thu, Feb 24, 2000 at 06:50:36AM +0100</li>
<li><em>Mail-followup-to</em>: Werner Heuser &lt;wehe@snafu.de&gt;,ldp-discuss@lists.linuxdoc.org</li>
<li><em>References</em>: &lt;<a href="msg01624.html">38B4C6AC.96ADD6C3@snafu.de</a>&gt;</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>: &lt;5ds9GC.A.xcF.fqQt4@murphy&gt;</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:
&gt; Hello,
&gt;
&gt; I have just finished to convert my Medicine-HOWTO from ld to db.
&gt; This was really easy using 'sgmltools -ld2db &lt;HOWTO.sgml&gt;'. I have
&gt; than processed 'sgmltools -b html &lt;HOWTO.db.sgml&gt;'. This
&gt; generated a nice HTML output.
&gt;
&gt; Some problems I have still left:
&gt;
&gt; - I have just finished reading the DocBook HOWTO, but I didn't find
&gt; any hints to generate a toc. Have I overlooked something?
Yep.
There's one customization needed for generating a ToC in an article.
&gt; - also the &lt;toc&gt; entry from the ld source doesn't
&gt; seem to be converted into db
Because of the customization needed I've said above.
&gt; - the generated file names by 'sgmltools -b html' seem arbitrary
&gt; to me t1.html, x23.html, .. is this the expected behaviour? How
&gt; can I avoid this?
You can use, after the &lt;section&gt; or &lt;sect[12345]&gt; tag a pre-processing
directive: &lt;?dbhtml filename=&quot;file_name.html&quot;&gt;. Or, in your
stylesheet, make another customization so that your id's are converted
into filenames.
&gt; - How will the LDP handle some parts which have been included and
&gt; formatted in former HOWTOs only on an informal basis, for instance:
&gt; revision history and legal notice. In other words how will this
&gt; example from the DocBook HOWTO be processed by the LDP?
&gt;
&gt; &lt;revhistory&gt;
&gt; &lt;revision&gt;
&gt; &lt;revnumber&gt;1.0&lt;/revnumber&gt;
&gt; &lt;date&gt;27 de janeiro de 2000&lt;/date&gt;
&gt; &lt;authorinitials&gt;godoy&lt;/authorinitials&gt;
&gt; &lt;revremark&gt;Vers<EFBFBD>o inicial.&lt;/revremark&gt;
&gt; &lt;/revision&gt;
&gt; &lt;/revhistory&gt;
&gt;
&gt; &lt;legalnotice&gt;
&gt; &lt;para&gt;This document can be freely translated and distributed. It's
&gt; released
&gt; under the LDP License.&lt;/para&gt;
&gt; &lt;/legalnotice&gt;
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,
&quot;See XYZ-HOWTO version A.BC or newer for more information&quot;.
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 &quot;ToC&quot; customization is in the HOWTO (it's one of the
characteristics that I missed more from LinuxDoc).
Regards,
--
Godoy. &lt;godoy@conectiva.com.br&gt; GPG Fingerprint
851B B620 626D 2AD0 E783
&quot;Ser poeta n<>o <20> minha ambi<62><69>o, E932 1330 BE6D A4A3 0625
<20> minha maneira de estar sozinho&quot;
- 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 &quot;unsubscribe&quot;. 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 &lt;wehe@snafu.de&gt;</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>