Skip to content

Commit 254528a

Browse files
committed
Fine tune the a4 settings
1 parent 4bde97c commit 254528a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

text/Makefile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ mobi: epub
229229

230230
ebook: epub mobi
231231

232-
latex: specs results images
232+
latex: latex-letter latex-a4
233+
234+
latex-letter: specs results images
233235
$(SPHINXBUILD) -b latex -t latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
234236
@echo
235237
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@@ -243,18 +245,17 @@ latex-a4: specs results images
243245
@echo "Run \`make' in that directory to run these through (pdf)latex" \
244246
"(use \`make latexpdf' here to do that automatically)."
245247

248+
pdf: pdf-letter pdf-a4
246249

247-
pdf: latex latex-a4
250+
pdf-letter: latex-letter
248251
@echo "Running LaTeX files through pdflatex..."
249252
$(MAKE) -C $(BUILDDIR)/latex all-pdf
250253
@echo "pdflatex letter finished; the PDF files are in $(BUILDDIR)/latex."
251-
$(MAKE) -C $(BUILDDIR)/latex-a4 all-pdf
252-
@echo "pdflatex a4paper finished; the PDF files are in $(BUILDDIR)/latex-a4."
253254

254-
pdf-a4: latex latex-a4
255+
pdf-a4: latex-a4
255256
@echo "Running LaTeX files through pdflatex..."
256257
$(MAKE) -C $(BUILDDIR)/latex-a4 all-pdf
257-
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
258+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex-a4."
258259

259260
latexpdf: pdf
260261

0 commit comments

Comments
 (0)