[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #55215] [PATCH] gpinyin.1.man: Unknown characters and failed adjust
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #55215] [PATCH] gpinyin.1.man: Unknown characters and failed adjustment |
Date: |
Wed, 12 Dec 2018 17:30:06 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<https://savannah.gnu.org/bugs/?55215>
Summary: [PATCH] gpinyin.1.man: Unknown characters and failed
adjustment
Project: GNU troff
Submitted by: bjarniig
Submitted on: Wed 12 Dec 2018 10:30:00 PM UTC
Category: None
Severity: 3 - Normal
Item Group: Documentation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
>From 8dc892514c7665b05ddc048ea21a593deba405cd Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Wed, 12 Dec 2018 22:20:37 +0000
Subject: [PATCH] gpinyin.1.man: Unknown characters and failed adjustment
Warnings:
1) From "man -l gpinyin.1
troff: <standard input>:213: warning: can't find special character
'u0061_0304'
troff: <standard input>:215: warning: can't find special character
'u0061_030C'
2) From: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z gpinyin.1
.../groff/build/../tmac/an-ext.tmac:129: backtrace: macro 'UE'
troff: <gpinyin.1>:304: warning [p 2, 6.7i]: cannot adjust line
.../groff/build/../tmac/an-ext.tmac:129: backtrace: macro 'UE'
troff: <gpinyin.1>:314: warning [p 2, 7.3i]: cannot adjust line
#
1) Define missing characters.
2) Adjustment of a string to both margins "always" fails.
Use (generally) only a left adjustment for the text in question.
Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
contrib/gpinyin/gpinyin.1.man | 33 +++++++++++++++++++++++++++++----
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/contrib/gpinyin/gpinyin.1.man b/contrib/gpinyin/gpinyin.1.man
index db634fdd..e3f9e3bc 100644
--- a/contrib/gpinyin/gpinyin.1.man
+++ b/contrib/gpinyin/gpinyin.1.man
@@ -206,14 +206,37 @@ Some output devices will not be able to render every
output example.
.
.P
.if t .ne 8 \" Try to keep the table on one page for printed output.
+.
+.ie n \{\
+. char \[amacron] a\[a-]
+. char \[aacute] \['a]
+. char \[acaron] a\[ah]
+. char \[agrave] \[`a]
+.\}
+.el \{\
+. ie c \[u0061_0304] \{\
+. char \[amacron] \[u0061_0304]
+. \}
+. el .char \[amacron] \za\[a-]
+.
+. char \[aacute] \[u0061_0301]
+.
+. ie c \[u0061_030C] \{\
+. char \[acaron] \[u0061_030C]
+. \}
+. el .char \[acaron] \za\[ah]
+.
+. char \[agrave] \[u0061_0300]
+.\}
+.
.TS
l l l l l.
Tone Description Diacritic Example Input Example Output
_
-first flat \[a-] ma1 m\[u0061_0304]
-second rising \[aa] ma2 m\[u0061_0301]
-third falling-rising \[ah] ma3 m\[u0061_030C]
-fourth falling \[ga] ma4 m\[u0061_0300]
+first flat \[a-] ma1 m\[amacron]
+second rising \[aa] ma2 m\[aacute]
+third falling-rising \[ah] ma3 m\[acaron]
+fourth falling \[ga] ma4 m\[agrave]
fifth neutral (none) ma0 ma
\^ \^ \^ ma5 \^
.TE
@@ -298,6 +321,7 @@ romanization
.UE ,
.
.br
+.ad l
.UR http://\:git.savannah.gnu.org/\:gitweb/\:\
?p=cjk.git;a=blob_plain;f=doc/\:pinyin.txt;hb=HEAD
pinyin.txt from the CJK macro package for \*[TeX]
@@ -313,6 +337,7 @@ and
pinyin.sty from the CJK macro package for \*[TeX]
.UE .
.
+.ad
.RE
.
.P
--
2.19.2
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55215>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #55215] [PATCH] gpinyin.1.man: Unknown characters and failed adjustment,
Bjarni Ingi Gislason <=