Coffeehouse Post

Single Post Permalink

View Thread: Word 2007 citations, should be simple, but... (solved)
  • sharoz

    I've been messing around with the sorting order for the bibliography section and thought I could offer some quick advice and an interesting question. At around line 4880, look for:

    <xsl:template name="sortedList">
    <xsl:param name="sourceRoot"/>
    <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
    <xsl:sort select="b:RefOrder" data-type="number"/>
    <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Last" />
    <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:First" />
    <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Middle"/>
    <xsl:sort select="b:Title"/>
    </xsl:apply-templates>
    </xsl:template>

    Swap the order of the "xsl:sort" elements to control the listed order. This has to be done a second time 10 or 20 lines down.

    Question:

    In the citation, does anyone know of a way to use the order that the source is listed (in the bibliography) rather than the order that it is used?

    I tried to find the definition for RefOrder, but it was not in the document. I hope a variable such as "RefOrderListed" is available.

    Any help or advice would be appreciated.

    -Steve