~ubuntu-branches/debian/wheezy/texlive-extra/wheezy

« back to all changes in this revision

Viewing changes to texmf-dist/tex/latex/china2e/china2e.sty

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2008-11-24 14:20:36 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20081124142036-b19n8209gdut919x
Tags: 2007.dfsg.10-1
* blacklist cellular, it does not have any license info and the author
  is not contactable anymore (Closes: #505283)
  (RC, urgency thus medium)
* blacklist cmastro, no license info, author unknown (no bug report, but RC)
  This closes also the "pk files in doc hierarchy" bug (Closes: #443884)
* blacklist china2e, nosell license (no bug report, but RC)
* reinstantiate calligra after license issues have been cleared
  up and add an entry to the Licenses file (via Licenses.add)
* formats-extra suggests plain-extra for miniltx.tex (Closes: #504494)
* add license statements for eqlist, varindex, toolbox, ushort, guitar,
  ziffer (Closes: #466697)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%% This file is part of the CHINASYM package,
2
 
%% a PACKAGE for writing CHINESE CALENDAR SYMBOLS
3
 
%% with LaTeX version 2e.
4
 
%%
5
 
%% -- Copyright 1997 by Udo Heyl, Eisenach. All rights reserved. --
6
 
%%
7
 
%% Copying of this file is authorized only if either
8
 
%% (1) you make absolutely no changes to your copy, including name, or
9
 
%% (2) if you do make changes, you name it something other than
10
 
%%          CHINASYM.ADD,     CHINASYM.ALF,     CHINASYM.ELE,
11
 
%%          CHINASYM.NUM,     CHINASYM.SBL,     CHINASYM.STA,
12
 
%%          CHINA10.MF   or   CHINA2E.STY !!!
13
 
%% This restriction helps ensure that all styles developed for
14
 
%% DANTE e.V. (the users group of german speaking TeX users)
15
 
%% remain identical.
16
 
%%
17
 
%% You are NOT ALLOWED to distribute this file alone. You are NOT
18
 
%% ALLOWED to take money for the distribution or use of either this
19
 
%% file or a changed version, except for some nominal charge for
20
 
%% copying etc.
21
 
%%
22
 
%% Error Reports in case of UNCHANGED versions to
23
 
%%
24
 
%% Udo Heyl
25
 
%% Stregdaer Allee 7
26
 
%% 99817 Eisenach
27
 
%% Federal Republic of Germany
28
 
%%
29
 
%% or
30
 
%% DANTE, Deutschsprachige Anwendervereinigung TeX e.V.
31
 
%% Postfach 10 18 40
32
 
%% 69008 Heidelberg
33
 
%% Federal Republic of Germany
34
 
%% Email: german@dante.de
35
 
%%
36
 
 
37
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
38
 
%% This is LaTeX2e file `china2e.sty' %%%
39
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40
 
 
41
 
\ProvidesPackage{china2e}
42
 
  [1997/06/01 v1.0 chinese font definitions by Udo Heyl, Eisenach]
43
 
\DeclareFontFamily{OT1}{chin}{}
44
 
\DeclareFontShape{OT1}{chin}{m}{n}{<-> china10}{}
45
 
\def\chin{\usefont{OT1}{chin}{m}{n}}
46
 
\def\uchr{\chin\char}
47
 
\def\textchi#1{{\chin #1}}
48
 
\def\BLOCK{\chin}
49
 
\newcount\chinarg
50
 
\newcount\upperlimit
51
 
\newcount\prtarg
52
 
\def\Beginerr{\typeout{}\typeout{!!! See CHINADOC.TEX for explanation !!!}}
53
 
\def\Terrerr{Terrestrial Elements   ... Argument xxx = <1 ... 12>}
54
 
\def\Astrerr{Astral Elements        ... Argument xxx = <1 ... 10>}
55
 
\def\Staterr{Moon Stations          ... Argument xxx = <1 ... 28>}
56
 
\def\Moonerr{Moon Phases            ... Argument xxx = <1 ... 4>}
57
 
\def\errmess{Illegal Function argument xxx too small or too large}
58
 
\def\chiprt#1#2#3#4
59
 
{\chinarg=#1\prtarg=#2\upperlimit=#3
60
 
   \ifnum \chinarg<1
61
 
      {\Beginerr\typeout{#4}\errmessage{Warning: \errmess}}
62
 
   \else \ifnum\chinarg>\upperlimit
63
 
      {\Beginerr\typeout{#4}\errmessage{Warning: \errmess}}
64
 
   \else
65
 
      {\advance\chinarg by \prtarg {\uchr\chinarg}}
66
 
   \fi\fi
67
 
}
68
 
\def\chincorr{{\hskip-.33em}}
69
 
\def\TerrEle#1{\chiprt{#1}{-1}{12}{\Terrerr} \chincorr}
70
 
\def\terrele#1{\chiprt{#1}{127}{12}{\Terrerr} \chincorr}
71
 
\def\AstrEle#1{\chiprt{#1}{11}{10}{\Astrerr} \chincorr}
72
 
\def\astrele#1{\chiprt{#1}{139}{10}{\Astrerr} \chincorr}
73
 
\def\MoonSta#1{\chiprt{#1}{94}{28}{\Staterr} \chincorr}
74
 
\def\moonsta#1{\chiprt{#1}{222}{28}{\Staterr} \chincorr}
75
 
\def\MoonPha#1{\chiprt{#1}{122}{4}{\Moonerr} \chincorr}
76
 
 
77
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
78
 
%%  Chinese mathematical and chronological Symbols (Year, Day etc.pp) %%%
79
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
80
 
\def\CyclYears{{\uchr161\uchr12\uchr0}}
81
 
\def\Year{{\uchr162}}
82
 
\def\Day{{\uchr163}}
83
 
\def\New{{\uchr167}}
84
 
\def\Book{{\uchr168}}
85
 
\def\MoonStations{{\uchr169}}
86
 
\def\WaxingZodiac{{\uchr170}}
87
 
\def\WaningZodiac{{\uchr171}}
88
 
\def\ZodiacSign{{\uchr170\uchr171}}
89
 
\def\Calendar{{\uchr172}}
90
 
\def\Solar{{\uchr173}}
91
 
\def\Lunar{{\uchr174}}
92
 
\def\Festival{{\uchr175}}
93
 
\def\Beginning{{\uchr176}}
94
 
\def\Morning{{\uchr177}}
95
 
\def\NewGregYear{\Beginning\Morning}
96
 
\def\NewChinYear{\New\Year}
97
 
\def\TerrElements{{\uchr178\uchr179}}
98
 
\def\AstrElements{{\uchr180\uchr181}}
99
 
\def\Wood{{\uchr182}}
100
 
\def\Fire{{\uchr183}}
101
 
\def\Earth{{\uchr184}}
102
 
\def\Metal{{\uchr185}}
103
 
\def\Water{{\uchr186}}
104
 
\def\Leap{{\uchr192}}
105
 
 
106
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
107
 
%% The chinese Numbers from 0 to 9999 %%
108
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
109
 
\def\Thousand{{\uchr164}}\def\Hundred{{\uchr165}}
110
 
\def\One{{\uchr22}}\def\Two{{\uchr24}}\def\Three{{\uchr25}}
111
 
\def\Four{{\uchr26}}\def\Five{{\uchr27}}\def\Six{{\uchr28}}
112
 
\def\Seven{{\uchr29}}\def\Eight{{\uchr30}}\def\Nine{{\uchr31}}
113
 
\def\Ten{{\uchr32}}\def\Nul{{\uchr166}}\def\Eleven{{\Ten\One}}
114
 
\def\Twenty{{\Two\Ten}}         \def\Twelve{{\Ten\Two}}
115
 
\def\Thirty{{\Three\Ten}}       \def\Thirteen{{\Ten\Three}}
116
 
\def\Forty{{\Four\Ten}}         \def\Fourteen{{\Ten\Four}}
117
 
\def\Fifty{{\Five\Ten}}         \def\Fifteen{{\Ten\Five}}
118
 
\def\Sixty{{\Six\Ten}}          \def\Sixteen{{\Ten\Six}}
119
 
\def\Seventy{{\Seven\Ten}}      \def\Seventeen{{\Ten\Seven}}
120
 
\def\Eighty{{\Eight\Ten}}       \def\Eighteen{{\Ten\Eight}}
121
 
\def\Ninety{{\Nine\Ten}}        \def\Nineteen{{\Ten\Nine}}
122
 
 
123
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
124
 
%%  The Chinese Months from 1 to 12  %%
125
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
126
 
\def\Month{{\uchr94}}
127
 
\def\FirstMonth{{\uchr23\uchr94}}
128
 
%%% The other months with e.g. '\Six\Month \Seven\Month' etc.pp.
129
 
 
130
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
131
 
%%  Symbolic Characters A..Z  %%
132
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
133
 
\def\symA{{\uchr193}}\def\symB{{\uchr194}}\def\symC{{\uchr195}}
134
 
\def\symD{{\uchr196}}\def\symE{{\uchr197}}\def\symF{{\uchr198}}
135
 
\def\symG{{\uchr199}}\def\symH{{\uchr200}}\def\symI{{\uchr201}}
136
 
\def\symJ{{\uchr202}}\def\symK{{\uchr203}}\def\symL{{\uchr204}}
137
 
\def\symM{{\uchr205}}\def\symN{{\uchr206}}\def\symO{{\uchr207}}
138
 
\def\symP{{\uchr208}}\def\symQ{{\uchr209}}\def\symR{{\uchr210}}
139
 
\def\symS{{\uchr211}}\def\symT{{\uchr212}}\def\symU{{\uchr213}}
140
 
\def\symV{{\uchr214}}\def\symW{{\uchr215}}\def\symX{{\uchr216}}
141
 
\def\symY{{\uchr217}}\def\symZ{{\uchr218}}
142
 
\def\symAE{{\uchr219}}\def\symOE{{\uchr220}}\def\symUE{{\uchr221}}
143
 
 
144
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
145
 
%%  The UMLAUT Characters  %%
146
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
147
 
\def\AE{{\uchr251}}\def\OE{{\uchr252}}\def\UE{{\uchr253}}
148
 
 
149
 
%%%%%%%%%%%%%%%%%%%%%%%%%%
150
 
%%  Additional Symbols  %%
151
 
%%%%%%%%%%%%%%%%%%%%%%%%%%
152
 
\def\Postbox{{\uchr35}}
153
 
\def\Telephone{{\uchr64}}
154
 
\def\Greenpoint{{\uchr127}}
155
 
\def\Info{{\uchr60}}
156
 
\def\Request{{\uchr62}}
157
 
\def\Pound{{\uchr254}}
158
 
\def\Euro{{\uchr255}}
159
 
\def\vdots{{\reset@font\rm\vbox{\hbox{:}\vskip-2ex\hbox{.}}}}
160
 
 
161
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
162
 
%%  NumberArea symbols for use only in Math-Mode: %%%
163
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
164
 
\DeclareSymbolFont{numbers}{OT1}{chin}{m}{n}
165
 
\DeclareMathSymbol{\Real}{\mathord}{numbers}{210}
166
 
\DeclareMathSymbol{\Natural}{\mathord}{numbers}{206}
167
 
\DeclareMathSymbol{\Integer}{\mathord}{numbers}{218}
168
 
\DeclareMathSymbol{\Rational}{\mathord}{numbers}{209}
169
 
\DeclareMathSymbol{\Complex}{\mathord}{numbers}{195}
170
 
\DeclareMathSymbol{\REAL}{\mathord}{numbers}{190}
171
 
\DeclareMathSymbol{\NATURAL}{\mathord}{numbers}{188}
172
 
\DeclareMathSymbol{\INTEGER}{\mathord}{numbers}{191}
173
 
\DeclareMathSymbol{\RATIONAL}{\mathord}{numbers}{189}
174
 
\DeclareMathSymbol{\COMPLEX}{\mathord}{numbers}{187}
175
 
 
176
 
%%  Font-Logo
177
 
\def\Chinasym{{\reset@font\rm C\kern-.4em\lower.25ex\hbox{\sc h}%
178
 
   \kern-.1em\raise.2ex\hbox{i}\kern-.1em\raise.6ex\hbox{\sc n}%
179
 
   \kern-.35em\hbox{A}2e}}
180
 
 
181
 
\endinput
182
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
183
 
%%  End of file `china2e.sty'.  %%
184
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%