Re: Incorrect docbook export

2002-11-29 Thread Chris Lale
José Abílio Oliveira Matos wrote:

On Wednesday 27 November 2002 15:44, Chris Lale wrote:



I am getting some incorrect SGML when I export to docbook:

1. characters # and $
These export to $ and # but should remain as # and $.The
result is that $ appears in the HTML document instead of $.
However, ~ exports to ˜ and this is correct.



  That is a bug from the browser, really! :-)
  I should coomplaing in the browser mailling list not here. ;-)


You may be correct, but this happens in Mozilla, Netscape and Internet 
Explorer! This must mean 99% of my audience. So much for standards!
At least it displays OK in Links.

Cheers!

Chris.

--
:  ___   Chris Lale   <[EMAIL PROTECTED]>  :
: /   \   :
: | <_/  My PC runs Debian GNU/Linux 3.0. :
: \  Robust, secure and free operating system + applications. :
:  \ Available at http://www.debian.org   :



Re: Incorrect docbook export

2002-11-29 Thread Chris Lale
José Abílio Oliveira Matos wrote:

On Thursday 28 November 2002 10:16, Chris Lale wrote:

Andre Poenitz wrote:

On Wed, Nov 27, 2002 at 03:44:23PM +, Chris Lale wrote:


I have a temporary workaround (highlight and click the TEX button). Is
there a file that I can alter?


src/sgml.C
The change is obvious.


Thanks, but I cannot find this file. It is not in lyx-1.1.6fix4.tar.gz
or lyx-1.2.1.tar.gz.



  Now I remember why. It is only in 1.3.0cvs. :-)
  The code that you are looking to is in src/buffer.C, sear for SGML and you 
will find it.

Thanks to José and André. I am afraid all this c stuff is too much for 
me. I will just stick with my workaround.

Cheers,

Chris.

--
:  ___   Chris Lale   <[EMAIL PROTECTED]>  :
: /   \   :
: | <_/  My PC runs Debian GNU/Linux 3.0. :
: \  Robust, secure and free operating system + applications. :
:  \ Available at http://www.debian.org   :



Re: Incorrect docbook export

2002-11-28 Thread Andre Poenitz
On Thu, Nov 28, 2002 at 10:16:47AM +, Chris Lale wrote:
> >src/sgml.C 
> 
> Thanks, but I cannot find this file. It is not in lyx-1.1.6fix4.tar.gz 
> or lyx-1.2.1.tar.gz.
> 
> Any suggestions?

In 1.2.x it's in  src/paragraph.C

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Incorrect docbook export

2002-11-28 Thread Chris Lale


Andre Poenitz wrote:

On Wed, Nov 27, 2002 at 03:44:23PM +, Chris Lale wrote:


I have a temporary workaround (highlight and click the TEX button). Is 
there a file that I can alter?


src/sgml.C 

The change is obvious.

Thanks, but I cannot find this file. It is not in lyx-1.1.6fix4.tar.gz 
or lyx-1.2.1.tar.gz.

Any suggestions?

Cheers,

Chris
--
:  ___   Chris Lale   <[EMAIL PROTECTED]>  :
: /   \   :
: | <_/  My PC runs Debian GNU/Linux 3.0. :
: \  Robust, secure and free operating system + applications. :
:  \ Available at http://www.debian.org   :



Re: Incorrect docbook export

2002-11-27 Thread José Abílio Oliveira Matos
On Wednesday 27 November 2002 15:44, Chris Lale wrote:
> I am using Lyx (1.1.6fix4) to compose articles using document class
> Docbook Article (SGML).

  Some of these problems are fixed in 1.2.1

> I am getting some incorrect SGML when I export to docbook:
>
>
> 1. characters # and $
> These export to $ and # but should remain as # and $.The
> result is that $ appears in the HTML document instead of $.
> However, ~ exports to ˜ and this is correct.

  That is a bug from the browser, really! :-)
  I should coomplaing in the browser mailling list not here. ;-)

> I have a temporary workaround (highlight and click the TEX button). Is
> there a file that I can alter?

> 2. label
> Inserting a label (eg abc) and exporting results in  id="abc">. Sgmltools complains about the end tag. The correct
> export should be . Is there a way to change this?

  This is fixed in 1.2.1. (I'm sure)

> Cheers,
>
> Chris.

-- 
José Abílio



Re: Incorrect docbook export

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 03:44:23PM +, Chris Lale wrote:
> I have a temporary workaround (highlight and click the TEX button). Is 
> there a file that I can alter?

src/sgml.C 

The change is obvious.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Incorrect docbook export

2002-11-27 Thread Chris Lale
I am using Lyx (1.1.6fix4) to compose articles using document class 
Docbook Article (SGML).

I am getting some incorrect SGML when I export to docbook:


1. characters # and $
These export to $ and # but should remain as # and $.The 
result is that $ appears in the HTML document instead of $.
However, ~ exports to ˜ and this is correct.

I have a temporary workaround (highlight and click the TEX button). Is 
there a file that I can alter?


2. label
Inserting a label (eg abc) and exporting results in . Sgmltools complains about the end tag. The correct 
export should be . Is there a way to change this?

Cheers,

Chris.
--
:  ___   Chris Lale   <[EMAIL PROTECTED]>  :
: /   \   :
: | <_/  My PC runs Debian GNU/Linux 3.0. :
: \  Robust, secure and free operating system + applications. :
:  \ Available at http://www.debian.org   :