# Tag Info

## Hot answers tagged miktex

### How can I generate PDF metadata from LaTeX?

As others have already answered, I like to use hyperref. However, as my documents often have \author and \title commands I do not want to repeat myself in the package parameters. Luckily, hyperref ...
• 731

### problems installing mathtools

Had the same issue. For me it worked after I synchronized manually with the repository using the MikTeX Package Manager (Admin) tool and under the Repository menu using the synchronize. Then the ...
• 553

### latexindent: Can't locate Log/Log4perl.pm in @INC (you may need to install the Log::Log4perl module)

UPDATE: Log4perl is definitely no longer required. See comments. Original Answer For others running into the same issue but on a Mac: Install perl via brew: brew install perl Use cpan to install the ...
• 471

### Package inputenc Error: Invalid UTF-8 byte 147

You have byte 147 in your file without declaring an input encoding, previously this would silently fall through and make whatever character happened to be in that position in the font encoding. From ...
• 668k
Accepted

### latexindent: Can't locate Log/Log4perl.pm in @INC (you may need to install the Log::Log4perl module)

Thanks to @Nicola's comment, the error can be fixed as follows: The missing module is Log::Log4perl as found in the first line of the error. Open Win 10 start menu and search for CPAN client, then ...
• 8,789

### How to install mathtools package?

@romkyns I had the same problem with mathtools and MiKTeX today, the same initial error about the missing .sty file. Going to: MiKTeX 2.9\miktex\bin I ran mpm_mfc_admin, went to the Repository tab ...
• 413
Accepted

### ! LaTeX Error: Command \counterwithout already defined

A new version 1.1a of chngcntr is now available on ctan which detects that the commands are already defined and so does nothing other than leave a message in the log, so the error in the question is ...
• 668k

### How to use LaTeX on VS Code?

When MiKTeX is running and LaTeX-Workshop installed, you do not need perl or latexmk. Building Just open the command palette in VS Code (Menu: View > Command Palette ...) and type: Latex workshop: ...
• 391

### How can I tell which Latex (MikTex or TexLive) I have installed on Ubuntu?

Use pdflatex --version to tell which version of Latex you're using.
• 1,601
Accepted

### MikTeX proxy settings

I assume you are using the newest version of MikTeX. Step 1: Open the Update application Step 2: Click on "Connection Settings" Step 3: tick "Use a proxy server" and enter the details
Accepted

### How to use LaTeX on VS Code?

I faced some difficulties in configuring and I decided to do this tutorial. In fact, it would be easier to download MacTex, which is the full version; however, I was not in the mood to occupy 4GB of ...
• 384

### miktex-makemf did not succeed for the following reason

Please run this command: updmap.exe --admin or updmap.exe --force for example: C:\Program Files\MiKTeX 2.9\miktex\bin\x64>updmap.exe --force
• 413
Accepted

### MiKTeX graphics version 1.3b bug on Windows 10 (\set@curr@file undefined)

As noted in the question, this is an issue in the way MiKTeX has integrated the latest LaTeX kernel change. The graphics package has been updated but not the LaTeX kernel, and this leads to the error. ...
• 243k
Accepted

### AUCTeX says "LaTeX: problems after {1} page"

AUCTeX parses the output buffer in order to report errors and warnings, and if there is none of them, it looks for a line like LaTeX2e <date> However, since April 2017, the date format of ...
• 8,316
Accepted

### MikTex 2.9 Package Manager internal error trying Update Wizard

Sorry, in retrospect the solution seems obvious... but I had been looking around for quite some time. Do not use the Package Manager, but "MikTex Update (Admin)" :-/ Windows 10 tricked me, for when ...
• 461

### Is there a problem with Beamer in the latest MiKTeX update?

The problem disappeared when I used the MiKTeX Package Manager to install Beamer and translator, used Refresh FNDB, and restarted my machine. Experience with a second machine shows the latest ...
• 2,603

### How to get rid of pdflatex: major issue: So far, no MiKTeX administrator has checked for updates in TeXstudio

I had a similar issue on a new install of MikTeX 2.9.7300 on Windows 7. I received the error message So far, no MiKTeX administrator has checked for updates. The error persisted even after ...
• 315

### BibTex There were undefined references

The answer is as @Sigur wrote: run (pdf)latex + bibtex + (pdf)latex + (pdf)latex [+ preview] In TeXmaker, this can be done using shortcuts F6 + F11 + F6 + F6 [+ F7].
• 411
Accepted

### Do I risk breaking documents by updating my TeX distribution?

Generally speaking, there’s always a risk that something will break and the usual caveats thus apply: never update on a deadline, check that the output of your document is satisfactory, etc. That ...
• 2,860

### \usepackage{glossaries} won't work after Miktex-Update/-Reinstallation

I had the same problem. I followed Ulrike's advice i.e. Synchronization of the local package databases (thanks Ulrike!!). It sorted out the initial issue. Next I too ended up with the "glossary-...
• 201
Accepted

Unlike pdflatex lualatex doesn't trigger the tfm generation from a mf-source if it can't find the tfm (this is not miktex specific: it doesn't do it in texlive either, but there bbold10.tfm exist in ...
• 294k
Accepted

### Should different TeX implementations (e.g. MiKTeX's and TeX Live's) produce identical DVI files?

TeX is concerned with typesetting on a physical medium (eg paper). For Don identical output means a visually equal look and any user-level calculations are exactly identical (which is why you can't ...
• 74.1k

texliveonfly As mentioned in comments, there is a TeX Live package called texliveonfly which you can use with texliveonfly filename.tex, and it will automatically downloaded the right TeX Live ...
• 1,615
Accepted

### How to install mathtools package?

If you have installed MikTeX 2.9 (on Windows) is very easy. You can go to Home->Programs->MiKTeX 2.9->Maintenance (Admin)->Package Manager (Admin) Alternative path to admin exe file C:\...
• 8,498
Accepted

### On pdfTeX error (font expansion): auto expansion is only possible with scalable fonts, microtype package

TeX Live includes cm-super. If you write \usepackage[T1]{fontenc} then the fonts from cm-super are used and these are scalable. Therefore, you don't get an error. I assume that you do not have cm-...
• 183k

### MiKTeX graphics version 1.3b bug on Windows 10 (\set@curr@file undefined)

The core of this issue has been fixed (on 2019-10-06) in MikTeX, but since the situation involves formats and is overall a bit tricky I wrote up a guide at https://github.com/MiKTeX/miktex-packaging/...
• 159k

### Do I need to install MiKTEX on my system before installing Texmaker?

If you want to run LaTeX on Windows you need to install a TeX distribution for Windows, MiKTeX or TeX Live. With pdflatex mwe.tex you can then compile the TeX code in file mwe.tex from terminal/...
• 63.4k
Accepted

### MikTeX update from basic install (2.9.6850) fails with fatal error

It seems that this issue is known from this thread: https://github.com/MiKTeX/miktex/issues/187 The workaround suggested there is to repair the MiKTeX installation by running: initexmf --admin --...
• 271