old-www/pub/Linux/docs/ldp-archived/mail_archives/ldp-docbook/msg00063.html

147 lines
5.3 KiB
HTML
Raw Permalink Blame History

<!-- MHonArc v2.5.0b2 -->
<!--X-Subject: RE: LinuxDoc &#45;> DocBook conversion tools -->
<!--X-From-R13: "Epbgg Ubbqjva" <tbbqjvaNtag.arg> -->
<!--X-Date: Tue, 2 May 2000 21:42:08 &#45;0400 (EDT) -->
<!--X-Message-Id: 000801bfb4a0$b0caa1e0$020010ac@fountainhead -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 200005020604.IAA03937@alpha.cdg.acriter.nl -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>RE: LinuxDoc -&gt; DocBook conversion tools</title>
<link rev="made" href="mailto:goodwin@gnt.net">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg00062.html">Date Prev</a>][<a href="msg00064.html">Date Next</a>][<a href="msg00062.html">Thread Prev</a>][<a href="msg00064.html">Thread Next</a>][<a href="maillist.html#00063">Date Index</a>][<a href="threads.html#00063">Thread Index</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>RE: LinuxDoc -&gt; DocBook conversion tools</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: &lt;<A HREF="mailto:cg@cdegroot.com">cg@cdegroot.com</A>&gt;</li>
<li><em>Subject</em>: RE: LinuxDoc -&gt; DocBook conversion tools </li>
<li><em>From</em>: &quot;Scott Goodwin&quot; &lt;<A HREF="mailto:goodwin@gnt.net">goodwin@gnt.net</A>&gt;</li>
<li><em>Date</em>: Tue, 2 May 2000 20:41:24 -0500</li>
<li><em>Cc</em>: &lt;<A HREF="mailto:ldp-docbook@lists.linuxdoc.org">ldp-docbook@lists.linuxdoc.org</A>&gt;</li>
<li><em>Importance</em>: Normal</li>
<li><em>In-reply-to</em>: &lt;<a href="msg00062.html">200005020604.IAA03937@alpha.cdg.acriter.nl</a>&gt;</li>
<li><em>Resent-date</em>: Tue, 2 May 2000 21:42:08 -0400 (EDT)</li>
<li><em>Resent-from</em>: <A HREF="mailto:ldp-docbook@lists.debian.org">ldp-docbook@lists.debian.org</A></li>
<li><em>Resent-message-id</em>: &lt;kJSZOC.A.3LC.uP4D5@murphy&gt;</li>
<li><em>Resent-sender</em>: <A HREF="mailto:ldp-docbook-request@lists.debian.org">ldp-docbook-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>
Hmm...I had thought of writing a set of scripts to clean up the HTML, then
identify the places where I would substitute the appropriate HTML tags for
SGML tags, and iteratively move the docset closer and closer to DocBook. I
had found an html2sgml perl script that'll get me from HTML -&gt; LinuxDoc
(though it needs some work).
I figured if I could get it to that point, and then translate it from
LinuxDoc -&gt; DocBook, that would solve 80% of it -- the rest will require
manual intervention.
I'm going to look into your suggestion of massaging it into XML and
applying a stylesheet. I'm new to SGML/XML, so I'm still at the bottom third
of my learning curve, but there's enough info on the net and in the O'Reilly
book to get me going.
thanks,
Scott
-----Original Message-----
From: cg@cdegroot.com [<A HREF="mailto:cg@cdegroot.com">mailto:cg@cdegroot.com</A>]
Sent: Tuesday, May 02, 2000 1:05 AM
To: Scott Goodwin
Cc: ldp-docbook@lists.linuxdoc.org
Subject: Re: LinuxDoc -&gt; DocBook conversion tools
goodwin@gnt.net said:
&gt; <20><><EFBFBD> I'm looking for a conversion tool that will take LinuxDoc format
&gt; and convert it to DocBook format. <20>
% sgmltools -b ld2db
The ld2db backend of SGMLtools drives a DSSSL stylesheet that converts
Linuxdoc to Docbook.
&gt; <20><> I am converting a bunch of HTML docs into DocBook format. If anyone
&gt; has any other suggestions or knows and easier way for me to do this,
&gt; let me know. <20>
I'd massage the HTML into something XML compliant (sgmlnorm might do the
job),
and then apply an XSL transformation stylesheet.
--
Cees de Groot <A HREF="http://www.cdegroot.com">http://www.cdegroot.com</A> &lt;cg@cdegroot.com&gt;
<A HREF="http://sgmltools-lite.sourceforge.net/">http://sgmltools-lite.sourceforge.net/</A>
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B Forge
your CipherSaber and list it: <A HREF="http://www.xs4all.nl/~cg/ciphersaber/">http://www.xs4all.nl/~cg/ciphersaber/</A>
--
To UNSUBSCRIBE, email to ldp-docbook-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="00062" href="msg00062.html">Re: LinuxDoc -&gt; DocBook conversion tools</a></strong>
<ul><li><em>From:</em> cg@cdegroot.com (Cees de Groot)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00062.html">Re: LinuxDoc -&gt; DocBook conversion tools</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00064.html">RE: if SGML is so great...</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00062.html">Re: LinuxDoc -&gt; DocBook conversion tools</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00064.html">RE: if SGML is so great...</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00063"><strong>Date</strong></a></li>
<li><a href="threads.html#00063"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>