Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [build-system]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
90 views

How can I stop l3build deleting files generated by a custom target?

(Silly) MNWE: build.lua: ctanpkg = "mini" module = "mini" installfiles = {"*.sty", "*.cls", "*.sup"} tdslocations = { "tex/latex/mini/*....
cfr's user avatar
  • 208k
2 votes
1 answer
110 views

Why are dehyph, elhyphen, ruhyphen, and ukrhyph required packages?

Since my document is not written in German, I thought I would uninstall the dehyph package. But apparently this package is required when running pdfLaTeX. Why? What does it contain that it is so ...
ltcomdata's user avatar
  • 935
0 votes
0 answers
64 views

pdflatex work and latex not work [duplicate]

I am trying to understand the following problem: the "pdflatex main.tex" command runs successfully, but the "latex main.tex" command exits with error. Why does pdflatex work and ...
Student's user avatar
0 votes
2 answers
71 views

Depend on the "compilation" of another file with latexmk

I was given a project to build a thesis document which has a cover.tex and a main.tex. The cover.tex generates the necessary covers to comply with the institution's style. The main.tex file imports ...
Rui Oliveira's user avatar
2 votes
1 answer
770 views

How to exit from a latexmk build?

In the following example, I don't know how to exit from the build process: ? ! Interruption. ^Cl.1917347403 ? ! Interruption. ^Cl.1931472264 ? x ! Interruption. ^Cl....
nowox's user avatar
  • 1,417
2 votes
3 answers
94 views

Alignedat environment - remove extra blank space

I'm dealing with a math system and the code is the following: \documentclass{report} \usepackage{mathtools} \begin{document} \begin{spreadlines}{1.ex} \begin{equation} \chi_{_\mathrm{f}...
Catarella's user avatar
  • 371
1 vote
1 answer
103 views

Math system with external parameter

I'm writing a document where I need to define a system with an external parameter. Here an image to make it clearer: I'm using this current code to generate a common system, here is an example: \...
Catarella's user avatar
  • 371
3 votes
1 answer
523 views

LaTeX build system similar to CMake

Suppose I have a LaTeX repo, which contains main file and lots of image files, also in LaTeX format (with tikz inside). I would like to achieve multiple goals: Separate compilation. All images can be ...
Nikita Rudenko's user avatar
2 votes
1 answer
237 views

Build LaTeX project on server post update

I'm wondering how I can get my server to automatically build a LaTeX project when I push to github. As it stands, I normally build the project locally, push to github, and then manually copy the PDF ...
Nate Stemen's user avatar
3 votes
1 answer
5k views

How to run overleaf locally

So far I have been working exclusively online via Overleaf. But now I would like to switch to working offline as well. I would like my compilation process to mimic the one by Overleaf exactly. I tried ...
cgss's user avatar
  • 311
0 votes
1 answer
60 views

Easy math system but lot of errors

I'm trying to do an easy system, but I received a lot of errors. \[ f(x) = \begin{cases} x & \quad \text{if x > 0\\ 0 & \quad \text{else} \end{cases} \] Probably I'm doing something ...
Simo's user avatar
  • 41
0 votes
0 answers
459 views

Building latex project in VS Code through command line

I would like to build a latex project from the command line on a build server. We write the most latex documents in Visual Studio Code with the LaTeX Workshop extension by James Yu. I have managed to ...
7heViking's user avatar
  • 1,183
4 votes
0 answers
187 views

What are the best practices to avoid build breaking due to updating packages in LaTeX?

During the last month I had two occasions of build-breaking due to upgrade of some LaTeX packages. The first one was grffile.sty and then today xpatchcmd (no idea which library defined it before, but ...
Shahryar's user avatar
  • 365
1 vote
1 answer
336 views

Set \currenttime to specifc date and time

So I know this question may come across a bit weird but I'm looking for a way to change what LaTeX considers the current time. (In other words what \currenttime is for LaTeX) I'd like to have this ...
BrainStone's user avatar
0 votes
1 answer
509 views

How to force latexrun to parallel build?

I have a series of independent documents belonging to the same thing, each having its own main tex file. I wrote a small Makefile to wrap latexrun. latexrun is fantastic, but if I try to build all the ...
bitmask's user avatar
  • 1,215
0 votes
0 answers
188 views

How do change the output directory of `htlatex`

Every time I execute the htlatex command in TeXsudio (htlatex %.tex) I get a lot of files in my main folder. I would prefer that the target files (html, css, png, etc.) to a folder called html and all ...
lfba's user avatar
  • 731
0 votes
0 answers
255 views

Build a copy of the .pdf to a different folder, with directory based on directory of .tex file

I'm trying to change the default compiler to store a copy of the .pdf in a different folder, with the path based off of the directory of the .tex file. I am making slides for a class, and for a ...
dr.bobby's user avatar
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?
nevermind_15's user avatar
0 votes
0 answers
317 views

Multiple project in one repository and automatic build on jenkins for LateX

I'm a beginner in LaTeX. For my company, I must prepare some documents and reports that will be built on Jenkins. I have one repository. How to manage different styles and config files in one folder ...
coffeina's user avatar
  • 101
4 votes
0 answers
6k views

VSC Latex-Workshop clean up output directory [closed]

I try to have a cleaned up output directory after build but it doesn't work. Is anyone using this VS Code Extension and could tell me what's wrong with my settings? { "editor.wordWrap": "on", ...
po.pe's user avatar
  • 329
0 votes
0 answers
1k views

How to build a PDF using xelatex.exe from command line (Windows)?

I am trying to build a .pdf from a .tex file using xelatex.exe and it does not work. I tried something like this: xelatex.exe -enable-installer file.tex And this gives some errors: Sorry, but ...
Adrian's user avatar
  • 313
1 vote
2 answers
255 views

Installing pygments and configuring minted for continuous builds on travis-CI

I have set up a continuous integration system using github and travis CI using this workflow that was given as an answer to a similar question here. Everything works fine and I am able to build the ...
Dr Krishnakumar Gopalakrishnan's user avatar
9 votes
1 answer
1k views

How to archive a TeX-project by gathering e.g. all figures and used packages

Consider following situation: After being done with your TeX-project all included .tex-files are more or less in one subfolder next to your main .tex-file. But all figures used are spread all over ...
lukascbossert's user avatar
1 vote
0 answers
144 views

Automatically extracting files from archive before compilation

I've got a LaTeX project in a Git repository which is being worked on using both TeX Live (Linux) and MiKTeX (Windows). The project has a very large number of \includegraphics[...]{...} statements for ...
errantlinguist's user avatar
4 votes
1 answer
280 views

How to run CXTeX?

In the spirit of questions like this, I'm trying to build a C version of TeX-the-program; specifically Taco's CXTeX (part of MetaTeX). On Ubuntu 14 I can get it to compile, which results in a binary ...
étale-cohomology's user avatar
0 votes
0 answers
46 views

Would it be technically possible to externalize `\include`d chapters

TikZ saves figures as separate PDFs to reuse and embed. Would it be technically possible, for \include, to do something similar for the included content? I know I can already include PDFs (I never ...
Blaisorblade's user avatar
2 votes
1 answer
271 views

Exclude/replace parts in different document versions

I have to publish a document in two versions: Original full version Chapters that have been published elsewhere must be excluded My problem is related to version 2. Simply removing the appropriate ...
Anonymous's user avatar
  • 121
0 votes
1 answer
486 views

LaTeXTools for Sublime Text 2 automatically changes Build System Settings

I have been using sublime text 2 with LaTexTools to write my latex files the last 3 years without any issues. Now all of a sudden everytime I build my .tex file, the 'Build System' setting in my ...
Jonas B's user avatar
3 votes
0 answers
41 views

Howto force UseLATEX to clean temporary files between changing configurations? [closed]

I have a multiple-output LaTeX file, and created a CMake environment to produce all requested outputs as result of running a single command. Basically, it works. However, since I do have bibliography, ...
katang's user avatar
  • 1,439
8 votes
2 answers
806 views

How can I change the build system of python.sty from Python2 to Python3?

I am using the python.sty package, downloaded here. I found the default build path is to use Python2.7: \documentclass{article} \usepackage{python} \begin{document} \begin{python}% import sys print (...
Jay Wang's user avatar
  • 262
2 votes
1 answer
2k views

Nomenclatures not working when using package nomencl

When I try to use a simple nomenclatures example, such as: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{nomencl} \makenomenclature \begin{document} \mbox{} \nomenclature{$c$}{...
Niccolo's user avatar
  • 55
2 votes
2 answers
2k views

Compiler-style output for latex errors

I am a programmer who is used to using command line tools to compile source code. One of the must-have features of these compilers is the ability to tell programmers where their errors are so they ...
lowtex's user avatar
  • 165
5 votes
2 answers
137 views

How to count the generated pages from a Makefile

I would like to integrate a sanity test in my Makefile that builds multiple PDFs. I would like to count and compare the number of pages generated based on what xelatex outputs during/after the run, ...
TeXter's user avatar
  • 1,912
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 ...
nowox's user avatar
  • 1,417
0 votes
1 answer
113 views

LaTeXTools custom builder for feynmf/feynmp

I'm using LaTeXTools with ST2, and I need to draw some Feynman diagrams. feynmf/feynmp both require additional commands to compile. Does anyone know the correct syntax for a custom builder that will ...
johnpaton's user avatar
  • 101
4 votes
1 answer
2k views

Remove temporary files

I have just started working with LaTeX. I am using Sublime as my editor and have installed the Latextools package (https://github.com/SublimeText/LaTeXTools). This works just fine although it is ...
user3170354's user avatar
2 votes
0 answers
1k views

Sublime text 3 (Latextools) wont show PDF

Been a while since I used Latex so I decided to give ST3 a try since it has become my favorite text editor. I installed the Latextools but upon building it won't show my PDF. The build is fine as I ...
Elmer's user avatar
  • 2,274
0 votes
0 answers
150 views

Problems with texstudio (New computer) [duplicate]

I just got a new computer today, its an inspiron 3542, which runs on windows 8.1 and a 64-bit OS. After which i download texstudio to edit some documents, everything works fine until i try to build ...
Eric L's user avatar
  • 101
0 votes
1 answer
126 views

makeindex via cli problem

I currently try to write my own buildscript as perl is at the moment not an option (so no makeglossaries) to build multiple glossaries. When I try to pack everything in a single batch file, it seems ...
Buni's user avatar
  • 125
1 vote
1 answer
1k views

How to define variants in build system for Latex in Sublime Text 3

After the new LatexTools plugin was released, I am unable to get the follwoing functionality which I had in the previous LatexTools plugin. I tend to use the sequence latex-dvipdfm the most(Build: ...
me10240's user avatar
  • 151
6 votes
1 answer
3k views

Using the "use a build subdirectory for output files' option in TeXMaker in combination with LuaLaTeX

I want to use LuaLaTeX since I have some quite large .tikz files, but when I do so TeXMaker does not put the output files in the 'build' directory like it would do if I use PdfLaTeX. I find the build ...
Alex's user avatar
  • 61
1 vote
1 answer
192 views

Compiling kerTeX problem

I was trying to compile kerTeX on Mac OSX 10.9 and encountered some problem. I downloaded this get_mk_install.sh from the project home and fed it to sh, it worked very well at first for a moment but ...
SinceBelieve's user avatar
0 votes
1 answer
466 views

How to provide a Makefile to Texlipse?

gurus, The question can probably be formulated in a couple of ways. When I created my Latex project in Texlipse, I told Eclipse to put all PDFs in the out folder, and all sources including my main....
Shailen's user avatar
  • 203
1 vote
1 answer
306 views

Instant Rebuild & View of LaTeX Buffer in AUCTeX

Is there a command in latex-mode when using Emacs+AUCTeX that combines TeX-command-buffer and TeX-view into one single instant redisplay command? I don't see the point in having two separate key ...
Nordlöw's user avatar
  • 373
14 votes
3 answers
10k views

mktextfm ptmr8t errors

Switching environments (to a machine with Cygwin), I got errors like this from pdflatex: kpathsea: Running mktextfm ptmr8t /usr/share/texmf-dist/web2c/mktexnam: Could not map source abbreviation for ...
jtpereyda's user avatar
  • 877
10 votes
1 answer
784 views

Patched version of pdftex does not see what kpsewhich sees

I have TeX Live version 2013.30973-7 running on ArchLinux. I want to use a patched version of pdftex to create valid PDF/A-1b documents. I have an issue using the patched version after compilation. ...
Florian Bw's user avatar
2 votes
1 answer
339 views

Broken configuration distributed -- How do I fix

Forgive me if this sounds dumb, this is my first use of TeX, and I'm working from my distro's broken package(s). I am receiving output saying different things, depending on small run changes from cli ...
Josh's user avatar
  • 173
2 votes
1 answer
2k views

Unable to build .sty files with MikTeX

I need to build the .sty of different packages to be loaded in my input file (I have to do things manually). I am working on Windows and get a very strange behaviour: latex.exe seems to be missing the ...
statquant's user avatar
  • 185
4 votes
1 answer
1k views

Sublime Text 2: Building Parameter with LaTeX

How can I perform a build process of a certain tex file, different from the current one I'm editing with the Sublime Text 2 Editor? I use the Sublime Text 2 Editor with MikTex and Sumatra PDF. My ...
Adrian's user avatar
  • 43
1 vote
0 answers
526 views

Compiling a code in TeXnicCenter produces an empty PDF without any warning and error [closed]

When I compile a code in TeXnicCenter, it builds a pdf without my modifications, giving: 0 errors 0 warnings 0 pages. I'm not an expert but I've tried everything to make it work without reach any ...
MadManz's user avatar
  • 11