[OzTeX] Re: Math symbols in OzTtH
Neil Gunther
njgunther at perfdynamics.com
Wed Feb 22 00:02:57 CET 2006
Here's the fix.
<http://www.perfdynamics.com/Papers/viewmath.html> is rendered correctly
in any browser as long as it adheres to the w3c spec. Safari does. The
key to correct rendering in Safari and any standard browser is to emit
the HTML using *unicode* instead of symbol fonts i.e., apply the -u
switch in the TtH options:
tth_options = "-e2 -L -u"
OzTtH users should note this if they want math symbols rendered as
originally intended by TtH. I didn't find words to this effect on
Hutchinson's web site (but might have missed them).
--njg
Andrew Trevorrow wrote:
>>When you have some time, could you TtH the files in the attached folder and send me a PDF of what is displayed in your browser?
>>
>>
>
>The math is displayed correctly in Explorer 5.2 (msie.pdf) but
>not in Safari (safari.pdf), regardless of which Text Encoding
>I use (Explorer uses Western Mac). I've no idea why that is so
>so you'll need to ask a HTML guru.
>
>
>
>>Not only do I not get the GIF displayed (just an HREF), the math chars don't display correctly in Safari. I'd be interested to know if you get the same result or not. No rush.
>>
>>BTW: I have the following in my Local file. Is that equivalent to your 1-liner below?
>>
>>% put OzTtH-only keywords after the next line %
>>current_app = OzTtH
>>html_browser = sfri
>>-L = true
>>-e 2
>>
>>
>
>Are you running OzTtH on OS 9 or X? On X you need to set all the TtH
>options in the tth_options parameter, like so:
>
>tth_options = "-e2 -L"
>
>The -L, -e lines are only used on OS 8/9 and are simply ignored on X.
>Here's my OzTtH output upon running your .tex file:
>
>Calling Unix command: tth -e2 -L viewmath.tex
>Current directory: /Volumes/HD/ViewMath
>
>Including LaTeX commands
>Translating viewmath.tex to viewmath.html
>Initial HTML output assumed to be the title.
>Not a [e]ps file: math.gif, no conversion
> Number of lines processed approximately 43
>
>Time elapsed: 0.2 seconds.
>
>Andrew
>
>
--
___________________________________________________________________________
PERFORMANCE DYNAMICS COMPANY(sm) http://www.perfdynamics.com/
___________________________________________________________________________
Consulting Services Educational Services
4061 East Castro Valley Blvd. P.O. Box 1238, Magalia
Suite 110, Castro Valley California 95954, USA
California 94552, USA Bookings and registrations
FON: +1-510-537-5758 FON: +1-530-873-0575
FAX: Dial FON (Handshakes automagically) FAX: +1-530-873-6697
NET: info at perfdynamics.com <mailto:info at perfdynamics.com>
NET: classes at perfdynamics.com <mailto:classes at perfdynamics.com>
___________________________________________________________________________
More information about the oztex
mailing list