Re: html output --- LyX 2.3.0rc2

2018-02-04 Thread Guenter Milde
On 2018-02-04, F M Salter wrote:

>     I am answering Guenter Milde's questions (3 Feb - 12.34) on my
> original email to produce a more coherent explanation.

>     I simply used export to html (Alt-feh).  

OK this is the export via elyxer. (Elyxer is a 3rd-party program with
separate documentation and configuration, see
https://github.com/alexfernandez/elyxer)

I tried with a minimal example (file with just a displayed formula
containing dotted q and Q).

> The variables were /q/ and
> /Q, / the png 's were generated by this process.  

Here, if I chose Alt-feh, the generated HTML has no PNGs included (see
below). I can drag-and drop »Q̇q̇« from Firefox.

This may depend on local elyxer setup.

> There was no separation between the variables and the dot.

For both or only the capital Q?

> The pdf version (ALT-fef) has a separation between the variables and the
> dot.

Fine, so this seems to work fine at least. I wonder why the PNG should
differ... Do you use custom fonts?

>     I also exported to xhtml (ALT-fey).  Here the dot was not placed
> above the variable but as a separate character following it.

> Here the relative height of the dot changes.  For the lower case /q/ it
> is above.  For the upper case /Q/ it is at the same height as the top of
> the /Q/ .

LyXHTML export works fine here as well and Firefox shows the dots at the
right hight and above the variables. (Display may be different in
browsers that have missing or deficient MathML support.)


Günter


Here is the example output from elyxer:


http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;>
http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">


http://www.nongnu.org/elyxer/"/>

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





Q̇q̇










Re: html output --- LyX 2.3.0rc2

2018-02-04 Thread F M Salter
Hi,

    I am answering Guenter Milde's questions (3 Feb - 12.34) on my
original email to produce a more coherent explanation.

    I simply used export to html (Alt-feh).  The variables were /q/ and
/Q, / the png 's were generated by this process.  There was no
separation between the variables and the dot.

The pdf version (ALT-fef) has a separation between the variables and the
dot.

    I also exported to xhtml (ALT-fey).  Here the dot was not placed
above the variable but as a separate character following it.

Here the relative height of the dot changes.  For the lower case /q/ it
is above.  For the upper case /Q/ it is at the same height as the top of
the /Q/ .

Regardss

Frank Salter


On 03/02/18 13:18, F M Salter wrote:
> Hi
>
>     I generated html output for display equations with \dot.  The png's
> generated had the dot in contact with the symbol.  Is this what is to be
> expected or is the dot too close to the symbol?
>
> Regards
>
> Frank Salter
>

Both;) It also depends on the symbol under the dot.

Does it look better in the PDF output of the same document?

How do you produce the HTML? elyxer or LyXHTML?

Why do you use PNGs? Nowadays most browsers support maths.