【问题标题】:Localization Microsoft Word citation and bibliography styles (xsl file)本地化 Microsoft Word 引文和参考书目样式(xsl 文件)
【发布时间】:2013-08-27 07:08:08
【问题描述】:

我想在 MSWORD 2013 中创建自定义书目样式,我使用 this style。 我使用 IEEE_Reference.XSL 并应用了所需的更改。没关系。

但我的文章有多种语言参考。我希望本地化我的书目样式,就像 Microsoft word 默认书目样式一样。

我知道我应该为此使用 LCID,

我的部分代码是这样的:

<source type="Book">
<column id="1">
<halign>right</halign>
<valign>top</valign>
<format>{[%RefOrder%]}</format>
</column>
<column id="2">
<halign>left</halign>
<valign>top</valign>

 <format >{%Author:1|Editor:2%, }{&lt;i&gt;%Title%&lt;/i&gt;{, %Edition:o% ed.}}{, %Editor:2%}.{ %City|StateProvince|CountryRegion%}{, %StateProvince|CountryRegion%}{, %CountryRegion%}{: %Publisher%}{,{ %Month:s%} %Year%}{, vol. %Volume%}{, %Comments%}.{ [Online]. %URL:l%}</format>

</column>
<sortkey></sortkey>
</source>

我的目标是这样的代码:

xsl:choose>
<xsl:when test="b:LCID='1033'">
--ENGILSH FORMAT
</xsl:when>
<xsl:otherwise>
--PERSIAN FORMAT
</xsl:otherwise>
</xsl:choose>

但它不起作用,总是选择 xsl:otherwise 。

有人可以帮我做这个条件吗? 谢谢,

【问题讨论】:

    标签: xslt ms-word xslt-1.0 xslt-2.0 bibliography


    【解决方案1】:

    我没有 IEEE_Reference.xsl - 在我的 Office 15 Lcid 中通过 b:StyleNameLocalized/b:Lcid 使用

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-04
      • 2015-02-03
      • 1970-01-01
      • 2014-12-13
      • 1970-01-01
      • 2019-11-13
      • 2021-12-01
      • 1970-01-01
      相关资源
      最近更新 更多