Bob Stayton [Mon, 4 May 2009 07:49:49 +0000 (07:49 +0000)]
Convert all calls to class.attribute to calls to common.html.attributes
to support dir, lang, and title attributes in html output for all elements.
Fulfills feature request #1993833.
Keith Fahlgren [Sun, 12 Apr 2009 23:37:50 +0000 (23:37 +0000)]
Add a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann)
Bob Stayton [Wed, 1 Apr 2009 08:47:55 +0000 (08:47 +0000)]
Add support for some format properties on tables using
HTML table markup. These include:
- frame attribute on table (or uses $default.table.frame parameter).
- rules attribute on table (or uses $default.table.rules parameter).
- align attribute on td and th
- valign attribute on td and th
- colspan on td and th
- rowspan on td and th
- bgcolor on td and th
Mauritz Jeanson [Sat, 28 Mar 2009 14:17:17 +0000 (14:17 +0000)]
Added a new parameter, bookmarks.collapse, that controls the initial state
of the bookmark tree. When the parameter has a non-zero value (the default),
only the top-level bookmarks are displayed initially. Otherwise, the whole
tree of bookmarks is displayed.
This is implemented for FOP 0.9X. Closes FR #1792326.
Keith Fahlgren [Fri, 27 Mar 2009 01:59:46 +0000 (01:59 +0000)]
Cleaning and regularizing the generation of namespaced nodes for OPF, NCX, XHTML and other outputted filetypes (hat tip to bobstayton for pointing out the silly, incorrect code)
Bob Stayton [Tue, 24 Mar 2009 04:45:34 +0000 (04:45 +0000)]
More elements get common.html.attributes.
Added locale.html.attributes template which does the lang,
dir, and title attributes, but not the class attribute
(used on para, for example).
Bob Stayton [Wed, 18 Mar 2009 07:47:14 +0000 (07:47 +0000)]
Added template named common.html.attributes to output
class, title, lang, and dir for most elements.
Started adding it to some list and block elements.
Mauritz Jeanson [Tue, 17 Mar 2009 16:26:23 +0000 (16:26 +0000)]
Changed "ancestor::title" to "(ancestor::title and (@id or @xml:id))".
This enables proper formatting of inline elements in titles in TOCs,
as long as these inlines don't have id or xml:id attributes.
Bob Stayton [Sun, 15 Mar 2009 19:38:17 +0000 (19:38 +0000)]
Pass through an id on primary, secondary, or tertiary to
the index entry, so that one could link to an index entry.
You can't link to the id on an indexterm because that is
used to place the main anchor in the text flow.
Mauritz Jeanson [Sun, 15 Mar 2009 09:03:49 +0000 (09:03 +0000)]
Added fixes for bugs #2112656 and #1759205:
1. Reverted mistaken commits r7485 and r7523.
2. Updated the template with match="link" and mode="no.anchor.mode" so that
@endterm is used if it exists and if the link has no content.
Bob Stayton [Sun, 15 Mar 2009 08:30:34 +0000 (08:30 +0000)]
Make sure a qandaset has an anchor, even when it has no title,
because it may be referenced in a TOC or xref.
Before, the anchor was output by the title, but there was no
anchor if there was no title.
Bob Stayton [Fri, 13 Mar 2009 00:05:51 +0000 (00:05 +0000)]
Add support for xref to phrase, simpara, anchor, and quote.
This assumes the author specifies something using xrefstyle since
the elements don't have ordinary link text.
Bob Stayton [Thu, 12 Mar 2009 22:33:55 +0000 (22:33 +0000)]
Rewrite toc templates to support an empty toc or populated toc
in all permitted contexts. Same for lot elements.
This fixes bug #1595969 for HTML outputs.
Mauritz Jeanson [Thu, 12 Mar 2009 17:43:44 +0000 (17:43 +0000)]
Added code to handle acknowledgements in book and part. The element is processed
similarly to dedication. All acknowledgements will appear as front matter, after
any dedications.
Bob Stayton [Thu, 12 Mar 2009 17:40:50 +0000 (17:40 +0000)]
Rewrite toc templates to support an empty toc or populated toc
in all permitted contexts. Same for lot elements.
This fixes bug #1595969 for FO outputs.
Mauritz Jeanson [Thu, 12 Mar 2009 17:40:15 +0000 (17:40 +0000)]
Added code to handle acknowledgements in book and part. The element is processed
similarly to dedication. All acknowledgements will appear as front matter, after
any dedications.