Man page - gpinyin(1)
Packages contains this manual
- refer(1)
- indxbib(1)
- gpinyin(1)
- pdfroff(1)
- lookbib(1)
- groff_man_style(7)
- groff_mm(7)
- groff_mdoc(7)
- tfmtodit(1)
- groff_me(7)
- groff_ms(7)
- roff(7)
- pre-grohtml(1)
- eqn2graph(1)
- mmroff(1)
- grap2graph(1)
- grohtml(1)
- grodvi(1)
- groff_man(7)
- addftinfo(1)
- groff_font(5)
- groff_char(7)
- gropdf(1)
- grolbp(1)
- gdiffmk(1)
- gperl(1)
- grn(1)
- groff_diff(7)
- glilypond(1)
- pfbtops(1)
- xtotroff(1)
- post-grohtml(1)
- groff(7)
- pic2graph(1)
- groff_out(5)
- gxditview(1)
- groff_hdtbl(7)
- grolj4(1)
- pdfmom(1)
- lkbib(1)
- groff_trace(7)
- hpftodit(1)
- groff_rfc1345(7)
- groff_www(7)
- groff_tmac(5)
- chem(1)
- afmtodit(1)
- groff_mom(7)
apt-get install groff
Manual
gpinyin
NameSynopsis
Description
Pinyin sections
Syllables
Tones
Authors
See also
Name
gpinyin - use Hanyu Pinyin Chinese in groff documents
Synopsis
|
gpinyin |
[ file ...] |
|||
|
gpinyin |
-h |
|||
|
gpinyin |
--help |
|||
|
gpinyin |
-v |
|||
|
gpinyin |
--version |
Description
gpinyin is a preprocessor for groff (1) that facilitates use of Hanyu Pinyin in groff (7) files. Pinyin is a method for writing the Mandarin Chinese language with the Latin alphabet. Mandarin consists of more than four hundred base syllables, each spoken with one of five different tones. Changing the tone applied to the syllable generally alters the meaning of the word it forms. In Pinyin, a syllable is written in the Latin alphabet and a numeric tone indicator can be appended to each syllable.
Each input-file is a file name or the character โ - โ to indicate that the standard input stream should be read. As usual, the argument โ -- โ can be used in order to force interpretation of all remaining arguments as file names, even if an input-file argument begins with a โ - โ. -h and --help display a usage message, while -v and --version show version information; all exit afterward.
Pinyin sections
Pinyin sections in groff files are enclosed by two .pinyin requests with different arguments. The starting request is
.pinyin start
or
.pinyin begin
and the ending request is
.pinyin stop
or
.pinyin end
.
Syllables
In Pinyin, each syllable is represented by one to six letters drawn from the fifty-two upper- and lowercase letters of the Unicode basic Latin character set, plus the letter โUโ with dieresis (umlaut) in both casesโin other words, the members of the set โ[aโzAโZรผร]โ.
In groff input, all basic Latin letters are written as themselves. The โu with dieresisโ can be written as โ\[:u]โ in lowercase or โ\[:U]โ in uppercase. Within .pinyin sections, gpinyin supports the form โueโ for lowercase and the forms โUeโ and โUEโ for uppercase.
Tones
Each syllable has exactly one of five tones . The fifth tone is not explicitly written at all, but each of the first through fourth tones is indicated with a diacritic above a specific vowel within the syllable.
In a gpinyin source file, these tones are written by adding a numeral in the range 0 to 5 after the syllable. The tone numbers 1 to 4 are transformed into accents above vowels in the output. The tone numbers 0 and 5 are synonymous.
[The tone mark table is omitted from this rendering of the man page because the selected output device โhtmlโ lacks the character repertoire to display it. Try another output device.]
The neutral tone number can be omitted from a word-final syllable, but not otherwise.
Authors
gpinyin was written by Bernd Warken .
See also
Useful documents on the World Wide Web related to Pinyin include
Pinyin
to Unicode
,
On-line Chinese
Tools
,
Pinyin.info:
a guide to the writing of Mandarin Chinese in roman-
ization
,
โWhere
do the tone marks go?โ
,
pinyin.txt
from the CJK macro package for TeX
,
and
pinyin.sty from the CJK macro package for TeX .
groff (1) and grog (1) explain how to view roff documents.
groff (7) and groff_char (7) are comprehensive references covering the language elements of GNU troff and the available glyph repertoire, respectively.