On Fri, 22 Feb 2002, Niklaus Giger wrote:
>
> Thank you very much for this prompt bug fix. It kind of
> works for me.
>
> The resulting SGML file contains the correct hangul
> characters.
O.K.
>
> The resulting HTML file contains correctly the hangul
> character, but will not display them unless I tell mozilla
> to use the korean encoding.
This is expected, isn't it?
>
> In the generated PostScript file, there a some weird
> (european) characters but no hangul.
At the moment, CJK-LyX cannot (dvi- or postscript-)view the docbook class
lyx file which contains multibyte characters (from the "View" menu). For
the workaround, however, see below.
> ghostscript seems to complain like
this: > >Executing command: gv -swap 'linuxdoc_test.ps'
> >Could not get fontset.
>
>>,-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0,-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0
> >Cannot load fontset ISO8859-1
> > Using 'fixed'.
>
>
> Docbook class can be exported to sgml, but trying to
> generate html or postscript results in the following error:
>
> /usr/bin/jade:[EMAIL PROTECTED]:2:3:E: character "\" not
> allowed in declaration subset
> This is TeX, Version 3.14159 (Web2C 7.3.7)
> (Fatal format file error; I'm stymied)
> Traceback (most recent call last):
> File "/usr/bin/sgmltools", line 93, in ?
> tool.processFile(curfile)
> File
> "/usr/share/sgml/misc/sgmltools/python/SGMLtools.py", line
> 285, in processFile
> be.postJade(jadeoutfile, jadestdoutfile)
> File
> "/usr/share/sgml/misc/sgmltools/python/backends/Dvi.py",
> line 61, in postJade
> raise IOError, 'JadeTeX run failed'
> IOError: JadeTeX run failed
>
> --
> Niklaus Giger
> Wieshoschet 6
> CH-8753 Mollis
> [EMAIL PROTECTED] Tel. G: +41 55 618 64 68, P: +41 55 612 20 54
>
Here is a workaround you might need for your Korean wife:
1. export SP_ENCODING=euc-kr.
2. Put the attached hcharacters.sty at the directory where jadetex style
files are locate(e.g. in RedHat7.2, /usr/share/texmf/tex/jadetex).
3. Transform .sgml -> .tex with "jade".
4. Add the line, "\usepackage{hfont,hcharacters}", at the top of the
produced tex file of "3", as in the following,
\usepackage{hfont,hcharacters}
\FOT{2}\Seq%
{\def\HeadingLevel%
......
Here, hfont.sty is the style file in the hlatex package, which I assume is
already installed in your system. Let the name of the produced tex file
"test.tex".
5. jadetex test.tex ---> test.dvi. Now you can view Korean characters in
test.dvi, or you can get postscript file from this dvi file with
dvips.
For more informations, refer to
http://kldp.org/KoreanDoc/html/Using_Docbook-KLDP
Hope this tip helps.
---cghan