On Wed, Nov 29, 2000 at 09:03:07AM +0100, blackziggy wrote:
> Hi !
>
> Some little questions 4 you:
>
> Last nigth i insert the ToC in the lyx file, but the sgml conversion only
> works if the label is after then name of the sections, like:
>
>
> ,-----------------.
> 1.- Introduction | sec:Introduction |
> `-----------------4
>
> That's when the sgml file has the ToC.
> But if it's before than the section name, there isn't (in the sgml file)
> ToC. Only something like:
> 1.-
> 2.-
> 2.1.-
> 2.2.-
> 3.-
> (...) etc.
> Without names....Ummmm, a little bit extrange, ummmmm... : o
I think that I know what the problem is and I have a solution that will go
in next stable release. The code is the same that I have now for docbook so
the solution is almost copy and paste.
> Well, I find the solution for this, but i've got some other 'errors', like
> the cross references.
>
> *The lyx file has some crossed references, but in the sgml file only appears
> the id of them, not the name. One example, making an Introduction section
> references, in the sgml file:
>
> {id="sec:Introduction", name=""}
>
> Can LyX put itself the names of the referenced sections in the sgml file?
> What should I work it?
I bet you have done this document in latex mode and then changed to
linuxdoc... Am I wrong? :-)
The answer is that for linuxdoc the reference has also a name. That is the
same name that will appear in
<id="sec:Introduction", name="Introduction">
The solution is tricky because with older version you can't edit the
reference. You need to erase the reference and repeat the whole process.
There are however two ways to do that.
The uglier and tricky is to edit directly the lyx file.
I don't advise you to do that. The advantage is that allows you to keep
working with previous lyx versions.
The cleaner way is to use one of the latest version (1.1.6pre2) but beware
that this is not yet a stable version. The drawback of this is that the file
format has changed between version and if you do that you will probably no
be able to open this file with previous lyx versions.
You have been warned, either way please backup your work before proceeding.
If don't have problems exchanging file with previous lyx versions than my
advice is to use lyx 1.1.6pre2 (there will be another pre-release soon) that
has been pretty stable recently.
> Another Question, it's about footnotes. In the sgml file appears the
> footnotes that lyx file has. And looks like:
> <footnote>....I'm talking about languages<\footnote>
> but, when i write this command:
>
> sgml2html somefile.sgml.
>
> the html file resultant hasn't any kind of footnotes. It prints the
> footnotes messages like another line, not like a footnote. Some idea? Or is
> it making me a joke? ; )
I will look further in to this, as I think this not a lyx issue.
> Thanks
>
> Dooteo
>
--
Jos�