Bug#963560: UNIQ still present

2020-07-02 Thread ael
On Thu, Jul 02, 2020 at 09:44:51PM +0200, Dirk Hünniger wrote:
> Hi,
> 
> I looked at the print version of the Haskell wikibook which is located at
> the url
> 
> https://en.wikibooks.org/wiki/Haskell/Print_version
> 
> I looked into the chapter Getting set up
> 
> and found the following paragraph.
> 
> > These operators match most other programming languages: |+| is addition,
> > |*| is multiplication, and |^| is exponentiation (raising to the power
> > of, or '"`UNIQ--postMath-0001-QINU`"'). As shown in the second
> > example, Haskell follows standard order of math operations (e.g.
> > multiplication before addition).
> So the problem is in MediaWiki not in mediawiki2latex


OK. I guess my previous post with the link to

https://www.mediawiki.org/wiki/QINU_fix
and
https://phabricator.wikimedia.org/T19329

is the same problem.

Thanks for all the work and replies. 

ael



Bug#963560: UNIQ still present

2020-07-02 Thread Dirk Hünniger

Hi,

I looked at the print version of the Haskell wikibook which is located 
at the url


https://en.wikibooks.org/wiki/Haskell/Print_version

I looked into the chapter Getting set up

and found the following paragraph.

These operators match most other programming languages: |+| is 
addition, |*| is multiplication, and |^| is exponentiation (raising to 
the power of, or '"`UNIQ--postMath-0001-QINU`"'). As shown in 
the second example, Haskell follows standard order of math operations 
(e.g. multiplication before addition). 

So the problem is in MediaWiki not in mediawiki2latex

Yours Dirk

On 7/2/20 9:11 PM, ael wrote:

On Thu, Jul 02, 2020 at 07:43:57PM +0100, ael wrote:

I just had a look at the mediawiki2latex source code and found that the
formular for epub documents are prepared using the latex2png command which
is part of the latex2rtf package. So please make sure the latex2rtf package
is installed on your system.

:-) That looks as if it has fixed the problem. I even mentioned
latex2rtf myself earlier, but forgot to try this.

I will try the full book as well just to make sure, but that will take
a little longer.

Sadly, the problem seems to still be present when I use

mediawiki2latex -u https://en.wikibooks.org/wiki/Haskell/Print_version
-b -o /tmp/Haskell.epub

Just to make sure that I wasn't viewing an old copy in calibre's
library, I repeated and checked. Problem still present. Screen shot
from calibre's viewer in the first instance that I noticed.

ael



Bug#963560: UNIQ still present

2020-07-02 Thread ael
On Thu, Jul 02, 2020 at 07:43:57PM +0100, ael wrote:
> > > I just had a look at the mediawiki2latex source code and found that the
> > > formular for epub documents are prepared using the latex2png command which
> > > is part of the latex2rtf package. So please make sure the latex2rtf 
> > > package
> > > is installed on your system.
> > 
> > :-) That looks as if it has fixed the problem. I even mentioned
> > latex2rtf myself earlier, but forgot to try this.
> > 
> > I will try the full book as well just to make sure, but that will take
> > a little longer.
> 
> Sadly, the problem seems to still be present when I use
> 
> mediawiki2latex -u https://en.wikibooks.org/wiki/Haskell/Print_version
> -b -o /tmp/Haskell.epub

Just to make sure that I wasn't viewing an old copy in calibre's
library, I repeated and checked. Problem still present. Screen shot
from calibre's viewer in the first instance that I noticed.

ael