From: Juergen Spitzmueller Date: Fri, 10 Feb 2023 11:10:00 +0000 (+0100) Subject: Add layouts for luatexja LaTeX classes, by Koji Yokota (#11103) X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=afbbf42d6060156c3baf6133af232c8beb99c165;p=features.git Add layouts for luatexja LaTeX classes, by Koji Yokota (#11103) --- diff --git a/lib/Makefile.am b/lib/Makefile.am index aab5b42212..74e5100e5b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -2572,6 +2572,12 @@ dist_layouts_DATA =\ layouts/litinsets.inc \ layouts/llncs.layout \ layouts/logicalmkup.module \ + layouts/ltjarticle.layout \ + layouts/ltjbook.layout \ + layouts/ltjreport.layout \ + layouts/ltjsarticle.layout \ + layouts/ltjsbook.layout \ + layouts/ltjsreport.layout \ layouts/ltugboat.layout \ layouts/lyxmacros.inc \ layouts/maa-monthly.layout \ diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx index f7a568a014..5edf6b03ba 100644 --- a/lib/doc/Additional.lyx +++ b/lib/doc/Additional.lyx @@ -4064,7 +4064,7 @@ Japanese \begin_layout Standard -\change_inserted -712698321 1675848905 +\change_inserted -712698321 1676025662 \SpecialChar LyX included a collection of several bundles that aim to facilitate typesetting Japanese documents. The bundles have been developed at different times, @@ -4120,7 +4120,56 @@ Japanese Report \begin_inset space \thinspace{} \end_inset -(Standard Class Vertical Writing). +(Standard Class Vertical Writing) +\family default +, + which all work with +\begin_inset Quotes eld +\end_inset + +classic +\begin_inset Quotes erd +\end_inset + + engines tailored for Japanese, + p\SpecialChar LaTeX + and up\SpecialChar LaTeX +. +\end_layout + +\begin_layout Standard + +\change_inserted -712698321 1676026113 +For the use with the more modern Lua\SpecialChar LaTeX + typesetting engine, + the collection also includes dedicated classes +\family sans +Japanese Article (Standard Class for LuaTeX), + Japanese Book +\begin_inset space \thinspace{} +\end_inset + +(Standard Class for LuaTeX) +\family default +, + and +\family sans +Japanese Report +\begin_inset space \thinspace{} +\end_inset + +(Japanese Standard Class for LuaTeX) +\family default +, + provided by the +\family sans +luatexja +\family default + \SpecialChar LaTeX + package. + These classes support both horizontal and vertical writing. +\change_unchanged + \end_layout \begin_layout Subsection @@ -4276,7 +4325,7 @@ report \change_inserted 564990737 1671383236 . -\change_inserted -712698321 1675849238 +\change_inserted -712698321 1676026196 A report class can be obtained by using \family sans Japanese Book @@ -4298,6 +4347,51 @@ Class Options\SpecialChar menuseparator Custom \family default . + All these classes work with +\begin_inset Quotes eld +\end_inset + +classic +\begin_inset Quotes erd +\end_inset + + engines tailored for Japanese, + p\SpecialChar LaTeX + and up\SpecialChar LaTeX +. +\end_layout + +\begin_layout Standard + +\change_inserted -712698321 1676026178 +For the use with the more modern Lua\SpecialChar LaTeX + typesetting engine, + the collection also includes dedicated classes +\family sans +Japanese Article (JS Bundle for LuaTeX), + Japanese Book +\begin_inset space \thinspace{} +\end_inset + +(JS Bundle for LuaTeX) +\family default +, + and +\family sans +Japanese Report +\begin_inset space \thinspace{} +\end_inset + +(JS Bundle) +\family default +, + provided by the +\family sans +luatexja +\family default + \SpecialChar LaTeX + package. + These classes support both horizontal and vertical writing. \change_unchanged \end_layout @@ -4316,7 +4410,7 @@ Japanese (BX Bundle) \begin_layout Standard -\change_inserted -712698321 1675851891 +\change_inserted -712698321 1676026685 This bundle contains the document classes \family sans Japanese Article @@ -4377,12 +4471,18 @@ reference "subsec:Japanese-JS" ), which support only p\SpecialChar LaTeX and up\SpecialChar LaTeX -, + out of the box (and Lua\SpecialChar LaTeX + only through the extra classes added by the +\family sans +luatexja +\family default + \SpecialChar LaTeX + package), the classes of this bundle also support pdf\SpecialChar LaTeX , Xe\SpecialChar LaTeX and Lua\SpecialChar LaTeX -, + directly, with the aid of suitable packages that provide capability of Japanese typesetting. \end_layout diff --git a/lib/doc/LaTeXConfig.lyx b/lib/doc/LaTeXConfig.lyx index c87eb2c8f7..afea88b532 100644 --- a/lib/doc/LaTeXConfig.lyx +++ b/lib/doc/LaTeXConfig.lyx @@ -4393,6 +4393,110 @@ report \end_inset . +\change_inserted -712698321 1676024955 + +\end_layout + +\begin_layout Subsection + +\change_inserted -712698321 1676024955 +Japanese standard classes for LuaTeX +\end_layout + +\begin_layout Description + +\change_inserted -712698321 1676024955 +Found: + +\family sans +ltjarticle +\family default +: + +\begin_inset Info +type "textclass" +arg "ltjarticle" +\end_inset + +, + +\family sans +ltjreport +\family default +: + +\begin_inset Info +type "textclass" +arg "ltjreport" +\end_inset + +, + +\family sans +ltjbook +\family default +: + +\begin_inset Info +type "textclass" +arg "ltjbook" +\end_inset + + +\family sans +, + ltjsarticle +\family default +: + +\begin_inset Info +type "textclass" +arg "ltjsarticle" +\end_inset + +, + +\family sans +ltjsreport +\family default +: + +\begin_inset Info +type "textclass" +arg "ltjsreport" +\end_inset + +, + +\family sans +ltjsbook +\family default +: + +\begin_inset Info +type "textclass" +arg "ltjsbook" +\end_inset + + +\end_layout + +\begin_layout Description + +\change_inserted -712698321 1676024955 +CTAN: + +\family typewriter +macros/luatex/generic/luatexja/ +\end_layout + +\begin_layout Description + +\change_inserted -712698321 1676024971 +Notes: + These document classes are LuaTeX version of the above original and new (JS bundle) Japanese standard classes. +\change_unchanged + \end_layout \begin_layout Subsection diff --git a/lib/doc/de/Additional.lyx b/lib/doc/de/Additional.lyx index bb37b33cd6..f762570de4 100644 --- a/lib/doc/de/Additional.lyx +++ b/lib/doc/de/Additional.lyx @@ -3185,7 +3185,60 @@ Japanischer Bericht \end_inset (Standardklasse, - vertikale Schreibrichtung). + vertikale Schreibrichtung) +\family default +. + All diese Klassen unterstützen nur +\begin_inset Quotes gld +\end_inset + +klassische +\begin_inset Quotes grd +\end_inset + + Ausgabewege, + die spezifisch für Japanisch angepasst wurden, + nämlich p\SpecialChar LaTeX + und up\SpecialChar LaTeX +. +\end_layout + +\begin_layout Standard +Zur Verwendung mit dem moderneren Lua\SpecialChar LaTeX + enthält die Sammlung aber spezifische Klassen, + nämlich +\family sans +Japanischer Aufsatz +\begin_inset space \thinspace{} +\end_inset + +(Standardklasse für LuaTeX) +\family default +, + +\family sans +Japanisches Buch +\begin_inset space \thinspace{} +\end_inset + +(Standardklasse für LuaTeX) +\family default + und +\family sans +Japanischer Bericht +\begin_inset space \thinspace{} +\end_inset + +(Standardklasse für LuaTeX) +\family default +. + Sie stammen aus dem \SpecialChar LaTeX +-Paket +\family sans +luatexja +\family default +. + Diese Klassen unterstützen sowohl horizontale als auch vertikale Schreibrichtung. \end_layout \begin_layout Subsection @@ -3259,6 +3312,57 @@ Dokumentklasse\SpecialChar menuseparator Klassenoptionen \family default eingegeben wird. + All diese Klassen unterstützen nur +\begin_inset Quotes gld +\end_inset + +klassische +\begin_inset Quotes grd +\end_inset + + Ausgabewege, + die spezifisch für Japanisch angepasst wurden, + nämlich p\SpecialChar LaTeX + und up\SpecialChar LaTeX +. +\end_layout + +\begin_layout Standard +Zur Verwendung mit dem moderneren Lua\SpecialChar LaTeX + enthält die Sammlung aber spezifische Klassen, + nämlich +\family sans +Japanischer Aufsatz +\begin_inset space \thinspace{} +\end_inset + +(JS-Sammlung für LuaTeX) +\family default +, + +\family sans +Japanisches Buch +\begin_inset space \thinspace{} +\end_inset + +(JS-Sammlung für LuaTeX) +\family default + und +\family sans +Japanischer Bericht +\begin_inset space \thinspace{} +\end_inset + +(JS-Sammlung für LuaTeX) +\family default +. + Sie stammen aus dem \SpecialChar LaTeX +-Paket +\family sans +luatexja +\family default +. + Diese Klassen unterstützen sowohl horizontale als auch vertikale Schreibrichtung. \end_layout \begin_layout Subsection @@ -3322,10 +3426,16 @@ reference "subsec:Japanisch-JS" \end_inset ), - die nur p\SpecialChar LaTeX + die von Haus aus nur p\SpecialChar LaTeX und up\SpecialChar LaTeX - unterstützen, - können die Klassen dieser Sammlung auch mit pdf\SpecialChar LaTeX + unterstützen (und Lua\SpecialChar LaTeX + nur über spezifische Klassen aus dem \SpecialChar LaTeX +-Paket +\family sans +luatexja +\family default +), + können die Klassen dieser Sammlung auch direkt mit pdf\SpecialChar LaTeX , Xe\SpecialChar LaTeX und Lua\SpecialChar LaTeX diff --git a/lib/layouts/ltjarticle.layout b/lib/layouts/ltjarticle.layout new file mode 100644 index 0000000000..d19faacb23 --- /dev/null +++ b/lib/layouts/ltjarticle.layout @@ -0,0 +1,13 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{Japanese Article (Standard Class for LuaTeX)} +# \DeclareCategory{Articles} +# Japanese article textclass definition file. +# Author : Koji Yokota (yokota6@gmail.com) + +# This style provides japanese features +Format 99 +Provides japanese 1 +Provides luatexja 1 + +# Input general definitions +Input article.layout diff --git a/lib/layouts/ltjbook.layout b/lib/layouts/ltjbook.layout new file mode 100644 index 0000000000..174f6db0b9 --- /dev/null +++ b/lib/layouts/ltjbook.layout @@ -0,0 +1,13 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{Japanese Book (Standard Class for LuaTeX)} +# \DeclareCategory{Books} +# Japanese book textclass definition file. +# Author : Koji Yokota (yokota6@gmail.com) + +# This style provides japanese features +Format 99 +Provides japanese 1 +Provides luatexja 1 + +# Input general definitions +Input book.layout diff --git a/lib/layouts/ltjreport.layout b/lib/layouts/ltjreport.layout new file mode 100644 index 0000000000..ae347fa309 --- /dev/null +++ b/lib/layouts/ltjreport.layout @@ -0,0 +1,13 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{Japanese Report (Standard Class for LuaTeX)} +# \DeclareCategory{Reports} +# Japanese new article textclass definition file for LuaTeX. +# Author : Koji Yokota (yokota6@gmail.com) + +# This style provides japanese features +Format 99 +Provides japanese 1 +Provides luatexja 1 + +# Input general definitions +Input report.layout diff --git a/lib/layouts/ltjsarticle.layout b/lib/layouts/ltjsarticle.layout new file mode 100644 index 0000000000..df2c7f0e04 --- /dev/null +++ b/lib/layouts/ltjsarticle.layout @@ -0,0 +1,13 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{Japanese Article (JS Bundle for LuaTeX)} +# \DeclareCategory{Articles} +# Japanese new article textclass definition file for LuaTeX. +# Author : Koji Yokota (yokota6@gmail.com) + +# This style provides japanese features +Format 99 +Provides japanese 1 +Provides luatexja 1 + +# Input general definitions +Input article.layout diff --git a/lib/layouts/ltjsbook.layout b/lib/layouts/ltjsbook.layout new file mode 100644 index 0000000000..8f3fb3e574 --- /dev/null +++ b/lib/layouts/ltjsbook.layout @@ -0,0 +1,13 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{Japanese Book (JS Bundle for LuaTeX)} +# \DeclareCategory{Books} +# Japanese new book textclass definition file. +# Author : Koji Yokota (yokota6@gmail.com) + +# This style provides japanese features +Format 99 +Provides japanese 1 +Provides luatexja 1 + +# Input general definitions +Input book.layout diff --git a/lib/layouts/ltjsreport.layout b/lib/layouts/ltjsreport.layout new file mode 100644 index 0000000000..c02c20e118 --- /dev/null +++ b/lib/layouts/ltjsreport.layout @@ -0,0 +1,13 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass{Japanese Report (JS Bundle for LuaTeX)} +# \DeclareCategory{Reports} +# Japanese new article textclass definition file for LuaTeX. +# Author : Koji Yokota (yokota6@gmail.com) + +# This style provides japanese features +Format 99 +Provides japanese 1 +Provides luatexja 1 + +# Input general definitions +Input report.layout