#2201 yhmath: Bug introduced with latest fix

fixed
None
2013-07-09
2012-12-15
Speravir
No

Oh, it seems with the latest fix there was a new bug introduced, cf. yrcmex10 problem AFTER December 5, 2012 (see especially Ulrike Fischer’s comments). Obviously now the file yrcmex10.mf is missing. This file is included in TeX Live, but it’s obscure, where they got it from, because it is not part of both ZIP files (linked in “commands of "yhmath" do not work in MiKTeX”). Extracting from an installed TeX Live or from http://mirror.ctan.org/systems/texlive/tlnet/archive/yhmath.tar.xz should help.

Discussion

  • Speravir
    Speravir
    2012-12-26

    On testing L. A. Parado Riveros’ answer I noticed, that in TeX Live both files yhcmex10.mf and yrcmex10.mf are identical. So it seems, they just made an error avoiding workaround for an yhmath bug.

     
  • Speravir
    Speravir
    2012-12-26

    On testing L. A. Parado Riveros’ answer I noticed, that in TeX Live both files yhcmex10.mf and yrcmex10.mf are identical. So it seems, they just made an error avoiding workaround for an yhmath bug.

     
  • Ivan Kokan
    Ivan Kokan
    2013-01-09

    Hi!

    I had problems with yhmath before so I can maybe help.
    After noticing latest update, I've reinstalled MiKTeX full version, and tried to compile (pdflatex) this source:
    [code]\documentclass{article}
    \usepackage{yhmath}
    \begin{document}
    Test $a$, $aaaaaaa$, $AAAAAAAAAAAA$.
    Test $\wideparen{a}$, $\wideparen{aaaaaaa}$, $\wideparen{AAAAAAAAAAAA}$.
    \end{document}[/code]

    This is log:
    [code]This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2013.1.8) 9 JAN 2013 10:49
    entering extended mode
    **test.tex
    (C:\Users\ekokiva\Desktop\LaTeX\test.tex
    LaTeX2e <2011/06/27>
    Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
    abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
    croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
    lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
    ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
    lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
    german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
    ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
    an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
    ishmax, welsh, loaded.
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
    File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
    )
    \c@part=\count79
    \c@section=\count80
    \c@subsection=\count81
    \c@subsubsection=\count82
    \c@paragraph=\count83
    \c@subparagraph=\count84
    \c@figure=\count85
    \c@table=\count86
    \abovecaptionskip=\skip41
    \belowcaptionskip=\skip42
    \bibindent=\dimen102
    )
    ("C:\Program Files\MiKTeX 2.9\tex\latex\yhmath\yhmath.sty"
    Package: yhmath

    ("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsmath.sty"
    Package: amsmath 2000/07/18 v2.13 AMS math features
    \@mathmargin=\skip43

    For additional information on amsmath, use the `?' option.
    ("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amstext.sty"
    Package: amstext 2000/06/29 v2.01

    ("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsgen.sty"
    File: amsgen.sty 1999/11/30 v2.0
    \@emptytoks=\toks14
    \ex@=\dimen103
    ))
    ("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsbsy.sty"
    Package: amsbsy 1999/11/29 v1.2d
    \pmbraise@=\dimen104
    )
    ("C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\amsopn.sty"
    Package: amsopn 1999/12/14 v2.01 operator names
    )
    \inf@bad=\count87
    LaTeX Info: Redefining \frac on input line 211.
    \uproot@=\count88
    \leftroot@=\count89
    LaTeX Info: Redefining \overline on input line 307.
    \classnum@=\count90
    \DOTSCASE@=\count91
    LaTeX Info: Redefining \ldots on input line 379.
    LaTeX Info: Redefining \dots on input line 382.
    LaTeX Info: Redefining \cdots on input line 467.
    \Mathstrutbox@=\box26
    \strutbox@=\box27
    \big@size=\dimen105
    LaTeX Font Info: Redeclaring font encoding OML on input line 567.
    LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
    \macc@depth=\count92
    \c@MaxMatrixCols=\count93
    \dotsspace@=\muskip10
    \c@parentequation=\count94
    \dspbrk@lvl=\count95
    \tag@help=\toks15
    \row@=\count96
    \column@=\count97
    \maxfields@=\count98
    \andhelp@=\toks16
    \eqnshift@=\dimen106
    \alignsep@=\dimen107
    \tagshift@=\dimen108
    \tagwidth@=\dimen109
    \totwidth@=\dimen110
    \lineht@=\dimen111
    \@envbody=\toks17
    \multlinegap=\skip44
    \multlinetaggap=\skip45
    \mathdisplay@stack=\toks18
    LaTeX Info: Redefining [ on input line 2666.
    LaTeX Info: Redefining ] on input line 2667.
    )
    LaTeX Font Info: Redeclaring symbol font largesymbols' on input line 12. LaTeX Font Info: Overwriting symbol fontlargesymbols' in version normal' (Font) OMX/cmex/m/n --> OMX/yhex/m/n on input line 12. LaTeX Font Info: Overwriting symbol fontlargesymbols' in version `bold'
    (Font) OMX/cmex/m/n --> OMX/yhex/m/n on input line 12.
    LaTeX Font Info: Redeclaring math accent \widetilde on input line 13.
    LaTeX Font Info: Redeclaring math accent \widehat on input line 14.
    )
    (C:\Users\ekokiva\Desktop\LaTeX\test.aux)
    LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
    LaTeX Font Info: ... okay on input line 3.
    LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
    LaTeX Font Info: ... okay on input line 3.
    LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
    LaTeX Font Info: ... okay on input line 3.
    LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
    LaTeX Font Info: ... okay on input line 3.
    LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
    LaTeX Font Info: ... okay on input line 3.
    LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
    LaTeX Font Info: ... okay on input line 3.
    LaTeX Font Info: Try loading font information for OMX+yhex on input line 4.

    ("C:\Program Files\MiKTeX 2.9\tex\latex\yhmath\omxyhex.fd"
    File: OMXyhex.fd
    File: OMXyhex.fd 1996/01/04 v1.0 YH's humble contribution to TeX maths
    )
    LaTeX Font Info: External font yhcmex10' loaded for size (Font) <10> on input line 4. LaTeX Font Info: External fontyhcmex10' loaded for size
    (Font) <7> on input line 4.
    LaTeX Font Info: External font `yhcmex10' loaded for size
    (Font) <5> on input line 4.

    Overfull \hbox (6.87093pt too wide) in paragraph at lines 4--6
    []\OT1/cmr/m/n/10 Test $[]\OML/cmm/m/it/10 a$\OT1/cmr/m/n/10 , $\OML/cmm/m/it/1
    0 aaaaaaa$\OT1/cmr/m/n/10 , $\OML/cmm/m/it/10 AAAAAAAAAAAA$\OT1/cmr/m/n/10 . Te
    st $[]$, $[]$, $[]$.
    []

    [1

    {C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}]
    (C:\Users\ekokiva\Desktop\LaTeX\test.aux) )
    Here is how much of TeX's memory you used:
    829 strings out of 493921
    9485 string characters out of 3147331
    58938 words of memory out of 3000000
    4182 multiletter control sequences out of 15000+200000
    4375 words of font info for 16 fonts, out of 3000000 for 9000
    841 hyphenation exceptions out of 8191
    34i,4n,22p,266b,111s stack positions out of 5000i,500n,10000p,200000b,50000s

    !pdfTeX error: pdflatex.exe (file yrcmex10): Font yrcmex10 at 600 not found
    ==> Fatal error occurred, no output PDF file produced![/code]

    In order to solve this problem, you need to include yhcmex.pfb font file (attached to this post, I've got it from Scott Pakin - LaTeX Comprehensive Symbol List author), map it correctly (yrcmex10 Yhcmex <yhcmex.pfb) and update all MiKTeX databases.

    I believe this will help you to fix this bug. Finally.

    Kind regards, Ivan Kokan

     

    Related

    Code: code

    Attachments
  • Ivan Kokan
    Ivan Kokan
    2013-04-07

    Hi! Is anyone working on this issue? Ivan

     
    • status: open --> fixed
    • assigned_to: Christian Schenk
     
  • Thank you for the report. yrcmex10.mf is now included.