Re: About SGML to HTML

2000-12-12 Thread Jose Abilio Oliveira Matos

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 namesU, a little bit extrange, um... : 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:
 footnoteI'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é



Re: About SGML to HTML

2000-12-12 Thread Jose Abilio Oliveira Matos

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 namesU, a little bit extrange, um... : 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:
 footnoteI'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é



Re: About SGML to HTML

2000-12-12 Thread Jose Abilio Oliveira Matos

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 namesU, a little bit extrange, um... : 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

Re: About SGML to HTML

2000-11-30 Thread Jose Abilio Oliveira Matos

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.

  Could you send a small file that shows this?
  A small lyx file, please.
  
 Thanks
 
 Dooteo
 

-- 
José



Re: About SGML to HTML

2000-11-30 Thread Jose Abilio Oliveira Matos

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.

  Could you send a small file that shows this?
  A small lyx file, please.
  
 Thanks
 
 Dooteo
 

-- 
José



Re: About SGML to HTML

2000-11-30 Thread Jose Abilio Oliveira Matos

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.

  Could you send a small file that shows this?
  A small lyx file, please.
  
> Thanks
> 
> Dooteo
> 

-- 
José



about SGML to HTML

2000-11-28 Thread blackziggy

Hi guys!

Using Options  Reconfigure, LyX can use LinuxDoc class. So I write on it.
But when I save the file like LinuxDoc, and write this command:

sgml2html filename.sgml

It creates some .html files, but doesn't write the TOC, nor crossed
references to html class.

The original LinuxDoc file has the next lines:

Title
Author
Date
1.Section
2.section
etc...

Must do I write something else?

Regards

Dooteo





Re: about SGML to HTML

2000-11-28 Thread Jose Abilio Oliveira Matos

On Tue, Nov 28, 2000 at 09:23:38AM +0100, blackziggy wrote:
 Hi guys!
 
 Using Options  Reconfigure, LyX can use LinuxDoc class. So I write on it.
 But when I save the file like LinuxDoc, and write this command:
 
 sgml2html filename.sgml
 
 It creates some .html files, but doesn't write the TOC, nor crossed
 references to html class.

  You should insert the TOC inset after the preamble.
  Look in the template file for an example.
  
  File - New from template
  
  then type the filename, "newfile" is the default. After that you have a
new file browser where you can select the linuxdoctemplate.lyx.

  Try it.
  
 The original LinuxDoc file has the next lines:
 
 Title
 Author
 Date
 1.Section
 2.section
 etc...
 
 Must do I write something else?
 
 Regards
 
 Dooteo
 

-- 
José



about SGML to HTML

2000-11-28 Thread blackziggy

Hi guys!

Using Options  Reconfigure, LyX can use LinuxDoc class. So I write on it.
But when I save the file like LinuxDoc, and write this command:

sgml2html filename.sgml

It creates some .html files, but doesn't write the TOC, nor crossed
references to html class.

The original LinuxDoc file has the next lines:

Title
Author
Date
1.Section
2.section
etc...

Must do I write something else?

Regards

Dooteo





Re: about SGML to HTML

2000-11-28 Thread Jose Abilio Oliveira Matos

On Tue, Nov 28, 2000 at 09:23:38AM +0100, blackziggy wrote:
 Hi guys!
 
 Using Options  Reconfigure, LyX can use LinuxDoc class. So I write on it.
 But when I save the file like LinuxDoc, and write this command:
 
 sgml2html filename.sgml
 
 It creates some .html files, but doesn't write the TOC, nor crossed
 references to html class.

  You should insert the TOC inset after the preamble.
  Look in the template file for an example.
  
  File - New from template
  
  then type the filename, "newfile" is the default. After that you have a
new file browser where you can select the linuxdoctemplate.lyx.

  Try it.
  
 The original LinuxDoc file has the next lines:
 
 Title
 Author
 Date
 1.Section
 2.section
 etc...
 
 Must do I write something else?
 
 Regards
 
 Dooteo
 

-- 
José



about SGML to HTML

2000-11-28 Thread blackziggy

Hi guys!

Using Options > Reconfigure, LyX can use LinuxDoc class. So I write on it.
But when I save the file like LinuxDoc, and write this command:

sgml2html filename.sgml

It creates some .html files, but doesn't write the TOC, nor crossed
references to html class.

The original LinuxDoc file has the next lines:

Title
Author
Date
1.Section
2.section
etc...

Must do I write something else?

Regards

Dooteo





Re: about SGML to HTML

2000-11-28 Thread Jose Abilio Oliveira Matos

On Tue, Nov 28, 2000 at 09:23:38AM +0100, blackziggy wrote:
> Hi guys!
> 
> Using Options > Reconfigure, LyX can use LinuxDoc class. So I write on it.
> But when I save the file like LinuxDoc, and write this command:
> 
> sgml2html filename.sgml
> 
> It creates some .html files, but doesn't write the TOC, nor crossed
> references to html class.

  You should insert the TOC inset after the preamble.
  Look in the template file for an example.
  
  File -> New from template
  
  then type the filename, "newfile" is the default. After that you have a
new file browser where you can select the linuxdoctemplate.lyx.

  Try it.
  
> The original LinuxDoc file has the next lines:
> 
> Title
> Author
> Date
> 1.Section
> 2.section
> etc...
> 
> Must do I write something else?
> 
> Regards
> 
> Dooteo
> 

-- 
José