Guide is ready for the final cut

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@932 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2007-05-04 23:24:13 +00:00
parent 772a557fae
commit 0eeb97a504
7 changed files with 30 additions and 31 deletions

View File

@ -20,3 +20,6 @@ fahrplan.fo: $(DEPS)
xsltproc $(GUIDE_XSL) fahrplan.xml > $@ xsltproc $(GUIDE_XSL) fahrplan.xml > $@
fahrplan.pdf: fahrplan.fo fahrplan.pdf: fahrplan.fo
$(FOP) -d -fo fahrplan.fo -pdf $@ $(FOP) -d -fo fahrplan.fo -pdf $@
clean:
rm -f *.fo *.pdf

View File

@ -3,14 +3,12 @@
<guide xmlns='http://www.datenspuren.de/#guide'> <guide xmlns='http://www.datenspuren.de/#guide'>
<title-page> <title-page>
<!--title>Datenspuren</title> <title>Datenspuren</title>
<title>2006</title> <title>2007</title>
<space height='50mm'/> <note>5. &amp; 6. Mai</note>
<note>13. &amp; 14. Mai</note> <logo>images/logo_fertig_sw.jpg</logo>
<space height='20mm'/>
<note>Scheune</note> <note>Scheune</note>
<note>Dresden</note--> <note>Dresden</note>
<logo>images/flyer-front.jpg</logo>
</title-page> </title-page>
<page-sequence> <page-sequence>
@ -30,14 +28,6 @@
</p> </p>
</section> </section>
<section title='What are the Datenspuren?'>
<p>
Die Datenspuren sind eine jährlich vom Chaos Computer Club Dresden (c3d2) organisierte Mischung aus Vortägen, Workshops und Diskussionen rund um Privatsphäre und Überwachung. Datenschutz vereint Technik, Gesellschaft und Politik. Deshalb ist ein Symposium notwendig, welches Themen rund um den Datenschutz zusammen zu bringt.
</p>
<p>
Auf den Datenspuren wollen wir dieser Notwendigkeit seit 2004 für einen technikkritischen - aber auch gesellschaftskritischen - Diskurs gerecht werden.
</p>
</section>
<section title='Hintergrund'> <section title='Hintergrund'>
<p> <p>
@ -51,10 +41,6 @@
</p> </p>
</section> </section>
<section title='Call for Paper'>
<pull-c3d2web file='../../../content/datenspuren/cfp.xml'/>
</section>
<section title='Vorträge'> <section title='Vorträge'>
<pull-schedule file='../../../www/datenspuren/fahrplan/schedule.de.xml'/> <pull-schedule file='../../../www/datenspuren/fahrplan/schedule.de.xml'/>
</section> </section>
@ -64,10 +50,6 @@
</page-sequence> </page-sequence>
<!--title-page>
<logo>images/flyer-back.jpg</logo>
</title-page-->
<title-page> <title-page>
<section> <section>
<pull-schedule-table file='../../../www/datenspuren/fahrplan/days.de.html'/> <pull-schedule-table file='../../../www/datenspuren/fahrplan/days.de.html'/>

View File

@ -7,6 +7,12 @@
<xsl:include href='schedule.xsl'/> <xsl:include href='schedule.xsl'/>
<xsl:include href='c3d2web.xsl'/> <xsl:include href='c3d2web.xsl'/>
<!-- TODO:
* Datum/Room formatting
* Speaker
* scheduletable
-->
<xsl:template match="/guide:guide"> <xsl:template match="/guide:guide">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
@ -45,7 +51,7 @@
</fo:page-sequence> </fo:page-sequence>
</xsl:template> </xsl:template>
<!--xsl:template match='guide:title-page/guide:title'> <xsl:template match='guide:title-page/guide:title'>
<fo:block font-size='48pt' font-weight='bold' text-align='center'> <fo:block font-size='48pt' font-weight='bold' text-align='center'>
<xsl:apply-templates/> <xsl:apply-templates/>
</fo:block> </fo:block>
@ -61,7 +67,7 @@
<fo:block font-size='24pt' text-align='center'> <fo:block font-size='24pt' text-align='center'>
<xsl:apply-templates/> <xsl:apply-templates/>
</fo:block> </fo:block>
</xsl:template--> </xsl:template>
<xsl:template match='guide:title-page/guide:logo'> <xsl:template match='guide:title-page/guide:logo'>
<fo:block text-align='center'> <fo:block text-align='center'>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

View File

@ -13,8 +13,8 @@
keep-together.within-column="always" keep-with-next.within-column="always"> keep-together.within-column="always" keep-with-next.within-column="always">
<fo:block padding='5mm 0mm'> <fo:block padding='5mm 0mm'>
<xsl:choose> <xsl:choose>
<xsl:when test='../@index="1"'>Samstag, 13. Mai</xsl:when> <xsl:when test='../@index="1"'>Samstag, 5. Mai</xsl:when>
<xsl:when test='../@index="2"'>Sonntag, 14. Mai</xsl:when> <xsl:when test='../@index="2"'>Sonntag, 6. Mai</xsl:when>
</xsl:choose>, </xsl:choose>,
</fo:block> </fo:block>
<fo:block padding='5mm 0mm'> <fo:block padding='5mm 0mm'>
@ -79,16 +79,20 @@
<xsl:variable name='file' select='@file'/> <xsl:variable name='file' select='@file'/>
<xsl:variable name='day' select='@day'/> <xsl:variable name='day' select='@day'/>
<xsl:message>1</xsl:message>
<xsl:for-each select='document($file)//xhtml:table'> <xsl:for-each select='document($file)//xhtml:table'>
<xsl:message>2</xsl:message>
<xsl:if test='($day = string(position())) or not($day)'> <xsl:if test='($day = string(position())) or not($day)'>
<xsl:message>3</xsl:message>
<xsl:if test='not($day)'> <xsl:if test='not($day)'>
<xsl:message>4</xsl:message>
<fo:block font-size='12pt' font-family='serif' font-weight='bold' <fo:block font-size='12pt' font-family='serif' font-weight='bold'
padding='5mm 0mm 1mm' text-align='center' padding='5mm 0mm 1mm' text-align='center'
keep-together.within-column="always" keep-with-next.within-column="always"> keep-together.within-column="always" keep-with-next.within-column="always">
<xsl:choose> <xsl:choose>
<xsl:when test='position() = "1"'>Samstag, 13. Mai</xsl:when> <xsl:when test='position() = "1"'>Samstag, 5. Mai</xsl:when>
<xsl:when test='position() = "2"'>Sonntag, 14. Mai</xsl:when> <xsl:when test='position() = "2"'>Sonntag, 6. Mai</xsl:when>
</xsl:choose> </xsl:choose>
</fo:block> </fo:block>
</xsl:if> </xsl:if>
@ -116,21 +120,25 @@
</fo:table-header> </fo:table-header>
<fo:table-body> <fo:table-body>
<xsl:message>5</xsl:message>
<xsl:for-each select='xhtml:tbody/xhtml:tr'> <xsl:for-each select='xhtml:tbody/xhtml:tr'>
<xsl:message>6</xsl:message>
<fo:table-row> <fo:table-row>
<xsl:for-each select='xhtml:td'> <xsl:for-each select='xhtml:td'>
<fo:table-cell padding='0.2mm 1mm' border='0.2mm dotted red' vertical-align='center' display-align='center'> <fo:table-cell padding='0.2mm 1mm' border='0.2mm dotted red' vertical-align='middle' display-align='center'>
<xsl:attribute name="number-rows-spanned"> <xsl:attribute name="number-rows-spanned">
<xsl:value-of select="@rowspan"/> <xsl:value-of select="@rowspan"/>
</xsl:attribute> </xsl:attribute>
<xsl:choose> <xsl:choose>
<xsl:when test='@class="time"'> <xsl:when test='@class="time"'>
<xsl:message>7</xsl:message>
<fo:block font-size='8pt'> <fo:block font-size='8pt'>
<xsl:value-of select='.'/> <xsl:value-of select='.'/>
</fo:block> </fo:block>
</xsl:when> </xsl:when>
<xsl:when test='@class="room event "'> <xsl:when test='contains(@class, "room") and contains(@class, "event ")'>
<xsl:message>8</xsl:message>
<xsl:attribute name='border'>0.2mm solid black</xsl:attribute> <xsl:attribute name='border'>0.2mm solid black</xsl:attribute>
<fo:block font-size='12pt' font-family='serif' padding='0.5mm' <fo:block font-size='12pt' font-family='serif' padding='0.5mm'
text-align='left' vertical-align='top' display-align='top'> text-align='left' vertical-align='top' display-align='top'>