Re: mhchem and html

2011-11-21 Thread eric katz
Richard Heck rgheck at comcast.net writes:


 It should be fairly easy to fix this. Please try to say, as best you can 
 in the bug report, exactly what the output should be like. Posting an 
 example file that contains all the main constructs would be especially 
 helpful.

Will do!

And thank you all for your help!

--eric




Re: mhchem and html

2011-11-21 Thread eric katz
Richard Heck rgheck at comcast.net writes:


 It should be fairly easy to fix this. Please try to say, as best you can 
 in the bug report, exactly what the output should be like. Posting an 
 example file that contains all the main constructs would be especially 
 helpful.

Will do!

And thank you all for your help!

--eric




Re: mhchem and html

2011-11-21 Thread eric katz
Richard Heck  comcast.net> writes:


> It should be fairly easy to fix this. Please try to say, as best you can 
> in the bug report, exactly what the output should be like. Posting an 
> example file that contains all the main constructs would be especially 
> helpful.

Will do!

And thank you all for your help!

--eric




Re: mhchem and html

2011-11-18 Thread Richard Heck

On 11/18/2011 02:55 AM, Guenter Milde wrote:

On 2011-11-18, eric katz wrote:


I've found the mhchem module from CTAN to be very useful for writing
chemical equations. It works beautifully for pdf output. However, when
I export to HTML, it looks like the mhchem codes don't get interpreted
at all. I get things like:  \ceNa + and \ceNO3 −  right in the
text, instead of formatted chemistry. The rest of the document comes
out looking very nice; mathematical equations look great.
Can it be fixed?

File a bug report for the LyxHTML converter.

It should be fairly easy to fix this. Please try to say, as best you can 
in the bug report, exactly what the output should be like. Posting an 
example file that contains all the main constructs would be especially 
helpful.


In the meantime, you can force LyX to output images for these 
constructs, instead of MathML or whatever, by (I think) including a 
\relax somewhere in the formula. LyX won't know what to do with that, 
so it will fall back to outputting images.


Richard



Re: mhchem and html

2011-11-18 Thread Julien Rioux

On 18/11/2011 12:29 PM, Richard Heck wrote:

In the meantime, you can force LyX to output images for these
constructs, instead of MathML or whatever, by (I think) including a
\relax somewhere in the formula. LyX won't know what to do with that,
so it will fall back to outputting images.


I seem to recall a setting somewhere to enforce the use of images, am I 
wrong?


--
Julien



Re: mhchem and html

2011-11-18 Thread Richard Heck
On 11/18/2011 01:00 PM, Julien Rioux wrote:
 On 18/11/2011 12:29 PM, Richard Heck wrote:
 In the meantime, you can force LyX to output images for these
 constructs, instead of MathML or whatever, by (I think) including a
 \relax somewhere in the formula. LyX won't know what to do with that,
 so it will fall back to outputting images.

 I seem to recall a setting somewhere to enforce the use of images, am
 I wrong?

That's a global setting. Ultimately, I'd like to have such a setting
formula by formula, but that's obviously a format change, so it's for
2.1.0. This little trick lets you get the same effect, since LyX always
falls back to image output if it encounters something it doesn't
understand. I guess it must think it does understand mhchem stuff

Richard




Re: mhchem and html

2011-11-18 Thread Richard Heck

On 11/18/2011 02:55 AM, Guenter Milde wrote:

On 2011-11-18, eric katz wrote:


I've found the mhchem module from CTAN to be very useful for writing
chemical equations. It works beautifully for pdf output. However, when
I export to HTML, it looks like the mhchem codes don't get interpreted
at all. I get things like:  \ceNa + and \ceNO3 −  right in the
text, instead of formatted chemistry. The rest of the document comes
out looking very nice; mathematical equations look great.
Can it be fixed?

File a bug report for the LyxHTML converter.

It should be fairly easy to fix this. Please try to say, as best you can 
in the bug report, exactly what the output should be like. Posting an 
example file that contains all the main constructs would be especially 
helpful.


In the meantime, you can force LyX to output images for these 
constructs, instead of MathML or whatever, by (I think) including a 
\relax somewhere in the formula. LyX won't know what to do with that, 
so it will fall back to outputting images.


Richard



Re: mhchem and html

2011-11-18 Thread Julien Rioux

On 18/11/2011 12:29 PM, Richard Heck wrote:

In the meantime, you can force LyX to output images for these
constructs, instead of MathML or whatever, by (I think) including a
\relax somewhere in the formula. LyX won't know what to do with that,
so it will fall back to outputting images.


I seem to recall a setting somewhere to enforce the use of images, am I 
wrong?


--
Julien



Re: mhchem and html

2011-11-18 Thread Richard Heck
On 11/18/2011 01:00 PM, Julien Rioux wrote:
 On 18/11/2011 12:29 PM, Richard Heck wrote:
 In the meantime, you can force LyX to output images for these
 constructs, instead of MathML or whatever, by (I think) including a
 \relax somewhere in the formula. LyX won't know what to do with that,
 so it will fall back to outputting images.

 I seem to recall a setting somewhere to enforce the use of images, am
 I wrong?

That's a global setting. Ultimately, I'd like to have such a setting
formula by formula, but that's obviously a format change, so it's for
2.1.0. This little trick lets you get the same effect, since LyX always
falls back to image output if it encounters something it doesn't
understand. I guess it must think it does understand mhchem stuff

Richard




Re: mhchem and html

2011-11-18 Thread Richard Heck

On 11/18/2011 02:55 AM, Guenter Milde wrote:

On 2011-11-18, eric katz wrote:


I've found the mhchem module from CTAN to be very useful for writing
chemical equations. It works beautifully for pdf output. However, when
I export to HTML, it looks like the mhchem codes don't get interpreted
at all. I get things like:  "\ceNa +" and "\ceNO3 −"  right in the
text, instead of formatted chemistry. The rest of the document comes
out looking very nice; mathematical equations look great.
Can it be fixed?

File a bug report for the LyxHTML converter.

It should be fairly easy to fix this. Please try to say, as best you can 
in the bug report, exactly what the output should be like. Posting an 
example file that contains all the main constructs would be especially 
helpful.


In the meantime, you can force LyX to output images for these 
constructs, instead of MathML or whatever, by (I think) including a 
"\relax" somewhere in the formula. LyX won't know what to do with that, 
so it will fall back to outputting images.


Richard



Re: mhchem and html

2011-11-18 Thread Julien Rioux

On 18/11/2011 12:29 PM, Richard Heck wrote:

In the meantime, you can force LyX to output images for these
constructs, instead of MathML or whatever, by (I think) including a
"\relax" somewhere in the formula. LyX won't know what to do with that,
so it will fall back to outputting images.


I seem to recall a setting somewhere to enforce the use of images, am I 
wrong?


--
Julien



Re: mhchem and html

2011-11-18 Thread Richard Heck
On 11/18/2011 01:00 PM, Julien Rioux wrote:
> On 18/11/2011 12:29 PM, Richard Heck wrote:
>> In the meantime, you can force LyX to output images for these
>> constructs, instead of MathML or whatever, by (I think) including a
>> "\relax" somewhere in the formula. LyX won't know what to do with that,
>> so it will fall back to outputting images.
>
> I seem to recall a setting somewhere to enforce the use of images, am
> I wrong?
>
That's a global setting. Ultimately, I'd like to have such a setting
formula by formula, but that's obviously a format change, so it's for
2.1.0. This little trick lets you get the same effect, since LyX always
falls back to image output if it encounters something it doesn't
understand. I guess it must think it does understand mhchem stuff

Richard




mhchem and html

2011-11-17 Thread eric katz
Hello,

I've found the mhchem module from CTAN to be very useful for writing
chemical equations. It works beautifully for pdf output. However, when
I export to HTML, it looks like the mhchem codes don't get interpreted
at all. I get things like:  \ceNa + and \ceNO3 −  right in the
text, instead of formatted chemistry. The rest of the document comes
out looking very nice; mathematical equations look great.

I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same
problem, whether I'm using the LyxHTML exporter or the HTML
exporter.

What am I doing wrong? Is it a Lyx problem, an mhchem problem or an
HTML-conversion problem? Can it be fixed?

Thank you in advance for your help!

--eric


Re: mhchem and html

2011-11-17 Thread Guenter Milde
On 2011-11-18, eric katz wrote:

 I've found the mhchem module from CTAN to be very useful for writing
 chemical equations. It works beautifully for pdf output. However, when
 I export to HTML, it looks like the mhchem codes don't get interpreted
 at all. I get things like:  \ceNa + and \ceNO3 −  right in the
 text, instead of formatted chemistry. The rest of the document comes
 out looking very nice; mathematical equations look great.

 I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same
 problem, whether I'm using the LyxHTML exporter or the HTML
 exporter.

 What am I doing wrong? 

It is just that the mhchem package is not supported (yet) by the LyX-HTML
converters.

 Can it be fixed?

File a bug report for the LyxHTML converter.

Assuming that you use eLyXer as external converter, you might:

* try a different converter (e.g.tex4ht) 
* report the problem to the elyxer author.


Günter



mhchem and html

2011-11-17 Thread eric katz
Hello,

I've found the mhchem module from CTAN to be very useful for writing
chemical equations. It works beautifully for pdf output. However, when
I export to HTML, it looks like the mhchem codes don't get interpreted
at all. I get things like:  \ceNa + and \ceNO3 −  right in the
text, instead of formatted chemistry. The rest of the document comes
out looking very nice; mathematical equations look great.

I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same
problem, whether I'm using the LyxHTML exporter or the HTML
exporter.

What am I doing wrong? Is it a Lyx problem, an mhchem problem or an
HTML-conversion problem? Can it be fixed?

Thank you in advance for your help!

--eric


Re: mhchem and html

2011-11-17 Thread Guenter Milde
On 2011-11-18, eric katz wrote:

 I've found the mhchem module from CTAN to be very useful for writing
 chemical equations. It works beautifully for pdf output. However, when
 I export to HTML, it looks like the mhchem codes don't get interpreted
 at all. I get things like:  \ceNa + and \ceNO3 −  right in the
 text, instead of formatted chemistry. The rest of the document comes
 out looking very nice; mathematical equations look great.

 I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same
 problem, whether I'm using the LyxHTML exporter or the HTML
 exporter.

 What am I doing wrong? 

It is just that the mhchem package is not supported (yet) by the LyX-HTML
converters.

 Can it be fixed?

File a bug report for the LyxHTML converter.

Assuming that you use eLyXer as external converter, you might:

* try a different converter (e.g.tex4ht) 
* report the problem to the elyxer author.


Günter



mhchem and html

2011-11-17 Thread eric katz
Hello,

I've found the mhchem module from CTAN to be very useful for writing
chemical equations. It works beautifully for pdf output. However, when
I export to HTML, it looks like the mhchem codes don't get interpreted
at all. I get things like:  "\ceNa +" and "\ceNO3 −"  right in the
text, instead of formatted chemistry. The rest of the document comes
out looking very nice; mathematical equations look great.

I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same
problem, whether I'm using the "LyxHTML" exporter or the "HTML"
exporter.

What am I doing wrong? Is it a Lyx problem, an mhchem problem or an
HTML-conversion problem? Can it be fixed?

Thank you in advance for your help!

--eric


Re: mhchem and html

2011-11-17 Thread Guenter Milde
On 2011-11-18, eric katz wrote:

> I've found the mhchem module from CTAN to be very useful for writing
> chemical equations. It works beautifully for pdf output. However, when
> I export to HTML, it looks like the mhchem codes don't get interpreted
> at all. I get things like:  "\ceNa +" and "\ceNO3 −"  right in the
> text, instead of formatted chemistry. The rest of the document comes
> out looking very nice; mathematical equations look great.

> I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same
> problem, whether I'm using the "LyxHTML" exporter or the "HTML"
> exporter.

> What am I doing wrong? 

It is just that the mhchem package is not supported (yet) by the LyX->HTML
converters.

> Can it be fixed?

File a bug report for the LyxHTML converter.

Assuming that you use eLyXer as external converter, you might:

* try a different converter (e.g.tex4ht) 
* report the problem to the elyxer author.


Günter