[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507652: texlive: does not print math symbols



Dear Mojca,


thanks for your response.

Am Samstag, den 07.02.2009, 09:35 +0100 schrieb Mojca Miklavec:
> On Fri, Feb 6, 2009 at 9:56 PM, Paul Menzel wrote:
> > Am Freitag, den 06.02.2009, 18:55 +0100 schrieb Mojca Miklavec:
> >> On Fri, Feb 6, 2009 at 5:22 PM, Paul Menzel wrote:
> >> > Am Donnerstag, den 18.12.2008, 01:33 +0200 schrieb Vasilis
> >> > Papavasileiou:
> >> >> I have narrowed the problem down to the fontspec package. If we pass the
> >> >> cm-default value to fontspec:
> >> >>
> >> >>   \usepackage[cm-default]{fontspec}
> >> >>
> >> >> the example provided by Antonis works.
> >> >>
> >> >> Math symbols used to work without cm-default. If we remove the lm-default
> >> >> value from ExecuteOptions in fontspec.sty everything works fine. The problem
> >> >> is probably lack of LModern math fonts in OpenType format as stated in their
> >> >> README (/usr/share/doc/lmodern/README.gz).
> >> >
> >> > Thanks for the hint.
> >> >
> >> > Now I have the problem that Umlaute (ÜÖÄüöä) are not displayed. Minimal
> >> > example (also attached).
> >> >
> >> >
> >> > \documentclass{scrartcl}
> >> >
> >> > \usepackage[cm-default]{fontspec}
> >> >
> >> > \usepackage{ngerman}
> >> > \usepackage{amsmath}
> >> > \usepackage[standard]{ntheorem}
> >> >
> >> > \begin{document}
> >> > \begin{definition}
> >> > Übung, Test $\sum$.
> >> > \end{definition}
> >> > \end{document}
> >> >
> >> > Is there a fix available?
> >>
> >> Yes. You have two options:
> >> a) Remove [cm-default] from your test file and add lm-math.map to the
> >> distribution (see
> >> http://www.ctan.org/tex-archive/fonts/ps-type1/lm/fonts/map/dvipdfm/lm/).
> >
> > That did not work for me.
> >
> > /usr/share/texmf/fonts/map/dvips/lm$ sudo wget http://www.ctan.org/tex-archive/fonts/ps-type1/lm/fonts/map/dvipdfm/lm/lm-math.map
> > […]
> > 2009-02-06 21:48:41 (96,5 MB/s) - »lm-math.map.1« gespeichert [820/820]
> > /usr/share/texmf/fonts/map/dvips/lm$ ls -l
> > insgesamt 128
> > […]
> > -rw-r--r-- 1 root root 2203 16. Jan 2007  lm-math.map
> > -rw-r--r-- 1 root root  820 22. Jan 2008  lm-math.map.1
> > […]
> > /usr/share/texmf/fonts/map/dvips/lm$ sudo mv lm-math.map.1 lm-math.map
> >
> > If I remove the option cm-default for fontspec the math symbols are not
> > displayed.
> 
> Below I describe a few corrections to what you should have done above,
> but it the middle of writing I remembered that I was giving you
> instructions for enabling the fonts in ConTeXt instead of LaTeX
> (sorry, that has been on a list of way-too-frequently-asked-questions
> on the ConTeXt list and I forgot what I was writing).
> 
> Try this:
>     > kpsewhich dvipdfm.map
> 
> It should give you something like
>     /usr/local/texlive/2007/texmf-var/fonts/map/dvipdfm/updmap/dvipdfm.map

$ kpsewhich dvipdfm.map
/var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map

lmbsy10 lm-mathsy lmbsy10
lmbsy5 lm-mathsy lmbsy5
lmbsy7 lm-mathsy lmbsy7
lmex10 lm-mathex lmex10
lmmi10 lm-mathit lmmi10
lmmi12 lm-mathit lmmi12
lmmi5 lm-mathit lmmi5
lmmi6 lm-mathit lmmi6
lmmi7 lm-mathit lmmi7
lmmi8 lm-mathit lmmi8
lmmi9 lm-mathit lmmi9
lmmib10 lm-mathit lmmib10
lmmib5 lm-mathit lmmib5
lmmib7 lm-mathit lmmib7
lmsy10 lm-mathsy lmsy10
lmsy5 lm-mathsy lmsy5
lmsy6 lm-mathsy lmsy6
lmsy7 lm-mathsy lmsy7
lmsy8 lm-mathsy lmsy8
lmsy9 lm-mathsy lmsy9

> Then take a look at the following file:
>     http://www.ctan.org/tex-archive/fonts/ps-type1/lm/fonts/map/dvipdfm/lm/lm-math.map
> and check if all the entries are contained in dvipdfm.map mentioned
> above

lmbsy5 lm-mathsy lmbsy5
lmbsy7 lm-mathsy lmbsy7
lmbsy10 lm-mathsy lmbsy10
lmsy5 lm-mathsy lmsy5
lmsy6 lm-mathsy lmsy6
lmsy7 lm-mathsy lmsy7
lmsy8 lm-mathsy lmsy8
lmsy9 lm-mathsy lmsy9
lmsy10 lm-mathsy lmsy10
lmex10 lm-mathex lmex10
lmmi5 lm-mathit lmmi5
lmmi6 lm-mathit lmmi6
lmmi7 lm-mathit lmmi7
lmmi8 lm-mathit lmmi8
lmmi9 lm-mathit lmmi9
lmmi10 lm-mathit lmmi10
lmmi12 lm-mathit lmmi12
lmmib5 lm-mathit lmmib5
lmmib7 lm-mathit lmmib7
lmmib10 lm-mathit lmmib10

> (I guess they are not, else it would work OK).

I checked and did not find a difference.

> In theory you could add them there manually, but this is not the
> suggested way to do it. Please ask other TeX gurus or follow
> instructions how to add entries there. I never use updmap myself and I
> have no idea why the entries are missing. Also, Debian might have a
> different way of handling map files and configuration files in
> general.

Maybe they will have some time to look into this next week.

> ---------------
> 
> What I ment with previous mail was (but this won't solve your problem,
> so do not read any further):
> 
> you need to respect both filename (lm-math.map.1 won't work) *and*
> path.

I *did* move the file afterwards (see my log again). This was only
because I used wget in this directory.

> This is *not* needed with the latest [x]dvipdfmx plus I have no
> idea why updmap didn't add the enties into the right map file.
> 
> > mkdir /usr/share/texmf/fonts/map/dvipdfm/lm
> > cd /usr/share/texmf/fonts/map/dvipdfm/lm
> > wget http://www.ctan.org/tex-archive/fonts/ps-type1/lm/fonts/map/dvipdfm/lm/lm-math.map
> > mktexlsr
> 
> It will solve your problem if you add a special to load lm-math.map
> map file on top of your file, but you probably don't want to have ugly
> future-incompatible code there.
> 
> >> b) Ask Don Knuth to add umlauts to cmr.
> >
> > Well, maybe another time.
> 
> I didn't mean it seriously of course.

I already wrote him this morning. ;-) Joke!


Thanks,

Paul

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: