58
votes
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 ...
38
votes
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 ...
37
votes
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 ...
33
votes
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 ...
33
votes
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 ...
30
votes
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 ...
30
votes
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 ...
29
votes
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: ...
28
votes
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.
27
votes
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
26
votes
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 ...
23
votes
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
23
votes
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.
...
22
votes
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 ...
21
votes
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 ...
21
votes
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 ...
21
votes
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
...
20
votes
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].
18
votes
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 ...
18
votes
\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-...
18
votes
Accepted
Font not loadable: metric data not found or bad
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 ...
18
votes
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 ...
17
votes
Auto Package download for TeXLive
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 ...
17
votes
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:\...
16
votes
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-...
16
votes
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/...
15
votes
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/...
15
votes
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 --...
15
votes
Accepted
siunitx v3 in beamer adds extra slide containing "T@TS1" before the first frame
I've located the issue and there will be an update to CTAN shortly. It's a simple error - I've accidentally grabbed an argument that's eating up a test.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
miktex × 2415installing × 284
errors × 250
pdftex × 244
packages × 232
windows × 232
texmaker × 167
fonts × 163
texstudio × 144
xetex × 112
texlive × 102
compiling × 90
luatex × 84
miktex2.9 × 82
texworks × 76
texniccenter × 69
biblatex × 65
tikz-pgf × 63
bibtex × 63
miktex-update × 63
graphics × 52
biber × 52
lyx × 49
winedt × 45
beamer × 44