[Aleph] Lamed and dollars, and Quotation marks come back
YJLee
yjlee123 at ms51.hinet.net
Tue Nov 23 14:48:50 CET 2004
\$ go to OTP in pasered form. it meas before OTP accept input, \$ already be pasered by Latex and become @"0024 ($) . But the designed output of OTP must something that can be handled by Latex . This the reason I use such tricks.
I think it is a bug in OTP. Such kind of trouble occur when input characters of OTP is 7-bit ASCII but not belonging to OT1 fonts.
A better solution is to replace these missing font by \char as following,
-----------------------------------------------------------------------------------------
@"0000
=> "\char00 " <= ;
@"0001
=> "\char01 " <= ;
@"0002
=> "\char02 " <= ;
@"0003
=> "\char03 " <= ;
@"0004
=> "\char04 " <= ;
@"0005
=> "\char05 " <= ;
@"0006
=> "\char06 " <= ;
@"0007
=> "\char07 " <= ;
@"0008
=> "\char08 " <= ;
@"0009
=> "\char09 " <= ;
@"000a
=> "\char10 " <= ;
@"000b
=> "\char11 " <= ;
@"000c
=> "\char12 " <= ;
@"000d
=> "\char13 " <= ;
@"000e
=> "\char14 " <= ;
@"000f
=> "\char15 " <= ;
@"0010
=> "\char16 " <= ;
@"0011
=> "\char17 " <= ;
@"0012
=> "\char18 " <= ;
@"0013
=> "\char19 " <= ;
@"0014
=> "\char20 " <= ;
@"0015
=> "\char21 " <= ;
@"0016
=> "\char22 " <= ;
@"0017
=> "\char23 " <= ;
@"0018
=> "\char24 " <= ;
@"0019
=> "\char25 " <= ;
@"001a
=> "\char26 " <= ;
@"001b
=> "\char27 " <= ;
@"001c
=> "\char28 " <= ;
@"001d
=> "\char29 " <= ;
@"001e
=> "\char30 " <= ;
@"001f
=> "\char31 " <= ;
@"0022
=> "\char34 " <= ;
@"0023
=> "\char35 " <= ;
@"0024
=> "\char36 " <= ;
@"0025
=> "\char37 " <= ;
@"0026
=> "\char38 " <= ;
@"003c
=> "\char60 " <= ;
@"003e
=> "\char62 " <= ;
@"005c
=> "\char92 " <= ;
@"005e
=> "\char94 " <= ;
@"005f
=> "\char95 " <= ;
@"007b
=> "\char123 " <= ;
@"007c
=> "\char124 " <= ;
@"007d
=> "\char125 " <= ;
@"007e
=> "\char126 " <= ;
@"007f
=> "\char127 " <= ;
-----------------------------------------------------------------------------------------
You need additional blank space after each \char command, it means use "\char 127_" instead of "\char 127". This is another bug in omega, another story....
With these changes in uni2lat.otp, the Quotation marks come back again with $ ....
------------------------------------
\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 \#
\textquotedblleft{}Preface\textquotedblright{}
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/aleph/attachments/20041123/cdf1a367/attachment.html
More information about the Aleph
mailing list