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
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 ...
19
votes
Accepted
LaTeX can't find file `tkz-obj-angles.tex'
With tkz-euclide 3.02, \usetkzobj{all} (or \usetkzobjall) is not necessary according to the manual:
With the new version 3.02 you don’t need this line anymore. All objects are now
loaded.
...
15
votes
Accepted
Error "latexmk: The script engine could not be found" in VS Code using MikTeX 2.9
Quick summary:
Install Perl from The Perl Programming Language. ActiveState Perl is recommended for beginners. Make sure to add the Perl local directory to your system Path.
Install the latexmk ...
13
votes
Thích Nhất Hạnh in LaTeX tufte-book class
\usepackage{ucs} is never the answer. What you want is to use T5 (Vietnamese) encoding for the name. The EB-Garamond fonts don't support Vietnamese, but there is an implementation of Garamond that ...
13
votes
Thích Nhất Hạnh in LaTeX tufte-book class
We often use
\usepackage[utf8]{vietnam}
for typing Vietnamese language in LaTeX (I am a Vietnamese).
Hope this helps!
\documentclass{tufte-book}
\title{A Tufte-Style Book\thanks{Thanks to Edward R.~...
11
votes
Accepted
TeXworks takes more than 20 minutes to start
After the hints of Ulrike Fischer, I found the last registry key that TeXworks was reading from before hanging (Computer\HKEY_CURRENT_USER\Software\TUG\TeXworks). It seems to be a collection of ...
9
votes
Compile Error after MikTex Update: Sorry, but "MiKTeX Compiler Driver" did not succeed
I had a similar problem caused by the pdf being open in adobe. I guess it couldn't save the pdf as it was open in another package.
9
votes
Accepted
Latest MiKTeX: suggestions on how to install new fonts using the MiKTeX Console
You can install mtpro2lite like this:
I assume that you have a folder with the mtpro2lite files with a content looking like this (the important folders are the tex, dvips and fonts folder):
I will ...
8
votes
Accepted
Installing all packages in Miktex using command line
The easiest way to upgrade your Miktex installation to the highest level is by running
mpm --admin --verbose --package-level=complete --upgrade
This installs all packages at once.
7
votes
Accepted
revtex4-1.cls not found in miktex2.9 in Windows 7
MikTeX will not install things that are marked obsolete (https://ctan.org/pkg/revtex4-1?lang=en). revtex4-1 has been superseded by revtex4-2. So you should be able to just change
\documentclass[...]{...
6
votes
5
votes
Accepted
Class LNCS in LyX doesn't work
I found the problem,
A little clarification for those who want to install a class in LyX. Please follow these steps that are mentioned in the previous link:
Step 0:
Quit LyX
Step 1:
Download ...
5
votes
Accepted
problem with MiKTeX after updating
In older versions of MiKTeX MiKTeX used several programs for administration (the one you named in your question).
The current version of MiKTeX has only one program for administration of MiKTeX (...
5
votes
How to fix the problem in case of tikzpicture, the dimension is too large?
Replace
\draw[line width=1.0pt,smooth,samples=100,domain=-6.1:5.5] plot(\x,{(\x)^(3.0)});
with
\addplot[line width=1.0pt,smooth,samples=100,domain=-6.1:5.5] {x^3};
Full example after replacement:
\...
5
votes
Accepted
How to fix the problem in case of tikzpicture, the dimension is too large?
This smells Geogebra, which is known to output disputable TikZ code. It's usually best to take some time to fix it.
The suggestion of using \addplot is surely good, but also a reorganization of your ...
4
votes
Please give a link to MiKTeX 2.9 for Windows XP
At the moment of this writing, I was able to find MiKTeX 2.9.5105 at ftp.lip6.fr (and a couple of other FTP servers, use the www.filesearch.ru engine), and MiKTeX 2.9.3972 at miktex.en.softonic.com.
3
votes
Accepted
Undefined control sequence in listings
Unfortunately this is a well known failing of the editor misleading you, the error message is
! Undefined control sequence.
\lst@basicstyle ->\ttfamily \singlespacing
as single spacing is not ...
3
votes
Accepted
Сode from answer does not work: Tabu table text-colored header
I suggest you put each heading inside a \multicolumn{1}{c}{...} via the following macros:
\newcommand{\chbody}[1]{\begin{tabular}{@{}>{\color{Blue}\bfseries}c@{}}#1\end{tabular}}
\newcommand{\ch}[...
3
votes
Jupyter: downloading notebook as PDF via LaTeX
I know it is not exactly what you want but have you tried to print it to pdf using your browser (ctrl+p)? It is simple and the "you print what you see" approach is great to share a reports/analysis ...
3
votes
Accepted
"Process exited with error(s)" but no errors are reported
{C:/Users/USER/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map
!pdfTeX error: pdflatex.exe (file C:/Users/David Scott/AppData/Local/MiKTeX/2.9
/pdftex/config/pdftex.map): buffer overflow at file C:\...
3
votes
latexindent: Can't locate Log/Log4perl.pm in @INC (you may need to install the Log::Log4perl module)
As of Version 3.9 the Log4Perl module is no longer loaded by latexindent.pl.
Details of the required perl modules are documented and sample installations steps are given in .travis.yml and appveyor....
Community wiki
3
votes
Still not finding the .sty file even after package installation and refreshing file name database!
Well, you do not need to download *.zip files from CTAn manually.
As you can see in the MiKTeX console picture you added to your question the packages with name *stix* are not installed on your ...
3
votes
Why I get "emergency stop" for simplest template in TeXnicCenter?
In German: Zunächst einmal: Tief durchatmen! ;-)
The issue here is divided in two parts:
You are using an very outdated version of MiKTeX: ...16, the current one is .20: This is pdfTeX, Version 3....
3
votes
Accepted
error: Font \TU/LatinModernRoman(0)/bx/n/10=LatinModernRoman
In LuaLaTeX, the global variable file is used to access the file library from lualibs. You code changes file, therefore the library can no longer be accessed which breaks luaotfload.
You can fix this ...
3
votes
Accepted
Handling tilde for the home directory in latex, Windows 10, MiKTeX 2.9
In TeXlive and windows 10 \string~ works and points to %USERPROFILE%. Using $USERPROFILE
works too:
\includegraphics{\string~/Documents/test.pdf}
\includegraphics{$USERPROFILE/Documents/test.pdf}
...
3
votes
Accepted
umranda: non-existent package?
If you do “Search by file” in the CTAN home page and type umranda in the box, you'll be directed to https://ctan.org/search?phrase=umranda
This should suggest to install both niceframe and niceframe-...
3
votes
Accepted
breqn with Miktex creates strange line breaks. Bug?
The issue is new hooks added to paragraph code. I've not worked out where the fix should go 'properly' yet, but you can locally restore things using
\documentclass[12pt]{article}
\usepackage{breqn}
\...
3
votes
Accepted
Large TikZ pictures scaled to a page - part 2
Use dimensionless coordinates.
Specify the unit length by adding e.g. the option [x=0.005pt,y=0.005pt] to your tikzpicture.
\documentclass{article}
\usepackage{tikz}
\usepackage{lipsum}
\begin{...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
miktex2.9 × 236miktex × 82
miktex-update × 33
errors × 20
packages × 18
texstudio × 17
pdftex × 15
windows × 13
compilation-error × 10
texmaker × 9
installing × 9
tikz-pgf × 8
fonts × 8
xetex × 7
texworks × 7
beamer × 6
biber × 6
biblatex × 5
bibtex × 5
luatex × 5
compiling × 4
includegraphics × 4
updating × 4
directory × 4
repositories × 4