TeX - LaTeX Asked by Romtromon on September 30, 2021
I can’t tell if this is Windows or *nix; you appear to be neither.
The error above is what I receive even when I try to compile something as simple as this:
documentclass[11pt]{article}
usepackage{minted}
begin{document}
Test Text
end{document}
The error is clearly caused by the minted
package being included (I assume it requires ifplatform
) because the documents that don’t use the minted
package compile fine. I’ve tried compiling using both pdfTeX and XeTeX (with the -shell-escape
argument of course.)
This error never popped up in the past when I had some distribution of LaTeX that got installed automatically when I installed TeXmaker through apt. But I installed MiKTeX because it’s a lot easier to get new packages with it. That’s when this problem started.
I tried reading the documentation for ifplatform
and it said something about things becoming confused if there’s a nul:.tex
file in the search path. I only found a null.tex
but deleted it anyway and it didn’t help.
I’d really appreciate any help regarding the matter, thanks in advance!
EDIT: The point I mentioned about the documentation is on page 3 of the documentation found here.
This works for me and makes the .tex
file compiles with no problem (I am using a Mac with MiKTeX and texMaker and had the same problem):
ProvidesFile{ifplatform.sty}
newififwindowswindowsfalse
usepackage{minted}
Answered by MNassar on September 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP