Questions tagged [build-system]
The build-system tag has no usage guidance.
63
questions
2
votes
0answers
105 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 ...
0
votes
1answer
105 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
0answers
30 views
Issue with -blx file path using custom build direcory
I know there are plenty of other topics related to this question, however none of the ones I read resolves the issue presented here. I made a minimum working example available here, if you want to ...
0
votes
0answers
17 views
FLS file created everytime I build on Sublime Text 3
Every time that I build my tex files via Sublime Text 3 and Sumatra FLS files are being created. It looks like they are logs of every time I build a tex file. This has started happening and I don't ...
0
votes
1answer
54 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
0answers
92 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
0answers
110 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
1answer
49 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
1answer
148 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 ...
1
vote
0answers
54 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
0answers
44 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 ...
1
vote
1answer
425 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
0answers
110 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
0answers
1k 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
0answers
560 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
2answers
164 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 ...
7
votes
1answer
569 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
0answers
89 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 ...
3
votes
1answer
209 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
0answers
38 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
0answers
184 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
1answer
81 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
1answer
268 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
0answers
33 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
2answers
714 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
1answer
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
2answers
916 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
2answers
102 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
1answer
843 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
1answer
99 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
1answer
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
0answers
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
0answers
107 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
1answer
103 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
1answer
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: ...
5
votes
1answer
2k 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
1answer
169 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
1answer
442 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
1answer
257 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 ...
13
votes
2answers
8k 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
1answer
594 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
1answer
320 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
1answer
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
1answer
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
0answers
492 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
0answers
345 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
1answer
256 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 ...
21
votes
10answers
28k views
How to upload LaTeX manuscript, tables, figures, and auxiliary files to Elsevier's EES?
Can someone who has successfully submitted a LaTeX-based paper to the Elsevier Editorial System please describe the detailed steps needed, so that the paper builds correctly on EES, and can be ...
9
votes
2answers
1k views
About web2c, c code conversion
I'd like to convert some Tex-and-friends code to C, so that I can play with modifying it. As I understand it, the process is:
(1) The tangle utility converts foo.web to a foo.p (Pascal) file, and ...
5
votes
1answer
280 views
Different pdflatex versions produce differently typeset documents - is there a kind of compatibility modus?
For some time I've been working on editing a conference proceedings, putting the different chapters together. I'm working on two different systems, which run slightly different versions of pdflatex. ...