
foozy@708: \usepackage{atbegshi} % defnes '\AtBeginShipoutFirst'
foozy@708: 
foozy@708: % encoding specified below depends not on one of file content
foozy@708: % but on TeX processing internal one.
foozy@708: \ifnum 42146=\euc"A4A2
foozy@708:   % \AtBeginDvi does not work correctly with current HYPERREF package
foozy@708:   \AtBeginShipoutFirst{\special{pdf:tounicode EUC-UCS2}}
foozy@708: \else
foozy@708:   % \AtBeginDvi does not work correctly with current HYPERREF package
foozy@708:   \AtBeginShipoutFirst{\special{pdf:tounicode 90ms-RKSJ-UCS2}}
foozy@708: \fi




