directly, remove -$(PAGESIZE) target.
* input/test/embedded-postscript.ly: update.
+2005-04-14 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * stepmake/stepmake/tex-rules.make ($(outdir)/%.pdf): make PDF
+ directly, remove -$(PAGESIZE) target.
+
+ * input/test/embedded-postscript.ly: update.
+
2005-04-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
* make/lysdoc-targets.make (local-WWW): remove ps.gz target.
-\version "2.4.0"
+\version "2.5.17"
+
+
\header {
- texidoc = "@cindex Embedded Postscript
-By inserting the @TeX{} command \embeddedps, you can
-insert postscript directly into the output.
- "
+ texidoc = "
+
+@cindex Embedded Postscript
+
+The markup command @code{\postscript} inserts postscript directly into
+the output."
+
+}
+
+\layout {
+ linewidth = 70 * 5 \pt
}
-\score {
- \relative c'' {
- a-\markup { \postscript #"3 4 moveto 5 3 rlineto stroke" }
- -\markup { \postscript #"[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " }
-
- b-\markup { \postscript #"3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" }
- s2
- a'1
- }
- \layout { linewidth = 70 * 5 \pt
-% raggedright = ##t
- }
+\relative c'' {
+ a-\markup { \postscript #"3 4 moveto 5 3 rlineto stroke" }
+ -\markup { \postscript #"[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " }
+
+ b-\markup { \postscript #"3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" }
+ s2
+ a'1
}
$(outdir)/%.pdf: $(outdir)/%.dvi
$(cd $(outdir) && dvips $(DVIPS_FLAGS) -o $(notdir $@).pdfps -t $(DVIPS_PAPERSIZE) $(notdir $<) \
- && gs -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$(notdir $@) -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -c .setpdfwrite -f $(notdir $@).pdfps )
-
-# without -dSAFER
-# gs 8.15 complains of safety of loading a ttf directly
-
$(outdir)/%.html.omf: %.tely
$(call GENERATE_OMF,html)
(makeindex $(basename $(<F)) || true) && \
latex \\nonstopmode \\input $(<F) )
+$(outdir)/%.pdf: $(outdir)/%.dvi
+ cd $(outdir) && dvips $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) -o $(@F).pdfps $(<F)
+ cd $(outdir) \
+ && gs -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$(@F) -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -c .setpdfwrite -f $(@F).pdfps
+# without -dSAFER
+# gs 8.15 complains of safety of loading a ttf directly
-$(outdir)/%.ps: $(outdir)/%.dvi
- cd $(outdir) && dvips $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) -o $(@F) $(<F)
-
-$(outdir)-$(PAPERSIZE)/%.ps: $(outdir)-$(PAPERSIZE)/%.dvi
- cd $(outdir)-$(PAPERSIZE) && dvips $(DVIPS_FLAGS) -t$(PAPERSIZE) -o $(@F) $(<F)