<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:rgb(255, 255, 255);width:100%;'><tr><td valign='top' style='font: inherit;'>Hello all,<br><br>I have fetched and installed the full Miktex2.7 to my d:\x_miktex27 directory.<br>When I use <span style="font-style: italic;">pdflatex jap1.tex</span> i gives error:<br><br>[Loading MPS to PDF converter (version 2006.09.02).]<br>) (D:\x_miktex27\tex\latex\cjk\standard.bdg)<br>(D:\x_miktex27\tex\latex\cjk\standard.enc)<br>(D:\x_miktex27\tex\latex\cjk\standard.chr)<br>(D:\x_miktex27\tex\latex\cjk\JIS\JISdnp.enc)<br><br>LaTeX Font Warning: Font shape `C42/min/m/n' undefined<br>(Font) using `C42/song/m/n' instead on input line 21.<br><br>(D:\x_miktex27\tex\latex\cjk\JIS\c42song.fd)Running makemf...<br>makemf: The dmjhira source file could not
be found.<br>Running hbf2gf...<br><br>hbf2gf (CJK ver. 4.7.0)<br><br>Couldn't find `dmjhira.cfg'<br>maketfm: No creation rule for font dmjhira12.<br><br>! Font C42/song/m/n/12/hira=dmjhira12 not loadable: Metric (TFM) file not found<br>.<br><to be read again><br> relax<br>l.21 ¥ó<br> ¥¥¥Ž¥Ê¥¬ aiueio\\<br>?<br>.<br>.<br>.<br>jap1.log shows the following:<br><br>LaTeX Font Info: Checking defaults for C41/song/m/n on input line 17.<br>LaTeX Font Info: ... okay on input line 17.<br>LaTeX Font Info: Checking defaults for C62/song/m/n on input line 17.<br>LaTeX Font Info: ... okay on input line 17.<br><br>(D:\x_miktex27\tex\context\base\supp-pdf.tex<br>[Loading MPS to PDF converter (version
2006.09.02).]<br>\scratchcounter=\count88<br>\scratchdimen=\dimen112<br>\scratchbox=\box27<br>\nofMPsegments=\count89<br>\nofMParguments=\count90<br>\everyMPshowfont=\toks15<br>\MPscratchCnt=\count91<br>\MPscratchDim=\dimen113<br>\MPnumerator=\count92<br>\everyMPtoPDFconversion=\toks16<br>) (D:\x_miktex27\tex\latex\cjk\standard.bdg<br>File: standard.bdg 2006/10/17 4.7.0<br>)<br>(D:\x_miktex27\tex\latex\cjk\standard.enc<br>File: standard.enc 2000/12/24 4.7.0<br>)<br>(D:\x_miktex27\tex\latex\cjk\standard.chr<br>File: standard.chr 2006/10/17 4.7.0<br>)<br>(D:\x_miktex27\tex\latex\cjk\JIS\JISdnp.enc<br>File: JISdnp.enc 2006/10/17 4.7.0<br>)<br>LaTeX Font Info: Try loading font information for C42+min on input line 21.<br>LaTeX Font Info: No file C42min.fd. on input line 21.<br><br><br>LaTeX Font Warning: Font shape `C42/min/m/n'
undefined<br>(Font) using `C42/song/m/n' instead on input line 21.<br><br>LaTeX Font Info: Try loading font information for C42+song on input line 21.<br><br>(D:\x_miktex27\tex\latex\cjk\JIS\c42song.fd<br>File: c42song.fd 2006/10/17 4.7.0<br>)<br>! Font C42/song/m/n/12/hira=dmjhira12 not loadable: Metric (TFM) file not found<br>.<br><to be read again> <br> relax <br>l.21 ¤¢<br> ¤¤¤¦¤¨¤ª aiueio\\<br>? <br>Missing character: There is no in font nullfont!<br><br>My Env variables are set:<br>PATH D:\x_miktex27\miktex\bin;D:\x_gs861\gs8.61\bin;D:\x_gs861\gs8.61\lib;D:\x_gsview49\gsview\;d:\Perl\bin;D:\x_netpbm\bin<br><br>Do I need special japanese fonts or jck package? Or run some settings in miktex after
first installation?<br>Kind regards,<br><br>Ardi<br><br><br>PS:1 As far as I remember I was wrinting japanese in Emacs (precompiled with auctex).<br>in miktex 2.4 with the following settings and it was ok:<br>++++++++<br><p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">Miktex2.4 installed to
c:\texmf2_4 and c:\localtexmf.</font></p>
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 10pt;"><li><font face="Arial" size="2">1b. It is good to have latest Perl for Windows
installed into c:\Perl.
<b>ActivePerl-5.8.6.811-MSWin32-x86-122208.zip</b></font>
</li><li><font face="Arial" size="2">2. Also Ghostscript8.50 (<b>gs815w32.exe</b>) and
Ghostview4.7 (<b>gsw47w32.exe</b>) is needed </font><font color="#ffff00" face="Arial" size="2">http://www.cs.wisc.edu/~ghost/</font>
</li><li><font face="Arial" size="2">3. emacs22 supporting graphics is good to have.
<b>emacs-22.0.50.1-20050626-w32.zip</b> </font><font color="#ffff00" face="Arial" size="2">http://nqmacs.sourceforge.net/</font>
</li><li><font face="Arial" size="2">4.<b> MSYS-1.0.10.exe</b> - (installed to c:\msys)
as environment like unix under WindowsXP from </font><font color="#ffff00" face="Arial" size="2">http://www.mingw.org/download.shtml</font>
</li><li><font face="Arial" size="2">5. Auctex package - 11.81 includes
preview-latex.<b>auctex11.81.zip </b></font><font color="#ffff00" face="Arial" size="2">http://www.gnu.org/software/auctex/</font></li></ul>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2"> </font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">On
Windows XP Miktex2.4 (last version from July 2005 iso) is installed under
c:\texmf2_4 and c:\localtexmf.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">Ghostscript 8.50,Ghostview 4.70 installed - path set.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">I have
fetched auctex11.81.zip</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">and
emacs-22.0.50.1-20050626-w32.zip (I have tried the process with emacs-21.3 but
realized that I would have problems with installing dvipng or other extra tool
so I gave up).</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">1.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">and
emacs-22.0.50.1-20050626-w32.zip was unzipped to c:\emacs-22</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">2.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">auctex11.81 was unzipped to c:\temp</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">3.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">under
msys 1.0.11 I did: cd /c/temp/auctex11.81</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">./configure --prefix=/c/emacs22 --with-texmf-dir=/c/texmf2_4</font></p><p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">3a.make</font></p><p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">3b.make install<br></font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">4a.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">If you
open any latex or tex document with japanese text (f.e. jap1.tex) you must have
in the first line: </font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Courier New" size="2"><b>%-*- coding: euc-japan -*-</b></font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">If this
line is missing you have to set euc-japan as codepage in emacs: </font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2"><i>Options--->Mule (multilingual Enviroment)--->Set Coding
Systems---> For Next Command :euc-japan</i> </font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">and then
open file (f.e. jap1.tex)</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">Afterwards if you want to write in japanese you have to set:</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2"><i>Options--->Mule (multilingual Enviroment)--->Set Language
Environment---> Japanese</i></font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">With
Ctrl\ you switch between English and Japanese.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2"> </font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">4b. Do
not forget to add to PATH environment all these tools.(Right click on My
Computer-->Properties--->Advanced--->Environment variables).
F.e.</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">c:\emacs22\bin;c:\Gview4_7\Ghostgum\gsview;c:\GS815\gs\gs8.15\bin\;c:\A_home\localtexmf;;c:\Perl\bin;c:\texmf2_4\miktex\bin</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">HOME
c:\emacs22</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">EMACSHOME
c:\</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2"> </font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2"><b><i>For
proper running of preview-latex</i></b></font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial" size="2">4c._emacs
created manually in c:\ with the following content: (first two lines are
necessary and enough)</font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font color="#ffff00" face="Arial" size="2"> </font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font color="#ffff00" face="Arial" size="2"><b>(load "auctex.el" nil t t)</b></font></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><font color="#ffff00" face="Arial" size="2"><b>(load "preview-latex.el" nil t t)</b></font></p>++++++++<br><br><br><br>jap1.tex<br>=====<br>%-*- coding: euc-japan -*-<br>\documentclass[12pt,a4paper]{article}<br>\setlength{\parindent}{0ex}<br><br>\usepackage{CJK}<br>\usepackage[CJK,overlap]{ruby}<br>\usepackage[draft]{pdfdraftcopy}<br>\draftstring{Ardi's draft}<br>\draftfontsize{100}<br>%\draftfontfamily{hlh}<br>\draftangle{45}<br>\definecolor{mycolor}{rgb}{.825,.855,1}<br>\draftcolor{mycolor}<br>\draftfontattrib{\upshape}<br>\renewcommand{\rubysep}{-0.2ex}<br><br>\begin{document}<br><br>\begin{CJK*}[dnp]{JIS}{min}<br><br>¤¢¤¤¤¦¤¨¤ª aiueio\\<br>¤«¤¤¯¤±¤³ kakikukeko\\<br>¤µ¤·¤¹¤»¤½ sasisuseso sashisuseso\\<br>¤¿¤Á¤Ä¤Æ¤È tatituteto tachitsuteto\\<br>¤Ê¤Ë¤Ì¤Í¤Î naninuneno naninuneno\\<br>¤Ï¤Ò¤Õ¤Ø¤Û hahihuheho hahifuheho\\<br>¤Þ¤ß¤à¤á¤â
mamimumemo mamimumemo\\<br>¤ä¤æ¤è yayuyo yayuyo\\<br>¤é¤ê¤ë¤ì¤í rarirurero rarirurero\\<br>¤ï¤ª wao wao\\<br>¤¬¤®¤°¤²¤´ gagigugego gagigugego\\<br>¤¶¤¸¤º¤¼¤¾ zazizuzezo zajizuzezo\\<br>¤À¤¸¤º¤Ç¤É dazizudedo dajizudedo\\<br>¤Ð¤Ó¤Ö¤Ù¤Ü babibubebo babibubebo\\<br>¤Ñ¤Ô¤×¤Ú¤Ú¤ª papipupepo papipupepo\\<br>¤¤ã¤¤å¤¤ç kyakyukyo kyakyukyo\\<br>¤®¤ã¤®¤å¤®¤ç gyagyugyo gyagyugyo\\<br>¤·¤ã¤·¤å¤·¤ç syasyusyo shashusho\\<br>¤¸¤ã¤Ã¤¸¤å¤¸¤ç zyazyuzyo jajujo\\<br>¤Á¤ã¤Á¤å¤Á¤ç tyatyutyo tsatsutso\\<br>¤Ë¤ã¤Ë¤å¤Ë¤ç nyanyunyo nynyunyo\\<br>¤Ò¤ã¤Ò¤å¤Ò¤ç hyahyuhyo hyahyuhyo\\<br>¤Ó¤ã¤Ó¤å¤Ó¤ç byabyubyo byabyubyo\\<br>¤Ô¤ã¤Ô¤å¤Ô¤ç pyapyupyo pyapyupyo\\<br>¤ß¤ã¤ß¤å¤ß¤ç myamyumyo myamyumyo\\<br>¤ê¤ã¤ê¤å¤ê¤ç ryaryuryo
ryaryuryo\\<br><br>\ruby{¤ª¤È¤È}{ototo}\\<br>\\\\<br><br>\end{CJK*}<br><br>\end{document}<br><br>=====<br><br></td></tr></table><br>