Quantcast
Channel: BibWord : Microsoft Word Citation and Bibliography styles
Viewing all articles
Browse latest Browse all 637

New Post: Office 2016 preview compatibiity

$
0
0
I did it. MHRAFootnote had a different code under the "Handle the different types of input documents." section, I copied it from the working styles and now everything is ok.

This was the different / missing code to change:
<xsl:choose>
      <!-- Gets the name of the style as it will be displayed in Word 2007 / 2010. -->
      <xsl:when test="b:StyleName">
        <xsl:value-of select="msxsl:node-set($data)/general/stylename"/>
      </xsl:when>

      <!-- Gets the version information for the style in Word 2007 / 2010. -->
      <xsl:when test="b:Version">
        <xsl:value-of select="msxsl:node-set($data)/general/version"/>
      </xsl:when>

      <!-- Sets a version number in Word 2013. -->
      <xsl:when test="b:XslVersion">
        <xsl:choose>
          <xsl:when test="msxsl:node-set($data)/general/version2013">
            <xsl:value-of select="msxsl:node-set($data)/general/version2013"/>
          </xsl:when>
          <xsl:otherwise>
            <!-- Fallback method : use a dummy version number of 1. -->
            <xsl:text>1</xsl:text>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:when>

      <!-- Set the name of the style in Word 2013. -->
      <xsl:when test="b:StyleNameLocalized">
        <xsl:value-of select="msxsl:node-set($data)/general/stylename"/>
      </xsl:when>

Viewing all articles
Browse latest Browse all 637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>