evince .dvi n-th root display problem

Bug #275786 reported by MarekH
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evince
Fix Released
Medium
evince (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: evince

When displaying simple mathematical document in .dvi format containing n-th root, the n is not displayed, or when in exponent it is displayed partialy.

latex source:
\documentclass{article}
\include{amssymb}
\beging{document}
$\sqrt[3]{x}$

$x^\sqrt[3]{x}$
\end{document}

Printed version of document looks ok - it is printed correctly.

Making .ps or .pdf file from that .dvi also solves the problem with displaying the symbol.

System information:

Hardy Heron
Output from lsb_release -rb:
Description: Ubuntu 8.04.1
Release: 8.04
GNOME evince 2.22.2

Revision history for this message
MarekH (mhycko) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, could you attach a document example to the report?

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
MarekH (mhycko) wrote :

I have made a small example demonstrating what is actually wrong.

Changed in evince:
status: Incomplete → New
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

I can confirm this. The DVI displays properly in xdvi, but improperly in evince. I'm running evince 2.24.1-0ubuntu1 on Intrepid.

Changed in evince:
status: New → Confirmed
Changed in evince:
status: Unknown → New
Changed in evince:
status: Confirmed → Triaged
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

I'm getting a bunch of errors trying to open the .dvi file (both with evince and with xdvi, after installing texlive-base-bin), like:
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmsy10.
/usr/share/texmf/web2c/mktexnam: Need to update ?

furthermore, the n-th root renders fine on my evince (see attached screenshot). this on evince version 2.24.1-0ubuntu1, libpoppler3 version 0.8.7-1ubuntu0.1

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :
Revision history for this message
MarekH (mhycko) wrote :

Add error messages: If I am not mistaken, when firstly run, it needs to generate fonts (mathematical, cmsy10), so the error message is a warning message that no such font was found in the system. Are these error messages shown again and again when the file is opened ?
---
For rendering:

In Ubuntu 8.04.1 amd 64bit (fully updated version):

xdvi renders the .dvi file also fine, but

Evince (2.22.2-0ubuntu2) with libpoppler2, libpoppler-glib2, poppler-utils (0.6.4-1ubuntu3.1)

renders it in a way as it is shown in my earlier posts

(http://launchpadlibrarian.net/18030937/x%5E%5Csqrt%5B3%5Dx.png)

I have even tried to recompile it from the source again, but the result is still the same.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :
Download full text (6.3 KiB)

the error messages are the same each time i open it:

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmsy10
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmsy10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktexpk: Running gsftopk cmsy10 600
gsftopk(k) version 1.19.2
Cannot find font file cmsy10.pfb
grep: cmsy10.log: No such file or directory
mktexpk: `gsftopk cmsy10 600' failed to make cmsy10.600pk.
kpathsea: Appending font creation commands to missfont.log.
page: Warning: font `cmsy10' at 600x600 not found, trying `cmr10' instead
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr10
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmr10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktexpk: Running gsftopk cmr10 600
gsftopk(k) version 1.19.2
Cannot find font file cmr10.pfb
grep: cmr10.log: No such file or directory
mktexpk: `gsftopk cmr10 600' failed to make cmr10.600pk.
page: Warning: font `cmsy10' not found, trying metric files instead
kpathsea: Running mkofm cmsy10
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmsy10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmsy10
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexfmt mf.base
I can't find the base file `mf.base'!
grep: cmsy10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmsy10' failed to make cmsy10.tfm.
kpathsea: Running mktextfm cmsy10
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmsy10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmsy10
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexfmt mf.base
I can't find the base file `mf.base'!
grep: cmsy10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmsy10' failed to make cmsy10.tfm.
page: Warning: metric file for `cmsy10' not found, trying `cmr10' instead
kpathsea: Running mkofm cmr10
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmr10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmr10
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexfmt mf.base
I can't find the base file `mf.base'!
grep: cmr10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmr10' failed to make cmr10.tfm.
kpathsea: Running mktextfm cmr10
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmr10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmr10
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexfmt mf.base
I can't find the base file `mf.base'!
grep: cmr10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cm...

Read more...

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Dimitrios Symeonidis: the title bar in your evince reads "tt.pdf"; the problem isn't in rendering the PDF or PS versions of the file, but rather the DVI. Run "evince tt.dvi" and you should be able to reproduce the issue.

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Pardon me; in my last comment, replace "in your evince" with "in the copy of evince in your screenshot".

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

can you please do the following on your machine?
1) run 'locate cmsy10.pfb' (I assume you have the mlocate package installed)
2) run 'dpkg -S path_to_font' (replace path_to_font with the path provided by step 1)
thank you

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

never mind, I found the font inside the texlive-fonts-extra package
now I can also verify that evince doesn't render the n-th root correctly...

Revision history for this message
MarekH (mhycko) wrote :

Re (https://bugs.launchpad.net/ubuntu/+source/evince/+bug/275786/comments/8) - long error message

You are probably missing texlive-base package. In it there are sources (.mf files) for basic fonts needed for TeX.

The message says: that program is trying to generate fonts (as I have said earlier, .pk files) and corresponding font metrics (.tfm files), but it cannot find either source code of the font (.mf), or a postscript version of that font (.pfb file).

Revision history for this message
gene (eugenios) wrote :

I rarely use evince o view dvi files. I noticed this problem is still present on jaunty.

Revision history for this message
Bevan (bevan-bi-co) wrote :

This problem has been reported upstream: https://bugzilla.gnome.org/show_bug.cgi?id=494736
Unfortunately there is no progress for nearly two years now...

It's still present in evince ver. 2.28.0.

Changed in evince:
importance: Unknown → Medium
status: New → Confirmed
Changed in evince:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue has been fixed in the current version

Changed in evince (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.