Questions tagged [miktex]

MiKTeX is a typesetting system for Microsoft Windows, consisting of an implementation of TeX and a set of related programs.

[NOTE TO MODERATOR : shamelessly copied from Wikipedia, but it's better than nothing, right?]

MiKTeX is a typesetting system for Microsoft Windows that is developed by Christian Schenk. It consists of an implementation of TeX and a set of related programs. MiKTeX provides the tools necessary to prepare documents using the TeX/LaTeX markup language, as well a simple tex editor (TeXworks). The name comes from Christian Schenk's login: MiK for Micro-Kid.

MiKTeX can update itself by downloading new versions of previously installed components and packages, and has an easy installation process. Additionally, it can ask users whether they wish to download any packages that have not yet been installed but are requested by the current document.

The current version of MiKTeX is 2.9 and is available at the MiKTeX homepage. Since version 2.7, MiKTeX has support for XeTeX, MetaPost and pdfTeX and compatibility with Windows 7.

209 questions
0
votes
0 answers

LaTex in Matplotlib yields error "Sorry, but C:#\bin\latex.exe did not succeed"

I want to use LaTex in my matplotlib.pyplot plots for my thesis, but struggle to get it going. I have installed MikTex from the official page and get use the following code. plt.rc('text', usetex=True) def f(t): return t ** 2 t1 =…
LionCereals
  • 171
  • 1
  • 10
0
votes
0 answers

Texmaker "! Extra \endgroup." compiling error

I have installed Miktex and Texmaker and am trying to compile a very simple tex file: \documentclass[10pt, twocolumn]{revtex4} \begin{document} hello \end{document} but I am getting the error on the \begin{document} line…
Sabr3
  • 1
  • 1
  • 2
0
votes
2 answers

\DeclareOption does not work with my MikTex

I wrote an cls-file for my latex-documents and it works like a charm with my texlive installation. But on my new Labtop, where I tried MiKTex, it ignores the declarations. I'll only post the beginning of the cls here, else it would be a little…
Merlin
  • 1
  • 1
0
votes
1 answer

miktex (lualatex.exe) fails to run from flask subprocess

I am trying to build a latex file using a subprocess call in a flask web-app. def pdf(self, ixTestsheet): build_dir = mkdtemp(prefix="testsheet_") tsfile = NamedTemporaryFile(dir=build_dir, suffix=".tex", delete=False) …
Tanj
  • 1,354
  • 1
  • 15
  • 25
0
votes
1 answer

MiKTeX, LaTeX: Error with \newwrite output file and writing with \write -- Windows API error 2: The system cannot find the file specified

Using TeXworks v0.6.5 (MiKTeX 20.7) on Windows 10 Home, I am trying to write a line to a text file. When typesetting this code \documentclass{article} \newwrite\justafile \begin{document} % Write to text…
Miriam Briskman
  • 103
  • 1
  • 6
0
votes
0 answers

How to install Miktex on Centos 7?

Can anyone suggest me how I can install miktex on Centos 7? While I find the instructions for installing Miktex on Centos 8 at https://miktex.org/download, I was not able to install the same even if I try the same commands on Centos 7 after…
Madhavan
  • 49
  • 1
  • 2
  • 11
0
votes
0 answers

pdflatex to convert octave code into pdf documents

I am attempting to publish some Octave code as a PDF, however, I keep on getting the same error message: 'pdflatex' is not recognized as an internal or external command, operable program or batch file. I have also downloaded MikTex now but it still…
MinaThuma
  • 131
  • 4
0
votes
0 answers

Miktex package does not succeed: miktex-fc-cache.exe

I reinstalled miktex multiple times now, but I still get the same error, when updating or installing new packages: The executed process did not succeed (fileName="[path to miktex 2.9 directory]\miktex\bin\x64\miktex-fc-cache.exe", exitCode="1"). I…
0
votes
1 answer

"libertineotf.sty" not found

I am using MikTeX 2.9.7364 with WinEdit in windows10, and encounter an error saying"libertineotf.sty" not found. I search it in google find that it`s a package used in Linux, but why it occurs here? And I search "libertineotf.sty" in MikTex Console…
supers
  • 21
  • 4
0
votes
0 answers

bad display dvipng

import sys from PyQt5.QtWidgets import * from matplotlib.figure import Figure from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib import rc rc("text", usetex=True) app = QApplication(sys.argv) fen =…
Colat
  • 41
  • 8
0
votes
1 answer

get latex variable/definition from file

So we have a file which has mappings like: one/two/one.tex 27/11/85 some/other/two.tex 27/03/89 I would like all our documents to reference this file and pull out the appropriate date. For example, for one.tex, it would display 27/11/85 Any…
Francis
  • 211
  • 2
  • 6
0
votes
1 answer

doxygen generated make.bat stops with errors. How to prevent such stops?

How can I prevent stops on errors and automate it always to proceed without interaction? I called that make.bat batch script after my doxygen (1.8.16 on Win10) generated all that stuff in a latex directory. My installed latex is from…
falkb
  • 1,294
  • 11
  • 35
0
votes
1 answer

Minimal LaTeX equation renderer on Windows (stripped MiKTeX?)

I'm successfully using MiKTeX to render LaTeX equation strings to PNG. However, the distribution of MiKTeX is really large (~360 MB for the uncompressed portable version), and I need only the equation rendering. Is there a stripped-down version of…
Eldloppa
  • 91
  • 7
0
votes
1 answer

LaTex Undefined control Sequence while using MikTex

I got an Error message from the MikTex console trying to convert my .tex document in pdf. I used the command: pdflatex Test.tex The Error is Undefined control sequence. It seems LaTex doesn't know the command: \nmid while the command \mid works…
xHouka
  • 11
  • 1
  • 2
0
votes
2 answers

run multiple commands in windows cmd using Process class in java

Im using a java application for creating a .pdf file. It writes the .tex file so Miktex can create a pdf. writePDF(s); String command = "cmd /c start xelatex -synctex=1 -interaction=nonstopmode " + s + ".tex && del " + s + ".tex"; Runtime…
Varejator
  • 17
  • 7