I have a rather huge document and everything worked fine. The problems started when I tried to insert some Russian text. I was able to resolve some issues, but now I'm stuck with the following error:  ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.   It was really hard to produce a MWE, but it looks like it has something to do with microtype package. I don't fully understand what it does, but it's part of the template, so I'd like to keep it.  Here comes the MWE:  \documentclass{article} \usepackage[T2A, T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,english]{babel} \usepackage[protrusion=true,factor=900]{microtype}  \newcommand{\ru}[1]{{\begin{otherlanguage*}{russian} #1 \end{otherlanguage*}}}  \begin{document}  Here is a Russian text: \ru{Здравствуйте! Как у вас дела? Меня зовут Калеб. Как вас зовут?}  \end{document}   I've introduced the \ru command for convenience. However, it also produces the error without this command. But if somebody wants to suggest a good way of inserting text in a different language - feel free :).  Edit 1  Added \usepackage[T2A, T1]{fontenc}, added missing part of error message.  I'm using TeX Live from Ubuntu 12.10: pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
I'm using a custom class file.  My main file looks like this:  \documentclass[12pt,a4paper]{thesis} \begin{document} \frontmatter     \pagenumbering{alph}      \pagenumbering{roman}     \clearpage      \cleardoublepage     \tableofcontents     \clearpage     \listoffigures     \clearpage     \listoftables   \mainmatter        \part{test}       \input{test} \end{document}   If I put this in my test.tex it does work:  \chapter{test} \label{chapter:test} test    When it becomes more text (lets say 40x the word "test") I get the error stated in my question title.  To test it I brought my class file down to this:  \ProvidesClass{thesis} \NeedsTeXFormat{LaTeX2e}  % Based on the memoir class \DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}} \ProcessOptions \LoadClass{memoir}   I'm totally confused what is causing my error now.  This is the complete error:  ! pdfTeX error (font expansion): auto expansion is only possible with scalable  fonts. \AtBegShi@Output ...ipout \box \AtBeginShipoutBox                                                    \fi \fi
When is it correct to use "yourself" and "myself" (versus "you" and "me")? Storing hard crusted bread I'm currently baking a batch of sourdough bread. My last batch turned out perfectly with a hard crust and chewy inside. My problem is how to store the bread such that the crust stays hard. If I put it in a plastic bag the crust goes soft in a matter of hours and I'm afraid that the bread will turn dry if I leave it without some kind of protection. Note that I'm not looking for a long term storage solution.  What is the best way to store my bread, such that the crust stays hard and the inside stays chewy? How to find $\partial\chi^2/\partial a$ where $\chi^2=\sum_{i=1}^N\dfrac{D(x_i)-a-b(x_i)^2}{\sigma_i^2}$?  My attempt: \begin{align} \dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{D(x_i)-a-b(x_i)^2}{\sigma_i^2} &amp;= \dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\\ &amp;=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\\ &amp;=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{1}{\sigma_i^2}\cdot\dfrac{\partial}{\partial a}\sum_{i=1}^N-a\\ &amp;=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{1}{\sigma_i^2}\cdot\dfrac{\partial}{\partial a}a^N\\ &amp;=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{1}{\sigma_i^2}\cdot N\cdot a^{N-1}\\ \end{align}  Is this correct?  EDIT: As per the accepted answer, this is how I got my final partial derivative. \begin{align}             \dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{D(x_i)-a-b(x_i)^2}{\sigma_i^2} &amp;= \dfrac{\partial}{\partial a}\Bigg[\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\Bigg]\\             &amp;=\dfrac{\partial}{\partial a}\Bigg[\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}\Bigg]-\dfrac{\partial}{\partial a}\Bigg[\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\Bigg]\\             &amp;= 0-\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_1^2}+\dfrac{-a}{\sigma_2^2}+\cdots+\dfrac{-a}{\sigma_N^2}\Bigg]\\             &amp;= -\Bigg[\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_1^2}\Bigg]+\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_2^2}\Bigg]+\cdots+\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_N^2}\Bigg]\Bigg]\\             &amp;= -\Bigg[\dfrac{-1}{\sigma_1^2}\cdot\dfrac{\partial}{\partial a}[a]+\dfrac{-1}{\sigma_1^2}\cdot\dfrac{\partial}{\partial a}[a]+\cdots+\dfrac{-1}{\sigma_N^2}\cdot\dfrac{\partial}{\partial a}[a]\Bigg]\\             &amp;= -\Bigg[\dfrac{-1}{\sigma_1^2}+\dfrac{-1}{\sigma_2^2}+\cdots+\dfrac{-1}{\sigma_N^2}\Bigg]\\             &amp;= \sum_{i=1}^{N}\dfrac{1}{\sigma_i^2}\\         \end{align} error: file '/grub/i386-pc/normal.mod' not found. grub rescue&gt;   What can I do? I just sit and stare at it.   I found my old netbook (Dell Inspiron 1010) which I have not used for about four years. I replaced Windows XP with Ubuntu 12.10. I used my bootable USB drive. I installed and rebooted. I got the message that normal.mod is not found.   What should I do? Type exit, reboot, or quit? Should I re-install? Must present perfect tense be used if the action takes place more than once? I was told that if an action is completed once in the past, the simple past is used. Ex:  I saw that movie.  If the action is completed more than once, the present perfect tense must be used. Ex:  I have seen that movie twelve times.    So, "I have seen that movie twelve times on Tuesday." is correct and "I saw that movie twelve times on Tuesday." is incorrect? Trying to put a footnote in subsection title:  \subsection{Effect of Lateral Confinement on SW Band Structure\footnote{Parts of this sub--section are based on \citet{Venkat2013}}}   produces the following error:  Argument of \@sect has an extra } ...section are based on \citet{Venkat2013}}}   I am using:   \documentclass[paper=A4, fontsize=12, toc=listof, toc=index, toc=bib]{scrreprt}   Please advise. The generic off-topic flag reason has different wording in the Android app Is “of ” necessary in “all of ”? Listen to all your fans   Name all the states   vs      Listen to all of  your fans   Name all of  the states   What part of language is of  in these examples? Is it necessary or optional, correct or incorrect? Difference between knockout View Models declared as object literals vs functions Why is my variable local in one 'while read' loop, but not in another seemingly similar loop? Java function for arrays like PHP's join()? Is the ideal $(2,X+1)\subset\Bbb{Z}[X]$ prime, maximal or neither? I'm currently considering the ideal $(2,X+1)\subset\Bbb{Z}[X]$. I'm trying to figure out if this is a prime ideal, a maximal ideal, or neither. So far I have attempted to look at the quotient ring $\Bbb{Z}[X]/(2,X+1)$. I know that if this quotient ring is a field, then our ideal is maximal, since $\Bbb{Z}[X]$ is commutative. However I'm stuck on how I should be viewing this quotient ring. Intuitive explanation of the shape of the Maxwell-Boltzmann distribution At higher temperatures (for an ideal gas), the Maxwell-Boltzmann distribution is spread more widely and has a lower maximum. At lower temperatures, the spread is much more narrow and the peak is much higher. Why is this so? I was thinking that this is to maintain constant area under the curves, but the integration of the curve gives total energy—and total energy should not be constant since temperature is increasing.  So why does the distribution curve change thus? I’m looking for an explanation that’s intuitive or that involves math not surpassing first-year university level calculus. I would appreciate it if it could be explained without the Maxwell-Boltzmann distribution equation, since at this level I’m really treating this qualitatively. Find the exact value of the infinite sum $\sum_{n=1}^\infty \big\{\mathrm{e}-\big(1+\frac1n\big)^{n}\big\}$ How can we find the exact value of the infinite sum  $$ \displaystyle\sum_{n=1}^\infty \left\{\mathrm{e}-\Big(1+\frac1n\Big)^n\right\}? $$  This problem appears in:  , p.114. Black flakes from new cast iron pan I bought a brand new Lodge 12" cast iron pan, washed it in soap and warm water and dried it with a paper towel thoroughly. Then I applied a thin layer of canola oil with a paper towel (paper towel was clean - not black after this application) and then heated the empty pan on my electric stove for 15-20 minutes. The oil on the pan smoked a bit, some parts of the pan turned slightly ashy (grey). Mostly everything looked OK.   After I turned it off and cooled the pan, I now take a clean paper towel and rub the surface and I see black flakes! What is this? Is this the oil broken down? Can I cook in the pan or wash it with soap to eliminate the black flakes? Once washed and dried should I rub canola oil again? This is my first experience with cast iron. Any pointers will help. Color change of string delimiter in listings with macro Do systemd unit files have to be reloaded when modified? Let's say I write a mine.service file. Then I use systemctl enable mine.service.  If I later decide to edit mine.service, do I have to tell systemd that mine.service was changed? If so, how do I do that? Razr Maxx HD, How to wipe data with broken screen My screen is totally destroyed, it's black and unresponsive. The phone turns on just fine, though. I just got my new phone and I have to send this one back now.  I want to wipe the phone before I send it back, but I'm not sure how. I don't care too much about sending back a rooted phone, it seems Asurion doesn't really care about that from what I've read, but I don't want my personal data on the phone when I send it in.  What are my options to wipe the phone without a screen? I've already read a lot of threads on other forums and here on the subject, but everyone seems to say to wipe through ADB shell. Well, I can see the phone in ADB, but I am unable to enter SU through ADB shell. I assume it's because the screen is locked, and I have no way to unlock it. Others have also said to wipe through fastboot in ADB, but I am seeing conflicting recommendations and I'm not sure how to proceed. I'm not that proficient with ABD, so I want to make sure I don't mess this up.  Any advice would be greatly appreciated. What temperature can you attain with a solar furnace? I guess it is too difficult a question to ask about the cardinality of $S_{\mathbb{N}}$ so I would like to ask whether it is countable or not.  I tried to prove it is uncountable somewhat mimicking the Cantor's diagonal argument but failed.