KTUGFaq

KTUG FAQ

α:
йȣ:
Enjoy your life; be pleasant and gay, like the birds in May.
KC2009&value=CygWinġϱ占쏙옙占쏙옙&value=은글꼴PDFLaTeX&value=UbuntuTeXϱ/DapperPDFLaTeX&value=ŬͽŸPDFEncryption › CygWinġϱ/obsolete
CygWinġϱ ϸ鼭 ϱ Ͽ Դϴ(out-of-date).


[]

ttf2pk/ttf2tfm ġ

ttf2pk ƮŸ ۲÷κ PK ȼ Ʈ Ʈ  FreeType ƿƼ̴. ѱ ƮŸ ϱ ؼ ƿƼ ݵ ʿѵ, ġ ʿϴٴ ̴.[1] ttf2pk ġ KTUG ̷.
  1. ChoF Կ ligature ġ (̰ 1.5 ޾Ƶ鿩.)
  2. ChoF Կ Omega ġ <!>
  3. WkPark Կ FreeType 2 ġ

----

 Omega <!> ġ ݵ ̷ ƮŸ ۲ Omega/Lambda ִ. WkPark FreeType 2 ġ ϱ ϰ, ũƮ ̿Ѵ. ̰ KTUGBoard:1067 ִ ̴. FreeType 2 ġ ̷ OTF ٷ ִ.
<!> Ʒ ũƮ ڿ ν ּó κε, CygWin ߻ϴ ϱ Makefile.in Ʒ ִ ̴ּ.

wget -N \
http://aleron.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.9.tar.gz

wget \
#http://chem.skku.ac.kr/~wkpark/project/ktug/ttf2pk-freetype2_20030314.tgz
http://my.ktug.or.kr/~karnes/testtest/ttf2pk-freetype2_20030314_2.tar.gz

wget \
http://ftp.ktug.or.kr/pub/ktug/freetype/contrib/ttf2pk-1.5-20020430.patch

tar xzvf freetype-2.1.9.tar.gz

cd freetype-2.1.9
mkdir contrib
tar xzvf ../ttf2pk-freetype2_20030314_2.tar.gz -C contrib
sh configure --prefix=/usr/local

make
# freetype2 staticϰ ũǰ Ͽϴ. ġ ʿ ϴ.

cd contrib/ttf2pk-freetype2

patch -p1 <../../../ttf2pk-1.5-20020430.patch
# ofmġ Ϸ  ּǥø 

# Ʒ ڽ ȯ濡 ߾ մϴ.
sh configure --with-kpathsea-include=/usr/include/kpathsea \
   --with-kpathsea-lib=/usr/lib

make
cp ttf2tfm.exe ../../..
cp ttf2pk.exe ../../..

ü rules.sh (./rules.sh)ϸ . ణ Ѵ. 丮 ttf2pk.exe ttf2tfm.exe /usr/local/bin ű. ̹ ϵ ִٸ ̸ صд.


[]

local texmf

츮 texmf ʰ teTeX ⺻ ״ ̿Ϸ Ѵ. teTeX ġǸ ⺻ Ǿ ִ.
 $TEXMFMAIN = /usr/share/texmf
 $TEXMFDIST = /usr/share/texmf
 $TEXMFSYSCONFIG = /usr/share/texmf
 $VARTEXFONTS = /var/cache/fonts
 $TEXMFSYSVAR = /var/lib/texmf

 $TEXMFLOCAL = /usr/local/share/texmf
 $TEXMFHOME = $HOME/texmf
 $TEXMFVAR = $HOME/.texmf/var
 $TEXMFCONFIG = $HOME/.texmf/config
 ټ ǵ帱 ʿ Ʒ ڰ Ͽ Ѵ. $HOME/.texmf ʴٸ ش.
$> cd ~
$> mkdir -p .texmf
$> cd .texmf
$> mkdir -p var
$> mkdir -p config
<!> $HOME ̶ Ȩ 丮 Ѵ. cygwin.bat 丮 ǵǾ ִµ, User name karnes Ϲ /home/karnes̴. ηδ C:\cygwin\home\karnes, ϴ CygWin bash shell ö н Ÿ θ Ѵ. 丮 shell 󿡼 ~ε ȴ.
$> cd ~

, ʿ ϵ ϰų . ʿ dvipdfmx.cfg, ttf2pk.cfg, updmap.cfg, texmf.cnf, fmtutil.cnf ̴.) ϸ ȴ.
ġ
/usr/share/texmf/web2c/texmf.cnf $HOME/.texmf/config/web2c/texmf.cnf
/usr/share/texmf/web2c/fmtutil.cnf $HOME/.texmf/config/web2c/fmtutil.cnf
/usr/share/texmf/dvipdfm/config/dvipdfmx.cfg $HOME/.texmf/config/dvipdfm/config/dvipdfmx.cfg
* $HOME/.texmf/config/ttf2pk/config/ttf2pk.cfg
/usr/share/texmf/web2c/updmap.cfg $HOME/.texmf/var/web2c/updmap.cfg

ttf2pk.cfg ġ Ѵ. ttf2pk ҽ data 丮 $HOME/.texmf/config/ttf2pk/ Ѵ.

<!> ttf2pk ϸ ٿε , ٿε޾Ƽ Ǯ(tar zxvf ttf2pk-data.tar.gz) ttf2pk 丮 ִ. 丮 $HOME/.texmf/config/ttf2pk/ Ѵ. Uploads:ttf2pk-data.tar.gz

<!> <!> CygWin Windows TTF ڵ ʴ´.
  1. texmf.cnf /cygdrive/c/windows/fonts truetype Ʈ ġ 丮 صδ ִ. ̵忡 Ѵ.
  2. ~/texmf-local/fonts/truetype/WindowsTTFC:\Windows\Fonts ִ *.ttf ⿡ ɺ ũ ɾδ ִ. 1 ʴ 쿡 Ѵ.
    #> cd ~
    #> mkdir -p ./.texmf/var/fonts/truetype/WindowsTTF
    #> ln -s /cygdrive/c/Windows/Fonts/Batang.ttc ./.texmf/var/fonts/truetype/WindowsTTF/batang.ttc
    #> ln -s /cygdrive/c/Windows/Fonts/Gulim.ttc ./.texmf/var/fonts/truetype/WindowsTTF/gulim.ttc
    #> mktexlsr
    


[]

texmf.cnf


$HOME/.texmf/config/web2c/texmf.cnf Ѵ.

1. ޸

ū Ը ѱ óϷ Ѵٸ memory ݸ ٲ۴. 480 ó ִ.
main_memory = 1500000 % modified
%main_memory = 1000000 % words of inimemory available; also applies to inimf&mp 

2. Ʈ ƮŸ Ž 丮 ߰

Ʈ 丮 ƮŸ Ž ϰ Ѵٸ,(306 ó)
% TrueType outline fonts.
TTFONTS = .;$TEXMF/fonts/truetype//;/cygdrive/c/Windows/Fonts

3. CMAPINPUTS ߰

( ؼ) 390 ó Part 1 κп ߰Ѵ.
% DVIPDFMx
CMAPINPUTS = .;$TEXMF/fonts/cmap//;/cygdrive/c/PROGRA~1/ADOBE/ACROBA~1.0/RESOURCE/CMAP
<!> ⼭ CMAP ã Ѵ. gs7.07 ġǾ ִ ƴ϶ AdobeReader 丮 ⿡ ־ Ѵ. . ݵ 8.3 θ ش.

4.

Ѵ.

[]

texconfig

texconfig Ѵ. Ŀ ͸ ޽ ̸ ͸ ģ. runtexconfig.jpg

⼭ rebuild filename database Ǹ Ѵ. show configuration Ȯ ִ.

texconfig ͼ Ѵ. ݵ texconfig ͼ ϵ Ѵ.
$> fmtutil --all

[]

texmf-KTUG ġ

츮 ѱ ȯ texmf-KTUG Ϸ Ѵ. texmf tree KTUG ǥ ѱ ȯ Ʈ ȯ Ǵ μ ũⰡ ũٴ ѱ ȯ ϰ ִ all-in-one ý̴. Ǿ HLaTeX 1.0.1 DHUcs MemhangulClass ϰ Ƿ ѱ 뿡 ٸ ؾ ʿ䰡 . ۲õ ԵǾ ִ. KTUGCollectionProject texmf-KTUG ޴´.  texmf-KTUG-*.tar.gz KTUG_BIN*.tar.gz ݵ ޾ƾ Ѵ.

[]

KTUG_BIN ġ

$HOME ޾Ҵٰ Ǭ.
$> tar zxvf KTUG_BIN-*.tar.gz
-* ̸ ° ־ Ѵ.(Ű ϼϸ ) Ѵ.
$> cd KTUG_BIN
$> gcc -o hbibtex hbibtex.c
$> gcc -o hmakeindex hmakeindex.c
׸ ϵ /usr/local/bin ű.
$> mv ./* /usr/local/bin/
ʿϴٸ ۹̼ ־ ϴµ Ƹ ׷ ʿ䰡 ̴.

[]

texmf-KTUG ġ

$HOME ޾Ҵٰ Ͽ Ǯش.
$> cd ~  (  丮)
$> tar zxvf texmf-KTUG-*.tar.gz
-* ̸ ˸° ش. Ǯ ܳ 丮 $HOME/texmf ɺ ũ ɾش. texmf-KTUG ٸ ġ ִϴ $HOME/texmf ɺ ũ ɾ Ѵ.
$> ln -s ./texmf-KTUG ./texmf

[]

dvipdfmx.cfg

~/.texmf/config/dvipdfm/config/dvipdfmx.cfg ͷ  138 ּ Ѵ.
D  "gs -q -dNOPAUSE ....

࿡ ߰Ѵ.
f cid-KTUG.map 

[]

ttf2pk.cfg

~/.texmf/config/ttf2pk/ttf2pk.cfg Ѵ.
% this is the map file for ttf2pk
map +ttfonts.map
map +KTUG-ttf2pk.map

[]

updmap.cfg

~/.texmf/var/web2c/updmap.cfg ߰Ѵ.
Map uhc-base.map
Map uhc-extra.map
Map wan-down.map
Map AdobePiStd.map

[]

Fontmap

, 켱 Filename Database Ѵ.
$> mktexlsr

Ǵ
$> texhash

Ѵ.

$> updmap

[]

unicode Ű ġ

teTeX unicode Ű ʴ. ׷Ƿ dhucs Ϸ ̰ ġ־ Ѵ. .texmf/var/tex/latex 丮 . ׷ 丮  ʷ Ѵ.
$> pwd
   (~/.texmf/var/tex/latex ġ ־ )
$> wget http://ftp.ktug.or.kr/tex-archive/macros/latex/contrib/unicode.zip
$> unzip unicode.zip

[]

Refresh FNDB

TeX . Ѵ.
$> mktexlsr

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-02-19 01:38:10
Processing time 0.0630 sec