Re: Chinese caracter
Eric Germaneau wrote: Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). If you only need a few Chinese characters, rather than an entire document's worth, you can use conventional LyX (rather than LyX-CJK and a CJK version of LaTeX). Here's what I've done to insert a single Japanese kanji into a conventional LyX document: 1. Install the LaTeX cjk and cjk-fonts packages, if you don't have them already. (I use MiTeX on Windows, so I can't give you any advice for doing this for Slackware.) 2. In the preamble, include the CJK package with \usepackage{cjk}. See the cjk package's documentation (installed with the package) for information on options; I'm not setting any in my documents, but you may want some. 3. Where you need a Chinese, Japanese, or Korean character, insert ERT with the appropriate CJK macro. Here again you'll have to consult the cjk package documentation to find out how to enter Chinese in the encoding of your choice. The CJK package allows you to enter characters directly in various encodings, or as their hex equivalent, which is useful if you want to keep the document pure ASCII (eg so you can edit it in other editors). For my single Japanese kanji, I took the latter route: \begin{CJK}{JIS}{song} \CJKchar{3B}{52} \end{CJK}. That inserts the character corresponding to JIS codepoint 3B52 at that point in the document. It's a real character in an appropriate font, so it scales with the rest of the text and so forth. This works well for DVI and PDF, in my tests. I'd like to thank several people on the list who offered advice when I asked how to do this a while back, by the way, particularly Helge Hafting, who pointed me down this path. -- Michael Wojcik
Re: Chinese caracter
Eric Germaneau wrote: Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). If you only need a few Chinese characters, rather than an entire document's worth, you can use conventional LyX (rather than LyX-CJK and a CJK version of LaTeX). Here's what I've done to insert a single Japanese kanji into a conventional LyX document: 1. Install the LaTeX cjk and cjk-fonts packages, if you don't have them already. (I use MiTeX on Windows, so I can't give you any advice for doing this for Slackware.) 2. In the preamble, include the CJK package with \usepackage{cjk}. See the cjk package's documentation (installed with the package) for information on options; I'm not setting any in my documents, but you may want some. 3. Where you need a Chinese, Japanese, or Korean character, insert ERT with the appropriate CJK macro. Here again you'll have to consult the cjk package documentation to find out how to enter Chinese in the encoding of your choice. The CJK package allows you to enter characters directly in various encodings, or as their hex equivalent, which is useful if you want to keep the document pure ASCII (eg so you can edit it in other editors). For my single Japanese kanji, I took the latter route: \begin{CJK}{JIS}{song} \CJKchar{3B}{52} \end{CJK}. That inserts the character corresponding to JIS codepoint 3B52 at that point in the document. It's a real character in an appropriate font, so it scales with the rest of the text and so forth. This works well for DVI and PDF, in my tests. I'd like to thank several people on the list who offered advice when I asked how to do this a while back, by the way, particularly Helge Hafting, who pointed me down this path. -- Michael Wojcik
Re: Chinese caracter
Eric Germaneau wrote: Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). If you only need a few Chinese characters, rather than an entire document's worth, you can use conventional LyX (rather than LyX-CJK and a CJK version of LaTeX). Here's what I've done to insert a single Japanese kanji into a conventional LyX document: 1. Install the LaTeX "cjk" and "cjk-fonts" packages, if you don't have them already. (I use MiTeX on Windows, so I can't give you any advice for doing this for Slackware.) 2. In the preamble, include the CJK package with \usepackage{cjk}. See the cjk package's documentation (installed with the package) for information on options; I'm not setting any in my documents, but you may want some. 3. Where you need a Chinese, Japanese, or Korean character, insert ERT with the appropriate CJK macro. Here again you'll have to consult the cjk package documentation to find out how to enter Chinese in the encoding of your choice. The CJK package allows you to enter characters directly in various encodings, or as their hex equivalent, which is useful if you want to keep the document pure ASCII (eg so you can edit it in other editors). For my single Japanese kanji, I took the latter route: \begin{CJK}{JIS}{song} \CJKchar{"3B}{"52} \end{CJK}. That inserts the character corresponding to JIS codepoint 3B52 at that point in the document. It's a real character in an appropriate font, so it scales with the rest of the text and so forth. This works well for DVI and PDF, in my tests. I'd like to thank several people on the list who offered advice when I asked how to do this a while back, by the way, particularly Helge Hafting, who pointed me down this path. -- Michael Wojcik
Chinese caracter
Hi! Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). I'm using the Slackware 10.2 distribution. Thanks in advance. Regards, Eric. -- Eric Germaneau * " Reason" in things existed before things themselves existed and all the changes in things were governed by it. Zhu Xi. Eric Germaneau Assistant Doctorant Ecole polytechnique fédérale de Lausanne (EPFL) FSB - IPMC Laboratoire de Cristallographie(LCr) BSP 518 CH-1015 Lausanne Switzerland [EMAIL PROTECTED] Tel.: +41 (0)21 / 693 06 36 Fax.: +41 (0)21 / 693 05 04
Re: Chinese caracter
Hi, You must use CJK-LyX: http://cellular.phys.pusan.ac.kr/cjk.html and also, chinese-capable latex. There is cwTeX for Traditional Chinese, but I don't know about Simplified Chinese. Cheers, 2006年 2月 7日 火曜日 17:44、Eric Germaneau さ んは書きました: Hi! Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). I'm using the Slackware 10.2 distribution. Thanks in advance. Regards, Eric. -- Koji Yokota ([EMAIL PROTECTED]) Otaru University of Commerce
Chinese caracter
Hi! Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). I'm using the Slackware 10.2 distribution. Thanks in advance. Regards, Eric. -- Eric Germaneau * " Reason" in things existed before things themselves existed and all the changes in things were governed by it. Zhu Xi. Eric Germaneau Assistant Doctorant Ecole polytechnique fédérale de Lausanne (EPFL) FSB - IPMC Laboratoire de Cristallographie(LCr) BSP 518 CH-1015 Lausanne Switzerland [EMAIL PROTECTED] Tel.: +41 (0)21 / 693 06 36 Fax.: +41 (0)21 / 693 05 04
Re: Chinese caracter
Hi, You must use CJK-LyX: http://cellular.phys.pusan.ac.kr/cjk.html and also, chinese-capable latex. There is cwTeX for Traditional Chinese, but I don't know about Simplified Chinese. Cheers, 2006年 2月 7日 火曜日 17:44、Eric Germaneau さ んは書きました: Hi! Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). I'm using the Slackware 10.2 distribution. Thanks in advance. Regards, Eric. -- Koji Yokota ([EMAIL PROTECTED]) Otaru University of Commerce
Chinese caracter
Hi! Does someone know how to use Chinese caracter in a lyx document (so in Latex as well ). I'm using the Slackware 10.2 distribution. Thanks in advance. Regards, Eric. -- Eric Germaneau * " Reason" in things existed before things themselves existed and all the changes in things were governed by it. Zhu Xi. Eric Germaneau Assistant Doctorant Ecole polytechnique fédérale de Lausanne (EPFL) FSB - IPMC Laboratoire de Cristallographie(LCr) BSP 518 CH-1015 Lausanne Switzerland [EMAIL PROTECTED] Tel.: +41 (0)21 / 693 06 36 Fax.: +41 (0)21 / 693 05 04
Re: Chinese caracter
Hi, You must use CJK-LyX: http://cellular.phys.pusan.ac.kr/cjk.html and also, chinese-capable latex. There is cwTeX for Traditional Chinese, but I don't know about Simplified Chinese. Cheers, 2006年 2月 7日 火曜日 17:44、Eric Germaneau さ んは書きました: > Hi! > > Does someone know how to use > Chinese caracter in a lyx document > (so in Latex as well ). > I'm using the Slackware 10.2 > distribution. Thanks in advance. > Regards, > > Eric. -- Koji Yokota ([EMAIL PROTECTED]) Otaru University of Commerce