Re: elyxer trouble

2011-05-26 Thread Neal Becker
Alex Fernandez wrote:

> Hi again,
> 
> On Thu, May 26, 2011 at 12:58 AM, Neal Becker  wrote:
>>> What browser are you using? Some old versions of IE may show HTML
>>> better than XHTML. Anyway you can add the --html option within LyX,
>>> adding it to the Converters section in the Preferences:
>>> http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12
>>
>> This is wierd.  If run from lyx export html, I see:
>>
>> Line 3: * Warning: unsupported new format version 413
>> Line 150: * Formula beginning \begin_inset Formula  is unknown
>> Line 150: * Unparsed formula line \begin_inset Formula
>> Line 151: * Unparsed formula line \[
>> Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi
>> i\Delta_{f}n} Line 153: * Unparsed formula line \]
>>
>> But if run from command line:
>> elyxer.py ../non-periodic.lyx ./non-periodic.html
>> Line 55: Title: ... (no error/warning)
> 
> It would appear that something is different between both situations.
> Maybe you are running two different versions of eLyXer, or perhaps you
> are exporting the document to another LyX format. The first error
> appears when parsing formulas in LyX 2.0 -- it has already been
> corrected in git and will be there for the next version.
> 
> As this problem is a bit specific of eLyXer, I suggest that we stop
> CC'ing lyx-users, if you want.
> 
Is it specific to elyxer?  It seems to be the way lyx is using elyxer is the 
problem, since if I run elyxer from command line the problem is gone.




Re: elyxer trouble

2011-05-25 Thread Alex Fernandez
Hi again,

On Thu, May 26, 2011 at 12:58 AM, Neal Becker  wrote:
>> What browser are you using? Some old versions of IE may show HTML
>> better than XHTML. Anyway you can add the --html option within LyX,
>> adding it to the Converters section in the Preferences:
>>   http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12
>
> This is wierd.  If run from lyx export html, I see:
>
> Line 3: * Warning: unsupported new format version 413
> Line 150: * Formula beginning \begin_inset Formula  is unknown
> Line 150: * Unparsed formula line \begin_inset Formula
> Line 151: * Unparsed formula line \[
> Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi 
> i\Delta_{f}n}
> Line 153: * Unparsed formula line \]
>
> But if run from command line:
> elyxer.py ../non-periodic.lyx ./non-periodic.html
> Line 55: Title: ... (no error/warning)

It would appear that something is different between both situations.
Maybe you are running two different versions of eLyXer, or perhaps you
are exporting the document to another LyX format. The first error
appears when parsing formulas in LyX 2.0 -- it has already been
corrected in git and will be there for the next version.

As this problem is a bit specific of eLyXer, I suggest that we stop
CC'ing lyx-users, if you want.

Alex.


Re: elyxer trouble

2011-05-25 Thread Neal Becker
Alex Fernandez wrote:

> On Wed, May 25, 2011 at 5:31 PM, Neal Becker  wrote:
>> One more problem.  Running elyxer from lyx (2.0) gui, the displayed math is
>> missing.  But, run elyxer from command line (using --html), works much
>> better. What's going on?
> 
> What browser are you using? Some old versions of IE may show HTML
> better than XHTML. Anyway you can add the --html option within LyX,
> adding it to the Converters section in the Preferences:
>   http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12
> 
> Alex.

This is wierd.  If run from lyx export html, I see:

Line 3: * Warning: unsupported new format version 413
Line 150: * Formula beginning \begin_inset Formula  is unknown
Line 150: * Unparsed formula line \begin_inset Formula
Line 151: * Unparsed formula line \[
Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi i\Delta_{f}n}
Line 153: * Unparsed formula line \]

But if run from command line:
elyxer.py ../non-periodic.lyx ./non-periodic.html
Line 55: Title: ... (no error/warning)



Re: elyxer trouble

2011-05-25 Thread Alex Fernandez
On Wed, May 25, 2011 at 5:31 PM, Neal Becker  wrote:
> One more problem.  Running elyxer from lyx (2.0) gui, the displayed math is
> missing.  But, run elyxer from command line (using --html), works much better.
> What's going on?

What browser are you using? Some old versions of IE may show HTML
better than XHTML. Anyway you can add the --html option within LyX,
adding it to the Converters section in the Preferences:
  http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12

Alex.


Re: elyxer trouble

2011-05-25 Thread Neal Becker
Julien Rioux wrote:

> On 25/05/2011 7:59 AM, Neal Becker wrote:
>> elyxer (1.2.1) embeds:
>>
>> http://elyxer.nongnu.org/lyx.css";
>> type="text/css" media="all">
>>
>> But that url seems to be dead.
>>
>> Has elyxer moved?
>>
>> Is there some way I can reference a local copy instead?  I thought just
>> copying lyx.css to the same directory would work, but it doesn't.
>>
>>
> 
> Changing this to
> 
> 
> and putting the css file in the same directory as the html file should work.
> 
Thanks!

One more problem.  Running elyxer from lyx (2.0) gui, the displayed math is 
missing.  But, run elyxer from command line (using --html), works much better.  
What's going on?



Re: elyxer trouble

2011-05-25 Thread Alex Fernandez
Hi,

The nongnu.org site was down, it should be working now.

You can use the option --css.

Cheers,

Alex.


Re: elyxer trouble

2011-05-25 Thread Julien Rioux

On 25/05/2011 7:59 AM, Neal Becker wrote:

elyxer (1.2.1) embeds:

http://elyxer.nongnu.org/lyx.css"; type="text/css"
media="all">

But that url seems to be dead.

Has elyxer moved?

Is there some way I can reference a local copy instead?  I thought just copying
lyx.css to the same directory would work, but it doesn't.




Changing this to


and putting the css file in the same directory as the html file should work.

--
Julien



elyxer trouble

2011-05-25 Thread Neal Becker
elyxer (1.2.1) embeds:

http://elyxer.nongnu.org/lyx.css"; type="text/css" 
media="all">

But that url seems to be dead.

Has elyxer moved?

Is there some way I can reference a local copy instead?  I thought just copying 
lyx.css to the same directory would work, but it doesn't.