On Wed, Sep 19, 2001 at 02:40:38PM +0200, Yannick Patois wrote:
> Hello,
>
> I use Lyx to create DocBook and have various problems.
> The most serious ones are:
>
> - The INFORMALTABLE bug, already reported, applied a workaround cited in
> http://www.mail-archive.com/[email protected]/msg12688.html.
To be correced for next version.
> - An ANCHOR problem I never saw reported.
>
>jade:/home/patois/home/patois/work/userdoc/userdoc/CCIN2P3repositoryConventions.dbook:439:46:E:
> end tag for element "ANCHOR" which is not open
> The generated sgml is: <anchor id="sec-documentation" ></anchor>
> Correct syntax appears to be simply : <anchor id="sec-documentation" >
> without any closing tag.
Ok, I don't see your errors. I will change it for next version tought. We
will have then 2 version, one for sgml and another for xml. I must confess
that the output for this version is sgml that almost looks like xml (there
are small nuances, they aren't equal).
For xml that will become simply: <anchor .../>
This will solve this once and for all.
> - Bigger problem is again in the table where I got the following incorrect
> generated sgml:
> <colspec colname="col0" align="center"/>
> <colspec colname="col1" align="center"/>
>
> To compile I had to remove the end slash : <colspec colname="col1"align="center">
> But I really dont know how to write a simple workaround in the lyx source.
try src/tabular.C
The code is there, it should be easy to erase the extra /.
> ***
>
> There are also cosmetics problems that are worring me.
> I changed from LinuxDoc to DocBook because some on this list claimed it
> was no more supported. But the generated output (postscript) I got is very
> poor compared to the one I had with LinuxDoc.
I did.
Most of those problems are configuration options, others are real, I know.
> Some problems:
>
> - No section numbering by default
> -> By manually editing some 'docbook-utils.ds' file I was able to add
> that again, but I dont know how to tell lyx to use this file instead
> of the standard one.
You should write a wrapper file to load the standard stylesheets and from
there make your own customizations.
> - URL representation is quite strange (reported as note at the end of the
> document), there was by default an inline representation of URLs in
> LinuxDoc, and dont know how to change that.
That is an option from configuration, as I get the inline representation.
For print or html?
> - The Date item is not writen on the output document, I wasnt also able to
> found how to put a 'Version' item.
I will see this.
>
> Thanx for any help,
>
> Yannick
>
> PS: Related versions of softwares:
> Basicaly RH6.2-intel.
rh 7.1
> $ lyx --version
> Wrong command line option `--version'. Exiting. <-- should it be added ?
It is already in cvs. Good point. :-)
> $ lyx --help
> LyX 1.1.6fix3 of Fri, Jul 24 2001
>
> $ rpm -qf `which db2ps`
> docbook-utils-0.6-13
The same.
> $ rpm -qf `which jade`
> openjade-1.3-13
The same.
> Default called styles:
> $ db2ps CCIN2P3repositoryConventions.dbook
> Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
> Using stylesheet: /usr/share/sgml/docbook/utils-0.6/docbook-utils.dsl#print
>
> I hope I didnt missed anything important.
>
> --
> _/ Yannick Patois _________________ Address (home) __________________
> | irc(undernet): Garp on #france25+ | (moving) |
> | email : [EMAIL PROTECTED] | (moving) |
> | http://garp.feelingsurfer.net/ | (around Lyon) |
> | Tel/Fax-home:(moving) | FRANCE |
> | Petit Portail en Bois, Modeste et G�nial : http://www.rezo.net/ |
--
Jos�