From 7031cd64ad6a42a8d7fede72dda6031205c6faff Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 15 Jan 2007 17:15:40 +0000 Subject: [PATCH] Changed manpages stylesheet to always output a U+2591 character as the internal representation of a dash. The string-substitution map is then used to output a real dash when the final contents are serialized. Also, made a change that causes dots and dashes in the top comment to be unescaped. --- xsl/manpages/info.xsl | 10 ++++---- xsl/manpages/lists.xsl | 6 ++--- xsl/manpages/other.xsl | 37 ++++++++++++++++++----------- xsl/manpages/synop.xsl | 4 ++-- xsl/manpages/table.xsl | 2 +- xsl/manpages/utility.xsl | 30 ++++++++++++++++++++--- xsl/params/man.string.subst.map.xml | 10 ++------ 7 files changed, 63 insertions(+), 36 deletions(-) diff --git a/xsl/manpages/info.xsl b/xsl/manpages/info.xsl index ba46e9d25..a6e784014 100644 --- a/xsl/manpages/info.xsl +++ b/xsl/manpages/info.xsl @@ -308,7 +308,7 @@ - ⌂sp -1n + ⌂sp ░1n ⌂IP "" @@ -432,7 +432,7 @@ - ⌂sp -1n + ⌂sp ░1n ⌂IP "" @@ -446,7 +446,7 @@ - ⌂sp -1n + ⌂sp ░1n ⌂IP "" @@ -464,7 +464,7 @@ - ⌂sp -1n + ⌂sp ░1n ⌂IP "" @@ -529,7 +529,7 @@ |../othername|../lineage|../honorific |../affiliation|../email|../address"> - ⌂sp -1n + ⌂sp ░1n ⌂IP "" diff --git a/xsl/manpages/lists.xsl b/xsl/manpages/lists.xsl index 2a00b3ad3..dbdb3beea 100644 --- a/xsl/manpages/lists.xsl +++ b/xsl/manpages/lists.xsl @@ -135,7 +135,7 @@ - \h'- + \h'░ 0 @@ -160,7 +160,7 @@ - \h'- + \h'░ 0 @@ -314,7 +314,7 @@ ⌂TE ⌂\" line length decrease back to previous value - ⌂ll -(\n(LLu * 62u / 100u) + ⌂ll ░(\n(LLu * 62u / 100u) ⌂sp diff --git a/xsl/manpages/other.xsl b/xsl/manpages/other.xsl index cc3f6a1b5..532758b39 100644 --- a/xsl/manpages/other.xsl +++ b/xsl/manpages/other.xsl @@ -170,30 +170,39 @@ db:manvolnum ⌂\" Title: - + + + ⌂\" Author: - - - + + + + + + + ⌂\" Generator: DocBook XSL Stylesheets v - - <http://docbook.sf.net/> + + + + <http://docbook⌂sf⌂net/> ⌂\" Date: - - - - - - + + + ⌂\" Manual: - + + + ⌂\" Source: - + + + ⌂\" diff --git a/xsl/manpages/synop.xsl b/xsl/manpages/synop.xsl index 9fc95c19a..f5d92120d 100644 --- a/xsl/manpages/synop.xsl +++ b/xsl/manpages/synop.xsl @@ -50,7 +50,7 @@ - ⌂sp -1n + ⌂sp ░1n ⌂HP @@ -237,7 +237,7 @@ - . + diff --git a/xsl/manpages/table.xsl b/xsl/manpages/table.xsl index 3405bc6b7..24873d76f 100644 --- a/xsl/manpages/table.xsl +++ b/xsl/manpages/table.xsl @@ -134,7 +134,7 @@ - ⌂sp -1n + ⌂sp ░1n diff --git a/xsl/manpages/utility.xsl b/xsl/manpages/utility.xsl index 39409d4c2..ba953e0ae 100644 --- a/xsl/manpages/utility.xsl +++ b/xsl/manpages/utility.xsl @@ -101,15 +101,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + ⌂sp - ⌂it 1 an-trap - ⌂nr an-no-space-flag 1 - ⌂nr an-break-flag 1 + ⌂it 1 an░trap + ⌂nr an░no░space░flag 1 + ⌂nr an░break░flag 1 ⌂br diff --git a/xsl/params/man.string.subst.map.xml b/xsl/params/man.string.subst.map.xml index dd2229b93..13cfcbf3a 100644 --- a/xsl/params/man.string.subst.map.xml +++ b/xsl/params/man.string.subst.map.xml @@ -44,14 +44,8 @@ - - - - - - - - + + -- 2.40.0