~ubuntu-branches/ubuntu/karmic/cjk/karmic

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Bazaar Package Importer
  • Author(s): Danai SAE-HAN (韓達耐)
  • Date: 2007-06-28 15:50:43 UTC
  • Revision ID: james.westby@ubuntu.com-20070628155043-yiezstkqw74t2dy0
Tags: 4.7.0+git20070504-5
* The "I have had too many exams lately" release.
* [watch] Removed, because we use GIT to track upstream changes.
* [control] Put "texlive-*extra*-utils" and libkpathsea-dev in B-D,
   not "texlive-font-utils" (Closes: #421981), honestly.  Thanks to
   Norbert Preining, Bastian Blank and Lior Kaplan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
in /usr/share/texmf/fonts/sfd/ if you have the freetype1-tools package
104
104
installed on Debian.
105
105
 
 
106
First thing to do: you have to remove all the old PK fonts.
 
107
$ rm -rf ~/.texmf-var/fonts/pk
 
108
 
106
109
Put cyberbit.ttf in /usr/local/share/fonts/truetype/bitstream/ and
107
110
make a soft link to your working directory, let's say
108
111
/usr/src/cyberbit-fonts/.  You might eventually also link
119
122
 
120
123
This will take a very long time, so make yourself a nice day.
121
124
 
122
 
  $ for filename in *.pfb;
123
 
    do echo "$(basename $filename .pfb) $(basename $filename .pfb) <$filename" >> cyberbit.map;
 
125
  $ for i in *.pfb
 
126
    do
 
127
     echo "$(basename $i .pfb) $(basename $i .pfb) <$i" \
 
128
     >> cyberbit.map
124
129
    done
125
130
 
126
131
  $ mkdir -p /usr/local/share/texmf/fonts/map/dvips/cyberbit/ /usr/local/share/texmf/fonts/{afm,type1,tfm}/cyberbit
129
134
the three lines in your terminal.
130
135
 
131
136
Put cyberbit.map in /usr/local/share/texmf/fonts/map/dvips/cyberbit/
132
 
and put *.afm, *.pfb and *.tfm to
 
137
and put *.afm, *.tfm and *.pfb to
133
138
/usr/local/share/texmf/fonts/{afm,tfm,type1}/cyberbit respectively.
134
139
 
135
 
Run "texhash" or "mktexlsr".
 
140
Run "texhash" or "mktexlsr" as root.
136
141
Now add a file called /etc/texmf/updmap.d/10cyberbit.cfg with the
137
142
following four lines:
138
143
 
141
146
Map cyberbit.map
142
147
######
143
148
 
144
 
and then run "cd ..", "update-updmap" and "updmap-sys".
145
 
You need to go to another directory, or updmap-sys will use cyberbit.map
146
 
from the building directory; that's why you have to change directory
147
 
first.
 
149
and then run "cd ..", "update-updmap -c /etc/texmf/updmap.d/" and
 
150
"updmap-sys".  You need to go to another directory, or updmap-sys
 
151
will use cyberbit.map from the building directory; that's why you
 
152
have to change directory first.
148
153
 
149
154
If c70song.fd already exists on your computer, make sure it's deleted
150
155
first.  Now make a file /usr/local/share/texmf/tex/latex/CJK/UTF8/c70song.fd
174
179
\endinput
175
180
%%%%%%
176
181
 
177
 
and run "texhash" again.
 
182
and run "texhash" as root again.
178
183
 
179
 
 -- Danai SAE-HAN (韓達耐) <danai.sae-han@edpnet.be>, Sun, 10 Dec 2006 19:52:35 +0100
 
184
 -- Danai SAE-HAN (韓達耐) <danai.sae-han@edpnet.be>, Sat, 16 Jun 2007 00:32:34 +0200
180
185
 
181
186
 
182
187
HBF fonts