I want to install the cm-super fonts on my MikTeX 2.7 according to the
fillowing instructions:
http://www.ctan.org/tex-archive/fonts/ps-type1/cm-super/INSTALL
In the above install instructions, I find the following lines;
------------------------
4.2)
b) edit the file .../texmf/pdftex/config/pdftex.cfg and add the
following lines:
map +cm-super-t1.map
map +cm-super-ts1.map
map +cm-super-t2a.map
map +cm-super-t2b.map
map +cm-super-t2c.map
map +cm-super-x2.map
------------------------
I have the following issues on this instruction:
1- I want to know the meaning of sign + the in above lines. Can I
leave them out?
2- I understand I should use the following command to edit the
pdftex.cfg file and complete the above operation:
initexmf --edit-config-file pdftex
But, I also know that I can use the following command to edit the
updmap.cfg file on MiKTeX:
initexmf --edit-config-file updmap
In this case, whether can I compete the same aims by adding the
following lines into the updmap.cfg file like this or not:
map +cm-super-t1.map
map +cm-super-ts1.map
map +cm-super-t2a.map
map +cm-super-t2b.map
map +cm-super-t2c.map
map +cm-super-x2.map
3- Are there some differences between the formats used by the
pdftex.cfg and updmap.cfg? More specifically, I've add some map
entries into my updmap.cfg file like the following ones and they
actually works fine:
--------------------
Map t1-gbkfs.map
Map t1-gbkhei.map
Map t1-gbkkai.map
Map t1-gbkli.map
--------------------
So, I want to know, for the case of cm-super, whether can I use the
following lines in the updmap.cfg to do the trick:
----------------
Map cm-super-t1.map
Map cm-super-ts1.map
Map cm-super-t2a.map
Map cm-super-t2b.map
Map cm-super-t2c.map
Map cm-super-x2.map
----------------
Regards,
Yours sincerely
Hongyi Zhao <hongy...@gmail.com>
-- Posted on news://freenews.netfront.net - Complaints to ne...@netfront.net --
ask the package manager to do it, that is a lot easier.
/daleif
> Hi all,
>
> I want to install the cm-super fonts on my MikTeX 2.7 according to the
> fillowing instructions:
>
> http://www.ctan.org/tex-archive/fonts/ps-type1/cm-super/INSTALL
Use the package manager.
>
> In the above install instructions, I find the following lines;
>
> ------------------------
> 4.2)
>
> b) edit the file .../texmf/pdftex/config/pdftex.cfg and add the
> following lines:
This instruction is out-of-date. Don't do it in miktex. Map files should
be added through updmap.cfg. (initexmf --edit-config-file updmap ->
documentation of miktex.)
> I have the following issues on this instruction:
>
> 1- I want to know the meaning of sign + the in above lines.
Read the documentation of pdftex (mthelp pdftex-a) about \pdfmapfile.
--
Ulrike Fischer
If I use the packgage manager form the internet repository, the
downloading time will be so long considering that the cm-super is so
huge. If I download the cm-super firstly then use it as a local
repository, I must make it agreement with the specifications of the
MiKTeX repository. In order to the latter, I must also download other
packges.
Both of the above two methods are cumbersome, are there any more
efficient approach to complete this job?
Regards,
Then, in the same section of the above install clues, the author also
give the following lines:
------------------------
c) edit the file .../texmf/dvipdfm/config/config and add the
following lines:
f cm-super-t1.map
f cm-super-ts1.map
f cm-super-t2a.map
f cm-super-t2b.map
f cm-super-t2c.map
f cm-super-x2.map
------------------------
Is this step also out-of-date hence needless to do or not?
Regards,
>> Use the package manager.
>
> If I use the packgage manager form the internet repository, the
> downloading time will be so long considering that the cm-super is so
> huge. If I download the cm-super firstly then use it as a local
> repository, I must make it agreement with the specifications of the
> MiKTeX repository. In order to the latter, I must also download other
> packges.
You need only the cm-super package and the two files
miktex-zzdb1-2.7.tar.lzma and miktex-zzdb2-2.7.tar.lzma to make a local
repository.
>
> Both of the above two methods are cumbersome, are there any more
> efficient approach to complete this job?
No. cm-super is huge and it can take some time to let the package
manager install it. But this is certainly less cumbersome than the
manual installation.
--
Ulrike Fischer
> Then, in the same section of the above install clues, the author also
> give the following lines:
>
> ------------------------
> c) edit the file .../texmf/dvipdfm/config/config and add the
> following lines:
>
> f cm-super-t1.map
> f cm-super-ts1.map
> f cm-super-t2a.map
> f cm-super-t2b.map
> f cm-super-t2c.map
> f cm-super-x2.map
> ------------------------
>
> Is this step also out-of-date hence needless to do or not?
It is also out-of-date. Today you need only updmap to fill all the
different map-files for pdftex, dvips, dvipdfm(x).
--
Ulrike Fischer
Very good, thanks a lot.
The two issues on this method:
1- What's directory tree structure should be used to store the cm-
super package, the miktex-zzdb1-2.7.tar.lzma and miktex-
zzdb2-2.7.tar.lzma ?
2- How can I know that the two and only the two files, i.e., the
miktex-zzdb1-2.7.tar.lzma and miktex-zzdb2-2.7.tar.lzma are the ones
needed by the cm-super packge?
Regards,
> On 12月20日, 下午10时21分, Ulrike Fischer <ne...@nililand.de> wrote:
>> You need only the cm-super package and the two files
>> miktex-zzdb1-2.7.tar.lzma and miktex-zzdb2-2.7.tar.lzma to make a local
>> repository.
>
> The two issues on this method:
>
> 1- What's directory tree structure should be used to store the cm-
> super package, the miktex-zzdb1-2.7.tar.lzma and miktex-
> zzdb2-2.7.tar.lzma ?
Put them in a folder of your choice. This is the local repository. Then
let the package manager do the real installation from this folder.
(cm-super package in this context means the package made for miktex:
<CTAN>/tex-archive/systems/win32/miktex/tm/packages/cm-super.tar.lzma
>
> 2- How can I know that the two and only the two files, i.e., the
> miktex-zzdb1-2.7.tar.lzma and miktex-zzdb2-2.7.tar.lzma are the ones
> needed by the cm-super packge?
A repository always needs the two zzdb-files (they contain general
informations needed by the package manager). What else you put in this
repository is your choice. You can mirror the whole content of
<CTAN>/tex-archive/systems/win32/miktex/tm/packages if you want.
--
Ulrike Fischer
Thanks a lot, I've sorted it out.
Warm regards,
I have another issue:
In the INSTALL instructions, the author said that:
---------------
6) [optional, for advanced users]
If you wish to not download CM-Super fonts into your PS or PDF
files (to make them smaller), you may want to change the dvips
*.map files by removing "<" characters before *.pfb file names,
i.e. change lines like
ecrm1000 SFRM1000 "T1Encoding ReEncodeFont" <cm-super-t1.enc
<sfrm1000.pfb
to:
ecrm1000 SFRM1000 "T1Encoding ReEncodeFont" <cm-super-t1.enc
sfrm1000.pfb
[this should be done after step 3)]
If you have Perl, you can do this by running the command:
perl -p -i.orig -e 's/<([a-z0-9]+\.pfb)$/$1/' cm-super-*.map
---------------
Is this also out-of-data hence needless to do or not?
> I have another issue:
>
> In the INSTALL instructions, the author said that:
>
> ---------------
> 6) [optional, for advanced users]
> If you wish to not download CM-Super fonts into your PS or PDF
> files (to make them smaller), you may want to change the dvips
> *.map files by removing "<" characters before *.pfb file names,
...
> Is this also out-of-data hence needless to do or not?
Don't do it (unless you really badly needs to make the pdf smaller). If
the fonts are not in the pdf, the pdf viewer will have to use a
replacement. And as the cm-super font are not really common this can
lead to a quite different look of the pdf.
--
Ulrike Fischer
>Am Sun, 21 Dec 2008 11:45:58 +0800 schrieb Hongyi Zhao:
I've got it, thanks a lot.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.