2
# Core building rules and dependencies to produce DVI/PostScript/PDF output
6
XSL = ../xsl/latex_book.xsl
7
XSLLST = ../xsl/common/mklistings.xsl
8
TEXRUN = ../../latex/scripts/runlatex
17
ifeq ($(TEXDRV),dvips)
20
ps2pdf -sPAPERSIZE=a4 $<
26
@echo "Compiling $< ..."
27
@$(TEXRUN) $< "$(SRCDIR) $(XPATH)"
30
ifeq ($(TEXDRV),pdftex)
33
@echo "$(TEXDRV): Invalid Driver"
36
@echo "$(TEXDRV): Invalid Driver"
39
@echo "Compiling $< ..."
40
@$(TEXRUN) $< "$(SRCDIR) $(XPATH)"
46
@$(TEXCLEAN) -b $(TEXDRV) -p $(SRCDIR) -f "$(FIG2DEV)" $< $@
48
%.rtex: %.lxml $(XMLFILE) FORCE
50
java com.jclark.xsl.sax.Driver $< $(XSL) > $@
52
ifeq ($(XSLT),xsltproc)
53
xsltproc --xinclude --catalogs --param listings.xml "'$(HERE)/$<'" \
54
$(XOPT) $(XSL) $(XMLFILE) > $@
60
@echo "No external file support"
61
echo "<listings/>" > $@
63
xsltproc --param current.dir "'$(SRCDIR)'" \