|
|
@@ -118,6 +118,8 @@
|
|
|
<xsl:include href="graph_gnuplotdat.row__x3A__from__ytics.xsl"/>
|
|
|
<xsl:include href="graph_gnuplotdat.row__x3A__from__xtics.xsl"/>
|
|
|
|
|
|
+ <xsl:include href="graph_gnuplot.simpletable__x3A__from_rows.xsl"/>
|
|
|
+
|
|
|
<xsl:template name="system_cache__dita:graph.all.data.fit.fix__x3A__numerate.simpletable">
|
|
|
<xsl:param name="simpletable" required="yes"/>
|
|
|
<xsl:apply-templates mode="system_cache__dita:graph.all.data.fit.fix__x3A__numerate.simpletable" select="$simpletable"/>
|
|
|
@@ -323,7 +325,7 @@
|
|
|
|
|
|
</xsl:function>
|
|
|
|
|
|
- <xsl:template mode="system_cache__dita:graph__write_dita_preprocess" match="simpletable">
|
|
|
+ <xsl:template mode="system_cache__dita:graph__write_dita_preprocess" match="simpletable[not(contains(@props,'nograph'))]">
|
|
|
<xsl:param name="p5gnuplot:font__x3A__size" select="'9'"/>
|
|
|
<xsl:param name="title"/>
|
|
|
<xsl:param name="ylabel"/>
|
|
|
@@ -621,7 +623,7 @@ set style fill solid border -1
|
|
|
set bmargin 8
|
|
|
|
|
|
set yrange [0:*]
|
|
|
-set y2range [0:*]
|
|
|
+set y2range [*:*]
|
|
|
|
|
|
set grid y y2
|
|
|
|
|
|
@@ -954,10 +956,17 @@ plot "</xsl:text><xsl:value-of select="$fileindex"/><xsl:text>.gnuplot.dat" usin
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
+ <xsl:function name="system_cache__dita:graph.lingstring__x3A__break">
|
|
|
+ <xsl:param name="text"/>
|
|
|
+ <xsl:param name="size"/>
|
|
|
+ <xsl:variable name="break.character">\n</xsl:variable>
|
|
|
+ <xsl:copy-of select="system_cache__dita:graph.lingstring__x3A__break($text,$size,$break.character)"/>
|
|
|
+ </xsl:function>
|
|
|
|
|
|
<xsl:function name="system_cache__dita:graph.lingstring__x3A__break">
|
|
|
<xsl:param name="text"/>
|
|
|
<xsl:param name="size"/>
|
|
|
+ <xsl:param name="break.character"/>
|
|
|
<xsl:variable name="text" select="normalize-space($text)"/>
|
|
|
<xsl:variable name="size" select="number($size)"/>
|
|
|
<xsl:variable name="out">
|
|
|
@@ -972,7 +981,7 @@ plot "</xsl:text><xsl:value-of select="$fileindex"/><xsl:text>.gnuplot.dat" usin
|
|
|
<xsl:when test="count(tokenize(substring($text,(current()*$size),$size),' ')) >1">
|
|
|
<xsl:for-each select="tokenize(substring($text,(current()*$size),$size),' ')">
|
|
|
<xsl:choose>
|
|
|
- <xsl:when test="round(last() div 2) = position() and not($pos.root.current>=$pos.root.last) and not(string-length(substring($text,(($pos.root.current+1)*$size),$size))<2)"><xsl:value-of select="current()"/><xsl:text> \n</xsl:text></xsl:when>
|
|
|
+ <xsl:when test="round(last() div 2) = position() and not($pos.root.current>=$pos.root.last) and not(string-length(substring($text,(($pos.root.current+1)*$size),$size))<2)"><xsl:value-of select="current()"/><xsl:text> </xsl:text><xsl:value-of select="$break.character"/></xsl:when>
|
|
|
<!--<xsl:when test="position()=last() and string-length(normalize-space(current()))>1"><xsl:value-of select="."/>iii</xsl:when>-->
|
|
|
<xsl:when test="string-length(normalize-space(current()))>0 and not(position()=last())"><xsl:value-of select="current()"/><xsl:text> </xsl:text><!--<xsl:value-of select="concat($pos.root.last,'/',$pos.root.current,'p',position(),'l',last())"/>--></xsl:when>
|
|
|
<xsl:otherwise><xsl:value-of select="."/><xsl:text></xsl:text></xsl:otherwise>
|
|
|
@@ -1003,6 +1012,11 @@ plot "</xsl:text><xsl:value-of select="$fileindex"/><xsl:text>.gnuplot.dat" usin
|
|
|
<!-- to return all with minuses -->
|
|
|
</xsl:function>
|
|
|
|
|
|
+
|
|
|
+ <xsl:template match="simpletable[contains(@props,'nograph')]" mode="system_cache__dita:graph__write_dita_preprocess">
|
|
|
+ <xsl:message terminate="no"> #71-A disabled simpletable[contains(@props,'print__no')] element <xsl:value-of select="name()"/> / <xsl:value-of select="."/></xsl:message>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
<xsl:template match="*|text()" mode="system_cache__dita:graph__write_dita_preprocess">
|
|
|
<xsl:message terminate="yes"> #71 unknown element <xsl:value-of select="name()"/> / <xsl:value-of select="."/></xsl:message>
|
|
|
</xsl:template>
|