git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fixed man entities.
@ 2009-05-05 21:51 Alexey I. Froloff
  2009-05-06  0:11 ` Chris Johnsen
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey I. Froloff @ 2009-05-05 21:51 UTC (permalink / raw)
  To: git; +Cc: Dmitry V. Levin, Alexey I. Froloff

It has to be just "\fR", "\fB", ".sp" and ".br", not weird unicode
stuff.

Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
---
 Documentation/manpage-1.72.xsl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/manpage-1.72.xsl b/Documentation/manpage-1.72.xsl
index 4065a3a..2f4b6cb 100644
--- a/Documentation/manpage-1.72.xsl
+++ b/Documentation/manpage-1.72.xsl
@@ -5,17 +5,17 @@
 <xsl:param name="refentry.meta.get.quietly" select="1"/>
 
 <xsl:template match="co">
-	<xsl:value-of select="concat('&#x2593;fB(',substring-after(@id,'-'),')&#x2593;fR')"/>
+	<xsl:value-of select="concat('\\fB(',substring-after(@id,'-'),')\\fR')"/>
 </xsl:template>
 <xsl:template match="calloutlist">
-	<xsl:text>&#x2302;sp&#10;</xsl:text>
+	<xsl:text>.sp&#10;</xsl:text>
 	<xsl:apply-templates/>
 	<xsl:text>&#10;</xsl:text>
 </xsl:template>
 <xsl:template match="callout">
-	<xsl:value-of select="concat('&#x2593;fB',substring-after(@arearefs,'-'),'. &#x2593;fR')"/>
+	<xsl:value-of select="concat('\\fB',substring-after(@arearefs,'-'),'. \\fR')"/>
 	<xsl:apply-templates/>
-	<xsl:text>&#x2302;br&#10;</xsl:text>
+	<xsl:text>.br&#10;</xsl:text>
 </xsl:template>
 
 </xsl:stylesheet>
-- 
1.6.2.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fixed man entities.
  2009-05-05 21:51 [PATCH] Fixed man entities Alexey I. Froloff
@ 2009-05-06  0:11 ` Chris Johnsen
  2009-05-06  0:37   ` Alexey I. Froloff
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Johnsen @ 2009-05-06  0:11 UTC (permalink / raw)
  To: Alexey I. Froloff; +Cc: git, Dmitry V. Levin

On 2009 May 5, at 16:51, Alexey I. Froloff wrote:
> It has to be just "\fR", "\fB", ".sp" and ".br", not weird unicode
> stuff.

Which versions of asciidoc and docbook-xsl are you using?

As the filename and comments imply, those weird Unicode characters  
were specifically for docbook-xsl 1.72.0. They were used in a  
"misguided" character replacement scheme (this behavior was reverted  
after 1.72.0). See the 'manpage' sections of the docbook-xsl release  
notes for some info on this:

<http://docbook.sourceforge.net/release/xsl/current/RELEASE- 
NOTES.html#V1.72.0_Manpages>
<http://docbook.sourceforge.net/release/xsl/current/RELEASE- 
NOTES.html#V1.73.0_Manpages>

If you are not using docbook-xsl 1.72.0, you should not be using  
manpage-1.72.xsl.

There have been some changes to the documentation generation options  
since 1.6.2. If you are able, get the most recent 1.6.3 release  
candidate, read the asciidoc and docbook-xsl comments in the  
Makefile, define your make settings accordingly, and try again  
(asciidoc 8.4.1 is broken for at least one of the pages, 8.4.2 and  
later seem OK).

-- 
Chris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fixed man entities.
  2009-05-06  0:11 ` Chris Johnsen
@ 2009-05-06  0:37   ` Alexey I. Froloff
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey I. Froloff @ 2009-05-06  0:37 UTC (permalink / raw)
  To: Chris Johnsen; +Cc: git, Dmitry V. Levin

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

* Chris Johnsen <chris_johnsen@> [090506 04:14]:
> > It has to be just "\fR", "\fB", ".sp" and ".br", not weird unicode
> > stuff.
> Which versions of asciidoc and docbook-xsl are you using?
asciidoc-8.4.4, docbook-style-xsl-1.73.2.

> If you are not using docbook-xsl 1.72.0, you should not be using  
> manpage-1.72.xsl.
Yep.  Despite of using docbook-xsl 1.73.2 git was built with
DOCBOOK_XSL_172=1.  Without this option manual pages looks
correct.

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-06  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-05 21:51 [PATCH] Fixed man entities Alexey I. Froloff
2009-05-06  0:11 ` Chris Johnsen
2009-05-06  0:37   ` Alexey I. Froloff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).