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.
Bob Stayton [Mon, 9 Mar 2009 17:06:48 +0000 (17:06 +0000)]
Put programlisting in fo:block-container with writing-mode="lr-tb"
when text direction is right to left because all program languages
are left-to-right.
Bob Stayton [Sun, 8 Mar 2009 08:29:41 +0000 (08:29 +0000)]
Fix bug #1945872 to allow passthrough of colwidth values to
HTML table when no tablecolumns.extension is available and
when no instance of * appears in the table's colspecs.
Bob Stayton [Fri, 6 Mar 2009 22:53:04 +0000 (22:53 +0000)]
Add support for writing-mode="rl-tb" (right-to-left) in FO outputs.
Changed instances of margin-left to margin-{$direction.align.start}
and margin-right to margin-{$direction.align.end}. Those direction.align
params are computed from the writing mode value in each locale's
gentext key named 'writing-mode', introduced in 1.74.3 to add
right-to-left support to HTML outputs.
Keith Fahlgren [Fri, 6 Mar 2009 04:48:04 +0000 (04:48 +0000)]
Added regression test and fix for XHTML validation problem with <a>s added inside <blockquote>; This potentially causes another problem (where something is referenced by has no anchor, but someone reporting that should cause the whole <a id='thing'/> thing to be reconsidered with modern browsers in mind.