docbook: Strange/buggy SGML export using LyX


Previous by date: 29 Jan 2002 23:11:55 -0000 Strange/buggy SGML export using LyX, Peter Bieringer
Next by date: 29 Jan 2002 23:11:55 -0000 Re: Strange/buggy SGML export using LyX, Charles Curley
Previous in thread: 29 Jan 2002 23:11:55 -0000 Strange/buggy SGML export using LyX, Peter Bieringer
Next in thread: 29 Jan 2002 23:11:55 -0000 Re: Strange/buggy SGML export using LyX, Charles Curley

Subject: Re: Strange/buggy SGML export using LyX
From: Gregory Leblanc ####@####.####
Date: 29 Jan 2002 23:11:55 -0000
Message-Id: <1012345890.4250.43.camel@peecee>

On Tue, 2002-01-29 at 15:01, Peter Bieringer wrote:
> 1. problem:
> 
> A LyX table is not proper exported in SGML, the colspec tag is not
> very well:
> 
> Example
>   <colspec colname="col0" align="center"/>
> 
> and fix:
>   - <colspec colname="col0" align="center"/>
>   + <colspec colname="col0" align="center">

LyX is exporting this and claiming that it's SGML?  That's not supported
by the standard SGML DCL.  XML uses that syntax by default.  Weird

> ----
> 2. problem:
> 
> LyX sometimes exports left and right quotes which aren't understand
> by "nsgmls"
> 
> Examples:
>  &ldquo;
>  &rdquo;
> 
> Fix: replace them with &quot;
> 
> Ok, done by a selfmade Perl parser now after export

Uh, those should work in DocBook, as far as I know.  I don't use them to
encapsulate text, instead I use <quote></quote>.  Don't know if LyX has
that capability.  This one warrants more investigation, to see why your
copy of Jade doesn't like those entities.

> ----
> 3. problem
> 
> LyX doesn't "escape" "&" chars in exported URLs, but nsgmls don't
> like this:
> 
> Example:
> 
>  <ulink
> url="http://researchcenter.zdnet.com/data/detail?id=1001711171_237&ty
> pe=RES&x=120054357">How Long the Aversion to IP Version 6</ulink> -
> Review of META Group, Inc., full access needs (free) registration at
> META Group, Inc.
> 
> 
> Jade checker:
> 
> jade:../Linux+IPv6-HOWTO.sgml:4678:78:E: general entity "type" not
> defined and no default entity
> jade:../Linux+IPv6-HOWTO.sgml:4678:87:E: general entity "x" not
> defined and no default entity
> 
> fix:
> 
> manual replace of "&" with "&amp;"
> No idea for an automatic fix, because it's difficult to differ
> between standalone "&" and "&" of starting entinites.

This is something horked in LyX.  Perhaps bug reports to the LyX folks
are in order.  I don't have a good work around though.
	Greg

-- 
Portland, Oregon, USA.


Previous by date: 29 Jan 2002 23:11:55 -0000 Strange/buggy SGML export using LyX, Peter Bieringer
Next by date: 29 Jan 2002 23:11:55 -0000 Re: Strange/buggy SGML export using LyX, Charles Curley
Previous in thread: 29 Jan 2002 23:11:55 -0000 Strange/buggy SGML export using LyX, Peter Bieringer
Next in thread: 29 Jan 2002 23:11:55 -0000 Re: Strange/buggy SGML export using LyX, Charles Curley


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.