0ee278a6f4
This package installs full Japanese support for CJK-LaTeX, including TrueType fonts. Supplied in NetBSD PR#13375 from Rui-Xiang Guo.
26 lines
476 B
Text
26 lines
476 B
Text
#!/bin/sh
|
|
#
|
|
|
|
STAGE=$2
|
|
|
|
TEXMFMAIN=@TEXMFMAIN@
|
|
SPECIALMAP=${TEXMFMAIN}/fontname/special.map
|
|
|
|
case ${STAGE} in
|
|
PRE-INSTALL)
|
|
;;
|
|
POST-INSTALL)
|
|
echo "Edit ${SPECIALMAP}"
|
|
echo "@c Japanese TrueType fonts by Kochi:" >> ${SPECIALMAP}
|
|
echo "gothic kochi gothic" >> ${SPECIALMAP}
|
|
echo "mincho kochi mincho" >> ${SPECIALMAP}
|
|
|
|
echo "Update ls-R"
|
|
mktexlsr
|
|
;;
|
|
*)
|
|
echo "Unexpected argument: ${STAGE}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
exit 0
|