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
11 views

Sending filename to VS Code to build latex file

I want to build tex file in VS Code. I have tasks.json like this: { "version": "2.0.0", "tasks": [ { "label": "Run lualatex", "type": "shell", "...
0
votes
0answers
24 views

Compiling document does not produce any file [solved] [on hold]

I've been writing LaTeX documents whith TeXnicCenter, MiKTeX 2.9 and Acrobat Reader DC 2019 for a while with no problem what so ever. The other day I noticed that fonts where pixelated so I installed ...
2
votes
1answer
32 views

UseLATEX (for CMake) doesn't accept compiler flags

I'm using UseLATEX.cmake with CMake and it works pretty well except for passing compiler flags. For example, in the main directory I have a basic TeX file main.tex, the UseLATEX.cmake file, and this ...
1
vote
2answers
31 views

How to run makeglossaries-lite with MiKTeX

I am currently acquainting myself with the glossaries package. Since I don't have a Perl installation yet, I wanted to try using it with makeindex first (Option 2 in the manual). The manual claims, ...
0
votes
0answers
12 views

Redefine fields and macros with own formatted Beamer

The post depicts a good way to speed up Beamer by creating own format. I specify the format file mybeamer.fmt before \begin{document} as %&mybeamer \begin{document} my presentation \end{...
0
votes
0answers
25 views

Editorial Manager latex compiler not building correctly

I am submitting a manuscript for submission to a springer journal through editorial manager, and all I get back is pages of code when I attempt to compile. I am not sure what the problem is. The ...
1
vote
0answers
36 views

PDFLaTex complier gives a lot of errors after using LaTex compiler on Texmaker

I use texmaker program to produce latex documents in my macbook. I have used PDFLaTex compiler to generate pdf documents, and it works perfectly. For once, I mistakenly choose Latex compiler ...
3
votes
1answer
23 views

.tex files not compiling after brand new installation of TEX live

I just updated (from scratch) my OS (from Ubuntu 16 to 18.04). This requires a brand new installation of all apps including Tex Live and the Latex editor (Texmaker in my case). My problem is that none ...
0
votes
0answers
32 views

Problem with a .sty

I am editing a lecture notes in LaTeX and I have found a lot of errors compiling the .tex file. I suspect that those problems are in the .sty file that shapes the style of the book. How can I look ...
0
votes
0answers
38 views

Instant Compiler for .tex [duplicate]

I am using Overleaf to compile .tex files but sometimes it take too much time. Is there a software that can compile .tex files instantly??
0
votes
0answers
24 views

Conditionals: “Incomplete \iffalse” [duplicate]

I'm using a boolean variable called flag to toggle extra text being shown or not in tables. I am following this post: Variables for hiding or showing text in Latex \documentclass[12pt, twocolumn]{...
0
votes
0answers
16 views

Glossaries Package Taking Ages to Compile

I've been trying to use the glossaries package but it's taking ages to compile in Overleaf (using LaTeX compiler). Below is a minimum working sample that I built, which still does not compile - please ...
11
votes
3answers
553 views

Alternatives to Overleaf (i.e. instant TeX compiling without sign in)

The best thing about Overleaf V1 was that I could log into it without an account. This made it possible to share things with people who most likely wouldn't be big TEX users and to whom the idea of ...
0
votes
1answer
52 views

Problem with \includegraphics and long relative path and parent folder

after a long search without results I hope you can help me. Here is my problem: I can't load .pdf files with \includegraphics. The background is that I have one repository to create my frequent used ...
0
votes
1answer
61 views

How to create an alternative to shortcut "= or \hyp{}?

After this question answer How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that. On my ...
0
votes
1answer
23 views

pdflatex -no-parse-first-line not ignoring first line

I want to be able to compile my documents with a simple ./main.tex. The first thing I tried was #!/usr/bin/pdflatex which gave me an error because the first line is nonsense to the TeX engine. I then ...
0
votes
0answers
27 views

How to write the hyphen substitution of - by \hyp on my preamble?

When I integrated this How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package? into my main document, I got errors about hyphen usage on translations packages: Redoing ...
0
votes
1answer
38 views

How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?

I found this answer on http://www.oipapio.com/question-79176 \documentclass[10pt,a5paper,twoside]{article} \usepackage{hyphenat} \cs_new:Npn \hyphenfix_emdash:c {---} \cs_new:Npn \hyphenfix_endash:c ...
0
votes
1answer
24 views

TeXstudio fails to compile a Nature template

I have downloaded a template for Nature article from Sharelatex (from here), but when I try to compile it using TeXstudio or TexMaker it gives me this error message: File `nature.cls' not found. ^^M ...
1
vote
2answers
56 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
1answer
58 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
48 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
118 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
70 views

Can't compile a journal's template [closed]

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
55 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 ...
1
vote
1answer
48 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
29 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
125 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
71 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
32 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
390 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
110 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
32 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
55 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
185 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
92 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
344 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
43 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
76 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
vote
1answer
39 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
104 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
21 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
86 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
33 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
170 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
53 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
130 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@...