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

151 lines
5.4 KiB
HTML

<!-- MHonArc v2.5.0b2 -->
<!--X-Subject: table quirk, and ascii output suggestion -->
<!--X-From-R13: Uenag Fnlybe <tgnlybeNcvpnagr.pbz> -->
<!--X-Date: Thu, 6 Jul 2000 19:06:54 &#45;0400 (EDT) -->
<!--X-Message-Id: 200007062307.TAA31437@habanero.picante.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>table quirk, and ascii output suggestion</title>
<link rev="made" href="mailto:gtaylor@picante.com">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg00139.html">Date Prev</a>][<a href="msg00141.html">Date Next</a>][<a href="msg00137.html">Thread Prev</a>][<a href="msg00141.html">Thread Next</a>][<a href="maillist.html#00140">Date Index</a>][<a href="threads.html#00140">Thread Index</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>table quirk, and ascii output suggestion</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: <A HREF="mailto:ldp-docbook@lists.linuxdoc.org">ldp-docbook@lists.linuxdoc.org</A></li>
<li><em>Subject</em>: table quirk, and ascii output suggestion</li>
<li><em>From</em>: Grant Taylor &lt;<A HREF="mailto:gtaylor@picante.com">gtaylor@picante.com</A>&gt;</li>
<li><em>Date</em>: Thu, 06 Jul 2000 19:07:23 -0400</li>
<li><em>Resent-date</em>: Thu, 6 Jul 2000 19:06:54 -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;LpHm5B.A.56H.tERZ5@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>
I've just converted my HOWTO into DocBook, and am having a bit of
trouble getting satisfactory table output. There are two problems;
possibly both are due to my table's structure:
&lt;table&gt;
&lt;title&gt;Linux Printer Support&lt;/title&gt;
&lt;tgroup cols=5&gt;
&lt;thead&gt;
&lt;row&gt;
&lt;entry&gt;
&lt;simpara&gt;Manufacturer&lt;/simpara&gt;
&lt;/entry&gt;
&lt;entry&gt;&lt;simpara&gt;Perfectly&lt;/simpara&gt;&lt;/entry&gt;
&lt;entry&gt;&lt;simpara&gt;Mostly&lt;/simpara&gt;&lt;/entry&gt;
&lt;entry&gt;&lt;simpara&gt;Partially&lt;/simpara&gt;&lt;/entry&gt;
&lt;entry&gt;&lt;simpara&gt;Paperweight&lt;/simpara&gt;&lt;/entry&gt;
&lt;/row&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;row&gt;
&lt;entry&gt;&lt;simpara&gt;Alps&lt;/simpara&gt;&lt;/entry&gt;
&lt;entry&gt;&lt;/entry&gt;
&lt;entry&gt;&lt;/entry&gt;
&lt;entry&gt;
&lt;ItemizedList&gt;
&lt;ListItem&gt;&lt;Para&gt;MD-5000&lt;/Para&gt;&lt;/ListItem&gt;
&lt;ListItem&gt;&lt;Para&gt;MD-4000&lt;/Para&gt;&lt;/ListItem&gt;
&lt;ListItem&gt;&lt;Para&gt;MD-2000&lt;/Para&gt;&lt;/ListItem&gt;
&lt;ListItem&gt;&lt;Para&gt;MD-1300&lt;/Para&gt;&lt;/ListItem&gt;
&lt;ListItem&gt;&lt;Para&gt;MD-1000&lt;/Para&gt;&lt;/ListItem&gt;
&lt;/ItemizedList&gt;
&lt;/entry&gt;
&lt;entry&gt;&lt;/entry&gt;
&lt;/row&gt;
...
This appears to be fine in HTML, at least as far as w3m is concerned,
but isn't quite right in Postscript/PDF: all items but the first are
placed wrong, such that the leading bullets are in the previous
column. The same sort of thing happens when I use a SimpleList
instead. A similar problem appears in varlists and a few other places
where paragraphs interact with TeX's assorted list structures.
Now that I look, enumerated lists are even worse; HOWTO-HOWTO.pdf, for
example, shows these as
1.
Text for one
2.
Text for two
I've placed a one-page sample of what I'm seeing in my table (from
simplelist and member) at <A HREF="http://www.picante.com/phtsam.ps">http://www.picante.com/phtsam.ps</A>
Also, there was a little thread about how we're using lynx for ascii
output from docbook. Please use w3m instead; it does a much better
job than lynx, especially if I ever get this table to work right! ;)
--
Grant Taylor - gtaylor@picante&lt;dot&gt;com - <A HREF="http://www.picante.com/~gtaylor/">http://www.picante.com/~gtaylor/</A>
Linux Printing Website and HOWTO: <A HREF="http://www.linuxprinting.org/">http://www.linuxprinting.org/</A>
I do consulting in most things Unix/Linux/*BSD/Perl/C/C++
--
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-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00139.html">Re: Outputting DocBook to text?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00141.html">Re: table quirk, and ascii output suggestion</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00137.html">RE: Outputting DocBook to text?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00141.html">Re: table quirk, and ascii output suggestion</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00140"><strong>Date</strong></a></li>
<li><a href="threads.html#00140"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>