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.
Michael Smith [Mon, 10 Sep 2007 11:12:44 +0000 (11:12 +0000)]
Added capability in FO output for displaying URLs for all
hyperlinks (elements marked up with xlink:href attributes) in the
same way as URLs for ulinks are already handled (which is to say,
either inline or as numbered footnotes).
Background on this change:
DocBook 5 allows "ubiquitous" linking, which means you can make
any element a hyperlink just by adding an xlink:href attribute to
it, with the value set to an external URL. That's in contrast to
DocBook 4, which only allows you to use specific elements (e.g.,
the link and ulink elements) to mark up hyperlinks.
The existing FO stylesheets have a mechanism for handling display
of URLs for hyperlinks that are marked up with ulink, but they did
not handle display of URLs for elements that were marked up with
xlink:href attributes. This change adds handling for those other
elements, enabling the URLs they link to be displayed either
inline or as numbered footnotes (depending on what values the user
has the ulink.show and ulink.footnotes params set to).
Note that this change only adds URL display support for elements
that call the simple.xlink template -- which currently is most
(but not all) inline elements.
This change also moves the URL display handling out of the ulink
template and into a new "hyperlink.url.display" named template;
the ulink template and the simple.xlink named template now both
call the hyperlink.url.display template.
Warning: In the stylesheet code that determines what footnote
number to assign to each footnote or external hyperlink, there is
an XPath expression for determining whether a particular
xlink:href instance is an external hyperlink; that expression is
necessarily a bit complicated and further testing may reveal that
it doesn't handle all cases as expected -- so some refinements to
it may need to be done later.
Closes #1785519. Thanks to Ken Morse for reporting and
troubleshooting the problem.
Added 'ln-' prefix to the name of the legalnotice chunk, in order to match the
<link href"..."> that is output by make.legalnotice.head.links (chunk-common.xsl).
Modified the href attribute on the legalnotice link.
Closes bug #1790495.
Michael Smith [Thu, 6 Sep 2007 12:44:41 +0000 (12:44 +0000)]
Changed "smoketest" target to "check". Thanks to Frederic Crozat
from Mandriva for the suggestion to include a makefile for a "make
check" in the upstream package.
Added <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to
the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
This makes chunk.quietly=1 suppress chunk filename messages also for help
support files (which seems to be what one would expect). See bug #1648360.
Michael Smith [Fri, 31 Aug 2007 17:11:32 +0000 (17:11 +0000)]
Made the xsl/tools/xsl/build/doc-link-docbook.xsl stylesheet
import profile-docbook.xsl, so that we can do profiling of release
notes. Corrected some problems in the target for the release-notes
HTML build.
Michael Smith [Fri, 31 Aug 2007 16:30:00 +0000 (16:30 +0000)]
Removed the hacky commenting system used for including different
text based on release type; the build now includes the text
conditionally based on profiling of the "condition" attribute.
Michael Smith [Thu, 30 Aug 2007 15:03:29 +0000 (15:03 +0000)]
Removed dependency of announce target on the release target. We
really don't need for it to depend on any build targets other than
the specific files (changes file, boilerplate) that it uses in
to create the announcement message.
Michael Smith [Thu, 30 Aug 2007 07:30:54 +0000 (07:30 +0000)]
In subsection titles in release notes and NEWS files, output the
title "Release Notes: N.NN.N" instead of "Release: N.NN.N"
(because the former reads better in announcements).
Michael Smith [Thu, 30 Aug 2007 01:45:28 +0000 (01:45 +0000)]
Updated stylesheets to display data on titlepage from othercredit
content (not just in author content). If there is an otherclass
attribute, the value of the is displayed. It really should also
look for the value of the class attribute, and use that unless it
is "other" (in which case it uses the otherclass value instead),
but that change will have to wait til later...
Michael Smith [Wed, 29 Aug 2007 08:09:32 +0000 (08:09 +0000)]
Removed code for determing DIFFVER (we no longer use DIFFVER for
anything); removed branching logic for condition of non-XSLT
VERSION file vs. XSLT one (we only use XSLT VERSION files now, so
no need to handle the legacy case)
Michael Smith [Tue, 28 Aug 2007 11:34:06 +0000 (11:34 +0000)]
Made releasetools/svnlog2docbook.xsl output include a note
explaining how users can create a copy of a complete change
history for whatever particular module.
Michael Smith [Tue, 28 Aug 2007 10:46:06 +0000 (10:46 +0000)]
Moved release-notes boilerplate into abstract and added links to
online change history to release-notes and to README. Also made a
minor correction to the README.BUILD file.
Michael Smith [Tue, 28 Aug 2007 09:47:21 +0000 (09:47 +0000)]
Made the release-announce script distro-neutral (it had been
hardcoded for docbook-xsl/ns releases), and refined the handling
of message bodies for release announcements.
Michael Smith [Fri, 24 Aug 2007 04:56:09 +0000 (04:56 +0000)]
Include extensions/ and xsl-java/ changes in ChangeLog.xml and
NEWS* file output for now (though those directories are now
removed, there were changes in them between the 1.72.0 release and
now, so we want to get those into the docbook-xsl NEWS* file
output for the 1.73.2 release (which like the 1.73.1 release, will
ship with NEWS* files that list all the changes since the last
major release, 1.72.0 in this case. For 1.74.0 and after, we'll
drop the extensions/ and xsl-java/ dirs from changelog/NEWS output
(because they now really are gone, so there won't be any more
changes being made to them...)