This is the file TDS.doc of the CJK macro package ver. 4.2.0 (13-Dec-1998). The TeX Directory Structure (TDS) --------------------------------- A working group of the American TeX Users Group (TUG) has developed the TDS standard (available from the CTAN hosts in tex-archive/tds). That document describes a default directory structure where and how to store the many different files needed for a complete TeX system. The following describes the recommended default directories used in the CJK package for its files; $TEXMF stands for the place where the texmf directory resides (a possibly better place for distributions based on web2c is $TEXMFLOCAL; see texmf.cnf of your TeX package for details): CJK TeX files (you should move the whole `texinput' tree of the CJK package to this place): $TEXMF/tex/latex/CJK/<CJK subdirs>/<CJK TeX files> example: /usr/local/web2c-7.0/texmf/tex/latex/CJK/Bg5/Bg5.cap TrueType fonts: $TEXMF/fonts/truetype/<supplier>/<truetype font> example: /usr/local/teTeX/texmf/fonts/truetype/ntu/ntukai.ttf HBF fonts: $TEXMF/fonts/hbf/<character set>/<hbf name stem>/<hbf files> example: /usr/local/share/texmf/fonts/hbf/jisx0208/kanji48/kanji48.{bin,hbf} [Ideally, instead of <character set>, <supplier> should be used for HBF fonts also, but it is often difficult to find out this information.] ttf2pk configuration, encoding, replacement, and subfont definition files (*.enc, *.rpl, *.sfd): $TEXMF/ttf2pk example: /usr/local/texmf/ttf2pk/ttfonts.map [ttf2tfm uses the same data, thus you should either create a directory link pointing to $TEXMF/ttf2tfm or set the appropriate configuration variables to this directory; for newer web2c based distributions this is $TTF2TFMINPUTS.] hbf2gf configuration files: $TEXMF/hbf2gf/<config files> example: /dos/texmf/hbf2gf/gsfs14.cfg TFM files (<supplier> for TTF resp. <character set> for HBF fonts and <name stem> as specified in special.map): $TEXMF/fonts/tfm/<character set>/<name stem>/<tfm file> $TEXMF/fonts/tfm/<supplier>/<name stem>/<tfm file> examples: /usr/local/teTeX/texmf/fonts/tfm/ntu/ntukai/ntukai23.tfm /usr/local/teTeX/texmf/fonts/tfm/big5/b5ka12/b5ka1201.tfm PK files (<supplier> for TTF resp. <character set> for HBF files and <name stem> as specified in special.map) $TEXMF/fonts/pk/modeless/<character set>/<name stem>/<pk file> $TEXMF/fonts/pk/modeless/<supplier>/<name stem>/<pk file> example: /usr/local/share/texmf/fonts/pk/modeless/big5/b5ka12/b5ka1217.600pk /usr/local/share/texmf/fonts/pk/modeless/uw/uwcxmf/uwcxmf23.3252pk There are further possibilities how to store PK files: 1. instead of <name>.<dpi>pk you can use dpi<dpi>/<name>.pk; example: /texmf/fonts/pk/modeless/big5/b5ka12/dpi600/b5ka1217.pk 2. teTeX additionally allows you to omit either <character set> resp. <supplier> or <name stem> or both (for PK, TFM, and MF files); example: /texmf/fonts/pk/modeless/b5ka12/dpi600/b5ka1217.pk The first option is necessary on operating systems like DOS which only allow 8.3 filenames. The second option enables you to use the `!' feature of the emTeX subdirectory searching algorithm (only one level) instead of `!!' (search all subdirectory levels) together with its template mechanism to make emTeX much faster in finding PK files. Now teTeX and emTeX could share one common texmf tree. ---End of TDS.doc---