datenspuren schedule xslfo: update for 2010
This commit is contained in:
parent
129ab36099
commit
f1234d5292
|
@ -1,4 +1,4 @@
|
||||||
EXPORT_DIR=../../../content/static/datenspuren/2009
|
EXPORT_DIR=../../../content/static/datenspuren/fahrplan
|
||||||
FOP=~/programs/fop/fop
|
FOP=~/programs/fop/fop
|
||||||
FOP_FLAGS=-d
|
FOP_FLAGS=-d
|
||||||
XSLT=xsltproc
|
XSLT=xsltproc
|
||||||
|
@ -6,14 +6,14 @@ XSLT_FLAGS=--novalid
|
||||||
XEP=~/Java/XEP/xep
|
XEP=~/Java/XEP/xep
|
||||||
|
|
||||||
|
|
||||||
FOP_FILES=day_2009-10-03.pdf day_2009-10-04.pdf
|
FOP_FILES=day_2010-10-16.pdf day_2010-10-17.pdf
|
||||||
|
|
||||||
all: $(FOP_FILES)
|
all: $(FOP_FILES)
|
||||||
|
|
||||||
day_%.de.html: $(EXPORT_DIR)/day_%.de.html
|
day_%.de.html: $(EXPORT_DIR)/day/%.de.html
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
schedule.de.xml: $(EXPORT_DIR)/schedule.de.xml
|
schedule.de.xml: $(EXPORT_DIR)/schedule.xml
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
day_%.xml: day_%.de.html day_schedule.xsl schedule.de.xml
|
day_%.xml: day_%.de.html day_schedule.xsl schedule.de.xml
|
||||||
|
@ -51,6 +51,10 @@ day_%_hyphenated.xml: day_%.xml
|
||||||
-e 's/Datenpaketen/Da\­ten\­pa\­ket\­en/' \
|
-e 's/Datenpaketen/Da\­ten\­pa\­ket\­en/' \
|
||||||
-e 's/Optimierungsmöglichkeiten/Op\­ti\­mier\­ungs\­mög\­lich\­keiten/' \
|
-e 's/Optimierungsmöglichkeiten/Op\­ti\­mier\­ungs\­mög\­lich\­keiten/' \
|
||||||
-e 's/zivilgesellschaftliche/zi\­vil\­ge\­sell\­schaft\­liche/' \
|
-e 's/zivilgesellschaftliche/zi\­vil\­ge\­sell\­schaft\­liche/' \
|
||||||
|
-e 's/Entwicklungspsychologie/Ent\­wick\­lungs\­psy\­cho\­lo\­gie/' \
|
||||||
|
-e 's/Demokratie/Demo\­kra\­tie/' \
|
||||||
|
-e 's/veranstaltung/\­ver\­an\­stalt\­ung/' \
|
||||||
|
-e 's/Arbeitspsychologischer/Ar\­beits\­psy\­cho\­lo\­gisch\­er/' \
|
||||||
< $< > $@
|
< $< > $@
|
||||||
#cp $< $@
|
#cp $< $@
|
||||||
|
|
||||||
|
|
|
@ -53,8 +53,7 @@
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="x:tbody/x:tr/x:td[starts-with(@class,'room event ')]">
|
<xsl:template match="x:tbody/x:tr/x:td[starts-with(@class,'room event ')]">
|
||||||
<!--xsl:variable name="id" select="substring-before(substring-after(p[@class='title']/a/@href, '/events/'), '.de.html')"/-->
|
<xsl:variable name="id" select="substring-before(substring-after(x:p[@class='title']/x:a/@href, 'event/'), '.de.html')"/>
|
||||||
<xsl:variable name="id" select="substring-before(substring-after(x:p[@class='title']/x:a/@href, 'events/'), '.de.html')"/>
|
|
||||||
|
|
||||||
<event slots="{@rowspan}" id="{$id}">
|
<event slots="{@rowspan}" id="{$id}">
|
||||||
<xsl:copy-of select="document('schedule.de.xml')/schedule/day/room/event[@id=$id]/*"/>
|
<xsl:copy-of select="document('schedule.de.xml')/schedule/day/room/event[@id=$id]/*"/>
|
||||||
|
|
|
@ -27,11 +27,10 @@
|
||||||
<page-sequence master-reference="FullPage">
|
<page-sequence master-reference="FullPage">
|
||||||
<flow flow-name="xsl-region-body" font-size="14pt">
|
<flow flow-name="xsl-region-body" font-size="14pt">
|
||||||
|
|
||||||
<block text-align="right" font-size="8pt">
|
<!--block text-align="right" font-size="8pt">
|
||||||
Release <xsl:value-of select="@version"/>,
|
Release <xsl:value-of select="@version"/>,
|
||||||
<!--xsl:value-of select="concat(date:day-in-month(@ctime),'.',date:month-in-year(@ctime),'.',date:year(@ctime),' ',date:hour-in-day(@ctime),':',date:minute-in-hour(@ctime),':',date:second-in-minute(@ctime))"/-->
|
|
||||||
<xsl:value-of select="concat(date:day-in-month(@ctime),'.',date:month-in-year(@ctime),'.',date:year(@ctime),' ',date:time(@ctime))"/>
|
<xsl:value-of select="concat(date:day-in-month(@ctime),'.',date:month-in-year(@ctime),'.',date:year(@ctime),' ',date:time(@ctime))"/>
|
||||||
</block>
|
</block-->
|
||||||
|
|
||||||
<xsl:apply-templates select="title"/>
|
<xsl:apply-templates select="title"/>
|
||||||
<xsl:apply-templates select="subtitle"/>
|
<xsl:apply-templates select="subtitle"/>
|
||||||
|
|
Loading…
Reference in New Issue