MiKTeX is a widely used TeX distribution available for Windows.

learn more… | top users | synonyms

6
votes
4answers
5k views

fontspec LuaTeX error

I have installed "ProTeX" with "TeXstudio 2.3" & "Miktex 2.9". I get an error ! The fontspec package requires either XeTeX or LuaTeX to function when I attempt to run \documentclass{article} ...
6
votes
5answers
16k views

Configuring portable TeXstudio to use MiKTeX portable

I have downloaded and installed the portable versions of TeXstudio and MiKTeX for Windows. I assume I now have to map the commands in TeXstudio to the binaries (or the batch files) in MiKTeX. However, ...
6
votes
2answers
151 views

Is “conditionals” name of package?

In some package I have seen construct like this one: \if\blank{\myMacro}% %do something \else %do something else \fi I like it and I want to use it to test if call to a macro has empty result. ...
6
votes
2answers
1k views

Relocate MiKTeX 2.9?

On my Windows 7, 64-bit machine MiKTeX lives in C:\Program Files\MiKTeX 2.9. I'd like to move it to D:\Program Files\MiKTeX 2.9. Is there a mostly painless way to do so, or should I just reinstall?
6
votes
2answers
203 views

Read file without file extension from hidden directory

I'm trying to read some data from a file and use the following approach: \documentclass{minimal} \newcommand{\file}{./.dir/.testFile} \begin{document} \newread\myread \openin\myread=\file\relax \loop ...
6
votes
1answer
487 views

How can I update the array package? Warning from tabu

I am trying to use the tabu package, but it returns a warning which does not seem like a good sign. Does anyone know how to resolve the following issue? LaTeX Warning: You have requested, on input ...
6
votes
3answers
1k views

mpgraphics: Unable to compile using MikTex on Windows

This is an example from mpgraphics package documentation: \documentclass{article} \usepackage{mpgraphics} \begin{document} \begin{mpinline} draw (20,20)--(0,0)--(0,30)--(30,0)--(0,0) \end{mpinline} ...
6
votes
2answers
9k views

\printglossaries is not generating anything for me

I'm using the glossaries package with MikTeX 2.9 (using TeXnicCenter as my editor) and my document is setup as follows: \documentclass[ebook,11pt,openany]{memoir} \usepackage{color} ...
6
votes
1answer
249 views

Color each letter in document

I am trying to define a command that changes the color of every letter in the whole document to a specified color. I already tried different approaches from this thread, but I was not able to color ...
6
votes
2answers
509 views

Unicode characters changing order in listings (XeTeX)

I am trying to input code listings with unicode characters and everything seems to work (more or less) except some unicode characters being displayed out of order. For example instead of służąca ...
6
votes
1answer
7k views

MikTex Packages Download Failure

I've just installed the Basic version of MikTex 2.9 When i compile a file using pdflatex , it attempts to download the package "miktex-zzdb1-2.9.tar.lzma" . It takes about 2-3 mins . Then it proceeds ...
6
votes
1answer
173 views

Why would esvect produce pixelated arrows?

When using esvect (MiKTeX, pdflatex) I get the following undesirable result: From this: \documentclass{article} \usepackage{esvect} \begin{document} \[\vv{u}\] \end{document} The arrows are ...
6
votes
1answer
199 views

MiKTeX order of precedence for duplicate files

I am using MiKTeX under a single-user installation. My MiKTeX Options dialogue shows me, if I click on the "Show MiKTeX-maintained root directories" checkbox, directories in the following order (from ...
6
votes
1answer
102 views

Umlauts in filenames using the grffile package

"Never ever use non-ASCII characters and spaces in your filenames. Never!" That's what I'm telling my students for years. But if for any reasons there is an urgent need to include an image file with ...
6
votes
1answer
355 views

includegraphics error when scaling image

I have been using Latex for years now, and consider myself fairly fluent, but this error has me stumped. I am using Miktex 2.9 in Windows 7, and am encountering an error in something that up until now ...
6
votes
2answers
268 views

Missing final brackets (in one equation { and in other - ]) in the equations

This is my first question on tex.stackexchange, so the formatting will be terrible. I've got a problem with three lengthy equations - the closing brackets, in all three formulas, are not displayed. ...
6
votes
3answers
1k views

How can I get my LaTeX set up on Emacs/AUCTeX to use the -file-line-error option when calling pdfTeX [duplicate]

I have been puzzling over this for the past few hours and can't quite figure it out. I am using AUCTeX 11.87 and MiKTeX 2.9 on Emacs 24.2 (obtained from Vincent Goulet with AUCTeX pre-packaged): I ...
6
votes
1answer
817 views

Oldstylenums with Latin Modern (MiKTeX 2.9)

I'd like do get the nice oldstyle-numbers in my entire document. (Would there be a reason not to want them anywhere in a literature paper?) I use pdfTeX 1.40.11 via MiKTeX 2.9 and Latin Modern ...
6
votes
2answers
204 views

Lightweight xelatex

On my winXP machine MikTEX installation folder is almost 500M. That's ok when I use it myself. I want to bundle installation package or pre-installed latex distribution (I need xeLaTeX especially) in ...
6
votes
1answer
1k views

Change language preference in TeXworks?

I have installed the MikTeX 64 bit version for Windows, but the interface of the TeXworks editor uses some foreign language. During installation, it did not ask me my language preference. Is there an ...
6
votes
1answer
174 views

Shutting down the pc while the program being executed!

My PC was turned off while I was running my TeX file on the LED (LaTeX editor). Indeed, it turned off before the execution of the file was finished. When I came back to my tex file it was turned into ...
6
votes
1answer
868 views

How to run latexmk with LuaTeX on Windows?

This is a bit of a follow-up question to: Is there latexmk functionality for LuaTeX? I am trying to setup latexmk on Windows 7 together with LuaTeX but it does not work for some unknown reason. ...
6
votes
1answer
4k views

Problem with TeXnicCenter and MikTeX

I had installed MiKTeX 2.7 and TeXnicCenter 1 Stable RC1. I had made my Ph.D. thesis files in that but due to an accident my hard drive is crashed and I have to make my thesis again. I am trying to ...
6
votes
1answer
765 views

Error compiling .Rnw in TeXstudio (knitr with PdfLaTeX)

I´ve been trying to get the minimal Demofile for knitr running and compiling in TeXstudio, but I keep getting errormessages. Here´s the info, mybe somebody can help me out about what I´m doing wrong: ...
6
votes
1answer
2k views

How to install fonts from the LaTeX font catalogue?

How can I install both fonts in the page http://www.tug.dk/FontCatalogue/garamondx/ to work together? My attempt so far was installing both as OpenType system fonts and using XeLaTeX with no success. ...
6
votes
0answers
215 views

TeX engine can't write on hidden aux files in Windows

To make my latex folder clean, I tried to hide all auxiliary files with the following DOS command: attrib +S +H *.aux ...... attrib +S +H *.toc But when I tried to compile my latex file again, ...
6
votes
0answers
249 views

Where and how to enable '--shell-escape' or '--enable-write18' of pdflatex.exe in LaTeXTools of Sublime Text?

I know how to deal with the problem with the older version of LaTeXTools. But recently LaTeXTools has been updated, which turn out to deprive me of knowing what to do. I use Windows+MikTex, by the ...
6
votes
0answers
654 views

Problem with LuaTeX : can't write on the .aux file at second pass [closed]

I use MiKTeX 2.9 for Windows, format Plain eTeX. I have my own macro package which I've used for years, and I tried recently to use it with LuaTeX (included MiKTeX version) in order to use UTF-8 ...
5
votes
3answers
1k views

How to make the rmligs script available globally on Windows?

Hopefully on-topic as about "(La)TeX related software and tools" I just learned about the rmligs script. Since it isn't available through MiKTeX (and neither through TeX Live), I downloaded the ...
5
votes
1answer
4k views

Change from MiKTeX to TeX Live

I'm basically a noob when it comes to dealing with packages and TeX distributions. I currently have both MiKTeX and TeX Live installed with MiKTeX as the default distribution (I think), but I would ...
5
votes
1answer
2k views

Texworks syntax highlighting not working on windows 8 and 8.1

any latex code I want to view in TexWorks 0.4.5 r.1280 (Miktex 2.9) won't show the syntax highlighting. It compiles just fine but everything line is written in black. On very long documents the ...
5
votes
1answer
202 views

How can I avoid that a functions argument touches the brackets using unicode-math?

Maybe, I am doing something wrong, but please have a look on the alignment in this formula: % arara: lualatex \documentclass{article} \usepackage{mathtools} \usepackage[% ,math-style=ISO ...
5
votes
3answers
4k views

MikTeX x86 vs MikTeX x86_64

I've found that MikTeX now have both x86 and x86_64 version. What's the difference between them? Are there are some limitations in the x86_64? Or they are completely interchangeably?
5
votes
2answers
18k views

TeXnicCenter & MiKTeX – “directory where the executable is located”?

I have a 64-bit System running Windows 7. I installed MiKTeX and then tried to install the TeXnicCenter editor. All went well until I clicked on the TeXnicCenter icon on my desktop and was asked ...
5
votes
2answers
896 views

Adding .cls to portable MiKTeX

I guess specifically it would help to know where the texmf path is. I make extensive use of a particular class and need to add it to MiKTeX portable. Can someone point me in the right direction? I saw ...
5
votes
3answers
7k views

MikTex error for PNG images when trying to produce DVI

I have a tex file with \includegraphic elements for some PNG images. I use MikTeX on Windows and the PDF is fine. Now, I need a DVI so I tried using: \pdfoutput=0 This creates a DVI, but only after I ...
5
votes
2answers
7k views

LaTeX error: can't write file

I'm using Miktex 2.9 on windows 7 x32, texniccenter as IDE. I encounter an error for a project that worked few days ago: when I compile, I get the message: ! I can't write on file `../preamble1.aux'. ...
5
votes
3answers
898 views

LuaTeX cyrillic hyphenation problems

I am trying to use LuaTeX (LuaLaTeX) in MiKTeX 2.9 and I'm stuck with getting it to load cyrillic hyphenation patterns. I'm quite new to LuaTeX, so maybe there's something special about hyphenation ...
5
votes
1answer
385 views

Check if TeX installed is MikTeX

Is there a way to check from command line whether tex and other commands belong to MiKTeX or some other distribution (I want to only (require 'tex-mik) in Emacs initialization if it's needed)?
5
votes
1answer
2k views

TeX Live and MiKTeX: underlying basic difference

The two standard distributions for (La)TeX, MiKTeX and TeX Live. Just to know the difference between them I searched this site and came across a variety of differences, some of them being MiKTeX is ...
5
votes
2answers
2k views

How to install PGF/TikZ 3.0 in MikTeX?

Currently, the MiKTeX package manager does not know of the latest stable version of PGF/TikZ. I have made an attempt at installing it manually, following Stephan Kottwitz’ answer to question How can I ...
5
votes
2answers
235 views

Is it possible to pass options to mpost.exe using luamplib?

I would like to use the development version of metapost with luamplib. I've switched over the executable mpost.exe which is presumable called by luamplib somewhere along the line. Now, I would like ...
5
votes
1answer
597 views

MikTeX update caused compilation problems (Oct 2013)

I just updated all my MikTeX packages in an attempt to deal with the problem posed in this question: Biblatex citation and bibliography misbehaving in Texmaker - help!. Now TeXworks and TeXmaker both ...
5
votes
2answers
1k views

Portable MiKTeX Packages Management

I have already installed MiKTeX 2.9 (Not a portable version) in my computer. I have already had portable MiKTeX 2.9 in my USB. I want to use my portable version. But it lack of some packages. ...
5
votes
1answer
2k views

Changing the location of auto-installed packages in MiKTeX

This is a software question, specific to MiKTeX: I have automatic downloading of packages enabled, so that if I try to use a style that's not in the existing directory trees, it is downloaded from ...
5
votes
2answers
11k views

Using htlatex to convert LaTeX to HTML

I appear to have htlatex and htxelatex already installed on my computer. However when I try to run them, it comes up with the message, 'I can't write on file 'texput.log'' I am trying to convert a ...
5
votes
2answers
4k views

MiKTeX 2.9 Does NOT Support `hypernat`

Today I migrated from MiKTeX 2.8 to MiKTeX 2.9 (on Windows XP). Starting to compile old LaTeX files, I noticed the following error: ! LaTeX Error: File `hypernat.sty' not found. A little search ...
5
votes
1answer
2k views

How can one install biber on miktex 64-bit? [duplicate]

I am using MikTex 64 bit. Unfortunetely it has no biber.exe. Is it possible to take biber from, e.g., MikTex 32 bit? If yes, how to do that? I've heard that biber.exe needs perl library.
5
votes
1answer
15k views

Configure TexStudio for first use

I am trying to configure TexStudio for first use. If it makes any difference I downloaded Protex onto a machine running Windows-XP. Under Options Configure TexStudio on the left I click Commands when ...
5
votes
2answers
1k views

Biblatex with MiKTeX

I wanted to try biblatex, but even my minimal examples don't work: \documentclass{article} \begin{filecontents}{\jobname.bib} @ONLINE{Doe:2009:Online, author = {Doe, Ringo}, title = {This is a test ...