{makefile} tells the operating system how to derive the target program.

learn more… | top users | synonyms

2
votes
0answers
195 views

Making MiKteX pdflatex on Windows available to cygwin

I currently have a project with a workflow that uses pandoc in its Makefile to convert text from Markdown to LaTeX to PDF. This requires that a LaTeX engine be present in my path, or specified with ...
0
votes
0answers
15 views

Compile full project in main folder and partial chapters in subfolders

I have a project like this Project/ MakeFile main.tex bibliography.bib Chapter_1/ file.tex figs/ Chapter_2/ file.tex figs/ ... Chapter_n/ file.tex figs/ When ...
0
votes
0answers
35 views

Setting TEXINPUTS with special character in Makefile

Files and directory: main.tex Makefile figures-[special,char(acters)]/figure[1.1].pdf figures/figure[1.1].pdf main.tex: \documentclass{article} \usepackage{graphics} \usepackage{grffile} ...
3
votes
1answer
87 views

pgf: 'externalize' with 'list and make' on windows [closed]

In the pgfmanual I found today under Section 50.4.4 Customizing the Externalization that you can have multicore support during externalization using the mode list and make. % step 1: generate ...
3
votes
0answers
121 views

tikz externalization: list and make forces make to recompile the tikz images every time

I'm trying to speed up my latex development by parallelising as much tasks as possible and by redoing as little work as possible on every run. Amongst other things, I want to externalise my tikz ...
1
vote
1answer
59 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 ...
1
vote
0answers
97 views

Makefile using latexmk not syncing between ST3 and Skim

I am busy writing my dissertation. I am using Sublime Text 3 to edit the documents and Skim as the PDF viewer. There are several reasons why I am not using LaTeXing/LaTeXTools to compile: The ...
4
votes
1answer
44 views

Controlling draft options from a Makefile

I would like to control class options such as draft and geometry package's showframe from a Makefile. Is there a way I can parameterise a document using LaTeX itself, or will I need to preprocess the ...
5
votes
2answers
202 views

What do Sweave/knitr offer that make doesn't?

I use LaTeX to write papers and R for data analysis and visualization, so I've been looking into Sweave and knitr. The Sweave website says: The purpose is to create dynamic reports, which can be ...
3
votes
0answers
27 views

What is the recommended approach to compile sequentially some variants of code? [duplicate]

Continuing experimenting with conditional text, I am getting a code with a number of options: some dialogs in english are translated, some other options (not shown in the MWE) enable the document be ...
0
votes
0answers
117 views

using gnu make and xelatex

After switching to xelatex I had a look at my old makefiles. I want to reorganize them and have rules that relate any tex file to the pdf file. Also the files should not be compiled if not necessary ...
7
votes
1answer
365 views

What is the most elegant way to provide a cross-platform project with automated compilation routine?

There are many different ways to automate the compilation of a LaTeX project. I would like to start a discussion, what would be the most flexible and elegant and omnipotent way to provide a project ...
1
vote
1answer
109 views

Create an exec on mac to compile [duplicate]

I'm trying to create an exec on mac to compile Latex, MakeIndex and BibTex in same time. Here my make file : latex -output-directory=build -interaction=nonstopmode sample.tex makeindex ...
3
votes
2answers
486 views

Makefile that prevents tex directory from being cluttered with build output

I am using xelatex, biber and makeglossaries to generate my bachelor thesis. All of them are creating a huge amount of temporary files that are cluttering, not only my root document directory, but the ...
6
votes
1answer
341 views

asymptote giving me an error: could not load module 'example_01'

On page 3 of Dario Teixeira's Asymptote and LaTeX, the following simple example is provided: \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{asymptote} \begin{document} \begin{figure} ...
1
vote
2answers
164 views

tests for defined labels (r@) and infinite passes with Makefile

My question probably has to do with .aux files and \newlabel therein. Here is what I can describe. The way my .PDF builds is via a Makefile; I inserted an MWE to show what happens. The situation is ...
2
votes
0answers
175 views

Parallel make with standalone package

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 ...
2
votes
2answers
285 views

How can I highlight text before a character with listing?

All is in the title. I would like to add a color to the text before a character with listing package. For example, I would like to add a color to text between the beginning of a line and : or =, in a ...
2
votes
1answer
427 views

vim and the Makefile

I'm trying to use a Makefile to compile latex files within vim (and update the view of my current pdf file within my favourite viewer). Here is a little example (I'd like to expand that lateron): ...
1
vote
0answers
42 views

Tikz external makefile error [duplicate]

Possible Duplicate: Externalising TikZ pictures using XeTeX I'm having some trouble getting the externalize tikz library working correctly with xetex. In "list and make" mode, the tabs in ...
4
votes
1answer
309 views

How to only output dependencies from latexmk?

I'd like to use latexmk in a Makefile, so I've read the manual section on that. However, the dependency generation step seems less than ideal. Specifically, it seems that latexmk can only show ...
2
votes
2answers
210 views

How can I execute pdflatex when I'm not in the directory?

I am currently experimenting with lilypod. To generate a PDF from the source, I have to enter mkdir -p charts-out lilypond-book --output=charts-out/ --pdf charts.tex cd charts-out pdflatex ...
8
votes
2answers
665 views

How can I keep a clean document folder with custom .cls, .sty, .bst files in a separate subfolder?

I am using a Makefile for generating a document from its tex source. The whole project consisting of own input files (.tex,.bib,.eps, ...) and non-pre-installed static input files (cls, sty, bst) is ...
27
votes
1answer
13k views

How to properly 'make' a latex project?

I've got a latex project that looks like this: project/ |-- main.tex |-- main.bib |-- preamble.tex |-- preamble.fmt |-- makefile The preamble (preamble.tex) is being precompiled into ...
0
votes
1answer
174 views

How to give arguments to a tex file during compilation?

I have a file called main.tex, which looks like this: \begin{document} \input{a.tex} \end{document} I want to know if it is possible to have it take this file a.tex in argument, such that I could ...
3
votes
1answer
560 views

Bibtex fails without citations… (test for citations? or invisible dummy cite)

I have a LaTeX folder where I use the same makefile and preamble for building either a part of the report or the entire report. This is achieved by a hack in the makefile where I substitute the file ...
3
votes
1answer
140 views

Tools for project delivery?

This is another in a long line of Project directory organization questions of mine. I'm trying to build a project directory organization structure which follows best-practices. I'd like the structure ...
9
votes
3answers
419 views

how to cause unix 'make' to know how many times to run *tex

Is there a clever way to cause the unix make command to run a tex variant as many times as are required to resolve all references? I've used tex for a long time, and I still don't know which of all ...
8
votes
2answers
1k views

Is there any way to build a LaTeX document from a parent directory?

I've written a makefile for my current project which produces all deliverables (executable, written in C, and report, written in LaTeX). I have a directory structure whereby the Makefile and outputs ...
13
votes
5answers
1k views

Changing LaTeX headers via a makefile

I recently created a makefile to use with my TeX documents and am quite happy with the discovery. When I create Beamer slides to use in class, I create both a set of slides and a handout to go along ...
16
votes
4answers
2k views

How to create PDF and HTML output from the same source

I'm working on a document that has been published only as a PDF file until now. To utilize some of PDF's features, it uses the packages pdfpages and pdftex and commands like includepdf{}. But soon ...
2
votes
2answers
444 views

Is there a makefile system for LaTeX, etc? [duplicate]

Possible Duplicate: Tools for automating document compilation How do I handle building complicated and large LaTeX projects? Is there a makefile system (like GNU Make) or should I just ...
102
votes
24answers
10k views

Tools for automating document compilation

A lot of people write makefiles that say something like paper.pdf: paper.tex pdflatex paper bibtex paper pdflatex paper pdflatex paper To handle re-running TeX to ...