# How to resolve errors of acm template

I download acm journals template from following link, but running it gives error http://www.acm.org/publications/authors/submissions First it gives following error Undefined control sequence. \toprule Undefined control sequence. \bottomrule

which i resolved by adding following packages

\usepackage{booktabs} \usepackage[T1]{fontenc}

Then did not showed pdf while log is following

relsize.sty Warning Failed to get list of font sizes. comment.cut badbox Underfull \vbox (badness 10000) has occurred while \output is active [] name{Hfootnote.3} has been referenced but does not exist, replaced by a fixed one

And in the messages

Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "sample-manuscript".tex Sorry, but miktex-makemf did not succeed for the following rea son: The txsya source file could not be found. The log file hopefully contains the information to get MiKTeX going again: C:/Users/Name/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makemf.log You may want to visit the MiKTeX project page, if you need help. Sorry, but miktex-makepk did not succeed for the following reason: PK font txsya could not be created. The log file hopefully contains the information to get MiKTeX going again: C:/Users/Name/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makepk.log You may want to visit the MiKTeX project page, if you need help. Process exited with error(s) 

UPDATED After uninstalling and then reinstalling. Above error is resolved, but following error came. pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. T Failed to get list of font sizes.

Note that i googled to resolve above error and added following packages \usepackage[T1]{fontenc} \usepackage{lmodern}

But it did not help to resolve error

• There are quite a few files in the zip file from ACM. Could you tell us exactly what you have done, after unzipping (i.e. what did you try to compile, and with what commands)? Sep 27, 2017 at 19:53
• I just run sample-manuscript.tex Sep 28, 2017 at 5:53
• @IanThompson i did not added any thing, just run it and error comes and then i google it added above two packages and then again above errors come Sep 28, 2017 at 5:54

1. The current version of MikTeX contains the current acmart. You might be better off installing acmart using MikTeX package manager.
2. Anyway looks like you do not have txfonts package installed. This is the reason of your error message,
• Thanks it resolved above error, but now it gives pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. Sep 28, 2017 at 13:05