Revision: 57385
http://sourceforge.net/p/brlcad/code/57385
Author: tbrowder2
Date: 2013-09-01 20:42:44 +0000 (Sun, 01 Sep 2013)
Log Message:
-----------
remove title centering
Modified Paths:
--------------
brlcad/trunk/doc/docbook/resources/brlcad/center-table-print.xs
Modified: brlcad/trunk/doc/docbook/resources/brlcad/center-table-print.xs
===================================================================
--- brlcad/trunk/doc/docbook/resources/brlcad/center-table-print.xs
2013-09-01 20:30:41 UTC (rev 57384)
+++ brlcad/trunk/doc/docbook/resources/brlcad/center-table-print.xs
2013-09-01 20:42:44 UTC (rev 57385)
@@ -158,50 +158,4 @@
</xsl:comment>
</xsl:template>
- <!-- ====================================================== -->
- <!--
- Center table titles, based on e-mail from Bob Stayton
- to DB lists:
-
- http://www.sourceware.org/ml/docbook-apps/2004-q1/msg00813.html
-
- <quote>
-
- It checks to see if the formal object is a table, and if so adds the
- text-align attribute. I presume you only wanted to do this with
- tables, not figures, examples, etc.
-
- Bob Stayton
- Sagehill Enterprises
- DocBook Consulting
- [email protected]
-
- </quote>
-
- -->
- <xsl:template name="formal.object.heading">
- <xsl:param name="object" select="."/>
- <xsl:param name="placement" select="'before'"/>
-
- <fo:block xsl:use-attribute-sets="formal.title.properties">
- <!-- ADD THE FOLLOWING THREE LINES -->
- <xsl:if test="self::table">
- <xsl:attribute name="text-align">center</xsl:attribute>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="$placement = 'before'">
- <xsl:attribute
- name="keep-with-next.within-column">always</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute
name="keep-with-previous.within-column">always</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates select="$object" mode="object.title.markup">
- <xsl:with-param name="allow-anchors" select="1"/>
- </xsl:apply-templates>
- </fo:block>
- </xsl:template>
-
-
</xsl:stylesheet>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits