On Thu, Sep 14, 2000 at 07:45:01PM +0200, Matej Cepl wrote:
> Hi,
> 
> I am very happy user of LyX (only because of it I have left lout, 
> although I think that it is fairly superior to lout), but nevertheless 
> there are some things which doesn't work as I would like them:
> 
> 1) There is something screwed up with LinuxDoc support (I know, 
> that I should use DocBook instead, but do I have to; documentation 
> doesn't say, that the support for linuxdoc was terminated, wasn't 
> it?). I am working on translation of the article by Frederic Bastiat 
> "The Law" (BTW, it is really beautiful thing, if you are interested in 
> politics and libertarianism). In order to have things as platform-
> independent as possible I would love to have it in Linuxdoc rather 
> than in pure LaTeX (RTF, etc.). And I think that SGML is the ideal of 
> all WYSIWYM systems, isn't it?

  Yes.
  
> Original text is HTML, which I have transformed by hand into 
> linuxdoc-SGML (checked via sgmlcheck -- sgml-tools-1.0.9-2 w/ 
> Czech support) and then imported via sgml2latex and reLyX into 
> LyX. Everything seems to be OK, the format of document is fairly 
> simple anyway.
> 
> When I have exported the document in SGML via 
> File/Export/LinuxDoc, sgmlcheck did not like the result. OK, maybe 
> that I should not use any additional packages (indentfirst in this 
> case), maybe that I should not use parametrs to classes 
> (pointednumbers), but first LyX should do something with stupid 
> things I made (I thought that it is the raison d'etre of LyX -- to make 
> things working for stupid users :-) and even more, there are yet 
> other troubles which I should not be blamed for. I mean, that there 
> is something screwed up with <quote> and <abstract> elements 
> and &lsqb; and &rsqb; entities.

  Some of those problems are limitations from linuxdoc...

> Example of my LyX document, exported SGML one, output of stderr 
> of sgmlcheck, and version information of sgml-tools can be found on 
> http://www.volny.cz/cepls/linuxdoc-bug.tar.bz2 (I am bit afraid to 
> send 50k into the list).

  Please remove the indentfirst from the preamble. I have been lazy and the
name will change from latex preamble to sgml/xml preamble when typing
linuxdoc/docbook documents.
  Sorry for the confusion.
  
  Also you should remove the extra options from the document layout, where
it has "pointednumbers" you should remove it since the extra options have a
different meaning here.

  After this changes you should have no problems. One small item is that
linuxdoc only expects an abstract with one paragraph. And some of the
complains come from that problem.

  Tell me if this works.
  
[...]
> 
>                       Have a nice day
> 
>                                                                       Matej

-- 
Jos�

Reply via email to