Questions tagged [build-system]
The build-system tag has no usage guidance.
66
questions
0
votes
1
answer
45
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 ...
2
votes
1
answer
271
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....
2
votes
3
answers
84
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}...
1
vote
1
answer
73
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:
\...
2
votes
0
answers
373
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 ...
2
votes
1
answer
191
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 ...
3
votes
1
answer
3k
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 ...
0
votes
1
answer
56
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 ...
0
votes
0
answers
358
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 ...
4
votes
0
answers
150
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 ...
1
vote
1
answer
180
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 ...
0
votes
1
answer
408
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 ...
0
votes
0
answers
150
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 ...
0
votes
0
answers
194
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 ...
2
votes
1
answer
1k
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?
0
votes
0
answers
264
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 ...
3
votes
0
answers
5k
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",
...
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 ...
1
vote
2
answers
244
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 ...
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 ...
1
vote
0
answers
131
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 ...
4
votes
1
answer
261
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 ...
0
votes
0
answers
41
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 ...
1
vote
0
answers
231
views
How to use UseLaTeX for out-of source build [closed]
I developed some CMakeLists.txt file, which prepares from the same source different outputs (different PDF output formats). I use the line to generate files
file(WRITE ${MyFileName} "${newfile}" ...
2
votes
1
answer
214
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 ...
0
votes
1
answer
451
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 ...
3
votes
0
answers
34
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, ...
8
votes
2
answers
788
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 (...
2
votes
1
answer
1k
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$}{...
2
votes
2
answers
1k
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 ...
5
votes
2
answers
130
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, ...
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 ...
0
votes
1
answer
111
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 ...
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 ...
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 ...
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 ...
0
votes
1
answer
124
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 ...
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: ...
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 ...
1
vote
1
answer
189
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 ...
0
votes
1
answer
464
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....
1
vote
1
answer
299
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 ...
14
votes
3
answers
9k
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 ...
10
votes
1
answer
743
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. ...
2
votes
1
answer
336
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 ...
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 ...
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 ...
1
vote
0
answers
516
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 ...
2
votes
0
answers
388
views
Parallel make with standalone package [closed]
This question is a LaTeX question, although it might actually be resolved by changing the build procedure of the document instead of the document itself.
I have a document that includes a bunch of ...
4
votes
1
answer
303
views
Distribute LaTeX Package with Document
TLDR
Is there a way to distribute a LaTeX package with a document and to use it during compilation?
Situation
At our university, we're writing a lot of lecture summaries with LaTeX. Sometimes those ...