]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/tex-rules.make
Use component guile18 for gbp buildpackage
[lilypond.git] / stepmake / stepmake / tex-rules.make
1
2 $(outdir)/%.tex: %.tex
3         cp $< $@
4
5 $(outdir)/%.dvi: $(outdir)/%.tex
6         (cd $(outdir); tex \\nonstopmode \\input $(<F))
7
8 $(outdir)/%.dvi: $(outdir)/%.latex
9         (cd $(outdir)&& \
10           latex \\nonstopmode \\input $(<F)&&\
11           (bibtex $(basename $(<F)) || true) && \
12           latex \\nonstopmode \\input $(<F)&&\
13           (makeindex $(basename $(<F)) || true) && \
14           latex \\nonstopmode \\input $(<F) )
15
16 $(outdir)/%.pdf: $(outdir)/%.dvi
17         cd $(outdir) \
18                 && dvips $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) \
19                         -o $(@F).pdfps $(<F) \
20                 && gs -dCompatibilityLevel=1.2\
21                         -sPAPERSIZE=a4\
22                         -q\
23                         -dNOPAUSE\
24                         -dBATCH\
25                         -sDEVICE=pdfwrite\
26                         -sOutputFile=$(@F)\
27                         -dCompatibilityLevel=1.2\
28                         -sPAPERSIZE=a4\
29                         -c .setpdfwrite\
30                         -f $(@F).pdfps
31
32
33 # without -dSAFER
34 # gs 8.15 complains of safety of loading a ttf directly
35
36