Mon Jul 6 23:51:20 CEST 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
* OpenGL: origami
hunk ./chunk.xsl 5
-<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl"/>
-<xsl:import href="link-apidoc.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl" />
+<xsl:import href="link-apidoc.xsl" />
hunk ./chunk.xsl 8
-<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/highlight.xsl"/>
-<xsl:param name="highlight.source" select="1"/>
+<xsl:import href="video.xsl" />
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/highlight.xsl" />
+
+<xsl:param name="highlight.source" select="1" />
hunk ./chunk.xsl 16
-<xsl:param name="use.id.as.filename" select="1"/>
+<xsl:param name="use.id.as.filename" select="1" />
hunk ./introduction.xml 17
-<section><title>Limitations</title>
+<section id="limitations"><title>Limitations</title>
hunk ./introduction.xml 48
-<section><title>Installation</title>
+<section id="installation"><title>Installation</title>
hunk ./kde.xml 12
-<section><title>Examples</title>
+<section id="kde_examples"><title>Examples</title>
hunk ./manual.xsl 5
-<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl"/>
hunk ./manual.xsl 8
-<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/highlight.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/highlight.xsl"/>
+
+<xsl:import href="video.xsl" />
+
hunk ./manual.xsl 14
+
addfile ./origami.ogg
binary ./origami.ogg
addfile ./origami.png
binary ./origami.png
hunk ./qt.xml 26
-<section><title>qt:application</title>
+<section id="qapplication"><title>qt:application</title>
hunk ./qt.xml 66
-<section><title>Signal-Slot</title>
+<section id="signal_slot"><title>Signal-Slot</title>
hunk ./qt.xml 93
-<section><title>Properties</title>
+<section id="properties"><title>Properties</title>
hunk ./qt.xml 109
-<section><title>Variant</title>
+<section id="variant"><title>Variant</title>
hunk ./qt.xml 117
-<section><title>i18n</title>
+<section id="i18n"><title>i18n</title>
hunk ./qt.xml 154
-<section><title>Examples</title>
+<section id="qt_examples"><title>Examples</title>
hunk ./qt.xml 201
-<section><title>CommonQt</title>
+<section id="opengl"><title>OpenGL</title>
+<para>
+For OpenGL an binding is needed (e.g.: [_$_]
+<ulink url="http://common-lisp.net/project/cl-opengl/">cl-opengl</ulink>).
+</para>
+<example><title>Origami</title>
+<para>
+<ulink url="http://tobias.rautenkranz.ch/darcsweb/darcsweb.cgi?r=cl-smoke/qt.examples;a=tree;f=/src/origami">Origami</ulink>
+draws a pleated hyperbolic paraboloid using the method described in
+<ulink url="http://arxiv.org/abs/0906.4747">(Non)existence of Pleated Folds: How Paper Folds Between Creases</ulink>
+</para>
+<mediaobject>
+<videoobject>
+<videodata fileref='origami.ogg'/>
+</videoobject>
+</mediaobject>
+<para>
+<note>
+<para>
+Because <ulink url="http://common-lisp.net/project/cl-opengl/">cl-opengl</ulink> is need to
+run the example, but is not in mudballs; the origami example is not included in the mudballs system.
+<ulink url="http://axiom-wiki.newsynthesis.org/FrontPage">Axiom</ulink> is needed for building.
+</para>
+</note>
+</para>
+</example>
+</section>
+
+<section id="commonqt"><title>CommonQt</title>
hunk ./smoke.xml 4
-<chapter id="smoke"> [_$_]
+<chapter id="usage"> [_$_]
hunk ./smoke.xml 20
-<section><title>Class</title>
+<section id="classes"><title>Class</title>
hunk ./smoke.xml 49
-<section><title>Methods</title>
+<section id="methods"><title>Methods</title>
hunk ./smoke.xml 172
-<section><title>Static Methods</title>
+<section id="static_methods"><title>Static Methods</title>
hunk ./smoke.xml 191
-<section><title>Constants</title>
+<section id="constants"><title>Constants</title>
hunk ./smoke.xml 199
-<section><title>Garbage Collection</title>
+<section id="gc"><title>Garbage Collection</title>
addfile ./video.xsl
hunk ./video.xsl 1
+<?xml version='1.0'?> [_$_]
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> [_$_]
+
+<!-- this barely works -->
+<xsl:template match="videodata">
+ <video controls="true">
+ <xsl:attribute name="src">
+ <xsl:value-of select="@fileref" />
+ </xsl:attribute>
+ <img>
+ <xsl:attribute name="src">
+ <xsl:value-of select="concat(substring-before(@fileref, 'ogg'),'png')" />
+ </xsl:attribute>
+ </img>
+ <p>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="@fileref" />
+ </xsl:attribute>
+ <xsl:text>Download Video</xsl:text>
+ </a>
+ </p>
+ </video>
+</xsl:template>
+
+</xsl:stylesheet>