Mauritz Jeanson [Fri, 30 Nov 2007 17:22:54 +0000 (17:22 +0000)]
Added an update the fix made in revision 7528 (handling of xref/link in no.anchor.mode mode).
Having xref in title is not a problem as long as the target is not an ancestor element.
Closes bug #1838136.
Note that an xref that is in a title and whose target is an ancestor element is still not
rendered in the TOC. This could be considered a bug, but on the other hand I cannot really
see the point in having such an xref in a document.
Michael Smith [Sat, 24 Nov 2007 15:57:13 +0000 (15:57 +0000)]
Remove xsl:output and omit-xml-declaration element, because it
seems to be causing problems with xsltproc. Closes bug #1785732.
Thanks to Denis Gillain for reporting.
I remember that the reason I added this originally was to work
around some other but in xsltproc (I think it was that it was
emitting an xml declaration even when output method is set to
text, or something) so this change is going to probably going to
cause a regression of that, but oh well
Mauritz Jeanson [Sat, 17 Nov 2007 14:33:59 +0000 (14:33 +0000)]
Removed obsolete paragraph saying that profiling stylesheets are needed for HTML Help,
JavaHelp, or Eclipse.
Added info about the warning message that is output if the stylesheets are unable to
add @xml:base.
Changed Saxon 8 to Saxon 9.
Mauritz Jeanson [Sat, 13 Oct 2007 07:03:17 +0000 (07:03 +0000)]
Added a "not(ancestor::title)" test to work around "too many nested
apply-templates" problems when processing xrefs or links in no.anchor.mode mode.
Hopefully, this closes bug #1811721.
Michael Smith [Wed, 10 Oct 2007 09:00:20 +0000 (09:00 +0000)]
Made some release-build changes:
- added "tests" target to DISTRIB_DEPENDS
- created "docsrc-clean" target and configured makefile so that
it gets run only when the release-clean target is run
- took variable definitions for stylesheets used in "make check"
smoketesting, and moved them to the Makefile.tests file
Michael Smith [Wed, 10 Oct 2007 08:54:48 +0000 (08:54 +0000)]
Added some DocBook XML source files for use with the "make check"
target. The makefile just causes these source file to be copied
over from the releasetools directory. These are useful for
downstream packagers in doing smoketesting.
In no.anchor.mode mode, do not output anchors for elements that are descendants
of <title>. Previously, having inline elements with @id/@xml:id in <title>s
resulted in anchors both in the TOC and in the main flow. Closes bug #1797492.
In the table.block template, added a check for the dbfo_keep-together PI, so that
a table may break (depending on the PI value) at a page break. This was needed
since the outer fo:block that surrounds fo:table has keep-together.within-column="always"
by default, which prevents the table from breaking. Closes bug #1740964 (Titled
table does not respect dbfo PI).
Refactored legalnotice/revhistory chunking, so that the use.id.as.filename
parameter as well as the dbhtml_filename PI are taken into account. A new named
template in titlepage.xsl is used to compute the filename.
An update to the fix for bug #1790495 (r7433):
The "ln-" prefix is output only when the legalnotice doesn't have an
@id/@xml:id, in which case the stylesheets generate an ID value,
resulting in a filename like "ln-7e0fwgj.html". This is useful because
without the prefix, you wouldn't know that the file contained a legalnotice.
The same logic is also applied to revhistory, using an "rh-" prefix.
Removed the [&scope;] predicate from the target variable in the template with name="reference".
This filter was the cause of missing index backlinks when @zone and @type were used on indexterms,
with index.on.type=1. Closes bug #1680836.