[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99598: Small tweaks to etc/refcards/
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99598: Small tweaks to etc/refcards/Makefile rules for PDFs. |
Date: |
Mon, 01 Mar 2010 19:47:19 -0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99598
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2010-03-01 19:47:19 -0800
message:
Small tweaks to etc/refcards/Makefile rules for PDFs.
* refcards/Makefile: For cs- and sk-, use pdfcsplain if available.
(pl-refcard.pdf): Let presence of pdfmex be another test for the
required TeX files. Pass explicit output-format to tex command.
(orgcard.pdf): Use ps2pdf, since pdftex tends to produce a
portrait layout rather than the desired landscape.
modified:
etc/ChangeLog
etc/refcards/Makefile
=== modified file 'etc/ChangeLog'
--- a/etc/ChangeLog 2010-03-01 09:06:49 +0000
+++ b/etc/ChangeLog 2010-03-02 03:47:19 +0000
@@ -1,3 +1,11 @@
+2010-03-02 Glenn Morris <address@hidden>
+
+ * refcards/Makefile: For cs- and sk-, use pdfcsplain if available.
+ (pl-refcard.pdf): Let presence of pdfmex be another test for the
+ required TeX files. Pass explicit output-format to tex command.
+ (orgcard.pdf): Use ps2pdf, since pdftex tends to produce a
+ portrait layout rather than the desired landscape.
+
2010-03-01 Glenn Morris <address@hidden>
* refcards/pl-refcard.tex: Double forward-slashes in URL for Mex.
=== modified file 'etc/refcards/Makefile'
--- a/etc/refcards/Makefile 2010-01-13 08:35:10 +0000
+++ b/etc/refcards/Makefile 2010-03-02 03:47:19 +0000
@@ -55,13 +55,19 @@
cs-refcard.pdf cs-dired-ref.pdf cs-survival.pdf sk-refcard.pdf \
sk-dired-ref.pdf sk-survival.pdf: %.pdf: %.tex
- csplain "\pdfoutput=1\input $<"
+ if pdfcsplain --version > /dev/null 2> /dev/null; then \
+ pdfcsplain $<; \
+ else \
+ csplain "\pdfoutput=1\input $<"; \
+ fi
+## Some versions of pdfmex seem to create dvi by default, hence output-format.
pl-refcard.pdf: %.pdf: %.tex
- if ! kpsewhich -format=fmt mex > /dev/null; then \
+ if ! kpsewhich -format=fmt mex > /dev/null && \
+ ! pdfmex --version > /dev/null 2> /dev/null; then \
echo "No mex format found."; false; \
fi
- pdftex $<
+ pdftex -output-format=pdf $<
ru-refcard.pdf: %.pdf: %.tex
pdflatex $<
@@ -75,6 +81,10 @@
gnus-booklet.pdf: gnus-refcard.tex gnus-logo.pdf
pdflatex -jobname=gnus-booklet
'\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}'
+## FIXME just pdftex produces portrait rather than landscape.
+orgcard.pdf: orgcard.ps
+ ps2pdf $<
+
## Everything not explicitly listed above.
%.pdf: %.tex
pdftex $<
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99598: Small tweaks to etc/refcards/Makefile rules for PDFs.,
Glenn Morris <=