From: imiyazaki Date: Thu, 27 Nov 2003 13:43:18 +0000 (+0000) Subject: change the location of external OTP's. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b5dcb28e4eeca6ef3d33ce817a18d78a5bea0a;p=chise%2Fomega.git change the location of external OTP's. add redundant font definition of UT1 omlgc to avoid bug of OMEGA. --- diff --git a/chise.sty b/chise.sty index 3efac53..2c94bbe 100644 --- a/chise.sty +++ b/chise.sty @@ -10,111 +10,111 @@ %% if inCHISE is not located in the default directory. \DeclareOption{utf8mcs}{ - \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8mcsToUniGB {} + \externalocp\OCPuniGB=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniGB {} \ocplist\uniGB= \addbeforeocplist 1 \OCPuniGB \nullocplist - \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8mcsToUniCNS {} + \externalocp\OCPuniCNS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniCNS {} \ocplist\uniCNS= \addbeforeocplist 1 \OCPuniCNS \nullocplist - \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8mcsToUniJIS {} + \externalocp\OCPuniJIS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniJIS {} \ocplist\uniJIS= \addbeforeocplist 1 \OCPuniJIS \nullocplist - \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8mcsToUniKS {} + \externalocp\OCPuniKS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniKS {} \ocplist\uniKS= \addbeforeocplist 1 \OCPuniKS \nullocplist - \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {} + \externalocp\OCPuniMulti=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniMulti {} \ocplist\uniMulti= \addbeforeocplist 1 \OCPuniMulti \nullocplist } \DeclareOption{utf8gb}{ - \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8gbToUniGB {} + \externalocp\OCPuniGB=/usr/local/share/texmf/omega/ocp/local/chise/Utf8gbToUniGB {} \ocplist\uniGB= \addbeforeocplist 1 \OCPuniGB \nullocplist - \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8gbToUniCNS {} + \externalocp\OCPuniCNS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8gbToUniCNS {} \ocplist\uniCNS= \addbeforeocplist 1 \OCPuniCNS \nullocplist - \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8gbToUniJIS {} + \externalocp\OCPuniJIS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8gbToUniJIS {} \ocplist\uniJIS= \addbeforeocplist 1 \OCPuniJIS \nullocplist - \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8gbToUniKS {} + \externalocp\OCPuniKS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8gbToUniKS {} \ocplist\uniKS= \addbeforeocplist 1 \OCPuniKS \nullocplist - \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {} + \externalocp\OCPuniMulti=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniMulti {} \ocplist\uniMulti= \addbeforeocplist 1 \OCPuniMulti \nullocplist } \DeclareOption{utf8cns}{ - \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8cnsToUniGB {} + \externalocp\OCPuniGB=/usr/local/share/texmf/omega/ocp/local/chise/Utf8cnsToUniGB {} \ocplist\uniGB= \addbeforeocplist 1 \OCPuniGB \nullocplist - \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8cnsToUniCNS {} + \externalocp\OCPuniCNS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8cnsToUniCNS {} \ocplist\uniCNS= \addbeforeocplist 1 \OCPuniCNS \nullocplist - \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8cnsToUniJIS {} + \externalocp\OCPuniJIS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8cnsToUniJIS {} \ocplist\uniJIS= \addbeforeocplist 1 \OCPuniJIS \nullocplist - \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8cnsToUniKS {} + \externalocp\OCPuniKS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8cnsToUniKS {} \ocplist\uniKS= \addbeforeocplist 1 \OCPuniKS \nullocplist - \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {} + \externalocp\OCPuniMulti=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniMulti {} \ocplist\uniMulti= \addbeforeocplist 1 \OCPuniMulti \nullocplist } \DeclareOption{utf8jis}{ - \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8jisToUniGB {} + \externalocp\OCPuniGB=/usr/local/share/texmf/omega/ocp/local/chise/Utf8jisToUniGB {} \ocplist\uniGB= \addbeforeocplist 1 \OCPuniGB \nullocplist - \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8jisToUniCNS {} + \externalocp\OCPuniCNS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8jisToUniCNS {} \ocplist\uniCNS= \addbeforeocplist 1 \OCPuniCNS \nullocplist - \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8jisToUniJIS {} + \externalocp\OCPuniJIS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8jisToUniJIS {} \ocplist\uniJIS= \addbeforeocplist 1 \OCPuniJIS \nullocplist - \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8jisToUniKS {} + \externalocp\OCPuniKS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8jisToUniKS {} \ocplist\uniKS= \addbeforeocplist 1 \OCPuniKS \nullocplist - \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {} + \externalocp\OCPuniMulti=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniMulti {} \ocplist\uniMulti= \addbeforeocplist 1 \OCPuniMulti \nullocplist } \DeclareOption{utf8ks}{ - \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8ksToUniGB {} + \externalocp\OCPuniGB=/usr/local/share/texmf/omega/ocp/local/chise/Utf8ksToUniGB {} \ocplist\uniGB= \addbeforeocplist 1 \OCPuniGB \nullocplist - \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8ksToUniCNS {} + \externalocp\OCPuniCNS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8ksToUniCNS {} \ocplist\uniCNS= \addbeforeocplist 1 \OCPuniCNS \nullocplist - \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8ksToUniJIS {} + \externalocp\OCPuniJIS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8ksToUniJIS {} \ocplist\uniJIS= \addbeforeocplist 1 \OCPuniJIS \nullocplist - \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8ksToUniKS {} + \externalocp\OCPuniKS=/usr/local/share/texmf/omega/ocp/local/chise/Utf8ksToUniKS {} \ocplist\uniKS= \addbeforeocplist 1 \OCPuniKS \nullocplist - \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {} + \externalocp\OCPuniMulti=/usr/local/share/texmf/omega/ocp/local/chise/Utf8mcsToUniMulti {} \ocplist\uniMulti= \addbeforeocplist 1 \OCPuniMulti \nullocplist @@ -148,7 +148,7 @@ \DeclareOption{kage}{ % to use KAGE server - \externalocp\OCPmkfont=/usr/local/lib/chise/omega/makefonts.pl {} + \externalocp\OCPmkfont=/usr/local/share/texmf/omega/ocp/local/chise/makefonts.pl {} \ocplist\mkfontOCP= \addbeforeocplist 1 \OCPmkfont \nullocplist @@ -578,5 +578,46 @@ % line break definition ends. +%%%% redundant font definition to avoid bug of omega. + +\DeclareFontFamily{UT1}{omlgc}{} + +\DeclareFontShape{UT1}{omlgc}{m}{n}{ + <->omlgc +}{} +\DeclareFontShape{UT1}{omlgc}{m}{sc}{ + <-> ssub * omlgc/m/n +}{} +\DeclareFontShape{UT1}{omlgc}{m}{it}{ + <->omlgci +}{} +\DeclareFontShape{UT1}{omlgc}{m}{sl}{ + <-> ssub * omlgc/m/it +}{} +\DeclareFontShape{UT1}{omlgc}{m}{itsc}{ + <-> ssub * omlgc/m/it +}{} +\DeclareFontShape{UT1}{omlgc}{m}{slsc}{ + <-> ssub * omlgc/m/it +}{} +\DeclareFontShape{UT1}{omlgc}{bx}{n}{ + <->omlgcb +}{} +\DeclareFontShape{UT1}{omlgc}{bx}{sc}{ + <-> ssub * omlgc/bx/n +}{} +\DeclareFontShape{UT1}{omlgc}{bx}{it}{ + <->omlgcbi +}{} +\DeclareFontShape{UT1}{omlgc}{bx}{itsc}{ + <-> ssub * omlgc/bx/it +}{} +\DeclareFontShape{UT1}{omlgc}{bx}{sl}{ + <-> ssub * omlgc/bx/it +}{} +\DeclareFontShape{UT1}{omlgc}{bx}{slsc}{ + <-> ssub * omlgc/bx/it +}{} + \ProcessOptions \endinput