Package: latex-make Version: 2.1.11-2.0anbe0 Severity: wishlist Tags: patch
Hi, fig2dev can create .pdf files directly, no need to take the detour via .eps. The attached patch adds a rule to build %.pdf directly from %.fig. Furthermore the patch contains a one-line patch to silence grep if no *.tex file is found in the current directory. Andreas -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (130, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages latex-make depends on: ii ghostscript [gs-common] 8.62.dfsg.1-3.1 The GPL Ghostscript PostScript/PDF ii make 3.81-5 The GNU version of the "make" util ii perl 5.10.0-16 Larry Wall's Practical Extraction ii tex-common 1.11.2 common infrastructure for building ii transfig 1:3.2.5-rel-3.1 Utilities for converting XFig figu Versions of packages latex-make recommends: ii texlive-latex-recommended 2007.dfsg.1-4 TeX Live: LaTeX recommended packag latex-make suggests no packages. -- no debconf information
--- LaTeX.mk.orig 2008-11-01 13:54:24.000000000 +0100 +++ LaTeX.mk 2008-11-01 13:57:08.000000000 +0100 @@ -776,7 +776,7 @@ #$(warning $(call LU_RULES,example)) $(eval $(call lu-addtovar-global,MASTERS,\ - $$(shell grep -l '\\documentclass' *.tex | sed -e 's/\.tex$$$$//'))) + $$(shell grep -l '\\documentclass' *.tex 2>/dev/null | sed -e 's/\.tex$$$$//'))) ifneq ($(LU_REC_TARGET),) _LU_DEF_MASTERS = $(LU_REC_MASTER) _LU_DEF_FLAVORS = $(LU_REC_FLAVOR) $(FLAV_DEPFLAVOR_$(LU_REC_FLAVOR)) @@ -825,6 +825,9 @@ %.eps: %.fig $(COMMON_PREFIX)$(call lu-call-prog,FIG2DEV) -L eps $< $@ +%.pdf: %.fig + $(COMMON_PREFIX)$(call lu-call-prog,FIG2DEV) -L pdf $< $@ + %.pstex: %.fig $(COMMON_PREFIX)$(call lu-call-prog,FIG2DEV) -L pstex $< $@