Fresco/Documentation/src Makefile.in,1.10,1.11 control-graph.xml,1.4,1.5 hello.xml,1.12,1.13 kits.xml,1.5,1.6

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Documentation/src
In directory purcel:/tmp/cvs-serv29072

Modified Files:
	Makefile.in control-graph.xml hello.xml kits.xml 
Log Message:
some face lifting

Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/Fresco/Documentation/src/Makefile.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Makefile.in	21 Jan 2003 21:01:28 -0000	1.10
+++ Makefile.in	23 Jan 2003 08:09:06 -0000	1.11
@@ -32,8 +32,10 @@
 
 SRC		:= hello.xml kits.xml hello-list.xml book.xml
 SVG		:= $(wildcard $(srcdir)/figures/*.svg)
-EPS		:= $(patsubst $(srcdir)/figures/%.svg, figures/%.eps, $(SVG))
-PNG		:= $(patsubst $(srcdir)/figures/%.svg, figures/%.png, $(SVG))
+PDF		:= $(patsubst $(srcdir)/figures/%.svg, figures/%.pdf, $(SVG)) \
+                   figures/about-button.pdf
+PNG		:= $(patsubst $(srcdir)/figures/%.svg, figures/%.png, $(SVG)) \
+                   figures/about-button.png
 
 .PHONY: all
 .PHONY: depclean clean distclean maintainer-clean dist clean
@@ -41,7 +43,7 @@
 TARGETS		:= html
 
 vpath %.xml  $(srcdir)
-vpath %.svg  $(srcdir)
+vpath %.svg  $(srcdir)/figures
 
 all:	$(TARGETS)
 
@@ -53,19 +55,35 @@
 	$(XSLT) $(xsl) $(srcdir)/book.xml
 endif
 
+pdf:	$(PDF)
+ifeq ($(xsl),)
+	@echo "please use \"$(MAKE) xsl=<stylesheet>\""
+else
+	$(XSLT) $(xsl) $(srcdir)/book.xml
+endif
+
 install: html
 
 clean:
-	rm -fr *.html figures/*.png figures/*.eps
+	rm -fr *.html figures/*.png figures/*.pdf
 
 distclean maintainer-clean:
 	rm -f Makefile
 
-figures/%.eps: figures/%.svg
+figures/%.pdf: figures/%.svg
+	@echo "generating $@"
+	$(SHTOOL) mkdir -f -p -m 755 figures
+	skconvert $< $@
+
+figures/%.pdf: figures/%.png
+	@echo "generating $@"
 	$(SHTOOL) mkdir -f -p -m 755 figures
 	convert $< $@
 
 figures/%.png: figures/%.svg
+	@echo "generating $@"
 	$(SHTOOL) mkdir -f -p -m 755 figures
 	convert $< $@
 
+figures/about-button.png: $(srcdir)/figures/about-button.png
+	cp $< $@
\ No newline at end of file

Index: control-graph.xml
===================================================================
RCS file: /cvs/fresco/Fresco/Documentation/src/control-graph.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- control-graph.xml	21 Jan 2003 07:45:32 -0000	1.4
+++ control-graph.xml	23 Jan 2003 08:09:06 -0000	1.5
@@ -213,6 +213,9 @@
             <imageobject>
               <imagedata fileref="figures/scene.png" align="center" format="PNG"/>
             </imageobject>
+            <imageobject>
+              <imagedata fileref="figures/scene.pdf" align="center" format="PDF"/>
+            </imageobject>
           </mediaobject>
         </figure>
         <figure id="scene-graph-figure" float="1">
@@ -221,6 +224,9 @@
             <imageobject>
               <imagedata fileref="figures/scene-graph.png" align="center" format="PNG"/>
             </imageobject>
+            <imageobject>
+              <imagedata fileref="figures/scene-graph.pdf" align="center" format="PDF"/>
+            </imageobject>
           </mediaobject>
         </figure>
         Imagine the mouse to click on the red polygon. This will result in
@@ -242,6 +248,9 @@
             <imageobject>
               <imagedata fileref="figures/trail.png" align="center" format="PNG"/>
             </imageobject>
+            <imageobject>
+              <imagedata fileref="figures/trail.pdf" align="center" format="PDF"/>
+            </imageobject>
           </mediaobject>
         </figure>
         For each position, the trail contains the following information:
@@ -277,6 +286,9 @@
             <imageobject>
               <imagedata fileref="figures/cstack.png" align="center" format="PNG"/>
             </imageobject>
+            <imageobject>
+              <imagedata fileref="figures/cstack.pdf" align="center" format="PDF"/>
+            </imageobject>
           </mediaobject>
         </figure>
         It is used to update the focus, i.e. to call (in appropriate order) all the controllers'
@@ -300,6 +312,9 @@
             <imageobject>
               <imagedata fileref="figures/gstack.png" align="center" format="PNG"/>
             </imageobject>
+            <imageobject>
+              <imagedata fileref="figures/gstack.pdf" align="center" format="PDF"/>
+            </imageobject>
           </mediaobject>
         </figure>
         A special iterator allows it to access the graphics which, inside the editor, were intersecting
@@ -315,6 +330,9 @@
             <imageobject>
               <imagedata fileref="figures/control-graph.png" align="center" format="PNG"/>
             </imageobject>
+            <imageobject>
+              <imagedata fileref="figures/control-graph.pdf" align="center" format="PDF"/>
+            </imageobject>
           </mediaobject>
         </figure>
 	You can navigate the focus through this control graph via the following
@@ -342,6 +360,9 @@
           <mediaobject>
             <imageobject>
               <imagedata fileref="figures/events.png" align="center" format="PNG"/>
+            </imageobject>
+            <imageobject>
+              <imagedata fileref="figures/events.pdf" align="center" format="PDF"/>
             </imageobject>
           </mediaobject>
         </figure>

Index: hello.xml
===================================================================
RCS file: /cvs/fresco/Fresco/Documentation/src/hello.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- hello.xml	21 Jan 2003 07:45:32 -0000	1.12
+++ hello.xml	23 Jan 2003 08:09:06 -0000	1.13
@@ -16,6 +16,9 @@
           <imageobject>
             <imagedata fileref="figures/resolve.png" align="center" format="PNG"/>
           </imageobject>
+          <imageobject>
+            <imagedata fileref="figures/resolve.pdf" align="center" format="PDF"/>
+          </imageobject>
         </mediaobject>
       </figure>
       Here is the relevant code in python:

Index: kits.xml
===================================================================
RCS file: /cvs/fresco/Fresco/Documentation/src/kits.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- kits.xml	21 Jan 2003 07:45:32 -0000	1.5
+++ kits.xml	23 Jan 2003 08:09:06 -0000	1.6
@@ -16,7 +16,10 @@
       <title>A button...</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="figures/about-button.jpg" align="center" format="JPG"/>
+          <imagedata fileref="figures/about-button.png" align="center" format="PNG"/>
+        </imageobject>
+        <imageobject>
+          <imagedata fileref="figures/about-button.pdf" align="center" format="PDF"/>
         </imageobject>
       </mediaobject>
     </figure>
@@ -24,7 +27,10 @@
       <title>...and its underlaying scene graph</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="figures/about-button-sg.jpg" align="center" format="JPG"/>
+          <imagedata fileref="figures/about-button-sg.png" align="center" format="PNG"/>
+        </imageobject>
+        <imageobject>
+          <imagedata fileref="figures/about-button-sg.pdf" align="center" format="PDF"/>
         </imageobject>
       </mediaobject>
     </figure>
@@ -55,7 +61,10 @@
       <title>the abstract factory pattern</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="figures/abstract-factory.jpg" align="center" format="JPG"/>
+          <imagedata fileref="figures/abstract-factory.png" align="center" format="PNG"/>
+        </imageobject>
+        <imageobject>
+          <imagedata fileref="figures/abstract-factory.pdf" align="center" format="PDF"/>
         </imageobject>
       </mediaobject>
     </figure>
@@ -106,7 +115,10 @@
       <title>the prototype pattern</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="figures/prototype.jpg" align="center" format="JPG"/>
+          <imagedata fileref="figures/prototype.png" align="center" format="PNG"/>
+        </imageobject>
+        <imageobject>
+          <imagedata fileref="figures/prototype.pdf" align="center" format="PDF"/>
         </imageobject>
       </mediaobject>
     </figure>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.