KTUGFaq
KTUG FAQ
KC2009&value=CygWinġϱ › 占쏙옙占쏙옙&value=은글꼴 › PDFLaTeX&value=UbuntuTeXϱ/Dapper › PDFLaTeX&value=ŬͽŸ › PDFEncryption › CygWinġϱ/obsolete
CygWinġϱ ϸ鼭 ϱ Ͽ Դϴ(out-of-date).
ttf2pk/ttf2tfm ġ ¶
Omega ġ ݵ ̷ ƮŸ ۲ Omega/Lambda ִ.
WkPark FreeType 2 ġ ϱ ϰ, ũƮ ̿Ѵ.
̰ 1067 ִ ̴. FreeType 2 ġ ̷ OTF ٷ ִ.
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 ̴.) ϸ ȴ.
ttf2pk.cfg ġ Ѵ. ttf2pk ҽ data 丮 $HOME/.texmf/config/ttf2pk/ Ѵ.
ġ | |
/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/ Ѵ.
ttf2pk-data.tar.gz
CygWin Windows TTF ڵ ʴ´.
- texmf.cnf /cygdrive/c/windows/fonts truetype Ʈ ġ 丮 صδ ִ. ̵忡 Ѵ.
- ~/texmf-local/fonts/truetype/WindowsTTF 丮 C:\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/CMAP4.
Ѵ.
texconfig ¶
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
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