Michael Smith [Tue, 28 Feb 2006 15:24:37 +0000 (15:24 +0000)]
xmldepend.xsl - Find files that an XML document refers to/depends on.
From Paul DuBois <paul@kitebird.com>
Can be used to build Makefile dependency lists.
Dependencies are defined as:
- Files named in <xi:xinclude> elements. These must be traversed to
find any subdependencies, unless parse attribute is "text".
- Files named by the fileref attribute of any other element.
Jirka Kosek [Tue, 6 Dec 2005 21:43:12 +0000 (21:43 +0000)]
Moved profiling stage out of templates. This make possible to reuse profiled content by several templates and still maintaing node indentity (needed for example for HTML Help where content is processed multiple times).
I don't know why this was not on the top level before. Maybe some XSLT processors choked on it. I hope this will be OK now.
Jirka Kosek [Tue, 6 Dec 2005 18:56:52 +0000 (18:56 +0000)]
An attemp to fix base URIs when profiling is done and document is not in the current directory. This seems to work on my Windows machine, but I would be interested how it behaves in unix environment. URL handling in Java is very sensitive to such things.
Jirka Kosek [Thu, 1 Dec 2005 11:39:55 +0000 (11:39 +0000)]
Handling of xref to area/areaset need support in extensions code also. I currently have no time to touch extensions code, so code is here to be enabled when extension is fixed also.
Bob Stayton [Thu, 24 Nov 2005 22:36:57 +0000 (22:36 +0000)]
Added parameters to support localization of index item
punctuation.
Added index.separator named template to compute the
separator punctuation based on locale.
Michael Smith [Mon, 21 Nov 2005 09:40:40 +0000 (09:40 +0000)]
Added a <div class="{$class}-contents"> wrapper around output of
contents of all formal objects. Also, added an optional
<br class="{class}-break"/> linebreak after all formal objects.
WARNING: Because this change places an additional DIV between the
DIV wrapper for the equation and the equation contents, it may
break some existing CSS stylesheets that have been created with
the assumption that there would never be an intervening DIV there.
The following is an example of what Equation output looks like as
a result of the changes described above.
Rationale: These changes allow CSS control of the placement of the
formal-object title relative to the formal-object contents. For
example, using the CSS "float" property enables the title and
contents to be rendered on the same line. Example stylesheet:
Michael Smith [Mon, 14 Nov 2005 03:45:28 +0000 (03:45 +0000)]
As far as I can tell, $(MV) is not an implicit variable in make or
GNU make (as $(RM) is). But it was used, without being defined, in
the _footer.mak file. So I added a "MV ?= mv" definiton for it in
the master Makefile, which should cause it to be defined as "mv"
only if it's not already defined in the user's environment.
Michael Smith [Wed, 9 Nov 2005 11:49:28 +0000 (11:49 +0000)]
Changed build to generate a "html-synop.xsl" file and to have it
imported into the driver stylesheet. The build now uses the newly
added html2roff.xsl stylesheet to transform the ../xhtml/synop.xsl
file to generate the html-synop.xsl file. The only transformation
it currently does is to transform <br/> instances into line breaks
and to transform <pre></pre> instances into roff "no fill region"
markup.
This change is a cheap way to enable the manpages stylesheet to
correctly handle OO synopsis content, which it did not handle
correctly previously.
Michael Smith [Tue, 8 Nov 2005 06:01:01 +0000 (06:01 +0000)]
Checkpointing. This currently does not work as-is. I added support
for processing Rowspan correctly and it seems to work as expected,
but still need to do add some handling to actually generate the
tbl(1) format spec.
This implementation relies on holding a big node-set in memory,
containing "Cell" elements store information about the nature of
each cell (e.g., whether it is a "normal" cell, or the result of a
Rowspan or Colspan). I could not figure out a way to implement
support for Rowspan without ending up storing multiple, duplicate,
Cell elements for each cell. (It gets uniq-ified later using the
EXSLT set:distinct function.) The duplication will probably cause
performance and memory issues with big tables. Maybe I will figure
out later how to do it properly; but for now, this will have to do.