Questions tagged [compiling]
{compiling} is about the process you must go through to convert your TeX from .tex source files into your output document format, be it pdf, dvi, or something completely different.
2,064
questions
0
votes
2
answers
318
views
Compile using only one command
Actually I need several commands to compile my Latex document:
lualatex -synctex=1 -interaction=nonstopmode -halt-on-error main
biber main
makeindex main
makeindex -s main.ist -t main.alg -o main.acr ...
1
vote
0
answers
191
views
Missing number, treated as zero when renewing enumerate \item and using hyperref [duplicate]
When I tried to integrate the answer for my question How to recognize the enumerate shortlabels in my custom environment? on my thesis document, latex throwed this error:
main.tex:26: Missing number, ...
0
votes
0
answers
28
views
Undefined control sequence "\includegraphics" [duplicate]
I recently got a weird error when I was trying to recompile an old document of mine. I am using the latest versions of MiKTeX and TeXstudio and I am using pdfLaTeX compiler. I made a minimum working ...
50
votes
3
answers
148k
views
How to compile bibtex with TeXstudio?
I am trying to use bibtex for the first time. I am on windows 7, using TeXstudio. I am trying to follow the steps of this webpage (in French).
I have created a .bib file, put it in the right ...
4
votes
1
answer
250
views
Tengwar, tikz and decorations.text
I am trying to write a sentence in tengwar along a circle, and I'm trying to use
tikz, with a code that looks something like
\documentclass[11pt]{article}
\pdfmapfile{=tengwarscript.map}
\usepackage[...
2
votes
1
answer
3k
views
Illegal parameter number in definition of \enit@before. You meant to type ## instead of #, right?
I am trying to renew the \item command, inside the \setlist command for How to create a enumerate list adding a custom prefix before each item number?, but latex keeps telling me:
test1.tex:22: ...
3
votes
0
answers
72
views
Have two different master files compiled with AucTeX
I use a template for exercises where I have a ex environnement, and then a sol environnement. Theses files are included in one master file called for instance AF1920_serie4.tex, and in another file ...
3
votes
1
answer
457
views
Compile twice by changing version and jobname
Always making my lessons, i've defined some commands to separate teacher and student stuff. The structure is the same than what is described on this post. A MWE is at the end.
At the moment, i've to ...
4
votes
1
answer
45k
views
Error when compiling (pdfLaTeX)
I wrote some lines and I wanted to view the pdf, so I compiled and built but I have this error message:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit)
pdflatex.EXE: The memory ...
0
votes
1
answer
93
views
Why WinEdt gives a special color to the word GUI? [closed]
When I write the word GUI, WinEdt automatically highlights it with a special color than the remaining texts!
What is the point here to give GUI a special color?
Thank you so much
0
votes
0
answers
145
views
compiling the changes not all the document in Overleaf
I started Latex with Texstudio and there was an option that I could compile just the changes (which leads to much faster compiling time).
Is there a similar option in Overleaf to avoid compiling the ...
0
votes
0
answers
362
views
Sublime LaTeXTools warnings + not compile
After being working in TeXworks I decided to use Sublime+LaTeXTools. I did the setup correctly (checking system says so). Now I am trying to compile two simple documents, but sublime returns some ...
2
votes
1
answer
2k
views
vscode plugin latex-workshop doesn't generate tableofcontents
my tableofcontents can be generated in texstudio, but in vscode with latex-workshop it can't be built, I tried several times.
how to solve the problem?
2
votes
1
answer
106
views
Web and print versions of the same paper from one TeX file [duplicate]
I'm writing a term paper using LaTeX that includes a number of figures created using external tools. These figures are available in both bitmap and vector formats. Ideally I'd like to use the vector ...
0
votes
0
answers
530
views
Printing to PDF in Texmaker gives source code instead of rendered output
When I print to pdf, I do not get the actual pdf that is shown in TexMaker. Instead I get the "code" I used. Why is this? How do I fix it?
I wrote my homework for my Real Analysis class in LaTeX and ...
1
vote
1
answer
229
views
.cls files, indexed in an ls-R File, are not found by pdflatex (macOS, MacTeX)
I want to use a set of custom latex classes, so I copied the whole directory to ~/texmf and execute mktexlsr ~/texmf.
Afterwards, the index file ~/texmf/ls-R is created and the respective .cls files ...
2
votes
2
answers
217
views
Why can’t I get unicode characters?
I’m trying to typeset the unicode dice character in LaTeX. I’m using emacs, on Ubuntu 18.04. I’ve tried manually setting my TeX-engine to xelatex and lualatex, and I get the same thing.
\usepackage{...
2
votes
1
answer
2k
views
"! Illegal parameter number in definition of \reserved@a" working with fncychap
I'm trying to compile a document, but when I launch pdflatex mydocument I get these output:
! Illegal parameter number in definition of \reserved@a
<to be read again>
l.14 \tableofcontents
...
4
votes
2
answers
348
views
Hyperref + Silence + inline maths, doesn't compile
Issue
Document compilation hangs when \( ... \) in section title etc. if both hyperref and silence are loaded.
MWE
\documentclass{article}
\usepackage{silence}
\usepackage{hyperref}
\title{Title}
...
0
votes
0
answers
66
views
Typesetting the source code documentation for xcolor
I want to get the source code documentation for the xcolor package. For this, I removed \OnlyDescription from xcolor.dtx (line 111) and ran
pdflatex xcolor.dtx
pdflatex xcolor.dtx
makeindex -s gind....
0
votes
0
answers
820
views
Too many }'s. \end{figure} [duplicate]
I am writing my thesis that works just fine but whenever I try to add in figure it gives me an error saying there are too many }'s. \end{figure}
\begin{figure}[!h]
\centering
\begin{tikzpicture}[node ...
0
votes
0
answers
50
views
Typesetting with different values of a boolean [duplicate]
In my document I have defined a few booleans (like etu in order to hide some parts of the document for the students, or mono which activates the monochrome option of xcolor).
My aim is now to provide ...
7
votes
2
answers
18k
views
LuaLaTeX not recognised as a VS Code tool
I've been trying to adopt VS Code as my LaTeX editior of choice, since it has all of the features Atom has but more, once the extension LaTeX Workshop has been installed. My only gripe with it is that ...
2
votes
2
answers
871
views
TeXShop console freezes when compiling large files (intermittent)
About once out of every four times that I compile a large LaTeX project (about 780 pages) in TeXShop, the console freezes and stops the compiling. The content of the LaTeX files does not seem to ...
0
votes
0
answers
192
views
Undefined control sequence \draw in pgfplots axis
I'm plotting a simple sine wave with pgfplots, but when I try and add an annotation with \draw compilation fails:
! Undefined control sequence.
l.161 \draw
...
2
votes
1
answer
2k
views
How to purge/clear the cache (?) after running the ConTeXt compiler?
I am currently trying to set up a book layout in ConTeXt and keep hitting a problem when compiling my document with context.
The thing is, I am experimenting a lot with different layout options and ...
1
vote
2
answers
3k
views
Is there a problem with XeTeX font cacheing?
Here's my MWE (it's really M, as the content isn't too relevant):
% !TEX TS-program = xelatex
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\end{document}
Since I migrated to TeX ...
1
vote
0
answers
869
views
Issues with converting .tex file to PDF on the ScholarOne manuscripts submission system
I am submitting my manuscript to a journal that is using ScholarOne Manuscripts submission system. However when upload my .tex file along with the .bib and Class file, I get the following error:
The ...
1
vote
2
answers
1k
views
Biber is outdated compared to biblatex
I have the following error while compiling my memoir. Here is a MWE that also gives this error:
\documentclass[b4paper,14pt,english,twoside]{memoir}
\usepackage[english]{babel}
\usepackage[utf8]{...
1
vote
0
answers
107
views
Weird figure randomly began showing up and won't go away [closed]
This weird figure (image below) randomly showed up at the beginning of my document (occupying a after I added the smartdiagram package to make a chart. I've a bunch of different things and this ...
0
votes
0
answers
468
views
LaTeX + Atom configuration - I have downloaded all the packages but it just seems to not compile correctly
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\title{Introduction to \LaTeX{}}
\author{Author's Name}
\maketitle \begin{abstract}
The abstract text goes here. \end{abstract}
\...
3
votes
1
answer
167
views
Tipa throwing error because of `\implies` and `\iff`. Workaround or fix?
I need to use the Tipa package. Upon imorting it my document stopped compiling. After frantically dissecting it I figured out Tipa throws an error when \implies or \iff is present in the source text.
...
0
votes
0
answers
291
views
Output a PDF as a byte array or stream
Is it possible for pdflatex to output a PDF as a byte array or stream, rather than writing the bytes to disk?
I want to repeatedly write a PDF and immediately extract it's text; if I can avoid ...
1
vote
0
answers
153
views
PDF will not print, font error
My pdf does not compile and I receive the following error in my log file:
"!pdfTeX error: pdflatex.exe (file esint10): Font esint10 at 600 not found"
I have added \usepackage{lmodern} as I have ...
0
votes
0
answers
274
views
Compile problem while I add a chapter
I use a template from my university in order to write my dissertation. I wrote and compiled my second and third chapter and generated a PDF. But, when I add the fourth chapter (Capitulo04.tex) I got a ...
0
votes
0
answers
104
views
iosart2x document class and greek letters
I'm attempting to submit an article to http://www.computability.de/journal/ and i'm in the process of converting my initial write up to work with the provided latex template. They require the use of ...
4
votes
2
answers
587
views
How to let AUCTeX launch automatically pythontex.py script
I need to use the pythontex package that I find very useful if someone has to do some calculation before inserting the results in LaTeX. So Here is an example:
\documentclass{article}
\usepackage{...
4
votes
1
answer
2k
views
Avoid scrolling to document beginning on compiling?
Each time I compile Kile scrolls back to the beginning of the document. I would like to avoid this, it makes it very hard to write text as I need to browse back to the section I am editing each time. ...
2
votes
1
answer
469
views
Problems with compilation in TEX
I have got a mistake with compilation. The name of program is TEXworks.
This is written in a "box": Could not start Default Compiler:
PdfLaTeX:pdflatex.exe -synctex=1 -interaction=nonstopmode "...
1
vote
1
answer
194
views
Problems with graphicx and htlatex
I try to convert the file 3AHET.tex to HTML but get the Error:
! LaTeX Error: File `test' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate ...
6
votes
1
answer
1k
views
Best way to compile a LaTeX project
Quite long time ago I was extensively using LaTeX with a Makefile that I have found on internet. This allowed me to automatically build/rebuild my project as many time as it was needed to get ...
1
vote
1
answer
48
views
when compiling, miktex-dvipdfmx.exe occupied a huge memory(10GB+) and never finish [closed]
\documentclass[10pt,a4paper]{article}
\usepackage{fontspec}%setmainfont的依赖
\usepackage[hidelinks]{hyperref}%hidelinks属性隐藏了link的颜色
\usepackage{etoolbox}
\usepackage{ctex}
\usepackage{CJK}
\usepackage{...
4
votes
1
answer
3k
views
does not compile and gives LaTeX Error: Option clash for package inputenc
I dont have inputenc written twice. at least i dont have it in my main tex file. i'm not sure what could be causing this error and could use some help in troubleshooting it.
heres everything i have ...
1
vote
1
answer
826
views
Aborting a compilation in Texmaker
Well, I've read this, but doesn't solve the problem for Texmaker, and I'm really clumsy, instantly seeing errors after a tedious long time wrong compilation.
As I really don't expect any self-...
0
votes
1
answer
808
views
LuaLaTex, TeXstudio, biber - Do not compile bibliography when using Compile command
I'm trying to compile a document including a glossary and a bibliography.
For adjustment purposes, I need to compile it every few lines I write. For this I use the TeXstudio command "Compile" (F6 in ...
0
votes
1
answer
124
views
Compiling whole report
I have a report seperated into many tex-files. I have 2 questions:
Is it possible to see just one tex-file in pdf? How can I do it?
How can I compile the whole report and the associated tex-files in ...
2
votes
2
answers
712
views
how to understand the error info "Illegal parameter number in definition of \reserved@a. ...t{2+\cdots+\sqrt{2}}}}_{n项} , \cdots 收敛.$}"
error info:
Illegal parameter number in definition of \reserved@a. ...t{2+\cdots+\sqrt{2}}}}_{n项} , \cdots 收敛.$}
this line's content:
\section{$证明极限:x_{1}=\sqrt{2}, x_{2}=\sqrt{2+\sqrt{2}}, \cdots ...
2
votes
1
answer
1k
views
Use arara with continuous compilation (with vimtex)
I've been using vimtex with latexmk to typeset my LaTeX documents for a while now.
But I'm trying to use arara for a new project, as one of the team members suggested to use it.
Since I always use (...
29
votes
9
answers
150k
views
TeXstudio Compile: Error: Could not start the command: pdflatex.exe [duplicate]
I'm trying write a report in LaTeX but TeXstudio won't let me. All I have is this:
\documentclass[a4paper,11pt]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\...
1
vote
0
answers
96
views
filename contains Chinese characters unable to be compiled by XeLaTeX [closed]
windows 10
TeXstudio 2.12.16
texlive2019 default installation
it said:
Could not start Build & View:XeLaTeX: xelatex.exe -synctex=1
-interaction=nonstopmode "hashujixian-副本".tex
but it ...