Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: Red Hat 5.0 tetex and jlatex?



>>>>> "Marcus" == Marcus Metzler <mocm@example.com> writes:

    Marcus> Craig Oda writes:

    >> I want to set up red hat so that I can use latex2html on my
    >> linux-nihongo doc.  The thought occurred to me that I might be
    >> able to include Japanese in the document itself this time as
    >> text instead of graphics.  I was wondering if I can install
    >> tetex and Japanese latex on the same system

I'm also using pTeX and teTeX on the same system (like Rob), although
I'm using Debian.  Should be ok.  I never got jtex (based on NTT
rather than ASCII K.K. source, I think) to work at all---core dumps---
so I can't say if that would work if available.  Watch out for your
program names so that the Japanese and teTeX versions don't shadow
each other.  dvips and dvipsj are not fully compatible with each
other, and I needed both.  To use dvipsj effectively, you either need
a Japanese Postscript printer or the hacked Japanese ghostscript
(probably called gs-vflib or something like that).  You probably need
both the vflib version _and_ a normal gs because the vflib version
will screw any attempt to use teTeX virtual fonts (at least I couldn't
find a way to make it work).  I think the same is probably true of
xdvi.

    Marcus> You just have to copy the CJK style files into a directory
    Marcus> (e.g CJK/) in the texmf/tex/latex subdirectory of your
    Marcus> teTeX directory.  Additionally you need to add the your
    Marcus> japanese fonts to the fonts/ directory of teTeX.

You probably need the CJK distributed fonts; as I recall (I looked at
but did not install CJK a couple years ago) the font access
conventions differ from both NTT jTeX and ASCII jTeX (neither of which 
complies fully with the usual TeX conventions, I think CJK does).
Which is why I didn't install, I was space constrained at the time.

Don't forget to RTFM.  CJK is _not_ jTeX.  It's not hard, but a little 
mendoukusai (unless AUC-TeX supports it now?)---note the
`\begin{CJK}...' environment (why does it say "JIS" when it's not and
can't be?)

    Marcus> After that you should be able to use latex for japanese
    Marcus> documents.  I have not tried, if latex2html works with
    Marcus> japanese documents.  (I also haven't tried to send e-mail
    Marcus> with japanese characters, so the following example might
    Marcus> not come over as expected)

I don't know how to make that come out "as expected."  It was in
EUC-JP, I assume (I think that's what CJK expects), and my mailer
refused to display it (with no MIME headers it assumed ISO-8859-1).
[OK, I saved it and read it with Mule and it came out OK; I still
don't know how to get it to display in a standard way on arbitrary
"smart" mailers.]

latex2html may or may not work but I'm pretty sure it will produce
"bad HTML" in the sense that it won't have appropriate MIME headers to
indicate the character set.  So Craig may have problems with browsers'
autodetection going wrong.
---------------------------------------------------------------
Next TLUG Nomikai: 14 January 1998 19:15  Tokyo station
Yaesu Chuo ticket gate.  Or go directly to Tengu TokyoEkiMae 19:30
Chuo-ku, Kyobashi 1-1-6, EchiZenYa Bld. B1/B2 03-3275-3691
Next Saturday Meeting: 14 February 1998 12:30 Tokyo Station
Yaesu Chuo ticket gate.
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links