From 36e07437ab454febc12c3e399af6197cbc27f767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 11 Jan 2009 09:10:40 +0000 Subject: [PATCH] * Check for the japanese babel option (bug 5677), patch by Koji Yokota. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28088 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/chkconfig.ltx | 1 + lib/doc/LaTeXConfig.lyx | 49 +++++++++++++++++++++++++++++++++++--- lib/doc/ja/LaTeXConfig.lyx | 46 ++++++++++++++++++++++++++++------- 3 files changed, 85 insertions(+), 11 deletions(-) diff --git a/lib/chkconfig.ltx b/lib/chkconfig.ltx index a2b594df67..6554cf6748 100644 --- a/lib/chkconfig.ltx +++ b/lib/chkconfig.ltx @@ -248,6 +248,7 @@ \TestPackage{geometry} \TestPackage{graphicx} \TestPackage{hyperref} +\TestPackage[japanese.ldf]{japanese} \TestPackage{jurabib} \TestPackage{latex8} \TestPackage{listings} diff --git a/lib/doc/LaTeXConfig.lyx b/lib/doc/LaTeXConfig.lyx index c075964a18..b490b79734 100644 --- a/lib/doc/LaTeXConfig.lyx +++ b/lib/doc/LaTeXConfig.lyx @@ -1,4 +1,4 @@ -#LyX 1.6.0 created this file. For more info see http://www.lyx.org/ +#LyX 1.6.2svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header @@ -14,6 +14,7 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default \paperfontsize default \spacing single @@ -35,8 +36,8 @@ \paperpagestyle plain \tracking_changes false \output_changes false -\author "" -\author "" +\author "" +\author "" \end_header \begin_body @@ -4140,6 +4141,48 @@ if This functionality is needed by some classes and modules. \end_layout +\begin_layout Subsection +japanese +\end_layout + +\begin_layout Description +Found: +\begin_inset Info +type "package" +arg "japanese" +\end_inset + + +\end_layout + +\begin_layout Description +CTAN: +\family typewriter +language/japanese/japanese/ +\end_layout + +\begin_layout Description +Notes: The +\family sans +babel japanese +\family default + option is needed by LyX to be able to output section headings and dates + in Japanese when the document language is +\begin_inset Quotes eld +\end_inset + +Japanese +\begin_inset Quotes erd +\end_inset + +. + To use this option, the Japanese TeX system pTeX (CTAN: +\family typewriter +language/japanese/ptex/ +\family default +) is required. +\end_layout + \begin_layout Subsection jurabib \end_layout diff --git a/lib/doc/ja/LaTeXConfig.lyx b/lib/doc/ja/LaTeXConfig.lyx index b532dc8ba1..e151ce0a42 100644 --- a/lib/doc/ja/LaTeXConfig.lyx +++ b/lib/doc/ja/LaTeXConfig.lyx @@ -1,9 +1,9 @@ -#LyX 1.6.0 created this file. For more info see http://www.lyx.org/ +#LyX 1.6.2svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header -\use_default_options false \textclass article +\use_default_options false \language japanese \inputencoding auto \font_roman default @@ -14,6 +14,7 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default \paperfontsize default \spacing single @@ -35,8 +36,8 @@ \paperpagestyle plain \tracking_changes false \output_changes false -\author "" -\author "" +\author "" +\author "" \end_header \begin_body @@ -3214,6 +3215,39 @@ hyperref パッケージは、LyXが、お使いの文書のPDF特性を設定し、ハイパーリンクを作成することができるようになるために必要です。 \end_layout +\begin_layout Subsection +japanese +\end_layout + +\begin_layout Description +検出: +\begin_inset Info +type "package" +arg "japanese" +\end_inset + + +\end_layout + +\begin_layout Description +CTAN: +\family typewriter +language/japanese/japanese/ +\end_layout + +\begin_layout Description +備考: +\family sans +babel japanese +\family default +オプションは、文書言語が日本語のときに、節見出し等を日本語で出力するために必要です。本オプションを使用するためには、日本語TeXシステムpTeX(CTAN: + +\family typewriter +language/japanese/ptex/ +\family default +)が必要です。 +\end_layout + \begin_layout Subsection longtable \end_layout @@ -3242,10 +3276,6 @@ longtable パッケージは、 LyXが複数ページにわたる表を正しく出力することができるようになるために必要です。 \end_layout -\begin_layout Description - -\end_layout - \begin_layout Subsection relsize \end_layout