-
Notifications
You must be signed in to change notification settings - Fork 102
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
pdfTeX error (font expansion): auto expansion is only possible with scalable #32
Comments
I also did some searching, and it looks like that error is due to Can you tell me which TeX distribution and which version you are using? Also, do you have a full or only a partial installation? I've used the documentation files on many machines, and I've never gotten the error, so I'm guessing that there is something about a full install of TeX Live that prevents this from being triggered. |
I have TeX Live 2013/Debian on Ubuntu. I'm not sure if I have the full installation. I have had Ubuntu on an external hard drive for a long time and I have upgraded it several times. The link you found is exactly the one I was referring to. As you say there should be some packages that I'm missing but adding the lmodern package solved my problem. I'm writing an article about cvxpy and the best way that I've found was to use LaTeX and PythonTeX (after trying Sage and IPython). Thanks for creating and maintaining PythonTeX. It is amazing and the possibilities are endless! I'm very excited. For another project, I am writing a LaTeX report using Emacs and its Org-Mode. My source file looks like a Markdown file (Org-Mode). Then the file can be exported to LaTeX and HTML and OpenOffice. However, only LaTeX can use BibTeX to make the bibliography (for HTML, it might be possible but it is harder to make it work). Combining PythonTeX and Org-Mode provides a simple and readable source file without losing anything from LaTeX. I just wish I could have Org-Mode in a browser (the union of IPython and Org-Mode features). |
I'll add I'm glad you're finding PythonTeX useful. I don't think I've heard of anyone combining it with Org-Mode before. I'm also hoping that the IPython notebook will support markup languages other than markdown in the future. I don't use Org-Mode myself, but if you haven't seen https://github.com/tkf/emacs-ipython-notebook, it might give you some of what you're looking for. I'm actually in the early stages of trying to create a markdown-style markup language, with proper support for LaTeX functionality, cross-format citation support, and something like PythonTeX baked in. So that may be an option someday, either standalone or (ideally) as an extension for IPython. |
"A markdown-style markup language, with proper support for LaTeX functionality, cross-format citation support, and something like PythonTeX baked in" with an HTML interface would be perfect! Thanks for the link to emacs-ipython-notebook though. Looking forward to your next project. |
This is a usual issue in the context of MiKTeX. Solution: Install the cm-super package using the MiKTeX package manager. Then, run |
the command line to fix this is
it may takes a while because around 65M data need to be downloaded |
When I compiled pythontex_quickstart.tex, I got the following error:
pdfTeX error (font expansion): auto expansion is only possible with scalable
I searched for the solution, and then added:
\usepackage{lmodern}
to the file and then everything worked fine. I was wondering if there is a better solution? and should the file be updated?
The text was updated successfully, but these errors were encountered: