Newsgroups: sci.lang.japan,fj.comp.texhax
Path: galaxy.trc.rwcp.or.jp!jaist-news!cs.titech!nirvana.cs.titech!wnoc-tyo-news!sh.wide!fgw!fdm!flab!au01!ysatoh
From: ysatoh@flab.fujitsu.co.jp (Yasuyuki SATO)
Subject: Re: Wanted: Furigana Capable Software
In-Reply-To: echarne@liege.ics.uci.edu's message of 19 Mar 1994 16:11:52 JST
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <YSATOH.94Mar23133718@compro.dream.flab.fujitsu.co.jp>
Sender: news@au01.flab.fujitsu.co.jp
Nntp-Posting-Host: ura-compro.dream.flab.fujitsu.co.jp
Organization: Fujitsu Laboratories Ltd., Kawasaki, Japan.
References: <CMuqBt.549@icews5.ipc.kanazawa-u.ac.jp>
 <2me8jo$14f@liege.ics.uci.edu>
Mime-Version: 1.0
Date: Wed, 23 Mar 1994 04:37:18 GMT
Lines: 46
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:4708
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=4708&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.


In article <2me8jo$14f@liege.ics.uci.edu> echarne@liege.ics.uci.edu (Eli B. Charne) writes:
 > In <CMuqBt.549@icews5.ipc.kanazawa-u.ac.jp> jamiller@kitune.ec.t.kanazawa-u.ac.jp (James Miller) writes:
 > 
 > >I am looking for software for Mac, PC-98, Unix or Amiga that will
 > >allow for Furigana to done.  Preferably something in the PD would
 > >be prefered. :)
 > 
 >   On a related note, is it possible to do furigana with jtex?

yes, it's *possible*.  see below.

%----------------------------------------------------------------
\documentstyle[]{j-article}

\def\furigana#1#2{%
  \leavevmode
  \setbox0=\hbox{#1}\setbox1=\hbox{\tiny#2}%
  \ifdim\wd0>\wd1 \dimen0=\wd0 \else \dimen0=\wd1 \fi
  \hbox{%\kanjiskip=\fill
    \vbox{\hbox to \dimen0{\tiny \hfil#2\hfil}%
      \nointerlineskip
      \hbox to \dimen0{\hfil#1\hfil}}}}
  
\begin{document}

\furigana{$BD>(B}{$B$A$g$/(B}\furigana{$B@\(B}{$B$;$D(B}\furigana{$B@G(B}{$B$<$$(B}$B!"(B
\furigana{$B4V@\@G(B}{$B$+$s$;$D$<$$(B}$B!"(B
\furigana{$BAjB3@G(B}{$B$=$&$>$/$<$$(B}$B!"(B
\furigana{$B4X@G(B}{$B$+$s$<$$(B}$B!"(B
\furigana{$BLa(B}{$B$b$I$7(B}\furigana{$B@G(B}{$B$<$$(B}$B!"(B
\furigana{$B>C(B}{$B$7$g$&(B}\furigana{$BHq(B}{$B$R(B}\furigana{$B@G(B}{$B$<$$(B}$B!"(B
\furigana{$B=E(B}{$B$8$e$&(B}\furigana{$B@G(B}{$B$<$$(B}$B!"(B
\furigana{$B9s@G(B}{$B$3$/$<$$(B}$B!"(B
\furigana{$B2W(B}{$B$+(B}\furigana{$B@G(B}{$B$<$$(B}$B!"(B
$B$A$c$s$H(B\furigana{$BJ'(B}{$B$O$i(B}$B$($h!#(B

\end{document}
%----------------------------------------------------------------

 >   I'm using JTeX Version 1.43 on a Sun Sparc.

the latest ntt-jtex is ver 1.52.  do archie to find an ftp site.

--
  Yasuyuki SATO    <ysatoh@flab.fujitsu.co.jp>
