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

144 lines
5.6 KiB
HTML

<!-- MHonArc v2.5.0b2 -->
<!--X-Subject: Re: DocBook or sgmltool problems -->
<!--X-From-R13: "Uert Trethfba" <tsretNubbc.gvzbavhz.ftv.pbz> -->
<!--X-Date: Wed, 3 May 2000 15:23:14 &#45;0400 (EDT) -->
<!--X-Message-Id: 10005031405.ZM8335@hoop.timonium.sgi.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.4.20.0005022235500.1490&#45;100000@icebalm.lucid.dyndns.org -->
<!--X-Reference: 20000503.17524700@usb.cafod.org.uk -->
<!--X-Reference: brichardson@lineone.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>Re: DocBook or sgmltool problems</title>
<link rev="made" href="mailto:gferg@hoop.timonium.sgi.com">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg02230.html">Date Prev</a>][<a href="msg02232.html">Date Next</a>][<a href="msg02229.html">Thread Prev</a>][<a href="msg02236.html">Thread Next</a>][<a href="maillist.html#02231">Date Index</a>][<a href="threads.html#02231">Thread Index</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>Re: DocBook or sgmltool problems</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: Bruce Richardson &lt;<A HREF="mailto:brichardson@lineone.net">brichardson@lineone.net</A>&gt;, <A HREF="mailto:ldp-discuss@lists.linuxdoc.org">ldp-discuss@lists.linuxdoc.org</A>, <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
<li><em>Subject</em>: Re: DocBook or sgmltool problems</li>
<li><em>From</em>: &quot;Greg Ferguson&quot; &lt;<A HREF="mailto:gferg@hoop.timonium.sgi.com">gferg@hoop.timonium.sgi.com</A>&gt;</li>
<li><em>Date</em>: Wed, 3 May 2000 14:05:19 -0400</li>
<li><em>In-reply-to</em>: Bruce Richardson &lt;brichardson@lineone.net&gt; &quot;DocBook or sgmltool problems&quot; (May 3, 5:52pm)</li>
<li><em>References</em>: &lt;<a href="msg02199.html">Pine.LNX.4.20.0005022235500.1490-100000@icebalm.lucid.dyndns.org</a>&gt; &lt;<a href="msg02229.html">20000503.17524700@usb.cafod.org.uk</a>&gt;</li>
<li><em>Resent-date</em>: Wed, 3 May 2000 15:23:14 -0400 (EDT)</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;werHTB.A.qiB.mxHE5@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 May 3, 5:52pm, Bruce Richardson wrote:
&gt; Subject: DocBook or sgmltool problems
&gt;
&gt;
&gt; Having investigated, Lyx turns out not to be at fault. Here are some
&gt; problems I have had with DocBook and sgmltools:
&gt;
&gt; &amp;ldquo and &amp;lsqb: when sgmltools renders the sgml to text, rtf or ps
&gt; these work properly but in html output they appear in full instead of
&gt; &quot; and [.
&gt;
&gt; &amp;tilde: Is this valid in DocBook? It comes out wrong in all the
&gt; formats.
&gt;
&gt; If I'm not doing something wrong (most likely) then is it a DocBook or
&gt; sgmltools error?
I ran into this as well. There is a DSSSL setting that needs
to be changed to get the behavior you want (at least this
resolved the issue for me) :
(declare-characteristic preserve-sdata?
&quot;UNREGISTERED::James Clark//Characteristic::preserve-sdata?&quot;
#f)
In the default (flag set to &quot;t&quot;), the entity declaration is
kept as sdata; meaning that (hopefully!) the browser/client,
for example, knows what to do with the entity when it sees it.
Changing the flag causes the tools to expand/change the entity
into some character(s) at build time.
Flag is found in &lt;dsssl_location&gt;/docbook/html/dockbook.dsl
r,
--
Greg Ferguson - s/w engr / mtlhd | gferg@sgi.com
SGI Tech Pubs - <A HREF="http://techpubs.sgi.com">http://techpubs.sgi.com</A> |
Linux Doc Project - <A HREF="http://www.linuxdoc.org">http://www.linuxdoc.org</A> |
--
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>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="02236" href="msg02236.html">Re: DocBook or sgmltool problems</a></strong>
<ul><li><em>From:</em> Bruce Richardson &lt;brichardson@lineone.net&gt;</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="02199" href="msg02199.html">Re: Verbatim in DocBook?</a></strong>
<ul><li><em>From:</em> Warren Chartier &lt;icebalm@bigfoot.com&gt;</li></ul></li>
<li><strong><a name="02229" href="msg02229.html">DocBook or sgmltool problems</a></strong>
<ul><li><em>From:</em> Bruce Richardson &lt;brichardson@lineone.net&gt;</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg02230.html">Re: if SGML is so great...</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg02232.html">SGML tools aren't so great</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg02229.html">DocBook or sgmltool problems</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg02236.html">Re: DocBook or sgmltool problems</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#02231"><strong>Date</strong></a></li>
<li><a href="threads.html#02231"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>