| From | Sent On | Attachments |
|---|---|---|
| Michael(tm) Smith | May 26, 2006 1:28 am | .bin |
| Michèle Garoche | May 26, 2006 8:19 pm | .pgp, .bin |
| Steinar Bang | May 27, 2006 12:14 am | |
| Daniel Leidert | May 27, 2006 7:05 am | |
| Michèle Garoche | May 27, 2006 9:20 am | .pgp, .bin |
| Michael(tm) Smith | May 29, 2006 1:43 am | .pgp |
| Michèle Garoche | May 29, 2006 2:31 am | .pgp, .bin |
| Sorin Ristache | May 31, 2006 8:08 am | |
| Michael Fuchs | May 31, 2006 10:54 pm | |
| Mauritz Jeanson | Jun 21, 2006 8:00 am |
| Subject: | RE: [docbook-apps] Please test DocBook XSL 1.70.1 | |
|---|---|---|
| From: | Mauritz Jeanson (mj...@johanneberg.com) | |
| Date: | Jun 21, 2006 8:00:09 am | |
| List: | org.oasis-open.lists.docbook-apps | |
-----Original Message----- From: Michael Fuchs
The following code
<methodsynopsis language="java"> <modifier>public</modifier> <type>void</type> <methodname>setRootPath</methodname> <methodparam> <type>String</type> <parameter>rootPath</parameter> </methodparam> </methodsynopsis>
produces the following output in fo and html.
public void setRootPath(, String rootPath);
The output looks nicer with this modified template (original in fo/synop.xsl):
<xsl:template match="methodparam" mode="java"> <xsl:param name="indent">0</xsl:param> <xsl:if test="preceding-sibling::methodparam"> <!-- this line changed --> <xsl:text>,&RE;</xsl:text> <xsl:if test="$indent > 0"> <xsl:call-template name="copy-string"> <xsl:with-param name="string"> </xsl:with-param> <xsl:with-param name="count" select="$indent + 1"/> </xsl:call-template> </xsl:if> </xsl:if> <xsl:apply-templates mode="java"/> </xsl:template>
The template for HTML output is similar. If you put the above in a customization layer, you must also provide declarations for the RE and nbsp entities. Or use and   instead.
|- Are there any considerations to add support for annotations, like those used in the java language?
Yes, DocBook 5.0beta6 has some new stuff: http://lists.oasis-open.org/archives/docbook/200606/msg00002.html
- I want to create WordML, but I always end up with the following messages:
date encountered in bookinfo, but no template matches. abstract encountered in bookinfo, but no template matches. chapter encountered in book, but no template matches. appendix encountered in book, but no template matches. index encountered in book, but no template matches.
There is no support for chapters yet, is this right?
It appears so. See http://sourceforge.net/tracker/index.php?func=detail&aid=1490297&group_id=21 935&atid=373747
/MJ






.bin