mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
hurray, I have a pdf
Original commit message from CVS: hurray, I have a pdf
This commit is contained in:
parent
477892a29d
commit
16f4d3f27a
16 changed files with 45 additions and 35 deletions
|
@ -16,7 +16,3 @@ CSS=base.css
|
|||
EXTRA_DIST = $(XML) $(FIGS) $(CSS) magic-png magic-pdf
|
||||
|
||||
include $(srcdir)/../manuals.mak
|
||||
|
||||
check:
|
||||
xmllint -noout -valid $(MAIN)
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
<title>The Hello world pipeline with MIME types</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/mime-world.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/mime-world.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<title>A thread</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/thread.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/thread.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<title>Visualisation of a <classname>GstBin</classname> element with some elements in it</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/bin-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/bin-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -187,7 +187,7 @@
|
|||
<title>Visualisation of a <classname>GstBin</classname> element without ghost pads</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/bin-element-noghost.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/bin-element-noghost.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -202,7 +202,7 @@
|
|||
<title>Visualisation of a <classname>GstBin</classname> element with a ghost pad</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/bin-element-ghost.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/bin-element-ghost.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<title>Visualisation of a source element</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/src-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/src-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -62,7 +62,7 @@
|
|||
<title>Visualisation of a filter element</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/filter-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/filter-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/filter-element-multi.&magic;"
|
||||
format="&magic;" />
|
||||
format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -102,7 +102,7 @@
|
|||
<title>Visualisation of a sink element</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/sink-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/sink-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -181,7 +181,7 @@ main (int argc, char *argv[])
|
|||
<title>The Hello world pipeline</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/hello-world.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/hello-world.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<title>Visualisation of a <classname>GstBin</classname> element with some elements in it</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/bin-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/bin-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -187,7 +187,7 @@
|
|||
<title>Visualisation of a <classname>GstBin</classname> element without ghost pads</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/bin-element-noghost.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/bin-element-noghost.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -202,7 +202,7 @@
|
|||
<title>Visualisation of a <classname>GstBin</classname> element with a ghost pad</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/bin-element-ghost.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/bin-element-ghost.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<title>Visualisation of three connected elements</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/connected-elements.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/connected-elements.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<title>Visualisation of a source element</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/src-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/src-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -62,7 +62,7 @@
|
|||
<title>Visualisation of a filter element</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/filter-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/filter-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/filter-element-multi.&magic;"
|
||||
format="&magic;" />
|
||||
format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
@ -102,7 +102,7 @@
|
|||
<title>Visualisation of a sink element</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/sink-element.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/sink-element.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
<title>The Hello world pipeline with MIME types</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/mime-world.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/mime-world.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@ main (int argc, char *argv[])
|
|||
<title>The Hello world pipeline</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/hello-world.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/hello-world.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
<!ENTITY magic "pdf">
|
||||
<!ENTITY MAGIC "PDF">
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
<!ENTITY magic "png">
|
||||
<!ENTITY MAGIC "PNG">
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<title>a two-threaded decoder with a queue</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/queue.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/queue.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<title>A thread</title>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="images/thread.&magic;" format="&magic;" />
|
||||
<imagedata fileref="images/thread.&magic;" format="&MAGIC;" />
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
|
|
@ -2,9 +2,13 @@
|
|||
# taken from selfdocbookx, http://cyberelk.net/tim/docbook/selfdocbookx/index.html
|
||||
|
||||
# modified by andy wingo <apwingo@eos.ncsu.edu> 14 dec 2001 for use by gstreamer
|
||||
# and a little bit by thomas as well
|
||||
|
||||
all: html ps pdf
|
||||
|
||||
check:
|
||||
xmllint -noout -valid $(MAIN)
|
||||
|
||||
if HAVE_XSLTPROC
|
||||
|
||||
if HAVE_FIG2DEV_PNG
|
||||
|
@ -39,17 +43,25 @@ ps:
|
|||
pdf:
|
||||
endif #!HAVE_XSLTPROC
|
||||
|
||||
$(DOC).fo: $(XML) $(PDFS) $(XSLFO) $(XSLFOMODS)
|
||||
cp magic-pdf magic
|
||||
xsltproc $(XSLFO) $(MAIN) > $@-t
|
||||
mv -f $@-t $@
|
||||
#$(DOC).fo: $(XML) $(PDFS) $(XSLFO) $(XSLFOMODS)
|
||||
# cp magic-pdf magic
|
||||
# xsltproc $(XSLFO) $(MAIN) > $@-t
|
||||
# mv -f $@-t $@
|
||||
#
|
||||
#$(DOC).pdf: $(DOC).fo
|
||||
# pdfxmltex $< || true
|
||||
# pdfxmltex $< || true
|
||||
#
|
||||
#$(DOC).ps: $(DOC).pdf
|
||||
# pdftops $< $@
|
||||
|
||||
$(DOC).pdf: $(DOC).fo
|
||||
pdfxmltex $< || true
|
||||
pdfxmltex $< || true
|
||||
# thomasvs: use db2 because it seems a lot better
|
||||
# this ought to be checked for in configure, and the old stuff removed
|
||||
$(DOC).pdf: $(DOC).xml
|
||||
db2pdf $(DOC).xml
|
||||
|
||||
$(DOC).ps: $(DOC).pdf
|
||||
pdftops $< $@
|
||||
$(DOC).ps: $(DOC).xml
|
||||
db2ps $(DOC).xml
|
||||
|
||||
$(DOC): $(XML) $(PNGS) $(XSLHTML) $(XSLHTMLMODS)
|
||||
-$(RM) *.html
|
||||
|
|
Loading…
Reference in a new issue