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.

0
votes
0answers
10 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
46 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
44 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
22 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
36 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
40 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
28 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
25 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
35 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
52 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
38 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
67 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
36 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
33 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 ...
0
votes
0answers
145 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
32 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
52 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
18 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
24 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
66 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
27 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
146 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
39 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
88 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
29 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
234 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
88 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
36 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
93 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
87 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
36 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
42 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
50 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
248 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
141 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
68 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
63 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
241 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
37 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
30 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, ...
1
vote
2answers
56 views

Conflict with \fi in figure captions

I have the following preamble: \documentclass[11pt]{book} % PACKAGES % graphics packages \usepackage{graphics} \usepackage[pdftex]{graphicx} % negative phantoms (\nphantom, \nhphantom, \...
1
vote
0answers
20 views

restore .tex and structure fles after turn off wile compiling [duplicate]

i'm working with a large document when battery´s low charge forced to turn off the laptop just when i was compiling. It seems that all structure is damaged, and i can´t open any documen but only the ...
0
votes
0answers
62 views

\write 18 compilation issue

I am submitting my work to a journal. My latex source has several sub files (images) created in latex. I have attached attached all the required files and when the journal's submission system try to ...
1
vote
1answer
141 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
0answers
50 views

Printing from DVI or from PDF file?

From a LaTeX source document we can get after compilation either a DVI or a PDF file. My questions are: If we want to get a paper version of the document, is there any difference between using the ...
5
votes
2answers
568 views

Why am I getting Unidcode Error for some equations after updating Microsoft Windows from 7 to 10?

I have upgraded Windows from 7 to 10. When I am compiling some latex files, which were already built in Windows 7 and used to work fine - now in Windows 10 I am getting this error message for some ...
1
vote
1answer
49 views

Compilation options in ConTeXt document

Is there a way to supply compilation options from within the document in ConTeXt? For example the arrange option in the following example: There is a documented caveat in imposition mode, where the ...
1
vote
1answer
131 views

Starting TexStudio from batch file doesn't compile

I'm using MikTex portable and TexStudio on a USB drive. On the top most folder level I placed a batch file starting the texstudio.exe. When I try to compile any document, it doesen't run the command ...