Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
2answers
45 views

Add a randomly generated number to a latex document to discourage cheating on an exam

I am trying to cut down on a particular kind of cheating during my in-class exams. What some students are doing is taking pictures of the exam (while I am looking somewhere else), and uploading them ...
0
votes
0answers
33 views

File no longer compiles; missing packages

Recently, I've encountered errors compiling tex files using XeLaTeX in Sublime Text. I've compiled these same files earlier before without any major errors. I can't recall making any major changes to ...
0
votes
0answers
39 views

TeX capacity exceeded: Is available main memory size depending on machines RAM?

I had the case that I ran into TeX capacity exceeded several times when compiling a pgfplot with lots of data points on a machine with 4096 MB RAM. Now I've tried to compile the very same file on a ...
0
votes
0answers
58 views

Using EPS files with TexStudio

I am trying to use EPS images in TeXstudio. I had already set everything up using PDF files, and everything works great there, but the journal I'm submitting to requires EPS. My process so far is to ...
0
votes
1answer
44 views

Can't compile a journal's template

I need to use the dgruter's template for a journal article but it has become impossible to do it cause I'm constantly getting error messages, I only got it to compile after using % on \maketitle and \...
0
votes
0answers
31 views

LaTeX suddenly stopped compiling my main file

I am facing a problem concerning the compilation of my main document. I was working on TexStudio, and then I started using Overleaf. I uploaded all my files and when I tried to compile the main ...
0
votes
0answers
59 views

TeX-evince-sync-view locking up with this file [migrated]

This file when I compile it with AUCTeX, and then try to view it, using TeX-evince-sync-view, shows that one page has been compiled, but then shows a blank view. After I kill it, TeX-evince-sync-view ...
1
vote
1answer
38 views

compile webquiz

I have some problems to compile webquizes, which made by using the package https://ctan.org/pkg/webquiz?lang=de So far i installed MikTEX, TEXstudio and python 3, get the packages webquiz, TEX4ht and ...
0
votes
0answers
23 views

How to run a document containing both PythonTeX and BibTeX in one go on TeXstudio?

Let's say that I have the pythonbiblio.bib file that contains this: @misc{Einstein, author = "Albert Einstein", title = "The Art of the Calculus", year = "2042" } And my pythonbiblio.tex ...
1
vote
1answer
67 views

Overleaf does not compile after using Biblatex

I have my PhD deadline on Monday and disaster has struck at the very last minute! Any assistance would be eternally appreciated. I'm using Overleaf (v2) to write my thesis - it's a very large file ...
1
vote
1answer
52 views

How can I automatically add the date to the output PDF file name?

Currently when I generate a PDF file of my document, it produces the name document1.pdf I'd like to set it so that it adds the current date (or the date produced by \date{\today}), such as ...
0
votes
2answers
26 views

Compile article excluding appendix (without commenting it out)

Consider a simple article: \documentclass{article} \begin{document} some text \begin{appendix} some text \end{appendix} \end{document} Is there a way to tell Latex ro compile the file as if ...
1
vote
1answer
130 views

VS Code - Latex Workshop - custom recipes file location

I want to use the vs code extension Latex Workshop and want to set up my own recipe for compiling the documents. The faq are good but missing the part where they tell where the recipes are stored and ...
1
vote
0answers
61 views

Texmaker doesn't compile pdf

I am using Texmaker on Mac to compile some scripts. The same scripts work on other Mac computers but not mine: when I click on Quick build, it says Could not start the command. pdflatex -synctex=1 -...
0
votes
0answers
29 views

Post break hook Arrows not working on native mac LaTex Clients

I tend to use overleaf for most of my latex porjects, but recently have been forced to work on a local tex editor. I work a lot with R code and use the following settings on overleaf: \usepackage{...
0
votes
1answer
30 views

Incomplete \iffalse related listlisting, \textit and \textcolor

I've asked something similar before, but that specific issue has been solved (waiting for comment to be posted as answer as of 2.3.19 18:12 GMT+1). I have a LaTeX code which gives me these errors at ...
0
votes
1answer
44 views

Incomplete \iffalse in specific lstlisting regardless of contents

I have a LaTeX code which gives me these errors at a specific line : Incomplete \iffalse; all text was ignored after line 140. Forbidden control sequence found while scanning text of \write. at line ...
0
votes
0answers
98 views

Compiling stuck in an infinite loop?

I'm using TeXstudio. Today, I added a couple of lines to my paper, went to compile it, and now TeXstudio is stuck in an infinite loop, where there's just that constant blue circle rotating. Even ...
0
votes
1answer
52 views

Document will compile on TeXworks but not TeXstudio

I have a small problem with a document I am trying to compile. The following code will compile in TeXworks without any errors, but bleats about missing packages tqft, and missing .sty files for wasysm,...
0
votes
0answers
210 views

Setting up LaTeX compiling protocol in VSCode (LaTeX-Workshop)

I apologize if this is not really a question, but more of a call for help because I'm really lost in how to use LaTeX command tools and all that sort of stuff and I don't really have time to ...
2
votes
2answers
37 views

How to configure the environment for AMS-tex?

I installed the Miktex, Winedt, and Texmaker in my PC. And I saw that there is amstex in MikTex package manager. Unfortunately, I still can not successfully compile the files written in ams-tex, such ...
0
votes
1answer
37 views

References to uncompiled sections

Im writing my thesis with latex and I used different files for the chapters, inserted in the main one with the \input command. Sometimes, I need to compile just 1 chapter (to send it to a reader, or ...
0
votes
0answers
56 views

How to solve saving failed with TeXstudio?

when I try to compile or save my document appears the following message: "Could not get write permissions on file ... Perhaps it is read-only or opened in another program?" I'm using TexStudio, and ...
-1
votes
0answers
180 views

Vim-Latex is not compiling

I started using vim as my latex text editor. But when I try to compile my .tex file i get this message: || I can't find file `example'. example.tex || Emergency stop Any suggestion? Also, I don't ...
1
vote
1answer
38 views

Blank Boxes with mfpic in exam class

I'm working on a document that uses mfpicand would like to compile without having to do mpost every time. I tried to use the code given in this post, but have been unsuccessful. MWE: \...
-1
votes
1answer
83 views

compile one time for all file pdf/tex and combine to one file

i use TexMaker 5.0.3 i have 6 file tex (file 1,2...6), and i must compile 6 times of 6 file .tex to create 6 file pdf. Then in main.tex, i combine 6 file pdf to only one pdf. Total: 7 times to create ...
0
votes
0answers
20 views

Partial compilation of part of a document without breaking the page

I'd like to avoid recompilation of unchanged sections of my documents. However, I don't want new sections to be on new pages. Suppose this is my document: I only want the second section to be ...
0
votes
1answer
25 views

\shortstack in table throwing Compile Error

I am trying to put some cell text such as "Measurement type" and "Event labels" into multirow cells of two lines, where the aforementioned names would be split into two lines. \begin{table*}[t] ...
4
votes
1answer
70 views

Build one single .tex file from a .tex file with multiple \input

Edit: I think this question is sufficiently distinct from this question because I am specifically asking for a method within TeX itself, i.e. not running some Perl script separately to do this, but ...
0
votes
2answers
30 views

Output formatting within \message

Is there a list or overview of character codes that can be used within \message or \typeout to format the printed string in pdfTeX, Version 3.14159265-… (TeX Live 2017)? I know of ^^J which does a ...
5
votes
1answer
155 views

mail merge and create multiple pdfs

I have a .csv file called sbriefdata with some data in it, for example A;B;10 C;D;20 E;F;30 G;H;40 and I want a separate .pdf file for each of the rows in the .csv file. I know how to do a mail ...
0
votes
0answers
45 views

VimLatex-suite SageTex compile shortcut

I am using LaTeX in Vim with VimLaTeX-Suite and i just started using Sage and i want to implement SageTex in my documents, but everytime i want to compile a have to follow this process in the terminal ...
0
votes
0answers
115 views

Error while compiling acro [duplicate]

until yesterday my document was compiling correctly. Today I'm using a different computer, so when I compile appears the following error: Forbidden control sequence found while scanning use of \g@...
0
votes
0answers
13 views

What is wrong with my code? [duplicate]

In a long document I am writing, I wrote $$\left\{ \Gamma_Y: \mathcal{L}_\mathbb{K} (C_\hat{L}(Y)) \longrightarrow \mathcal{L}_\K (C_G(Y), e^{C_G(Y)})) \right\}_\{Y \in X\}$$ It does not compile, ...
0
votes
0answers
41 views

Texstudio does not show error

For some reason my Texstudio stopped showing error messages. Instead the compiling never stops now. For example, for the following code \documentclass[]{article} %opening \title{} \author{} \begin{...
0
votes
0answers
520 views

Missing = inserted for \ifnum. \usepackage

I am trying to execute my code, but I am getting two errors. The main thing is that I want to keep the format of the document to be produced. It is giving a lot of Missing = inserted for \ifnum. \...
4
votes
1answer
94 views

! Missing } inserted

I'm writing a report in latex for school for several months and everything was fine. But recently out of nowhere it stopped compiling and give a lot errors like the following one: ! Missing } ...
0
votes
0answers
44 views

LaTeX creating unwanted files in Temp folder

My problem is the following: every time I compile a document, strange-named .tex files (+ their .log files) appear in my c:\Temp directory (the file names are always 2 letters + 4 numbers). These ...
0
votes
0answers
176 views

Error: file ended while scanning use of \@writefile

Everytime I make an error in the coding, the terminal tells me where it is when I compile it. But, after correcting it and running it again, this appears: And I have to erase the .log and .aux files ...
0
votes
1answer
88 views

I accidentally closed my texstudio while compiling

I accidently closed texstudio during compiling after that it is not compiling my files and it's just showing compiling sign... However running for hours doesn't changed anything... Please suggest ASAP....
0
votes
0answers
46 views

MikTeX - How do I convert .tex to .dvi using cmd line?

I have just installed the latest version of MikTex. I have started a .tex file using Texworks. It is saved in desktop as phys114_chap6. When I opened the cmd line I typed "tex" then enter then the ...
0
votes
0answers
44 views

Latex does not compile babel in chapter

Please help. The language is compiled only in some chapters. here my code \documentclass[12pt,spanish,letterpaper,oneside,onecolumn,openany]{book} \usepackage[left=4cm,top=3cm,right=2.5cm,bottom=3cm]...
2
votes
0answers
57 views

torn paper problem compile [closed]

I read this article about how to make a torn paper effect. So I tried the code below, but some errors arise. \documentclass[a4paper,11pt,twoside]{book} \usepackage{lipsum} % To generate test text \...
0
votes
0answers
375 views

Portable LaTeX fail

I installed miktex on a Usb and I try to use TexMaker and TexStudio and I see how to configure. I spent a lot of time doing that and it work's a few times but now when I open miktex and the text ...
5
votes
2answers
161 views

tikzpicture won't render 'usable' PS code

I use tikz (and tikzpicture) a fair bit, but files that used to compile fine before the latest slew of updates to pgf, and pstricks, no longer seem to do so (at least, on my MikTeX installation). The ...
2
votes
1answer
70 views

Compiling a .tex file into many pdf without include?

I would like to have a single .tex file, with a main section and an appendix. I would want however to compile it into two distinct pdfs. There are solutions using \include, see How to create ...
0
votes
1answer
68 views

Are there any LaTeX IDEs which provide useful error messages?

I was using TeXworks as my source code editor and I got my actual LaTeX compiler and packages through MikTeX. I executed the following code block: \begin {enumerate} % WEAK \item $G$ is a function ...
0
votes
0answers
358 views

! File ended while scanning use of \@writefile

I am getting below error when I am running the report to generate the PDF from GUI. I am using Texmaker 4.4.1. I also tried deleting aux files and other unwanted files. but, it is not helping me ...
0
votes
0answers
43 views

document not compiling with custom .cls

I copied my thesis from my work computer to write on it from home. But the compiler is telling me it can not open the style file even though its in the same folder as the .tex file. It compiles fine ...
0
votes
0answers
36 views

Label(s) may have changed error when using modular (\includeonly{}) document setup

When I run my document with everything, it all works fine, then when I first add \includeonly{Lecture2} before the preamble and without making any changes to the other files, it works fine. However, ...