Permalink
Browse files

Ny markør for sceneskifte.

Ny fil html_param for parameter som er felles for HTML og EPUB-utgaven.
  • Loading branch information...
1 parent cdfb646 commit b1bb7eeefbc42335728364e73bf7660b463adab4 @petterreinholdtsen petterreinholdtsen committed Mar 23, 2013
Showing with 21 additions and 8 deletions.
  1. +10 −0 html_param.xsl
  2. +2 −2 kodemus.xml
  3. +1 −3 stylesheet-epub.xsl
  4. +7 −0 stylesheet-fo.xsl
  5. +1 −3 stylesheet-html.xsl
View
@@ -0,0 +1,10 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+ <xsl:template match="processing-instruction('linebreak')">
+ <br/>
+ </xsl:template>
+
+ <xsl:template match="processing-instruction('newscene')">
+ <hr/>
+ </xsl:template>
+</xsl:stylesheet>
View
@@ -193,7 +193,7 @@ individets frihet og integritet.</para>
</orderedlist>
</para>
-<para>*</para>
+<?newscene?>
<para>En morgen våknet Kodémus helt av seg selv. Men altfor sent. Ør
og fortumlet myste han vantro mot Lillebror på nattbordet. <quote>Du
@@ -436,7 +436,7 @@ FARE I: EIERS BALANSE &ndash; FARE II: KUBE-BALANSE &ndash; FARE III:
SAMFUNNS-BALANSE &ndash; EIER? &ndash; KODÉMUS &ndash; KONKLUSJON: KODÉMUS FARE &ndash;
TILTAK? &ndash; TILTAK 120754::</computeroutput></para>
-<para>*</para>
+<?newscene?>
<para>Kodémus våknet av at noen trettet.
<?linebreak?>
View
@@ -1,8 +1,6 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl"/>
- <xsl:template match="processing-instruction('linebreak')">
- <br/>
- </xsl:template>
+ <xsl:include href="html_param.xsl" />
<xsl:include href="user_param.xsl" />
</xsl:stylesheet>
View
@@ -5,6 +5,13 @@
<xsl:template match="processing-instruction('linebreak')">
<fo:block/>
</xsl:template>
+
+ <xsl:template match="processing-instruction('newscene')">
+ <fo:block text-align="center">
+ <fo:leader leader-pattern="rule" rule-thickness="0.5pt"/>
+ </fo:block>
+ </xsl:template>
+
<xsl:include href="user_param.xsl" />
<xsl:param name="paper.type">A4</xsl:param>
<xsl:param name="fop1.extensions">1</xsl:param>
View
@@ -1,8 +1,6 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
- <xsl:template match="processing-instruction('linebreak')">
- <br/>
- </xsl:template>
+ <xsl:include href="html_param.xsl" />
<xsl:include href="user_param.xsl" />
</xsl:stylesheet>

0 comments on commit b1bb7ee

Please sign in to comment.