[Aleph] Lamed and dollars
YJLee
yjlee123 at ms51.hinet.net
Mon Nov 22 16:50:12 CET 2004
1. Add following lines to uni2lat.otp and compile with otp2ocp
---------------------------------modify uni2lat.otp----------------------------
expressions:
"$" => "\$" ;
"_" => "\_" ;
"&" => "&" ;
"#" => "\#" ;
"\" => "\textbackslash" ;
"{" => "\{" ;
"}" => "\}" ;
"%" => "\%" ;
"~" => "\~{}" ;
"^" => "\^{}" ;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%`f'`f'`i'`j' => @"022C; % for Dutch only
`f'`f'`i' => @"0223;
..........
------------------------------------------------------------------------
2. modify latex source to:
--------------------------------------------
\def\rmdefault{omlgc}
\def\ttdefault{uctt}
\ocp\TexUTF=inutf8
\ocp\OCPunitolat=uni2lat
\InputTranslation currentfile \TexUTF
\ocplist\inputtrans=%\addbeforeocplist 1000 \TexUTF
\addbeforeocplist 1000 \OCPunitolat
\nullocplist
\pushocplist\inputtrans
\documentclass[10pt, a4paper]{book}
\usepackage[T1]{fontenc}
\usepackage[greek, ngerman]{babel}
\begin{document}
test 50\$ and 50\textdollar text
test 20\% \~{} \textbackslash \#
\end{document}
---------------------------------------------
and it should work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/aleph/attachments/20041122/f762f5c8/attachment.html
More information about the Aleph
mailing list