]> granicus.if.org Git - docbook-dsssl/log
docbook-dsssl
19 years agoAdd "date" namespace.
Michael Smith [Fri, 8 Jul 2005 08:41:01 +0000 (08:41 +0000)]
Add "date" namespace.

19 years agoAdded trademark and servicemark mappings.
Michael Smith [Fri, 8 Jul 2005 04:11:39 +0000 (04:11 +0000)]
Added trademark and servicemark mappings.

19 years agoDocBook NG: The Mezcal Release
Norman Walsh [Thu, 7 Jul 2005 14:28:26 +0000 (14:28 +0000)]
DocBook NG: The Mezcal Release

19 years agoChanged version name
Norman Walsh [Thu, 7 Jul 2005 12:38:54 +0000 (12:38 +0000)]
Changed version name

19 years agoUpdated
Norman Walsh [Thu, 7 Jul 2005 12:33:21 +0000 (12:33 +0000)]
Updated

19 years agoRestore section/simplesect
Norman Walsh [Thu, 7 Jul 2005 12:02:25 +0000 (12:02 +0000)]
Restore section/simplesect

19 years agoAdded tests: target
Norman Walsh [Thu, 7 Jul 2005 11:54:47 +0000 (11:54 +0000)]
Added tests: target

19 years agoAdded defguide module
Norman Walsh [Thu, 7 Jul 2005 11:49:14 +0000 (11:49 +0000)]
Added defguide module

19 years agoAdded local tests
Norman Walsh [Thu, 7 Jul 2005 11:37:43 +0000 (11:37 +0000)]
Added local tests

19 years agoUpdated build tools
Norman Walsh [Wed, 6 Jul 2005 20:18:55 +0000 (20:18 +0000)]
Updated build tools

19 years agoCheckin new build system
Norman Walsh [Wed, 6 Jul 2005 20:18:00 +0000 (20:18 +0000)]
Checkin new build system

19 years agoSupport XInclude in more places
Norman Walsh [Wed, 6 Jul 2005 20:15:28 +0000 (20:15 +0000)]
Support XInclude in more places

19 years agoFix totally bogus patterns for optional/required section elements at various levels
Norman Walsh [Wed, 6 Jul 2005 20:12:01 +0000 (20:12 +0000)]
Fix totally bogus patterns for optional/required section elements at various levels

19 years agoFix content model for toplevel sections and article components
Norman Walsh [Wed, 6 Jul 2005 19:10:38 +0000 (19:10 +0000)]
Fix content model for toplevel sections and article components

19 years agoFix content model for toplevel and recursive sections
Norman Walsh [Wed, 6 Jul 2005 19:06:18 +0000 (19:06 +0000)]
Fix content model for toplevel and recursive sections

19 years agoTypos and wording tweaks (to sync up with language in the release
Michael Smith [Wed, 6 Jul 2005 10:39:51 +0000 (10:39 +0000)]
Typos and wording tweaks (to sync up with language in the release
notes)

19 years ago(internal) Added support for TDG hyperlinking with <tag> (instead
Michael Smith [Wed, 6 Jul 2005 05:16:18 +0000 (05:16 +0000)]
(internal) Added support for TDG hyperlinking with <tag> (instead
of just <sgmltag>. Also added support for ignoring <tag>s and
<sgmltag>s that have a "namespace" attribute whose value contains
"http://docbook.sf.net/" or "http://docbook.sourceforge.net/"
(that is, those don't get turned into TDG hyperlinks).

(Note: This change has no effect on the behavior of the DocBook XSL
stylesheets; it only affects the build used to create the actual)
DocBook XSL releases.)

19 years agoReplaced duplicated "charmap" IDs with good ones.
Michael Smith [Wed, 6 Jul 2005 05:12:08 +0000 (05:12 +0000)]
Replaced duplicated "charmap" IDs with good ones.

19 years agoAdded "namespace" attributes to non-DocBook <tag>s, to prevent
Michael Smith [Wed, 6 Jul 2005 05:07:25 +0000 (05:07 +0000)]
Added "namespace" attributes to non-DocBook <tag>s, to prevent
them from being converted to TDG hyperlinks.

19 years agoFixed typo.
Michael Smith [Tue, 5 Jul 2005 11:44:01 +0000 (11:44 +0000)]
Fixed typo.

19 years agoAdded not about setting man.output.quietly to speed up processing
Michael Smith [Tue, 5 Jul 2005 11:42:16 +0000 (11:42 +0000)]
Added not about setting man.output.quietly to speed up processing
time.

19 years agoRemoved leftover debugging variables.
Michael Smith [Tue, 5 Jul 2005 11:37:42 +0000 (11:37 +0000)]
Removed leftover debugging variables.

19 years agoAdded support for enabling users to control what appears and does
Michael Smith [Tue, 5 Jul 2005 11:32:42 +0000 (11:32 +0000)]
Added support for enabling users to control what appears and does
not appear in the content of the .TH title-line header/footer.
(Closes #1210492)

19 years agoUse utility.xsl
Michael Smith [Tue, 5 Jul 2005 09:55:30 +0000 (09:55 +0000)]
Use utility.xsl

19 years agoRenamed general.xsl to utility.xsl.
Michael Smith [Tue, 5 Jul 2005 09:54:46 +0000 (09:54 +0000)]
Renamed general.xsl to utility.xsl.

19 years agoImplemented output-independent mechanism for gathering refentry
Michael Smith [Tue, 5 Jul 2005 09:34:41 +0000 (09:34 +0000)]
Implemented output-independent mechanism for gathering refentry
metadata, along with a customization parameters for tuning it.
(Closes #1232541)

19 years agoImplemented capability for users to customize "refentry metadata
Michael Smith [Tue, 5 Jul 2005 09:19:17 +0000 (09:19 +0000)]
Implemented capability for users to customize "refentry metadata
gathering" by specifying XPath expressions to use as "info
profiles" for gathering the data, and, in some cases, to suppress
parts of the data collected.

19 years agoAdded params to support makin "metadata gathering" independent of
Michael Smith [Tue, 5 Jul 2005 07:10:00 +0000 (07:10 +0000)]
Added params to support makin "metadata gathering" independent of
output format (initial change for #1232541, more to follow shortly).

19 years agoAdded man.subheading.divider.enabled flag and tweaked doc for
Michael Smith [Tue, 5 Jul 2005 03:51:11 +0000 (03:51 +0000)]
Added man.subheading.divider.enabled flag and tweaked doc for
man.subheading.divider

19 years agoAdded the following substitutions:
Michael Smith [Tue, 5 Jul 2005 03:49:25 +0000 (03:49 +0000)]
Added the following substitutions:

  <!-- * non-breaking space
  <substitution oldstring="&#x00a0;" newstring="\ "/>
  <!-- * copyright sign
  <substitution oldstring="&#x00a9;" newstring="\(co"/>
  <!-- * registered sign
  <substitution oldstring="&#x00ae;" newstring="\(rg"/>
  <!-- * left double quote
  <substitution oldstring="&#x201c;" newstring="\(lq"/>
  <!-- * right double quote
  <substitution oldstring="&#x201d;" newstring="\(rq"/>
  <!-- * left single quote
  <substitution oldstring="&#x2018;" newstring="\(oq"/>
  <!-- * right single quote
  <substitution oldstring="&#x2019;" newstring="\(cq"/>

The reason is that those are all characters that the DocBook XSL
stylesheets themselves generate under certain circumstances; so
dealing with them in man.string.subst.map ensures they will always
be replaced, even if man.charmap.enabled is zero.

19 years agoDid some reorganizing.
Michael Smith [Tue, 5 Jul 2005 02:49:13 +0000 (02:49 +0000)]
Did some reorganizing.

- Moved prepare.manpage.contents template out of general.xsl file
  and into other.xsl; general.xsl templates are now all templates
  that are called multiple times for each refentry, while
  templates in other.xsl are called only once per each refentry.

- Removed get.metadata template; refentry metadata gathering is
  now done by common/refentry.xsl in a way that is independent of
  the final output format; so the common/refentry.xsl templates
  can be called not just by manpages stylesheets, but by
  stylesheets for any other output format

- Added a write.man.file template. This is basically just a
  wrapper around the write.text.chunk template; it takes "name"
  and "section" params, assembles those into a filename, then
  passes that filename to write.text.chunk

19 years agoAdded evaluate.info.profile template.
Michael Smith [Tue, 5 Jul 2005 00:54:57 +0000 (00:54 +0000)]
Added evaluate.info.profile template.

19 years agoUpdate header comment.
Michael Smith [Tue, 5 Jul 2005 00:33:49 +0000 (00:33 +0000)]
Update header comment.

19 years agoAdded trademark/productname template.
Michael Smith [Tue, 5 Jul 2005 00:22:21 +0000 (00:22 +0000)]
Added trademark/productname template.

This template causes true Unicode characters to be output for the
"copyright" and "registered" symbols (which be default then get
replaced by the apply-string-subst-map template). It outputs the
string "(TM)" for trademark (because roff "\(tm" output is not
good) and "(SM)" for servicemark.

19 years agosuppress Abstract
Michael Smith [Tue, 5 Jul 2005 00:17:54 +0000 (00:17 +0000)]
suppress Abstract

19 years agoCleaned up redundancies in refnamediv and refsynopsisdiv title handling.
Michael Smith [Tue, 5 Jul 2005 00:15:52 +0000 (00:15 +0000)]
Cleaned up redundancies in refnamediv and refsynopsisdiv title handling.

19 years agoAdded refentry metadata-gathering documentation.
Michael Smith [Tue, 5 Jul 2005 00:06:41 +0000 (00:06 +0000)]
Added refentry metadata-gathering documentation.

19 years agoChanged title.
Michael Smith [Mon, 4 Jul 2005 23:57:32 +0000 (23:57 +0000)]
Changed title.

19 years agoInitial add.
Michael Smith [Mon, 4 Jul 2005 23:51:51 +0000 (23:51 +0000)]
Initial add.

This file provides templates for gathering refentry metadata. The
templates are currently only called by the manpages stylesheets,
but they are designed to be generally useful.

19 years agoinitial add
Michael Smith [Mon, 4 Jul 2005 12:16:43 +0000 (12:16 +0000)]
initial add

19 years agoAdd start-indent="0pt" to counteract any body.start.indent
Bob Stayton [Mon, 4 Jul 2005 05:23:17 +0000 (05:23 +0000)]
Add start-indent="0pt" to counteract any body.start.indent
on an index that is in an article.

19 years agoFix regex for href to prevent fragids, not require a hash!
Norman Walsh [Sat, 2 Jul 2005 16:42:58 +0000 (16:42 +0000)]
Fix regex for href to prevent fragids, not require a hash!

19 years agoAdded Schematron to the bibliography; fixed typo
Norman Walsh [Fri, 1 Jul 2005 19:28:59 +0000 (19:28 +0000)]
Added Schematron to the bibliography; fixed typo

19 years agoRemoved
Norman Walsh [Fri, 1 Jul 2005 19:20:59 +0000 (19:20 +0000)]
Removed

19 years agoAdded XInclude
Norman Walsh [Fri, 1 Jul 2005 19:04:53 +0000 (19:04 +0000)]
Added XInclude

19 years agoAdded improved letters localization from Vitaly Ostanin
Jirka Kosek [Fri, 1 Jul 2005 13:28:50 +0000 (13:28 +0000)]
Added improved letters localization from Vitaly Ostanin

19 years agoCheckpointing. In the middle of tinkering with composition of the
Michael Smith [Fri, 1 Jul 2005 13:24:49 +0000 (13:24 +0000)]
Checkpointing. In the middle of tinkering with composition of the
.TH title line. Started pulling at thread and unwound things. This
works as-is now (not broken) but is not finished.

19 years agoPut quotes around section in .TH title line & normalize space in
Michael Smith [Fri, 1 Jul 2005 09:08:01 +0000 (09:08 +0000)]
Put quotes around section in .TH title line & normalize space in
title and section in .TH title line (as we do with all other
fields in it).

Also, added and refined comments, in part based on reading of
man(7) man page.

19 years agoAdded "General" stuff.
Michael Smith [Thu, 30 Jun 2005 18:12:36 +0000 (18:12 +0000)]
Added "General" stuff.

19 years agoFirst updates for 1.69.0 release.
Michael Smith [Thu, 30 Jun 2005 13:22:10 +0000 (13:22 +0000)]
First updates for 1.69.0 release.

So far, only includes descriptions of the manpages changes. Sorry,
that is all I could managed to get done so far. If anybody else
has time to add descriptions for the HTML and FO stylesheets,
please do. Otherwise, I will get back to work on them later
tonight my time.

19 years agoSet LANG=C when generating RELEASE-NOTES.txt
Michael Smith [Thu, 30 Jun 2005 13:19:25 +0000 (13:19 +0000)]
Set LANG=C when generating RELEASE-NOTES.txt

The LANG value in my environment is EUC-JP, and running w3m with
that causes it to use some special EUC-JP characters for bullets
and such. So, need to set LANG=C to get it to use ASCII bullets
(a.k.a. asterisks)

19 years agoGave procedure its own label.markup template because it
Bob Stayton [Thu, 30 Jun 2005 04:29:06 +0000 (04:29 +0000)]
Gave procedure its own label.markup template because it
should not count procedures without  title.

19 years agoUpdated for 4.5CR1
Norman Walsh [Wed, 29 Jun 2005 11:35:04 +0000 (11:35 +0000)]
Updated for 4.5CR1

19 years agoDocBook V4.5CR1 Released
Norman Walsh [Wed, 29 Jun 2005 10:59:35 +0000 (10:59 +0000)]
DocBook V4.5CR1 Released

19 years agoUpdated version number
Norman Walsh [Wed, 29 Jun 2005 10:58:35 +0000 (10:58 +0000)]
Updated version number

19 years agoTweaked freshmeat changes
Norman Walsh [Wed, 29 Jun 2005 10:53:33 +0000 (10:53 +0000)]
Tweaked freshmeat changes

19 years agoUpdated for 5.0a1
Norman Walsh [Wed, 29 Jun 2005 10:47:29 +0000 (10:47 +0000)]
Updated for 5.0a1

19 years agoRemoved unnecessary additional linebreak that was getting added
Michael Smith [Wed, 29 Jun 2005 09:57:39 +0000 (09:57 +0000)]
Removed unnecessary additional linebreak that was getting added
after each varlistentry. Also, in a couple places that needed it,
added check for *info/title (instead of just title). Also, added
support of processing title or *info/title on Refsynopsisdiv
(still falls back to gentext SYNOPSIS title if no hard-coded title
found.

19 years agoDeal with *info correctly & remove some kruft.
Michael Smith [Wed, 29 Jun 2005 09:07:10 +0000 (09:07 +0000)]
Deal with *info correctly & remove some kruft.

19 years agoAdded support for man.subheading.divider parameter.
Michael Smith [Wed, 29 Jun 2005 06:50:25 +0000 (06:50 +0000)]
Added support for man.subheading.divider parameter.

19 years agoAdded man.subheading.divider param, for enabling addition of
Michael Smith [Wed, 29 Jun 2005 06:48:11 +0000 (06:48 +0000)]
Added man.subheading.divider param, for enabling addition of
divider around section titles in source. This doesn't show up in
rendered man page -- it is just there to help make the source more
readable.

19 years agoAdded support for man.justify, man.hyphenate,
Michael Smith [Wed, 29 Jun 2005 05:55:34 +0000 (05:55 +0000)]
Added support for man.justify, man.hyphenate,
man.break.after.slash, and an.th.title.max.length parameters.
Also switch to using locale-safe "string-upper" function to
uppercase the TH title. So manpages output is now
internationalized/localizable in all respects where is can be made
so at this point.

19 years agoAdded man.th.title.max.length param for controlling aesthetics of
Michael Smith [Wed, 29 Jun 2005 05:48:06 +0000 (05:48 +0000)]
Added man.th.title.max.length param for controlling aesthetics of
TH title line.

19 years agoAdded man.break.after.slash parameter.
Michael Smith [Wed, 29 Jun 2005 04:18:54 +0000 (04:18 +0000)]
Added man.break.after.slash parameter.
Default is zero, which disables line-breaking after slashes.
Setting a non-zero value enables line-breaking after slashes.
This option is potentially usefull for causing long URLs and/or
pathnames to be wrapped or broken-up across lines.

19 years agoSupport man.justify and man.hyphenate params. (closes #1229225).
Michael Smith [Tue, 28 Jun 2005 18:39:21 +0000 (18:39 +0000)]
Support man.justify and man.hyphenate params. (closes #1229225).

Note that default for the both of those is zero (off), because
justified text looks good only when it is also hyphenated; to
quote the "Hypenation" node from the groff info page:

  Since the odds are not great for finding a set of words, for
  every output line, which fit nicely on a line without inserting
  excessive amounts of space between words, `gtroff' hyphenates
  words so that it can justify lines without inserting too much
  space between words.

The problem is that groff is not particularly smart about how it
does hyphenation; it can end up hyphenating a lot of things that
you don't want hyphenated (names of symbols, for example), and it
is difficult and tiresome work to prevent it from doing that. So,
disabling both justification and hyphenation ensures that hyphens
won't get inserted where you don't want to them, and you don't end
up with lines containing excessive amounts of space between words.

Yes, these default settings run counter to how most existing man
pages are formatted. But there are some notable exceptions, such
as the perl man pages.

19 years agoMoved the fo:basic-link for page refs to the page.citation template
Bob Stayton [Tue, 28 Jun 2005 18:37:59 +0000 (18:37 +0000)]
Moved the fo:basic-link for page refs to the page.citation template
so it can be more easily customized.
Fixed bug in using page keyword in role used as xrefstyle.

19 years agoAdded support for man.output.quietly for writing of stubs.
Michael Smith [Tue, 28 Jun 2005 18:19:57 +0000 (18:19 +0000)]
Added support for man.output.quietly for writing of stubs.
Also, added comments regarding display of .TH contents across
platforms.

19 years agoReplace hyphens with "\-".
Michael Smith [Tue, 28 Jun 2005 14:41:58 +0000 (14:41 +0000)]
Replace hyphens with "\-".

<sigh/> Although the old-school gnomes who maintain groff
apparently don't figure it's necessary to document this anywhere,
there is apparently only one reliable way to make a non-breaking
hyphen in groff: with "\-". At least that it what testing in my
environment seems to indicate.

And because groff is not at all smart in the way it breaks things
at hyphens (it will, for example, break command arguments across
lines if they contain hyphens), we must globally replace all
hyphens with "\-".

God in heaven, please let me live to see a day when roff and all
is (r)offspring have disappeared from the face of the earth.

19 years agoOutput "\-" for non-breaking hyphen.
Michael Smith [Tue, 28 Jun 2005 14:30:12 +0000 (14:30 +0000)]
Output "\-" for non-breaking hyphen.

19 years agoChanged default for verbosity to 0.
Michael Smith [Tue, 28 Jun 2005 13:07:59 +0000 (13:07 +0000)]
Changed default for verbosity to 0.

19 years agoignore RELEASE-NOTES.pdf and RELEASE-NOTES.fo
Michael Smith [Tue, 28 Jun 2005 12:43:59 +0000 (12:43 +0000)]
ignore RELEASE-NOTES.pdf and RELEASE-NOTES.fo

19 years ago"clean" target now deletes $(SOURCES) xml files instead of doing a
Michael Smith [Tue, 28 Jun 2005 12:38:39 +0000 (12:38 +0000)]
"clean" target now deletes $(SOURCES) xml files instead of doing a
blanket "rm -f *.xml", which was causing hte l10n.xml file to be
deleted. That file is under version control, so deleting it was
forcing you to do a "cvs update" after you run "make clean". if
you forget, it screws up the build.

19 years agoAdded missing entity ref for autlayout-file param.
Michael Smith [Tue, 28 Jun 2005 12:33:37 +0000 (12:33 +0000)]
Added missing entity ref for autlayout-file param.

19 years agoAdde man.charmap.enabled param.
Michael Smith [Tue, 28 Jun 2005 11:14:37 +0000 (11:14 +0000)]
Adde man.charmap.enabled param.

19 years ago"clean" target no longer deletes html/profile-chunk.xsl or
Michael Smith [Tue, 28 Jun 2005 11:01:24 +0000 (11:01 +0000)]
"clean" target no longer deletes html/profile-chunk.xsl or
html/profile-onechunk.xsl
Those files are under version control, not made. So they should
not be deleted by the build.

19 years agoUpdate to include Slides and Website info, and also some other
Michael Smith [Tue, 28 Jun 2005 10:35:48 +0000 (10:35 +0000)]
Update to include Slides and Website info, and also some other
clarifications.

19 years agoRender servicemark and trademark as (SM) and (TM).
Michael Smith [Tue, 28 Jun 2005 09:18:08 +0000 (09:18 +0000)]
Render servicemark and trademark as (SM) and (TM).
Because console output for groff "\(tm" is not acceptable.

19 years agoDoc tweak.
Michael Smith [Tue, 28 Jun 2005 08:14:59 +0000 (08:14 +0000)]
Doc tweak.

19 years agoFixed typo.
Michael Smith [Tue, 28 Jun 2005 08:14:00 +0000 (08:14 +0000)]
Fixed typo.

19 years agoAdded PDF release notes to release build.
Michael Smith [Tue, 28 Jun 2005 08:09:24 +0000 (08:09 +0000)]
Added PDF release notes to release build.

19 years agoAdded support for generating <rx:meta-field creator="foo"/> field
Michael Smith [Tue, 28 Jun 2005 07:49:51 +0000 (07:49 +0000)]
Added support for generating <rx:meta-field creator="foo"/> field
for XEP. Also, added support for picking up and using contents of
<corpauthor> for XEP <rx:meta-field author="foo"/> field.

19 years agoDon't add docname to olink when pointing to root element.
Bob Stayton [Tue, 28 Jun 2005 04:04:04 +0000 (04:04 +0000)]
Don't add docname to olink when pointing to root element.

19 years agoRemoved the start-indent on qandadiv because it conflicts with
Bob Stayton [Mon, 27 Jun 2005 22:09:15 +0000 (22:09 +0000)]
Removed the start-indent on qandadiv because it conflicts with
other indents, and that style should be implemented with
a property set.

19 years agoImplemented "character map" system for replacing Unicode
Michael Smith [Mon, 27 Jun 2005 10:56:02 +0000 (10:56 +0000)]
Implemented "character map" system for replacing Unicode
characters. (closes #1226009).

::PROBLEM:
The existing manpages mechanism for replacing Unicode symbols and
special characters with roff equivalents is not scalable and not
anywhere near as complete as it should be.

For example, the mechanism currently only handles a (somewhat
arbitrary) selection of less than 20 or so Unicode characters.

But there are potentially more than _800_ Unicode special
characters that have some groff equivalent they can be mapped to.

And there are about 34 symbols in the Latin-1 (ISO-8859-1) block
alone. Users might reasonably expect that if they include any of
those Latin-1 characters in their DocBook source documents, they
will get correctly convered to known roff equivalents in output.

In addition to those common symbols, certain users may have a need
to use symbols from other Unicode blocks.

Say, somebody who is documenting an application related to math
might need to use a bunch of symbols from the "Mathematical
Operators" Unicode block (there are about 65 characters in that
block that have reasonable roff equivalents).

Or somebody else might really like Dingbats -- such as the
checkmark character (I like that one myself) and so might use a
bunch of things from the "Dingbat" block (141 characters in that
that have roff equivalents or that can at least be "degraded"
somewhat gracefully into roff).

So we need a mechanism that is capable of handling all those 800
Unicode characters that have roff equivalents -- and/or of
allowing users to choose which Unicode blocks to use (through
tuning the value of a parameter or something).

::FIX:
Replaced the current Unicode character-substitution mechanism
(replace-entities template) with a completely different
character-substitution mechanism that is based on use of a
"character map" (in a format compliant with the XSLT 2.0 spec and
therefore completely "forward compatible" with XSLT 2.0).

By default, the new "character map" mechanism does replacement of
all Latin-1 symbols, along with most special spaces, dashes, and
quotes (about 75 characters by default, compared to the less than
20 special characters that were handled previously). And the
"full" character map provides support for converting about 800
characters.

The mechanism is controlled through the following parameters:

  - man.charmap.enabled:
      turns character-map support on/off

  - man.charmap.use.subset.xml
      specifies that a subset of the character map is used instead
      of the full character map

  - man.charmap.subset.profile.xml
      specifies profile of character-map subset

  - man.charmap.uri.xml
      specifies an alternate character map to use instead of the
      "standard" character map provided in the distribution

For more details, see the current documention at:

  http://docbook.sf.net/snapshot/xsl/doc/manpages/charmap.html

19 years agoAlways make NEWS
Michael Smith [Mon, 27 Jun 2005 10:41:17 +0000 (10:41 +0000)]
Always make NEWS

19 years agoAdded IDs for sub-references, so that "human readable" filenames
Michael Smith [Mon, 27 Jun 2005 10:11:11 +0000 (10:11 +0000)]
Added IDs for sub-references, so that "human readable" filenames
are generated based on those (instead of, e.g., "rn.html")

19 years agoMade doc source compliant with expectations of doc build.
Michael Smith [Mon, 27 Jun 2005 10:06:40 +0000 (10:06 +0000)]
Made doc source compliant with expectations of doc build.

19 years agoDoc tweak.
Michael Smith [Mon, 27 Jun 2005 08:31:53 +0000 (08:31 +0000)]
Doc tweak.

19 years agoAdded "man.string.subst.map" parameter for controlling roff string
Michael Smith [Mon, 27 Jun 2005 08:01:58 +0000 (08:01 +0000)]
Added "man.string.subst.map" parameter for controlling roff string
substitution performed just before applying character map. The
value of this parameter is not really intended to be monkeyed
with, but adding it as a param just in case.

19 years agoDoc tweak to match user/developer distinction.
Michael Smith [Mon, 27 Jun 2005 05:33:29 +0000 (05:33 +0000)]
Doc tweak to match user/developer distinction.

19 years agoDoc tweak.
Michael Smith [Mon, 27 Jun 2005 05:32:10 +0000 (05:32 +0000)]
Doc tweak.

19 years agoIgnore slides and website subdirs
Michael Smith [Mon, 27 Jun 2005 05:03:38 +0000 (05:03 +0000)]
Ignore slides and website subdirs

19 years agoAdded an "apply-string-subst-map" function (template). Only
Michael Smith [Mon, 27 Jun 2005 00:50:16 +0000 (00:50 +0000)]
Added an "apply-string-subst-map" function (template). Only
difference is that in the map that it expects, "oldstring" and
"newstring" attributes are used instead of "character" and
"string" attributes.

19 years agoCheckpointing before coding and committing final character-map changes.
Michael Smith [Sun, 26 Jun 2005 07:10:38 +0000 (07:10 +0000)]
Checkpointing before coding and committing final character-map changes.

This change fully implements character-map support. I'll write up
a longer description of that in a later commit. But the brief
description is: The old Unicode character replacement mechanism
(replace-entities template) has been removed; a completely
different character-replacement mechanism is now used instead.

By default, it does replacement of all Latin-1 symbols, along with
most special spaces, dashes, and quotes (about 75 characters by
default, compared to the less than 20 special characters that were
handled previously). And the "full" character map provides support
for converting about 800 characters. The mechanism use a
"character map" (in a format compliant with the XSLT 2.0 spec and
therefore completely "forward compatible" with XSLT 2.0.

Other changes made for this commit:

  - Changed default output encoding to UTF-8.

    THIS DOES NOT MEAN THAT MAN PAGES ARE OUTPUT IN RAW UTF-8,
    because the character-map is applied before final output,
    causing all UTF-8 characters covered in the map to be
    converted to roff equivalents.

  - Removed code for adding backslashes before periods/dots and
    before hyphens (&#45;); here's why:

    * Backslashes in front of periods/dots are needed only in the
      very rare case where a period is the very first character in
      a line, without any space in front of it. A better way to
      deal with that rare case is for authors to add a zero-width
      space in front of the offending dot(s) in their source

    * Backslashes in front of (&#45;/&#x2D;) are needed... when?
      Myself, I don't know, so the current stylesheet does not add
      backslashes in front of them, ever. If there is a specific
      case where they are necessary or desirable, then we need to
      add code for that case, not just do a blanket conversion.

      And, anyway, my understanding from reading the groff docs is
      that \- is, specifically, a _minus sign_. So if you have a
      place where you want a minus sign to be output instead of
      (&#45;), then you should use (&#8722;/&#x2212;) in your
      source instead. And if you have a place where you want an
      en dash, (&#8211;/&#x2013;). Or if there are places where
      the stylesheets are internally generating (&#45;) where they
      should be generating &#8722; or &#8211;, then we need to fix
      those, not just do blanket conversion.

  - Consolidated all bold and italic formatting so that it is done
    by applying the mode="bold" and mode="italic" templates.

  - Consolidated handling of all instances where we want to
    prevent line breaking; they are all now processed using the
    prevent.line.breaking template.

  - Removed "quote" template. In output, this was causing anything
    marked up with the <quote> element to be preceded by two
    backticks and followed by two apostrophes  -- that is, that
    old-school hack for generating "curly" quotes in Emacs and in
    X-Windows fonts. While Emacs still seems to support that,
    I don't think X-Windows has for a long time now. And, anyway,
    it looks (and has always looked) like complete crap when
    viewed on a normal tty/console

19 years agoReworked default value to make reworked character map.
Michael Smith [Sat, 25 Jun 2005 16:09:06 +0000 (16:09 +0000)]
Reworked default value to make reworked character map.

19 years agoSwitched to "block" and "class" attributes and back to using real
Michael Smith [Sat, 25 Jun 2005 15:57:31 +0000 (15:57 +0000)]
Switched to "block" and "class" attributes and back to using real
backslashes instead of @esc@ hack.

19 years agoDocumentation changes
Norman Walsh [Sat, 25 Jun 2005 12:38:18 +0000 (12:38 +0000)]
Documentation changes

19 years agoDocumentation improvements
Norman Walsh [Sat, 25 Jun 2005 12:16:46 +0000 (12:16 +0000)]
Documentation improvements

19 years agoChanged prefix for annotations namespace
Norman Walsh [Sat, 25 Jun 2005 11:47:04 +0000 (11:47 +0000)]
Changed prefix for annotations namespace

19 years agoAdded doc: structured comments
Norman Walsh [Fri, 24 Jun 2005 21:09:25 +0000 (21:09 +0000)]
Added doc: structured comments