Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endless loop for unkown math symbols #9

Closed
pospiech opened this issue Dec 24, 2011 · 2 comments
Closed

endless loop for unkown math symbols #9

pospiech opened this issue Dec 24, 2011 · 2 comments

Comments

@pospiech
Copy link

The following code

\documentclass[]{scrbook}
\usepackage[T1]{fontenc}
\usepackage{amsmath} %
\usepackage[%
onlytext, % only change the text fonts
sansmath, % provide math version sans and sansbold
]{MyriadPro}
\begin{document}
%\tracingall
\begin{equation}
\oiint
\end{equation}
\end{document}

lets pdflatex go into an endless loop. It happens when a normal math command is executed but unknown and MyriadPro is called with onlytext and sansmath, such that it should not touch the math command at all.

Using \tracingall one can see that the part that is executed endlessly is this one - however I do not know in which package this code is located.

is@range #1-#2@nil ->if >#2expandafter check@single else expandafter check@rang
e fi
#1<-5
#2<->

{if: (level 6) entered on line 10}
{true}
{expandafter}
{else: if (level 6) entered on line 10}
{fi: if (level 6) entered on line 10}

check@single #1>#2<#3@nnil ->def reserved@f {extract@rangefontinfo <#3@nnil }if
dim f@size p@ =#1p@ set@simple@size@args #2<#3@nnil execute@size@function sizef
n@info ifx external@font @empty else let reserved@f @empty fi fi reserved@f
#1<-5
#2<-
#3<-6><7><8><9><10><12>gen*cmr<10.95>cmr10<14.4>cmr12<17.28><20.74><24.88>cmr17

<-*>@nil <
{def}
{changing reserved@f=relax}
{into reserved@f=macro:->extract@rangefontinfo <6><7><8ETC.}
{ifdim: (level 6) entered on line 10}

f@size ->8
{false}
{fi: ifdim (level 6) entered on line 10}

reserved@f ->extract@rangefontinfo <6><7><8><9><10><12>gen*cmr<10.95>cmr10<14.4

cmr12<17.28><20.74><24.88>cmr17<-*>@nil <@nnil

extract@rangefontinfo #1<#2>->is@range #2->@nil #2>
#1<-
#2<-6

@sebschub
Copy link
Owner

Thank you for the analysis. It is connected to a problem in MdSymbol: sebschub/MdSymbol#1

I'll have a look when I have the time.

@sebschub
Copy link
Owner

sebschub commented Jan 2, 2012

Solved with v0.2 of MdSymbol.

@sebschub sebschub closed this as completed Jan 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants