From: Juergen Spitzmueller Date: Fri, 10 Feb 2023 15:20:38 +0000 (+0100) Subject: Move some example files to proper location X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9784fd42145f347f517c2951ef252c39eb935032;p=features.git Move some example files to proper location Listen to Uncle Tarski and do not mixup meta and object language! --- diff --git a/lib/Makefile.am b/lib/Makefile.am index f32646a400..ed8a814996 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -217,10 +217,6 @@ dist_huexamples_DATA = \ examples/hu/Example_%28raw%29.lyx \ examples/hu/Welcome.lyx -hylanguageexamplesdir = $(pkgdatadir)/examples/hy/Language_Support -dist_hylanguageexamples_DATA = \ - examples/hy/Language_Support/Writing_Armenian.lyx - idexamplesdir = $(pkgdatadir)/examples/id dist_idexamples_DATA = \ examples/id/Welcome.lyx @@ -247,11 +243,6 @@ dist_jainsetexamples_DATA = \ examples/ja/Graphics_and_Insets/xyfigure.png \ examples/ja/Graphics_and_Insets/XY-Pic.lyx -jalanguageexamplesdir = $(pkgdatadir)/examples/ja/Language_Support -dist_jalanguageexamples_DATA = \ - examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx \ - examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx - jamoduleexamplesdir = $(pkgdatadir)/examples/ja/Modules dist_jamoduleexamples_DATA = \ examples/ja/Modules/Braille.lyx \ @@ -466,7 +457,10 @@ dist_insetexamples_DATA = \ languageexamplesdir = $(pkgdatadir)/examples/Language_Support dist_languageexamples_DATA = \ - examples/Language_Support/Localization_Test_%28for_Developers%29.lyx + examples/Language_Support/Localization_Test_%28for_Developers%29.lyx \ + examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx \ + examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx \ + examples/Language_Support/Writing_Armenian.lyx letterexamplesdir = $(pkgdatadir)/examples/Letters dist_letterexamples_DATA = \ @@ -3224,7 +3218,6 @@ exampleandtemplate_files = \ $(dist_handoutexamples_DATA) \ $(dist_heexamples_DATA) \ $(dist_huexamples_DATA) \ - $(dist_hylanguageexamples_DATA) \ $(dist_idexamples_DATA) \ $(dist_insetexamples_DATA) \ $(dist_itexamples_DATA) \ @@ -3232,7 +3225,6 @@ exampleandtemplate_files = \ $(dist_jaexamples_DATA) \ $(dist_jaarticleexamples_DATA) \ $(dist_jainsetexamples_DATA) \ - $(dist_jalanguageexamples_DATA) \ $(dist_jamoduleexamples_DATA) \ $(dist_japresentationexamples_DATA) \ $(dist_japresentationtemplates_DATA) \ diff --git a/lib/examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx b/lib/examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx new file mode 100644 index 0000000000..dcfa0936b7 --- /dev/null +++ b/lib/examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx @@ -0,0 +1,444 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 614 +\begin_document +\begin_header +\save_transient_properties true +\origin /systemlyxdir/examples/ja/ +\textclass bxjsarticle +\begin_preamble +% line breaking, punctuation kerning and font switching features +% for CJK with non-TeX fonts requires additional packages +% currently without GUI support: + +% with XeTeX, https://ctan.org/pkg/xecjk +\usepackage{ifxetex} +\ifxetex + \usepackage{xeCJK} + \setCJKmainfont{IPAexMincho} + \setCJKsansfont{IPAexGothic} +\fi + +% with LuaTeX, https://www.ctan.org/pkg/luatexja +% see https://tex.stackexchange.com/questions/222980/how-to-use-chinese-with-lualatex +\usepackage{ifluatex} +\ifluatex + \usepackage{luatexja-fontspec} + % use Mainfont (DejaVu) for Greek and Cyrillic: + \ltjsetparameter{jacharrange={-2}} + %\usepackage[match]{luatexja-fontspec} + %\setmainjfont[Mapping=tex-text]{WenQuanYi Micro Hei} + %\setsansjfont[Mapping=tex-text]{WenQuanYi Micro Hei} + %\setmonojfont{WenQuanYi Micro Hei Mono} +\fi +\end_preamble +\use_default_options true +\begin_modules +logicalmkup +ruby +\end_modules +\maintain_unincluded_children no +\language japanese-cjk +\language_package auto +\inputencoding utf8 +\fontencoding auto +\font_roman "DejaVuSerif" "DejaVu Serif" +\font_sans "DejaVuSans" "DejaVu Sans" +\font_typewriter "DejaVuSansMono" "DejaVu Sans Mono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_roman_osf false +\font_sans_osf false +\font_typewriter_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\font_cjk min +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\pdf_bookmarks false +\pdf_bookmarksnumbered true +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks false +\pdf_backref false +\pdf_pdfusetitle true +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\use_lineno 0 +\index 索引 +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style cjk +\dynamic_quotes 1 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\change_bars false +\postpone_fragile_content false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\docbook_table_output 0 +\docbook_mathml_prefix 1 +\end_header + +\begin_body + +\begin_layout Title + +\lang english +Multilingual typesetting with the CJK package +\end_layout + +\begin_layout Date +\begin_inset Info +type "moddate" +arg "long" +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +For multi-lingual documents with parts in European languages, + you can use the CJK LaTeX bundle: +\end_layout + +\begin_layout Itemize + +\lang english +Use one of the +\begin_inset Quotes bld +\end_inset + +Japanese ( +\begin_inset CommandInset href +LatexCommand href +name "BXJS" +target "https://www.ctan.org/pkg/bxjscls" +literal "false" + +\end_inset + +) +\begin_inset Quotes brd +\end_inset + + classes or a standard document class. + The other +\begin_inset Quotes bld +\end_inset + +Japanese +\begin_inset Quotes brd +\end_inset + + document classes require pLaTeX. +\end_layout + +\begin_layout Itemize + +\lang english +Set the document language to +\begin_inset Quotes bld +\end_inset + +Japanese (CJK) +\begin_inset Quotes brd +\end_inset + + and the encoding to +\begin_inset Quotes bld +\end_inset + +Unicode (utf8) +\begin_inset Quotes brd +\end_inset + +. +\end_layout + +\begin_layout Itemize + +\lang english +Select a Japanese CJK-font, + e.g. + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\lang english +\begin_inset Quotes bld +\end_inset + +min +\begin_inset Quotes brd +\end_inset + + +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Itemize + +\lang english +Some fonts are substituted with fallback +\begin_inset Quotes bld +\end_inset + +CM roman regular +\begin_inset Quotes brd +\end_inset + + ( +\emph on +DejaVu +\emph default + and +\emph on +Libertine +\emph default + work). +\end_layout + +\begin_layout Itemize +\noindent + +\lang english +Alternatively, + you can use non-TeX fonts with +\begin_inset Quotes bld +\end_inset + +xeCJK +\begin_inset Quotes brd +\end_inset + + (XeTeX) or +\begin_inset Quotes bld +\end_inset + +luatexja +\begin_inset Quotes brd +\end_inset + + (LuaTeX). + See the document preamble for an example. +\end_layout + +\begin_layout Standard + +\lang english +Then, + the following should work: +\end_layout + +\begin_layout Enumerate +Japanese text, + of course: + \SpecialChar LyX +は優秀な取扱説明書を同梱していますので、これをお使いください! +まずは +\family sans +ヘルプ\SpecialChar menuseparator +はじめの一歩 +\family default +から始めてください。 +これは、各取扱説明書を簡潔に紹介しています。 +つぎに +\family sans +ヘルプ\SpecialChar menuseparator +入門篇 +\family default +をお読みになれば、\SpecialChar LyX +の使い方を学ぶことができます。 + +\end_layout + +\begin_layout Enumerate +Short texts may be written without setting the language (hyphenation will be missing and spell-checking complain): + Greetings; + Grüße; + Приветы; + χαιρετισμός +\end_layout + +\begin_layout Enumerate +For longer text parts, + it is recommended to set the correct language: +\end_layout + +\begin_deeper +\begin_layout Description + +\lang english +English: + Hello Mr. + Sandman! +\end_layout + +\begin_layout Description + +\lang ngerman +Deutsch: + Grüße aus Österreich! +\end_layout + +\begin_layout Description + +\lang ngerman +Griechisch: + +\lang greek + χαιρετισμός! +\end_layout + +\begin_layout Description + +\lang ngerman +Russisch: + +\lang russian + Привет с +\series bold +новым +\series default + годом! +\end_layout + +\end_deeper +\begin_layout Enumerate + +\lang english +Japanese characters, + e.g., + 介 し +\family sans + 門 +\family default +, + may also be used in text parts set to other languages. +\end_layout + +\begin_layout Enumerate + +\lang english +Ruby (ルビ, + furigana) with the help of the Ruby module: + +\lang japanese-cjk + +\begin_inset Flex Ruby +status collapsed + +\begin_layout Plain Layout +東 京 +\begin_inset Argument post:1 +status open + +\begin_layout Plain Layout +とう きょう +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_deeper +\begin_layout Itemize + +\lang english +Select D +\family sans +ocument\SpecialChar menuseparator +Settings\SpecialChar menuseparator +Modules\SpecialChar menuseparator +Annotation&Revision\SpecialChar menuseparator +Ruby +\family default +. +\end_layout + +\begin_layout Itemize + +\lang english +Select +\family sans +Edit\SpecialChar menuseparator +Custom Text Styles\SpecialChar menuseparator +Ruby +\family default + for the base character(s). +\end_layout + +\begin_layout Itemize + +\lang english +Select +\family sans +Insert\SpecialChar menuseparator +Ruby text +\family default + for the reading aid. +\end_layout + +\end_deeper +\end_body +\end_document diff --git a/lib/examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx b/lib/examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx new file mode 100644 index 0000000000..7b3451f08a --- /dev/null +++ b/lib/examples/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx @@ -0,0 +1,312 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 614 +\begin_document +\begin_header +\save_transient_properties true +\origin /systemlyxdir/examples/ja/ +\textclass bxjsarticle +\use_default_options true +\maintain_unincluded_children no +\language japanese +\language_package auto +\inputencoding utf8 +\fontencoding auto +\font_roman "DejaVuSerif" "IPAexMincho" +\font_sans "DejaVuSans" "IPAexGothic" +\font_typewriter "DejaVuSansMono" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_roman_osf false +\font_sans_osf false +\font_typewriter_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\use_lineno 0 +\index 索引 +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\change_bars false +\postpone_fragile_content false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\docbook_table_output 0 +\docbook_mathml_prefix 1 +\end_header + +\begin_body + +\begin_layout Title +\SpecialChar LyX +へようこそ! + +\end_layout + +\begin_layout Section* +\SpecialChar LyX +を使うために最初に知っておくべきことがら +\end_layout + +\begin_layout Standard +You can write text in other scripts and languages inside Japanese documents. + With non-TeX fonts, + make sure to use document classes that support XeTeX or LuaTeX. + (e.g. + document classes +\begin_inset Quotes eld +\end_inset + +Japanese … (BXJS Class) +\begin_inset Quotes erd +\end_inset + + or non-Japanese standard classes). +\end_layout + +\begin_layout Subsection* +Examples +\end_layout + +\begin_layout Standard +Text in Latin script: +\end_layout + +\begin_layout Quotation +English: + Hello Mr. + Sandman! +\end_layout + +\begin_layout Quotation +Deutsch: + Grüße aus Österreich! +\end_layout + +\begin_layout Standard +Some Japanese fonts contain Greek and Cyrillic characters, + however they are considerabely wider than characters in Latin, + Greek, + and Cyrillic TeX fonts. + +\end_layout + +\begin_layout Itemize +With +\emph on +TeX fonts +\emph default +, + LyX converts them to LaTeX macros, + so that the output matches other non-Japanese text. +\end_layout + +\begin_layout Itemize +With +\emph on +non-TeX fonts +\emph default +and +\emph on + Xe/LuaTeX +\emph default +, + there is no native support for use of specific fonts for different scripts/languages. + Some Unicode fonts provide a large range of characters, + but quality is not always best and +\begin_inset Quotes eld +\end_inset + +exotic +\begin_inset Quotes erd +\end_inset + + characters (like accented Greek) lead to +\emph on +missing character +\emph default +errors. +\end_layout + +\begin_layout Standard +Text in Cyrillic and Greek script: +\end_layout + +\begin_layout Quotation +Russisch: + Привет с +\emph on +новым +\emph default + годом! +\end_layout + +\begin_layout Quotation +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifdefined +\backslash +fontspec +\end_layout + +\end_inset + +Griechisch: + χαιρετισμος! +\end_layout + +\begin_layout Quotation +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + +Griechisch: + χαιρετισμός! + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Text in some other languages with correct language setting (not all languages supported by LyX are compatible with Japanese (you may try +\begin_inset Quotes eld +\end_inset + +japanese (CJK) +\begin_inset Quotes erd +\end_inset + +): +\end_layout + +\begin_layout Standard + +\lang english +English: + Hello Mr. + Sandman! +\end_layout + +\begin_layout Standard + +\lang afrikaans +Afrikaans: + Good dag minher. +\end_layout + +\begin_layout Standard + +\lang swedish +Swedish: + Hej då. +\end_layout + +\begin_layout Standard + +\lang ngerman +Deutsch: + Grüße aus Österreich! + +\end_layout + +\begin_layout Standard + +\lang french +French: + «Bonsoir à vous.» +\end_layout + +\begin_layout Standard + +\lang afrikaans +Griechisch: + χαιρετισμος! +\end_layout + +\begin_layout Standard + +\lang russian +Russisch: + Привет с +\emph on +новым +\emph default + годом! +\end_layout + +\end_body +\end_document diff --git a/lib/examples/Language_Support/Writing_Armenian.lyx b/lib/examples/Language_Support/Writing_Armenian.lyx new file mode 100644 index 0000000000..85524300b1 --- /dev/null +++ b/lib/examples/Language_Support/Writing_Armenian.lyx @@ -0,0 +1,498 @@ +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 615 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\begin_preamble +% Set a decicated font for Armenian script +% (see section 4 "fonts" of the Polyglossia documentation): +\newfontfamily{\armenianfont}[Mapping=tex-text]{DejaVu Serif} +\newfontfamily{\armenianfontsf}{DejaVu Sans} +\newfontfamily{\armenianfonttt}{DejaVu Sans Mono} +\end_preamble +\use_default_options false +\maintain_unincluded_children no +\language english +\language_package default +\inputencoding utf8 +\fontencoding auto +\font_roman "lmodern" "DejaVu Serif" +\font_sans "lmss" "DejaVu Sans" +\font_typewriter "txtt" "DejaVu Sans Mono" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts true +\font_sc false +\font_roman_osf false +\font_sans_osf false +\font_typewriter_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\float_placement class +\float_alignment class +\paperfontsize default +\spacing single +\use_hyperref true +\pdf_bookmarks false +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks true +\pdf_backref section +\pdf_pdfusetitle true +\papersize a4 +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 0 +\use_minted 0 +\use_lineno 0 +\branch missing-in-DejaVu +\selected 0 +\filename_suffix 0 +\color background background +\end_branch +\index Stichwortverzeichnis +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tablestyle default +\tracking_changes false +\output_changes false +\change_bars false +\postpone_fragile_content false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\docbook_table_output 0 +\docbook_mathml_prefix 1 +\end_header + +\begin_body + +\begin_layout Title +Writing Armenian with \SpecialChar LyX + +\end_layout + +\begin_layout Author +by +\noun on +Günter Milde +\noun default + and the \SpecialChar LyX + Team +\end_layout + +\begin_layout Section +Preparing your document to write Armenian +\end_layout + +\begin_layout Standard +Armenian (language tag +\family typewriter +hy +\family default +) is supported in \SpecialChar LyX + via +\emph on +Polyglossia +\emph default + and Xe\SpecialChar TeX + or Lua\SpecialChar TeX +. + To write in Armenian, + prepare your document as follows: +\end_layout + +\begin_layout Itemize +Select a +\begin_inset Quotes eld +\end_inset + +non-TeX font +\begin_inset Quotes erd +\end_inset + + supporting the Armenian script, + e. +\begin_inset space \thinspace{} +\end_inset + +g. + +\family sans +DejaVu Serif +\family default + (as in this document), + under Document\SpecialChar menuseparator +Settings\SpecialChar menuseparator +Fonts. +\end_layout + +\begin_layout Itemize +Set an +\begin_inset Quotes els +\end_inset + +Armenian +\begin_inset Quotes ers +\end_inset + + script in +\family sans +Document\SpecialChar menuseparator +Settings\SpecialChar menuseparator +LaTeX preamble +\family default + as follows (adapt the font, + +\family typewriter +DejaVu +\family default + here, + to your needs): +\end_layout + +\begin_deeper +\begin_layout LyX-Code + +\size footnotesize + +\backslash +newfontfamily{ +\backslash +armenianfont}{DejaVu Serif} +\end_layout + +\begin_layout LyX-Code + +\size footnotesize + +\backslash +newfontfamily{ +\backslash +armenianfontsf}{DejaVu Sans} +\end_layout + +\begin_layout LyX-Code + +\size footnotesize + +\backslash +newfontfamily{ +\backslash +armenianfonttt}{DejaVu Sans Mono} +\end_layout + +\begin_layout Standard +See the \SpecialChar LaTeX + preamble of this document for an example. +\end_layout + +\end_deeper +\begin_layout Itemize +Select +\family sans +Armenian +\family default + as the main language in in +\family sans +Document\SpecialChar menuseparator +Settings\SpecialChar menuseparator +Language +\family default + if your document is mainly in Armenian or as an additional language via +\family sans +Edit\SpecialChar menuseparator +Text Properties\SpecialChar menuseparator +Customize\SpecialChar menuseparator +Language +\family default + if your document contains parts in Armenian, + but is mainly in a different language (such as in this document). +\end_layout + +\begin_layout Itemize +In the latter case, + all Armenian text needs to be marked as Armenian via the +\family sans +Text Properties +\family default + dialog or +\family sans +Edit\SpecialChar menuseparator +Language\SpecialChar menuseparator +Armenian +\family default + if there is already Armenian text in your document. +\end_layout + +\begin_layout Section +Example +\end_layout + +\begin_layout Standard +This is taken from +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +https://hy.wikipedia.org/wiki/%D5%80%D5%A1%D5%B5%D5%A5%D6%80%D5%A5%D5%B6 +\end_layout + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\lang armenian +19-րդ դարի երկրորդ կեսին, + երբ լեզվաբանությունն ու լեզվագիտությունը նոր թափով էին առաջ ընթանում, + գերմանացի լեզվաբան Հայնրիխ Հյուբշմանը 1875 թվականին հրատարակված «Հայերենի դիրքը հնդեվրոպական լեզուների շարքում» հոդվածում ապացուցում է, + որ հայերենը հնդեվրոպական լեզուների մեջ ինքնուրույն լեզվաճյուղ է, + իսկ պարսկերենի և հնագույն այլ լեզուների հետ ունեցած ընդհանրությունները (հիմնականում բառապաշարային) ոչ թե ծագմամբ են պայմանավորված, + այլ հետագա շրջանի փոխառություններ են։ Մինչ այսօր այս տեսակետը համարվում է ճիշտ, + և հայերենը շարունակում է իր ուրույն տեղը զբաղեցնել այդ լեզվաընտանիքում։ +\end_layout + +\begin_layout Standard + +\lang armenian +Հայերենի առաջին պատմահամեմատական մեթոդի հեղինակները՝ Հայնրիխ Պետերմանը և Ֆրիդրիխ Վինդիշմանը առաջ էին քաշում այն դրույթը, + ըստ որի հայերենը պատկանում է հնդիրանյան/արիական/ լեզվախմբին։ Դրան էին հանգեցրել շուրջ 1400 բառերի առկայությունը, + որոնք պարսկերենից փոխառություններ էին։ Սակայն այս տեսակետը հետագայում մերժվեց։ +\end_layout + +\begin_layout Section +Script test +\end_layout + +\begin_layout Standard +Unicode Block 11: + Armenian — + serif: +\end_layout + +\begin_layout Standard +530 +\lang armenian +Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ +\end_layout + +\begin_layout Standard +540 +\lang armenian +Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ +\end_layout + +\begin_layout Standard +550 +\lang armenian +Ր Ց Ւ Փ Ք Օ Ֆ ՙ ՚ ՛ ՜ ՝ ՞ ՟ +\end_layout + +\begin_layout Standard +560 +\lang armenian +ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ +\end_layout + +\begin_layout Standard +570 +\lang armenian +հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ +\end_layout + +\begin_layout Standard +580 +\lang armenian +ր ց ւ փ ք օ ֆ և ։ ֊ +\begin_inset Branch missing-in-DejaVu +inverted 0 +status collapsed + +\begin_layout Standard +֍ ֎ ֏ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +Unicode Block 11: + Armenian — + sans: +\end_layout + +\begin_layout Standard + +\family sans +530 +\lang armenian +Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ +\end_layout + +\begin_layout Standard + +\family sans +540 +\lang armenian +Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ +\end_layout + +\begin_layout Standard + +\family sans +550 +\lang armenian +Ր Ց Ւ Փ Ք Օ Ֆ ՙ ՚ ՛ ՜ ՝ ՞ ՟ +\end_layout + +\begin_layout Standard + +\family sans +560 +\lang armenian +ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ +\end_layout + +\begin_layout Standard + +\family sans +570 +\lang armenian +հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ +\end_layout + +\begin_layout Standard + +\family sans +580 +\lang armenian +ր ց ւ փ ք օ ֆ և ։ ֊ +\begin_inset Branch missing-in-DejaVu +inverted 0 +status collapsed + +\begin_layout Standard +֍ ֎ ֏ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +Unicode Block 11: + Armenian — + monotype: +\end_layout + +\begin_layout Standard + +\family typewriter +530 +\lang armenian +Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ +\end_layout + +\begin_layout Standard + +\family typewriter +540 +\lang armenian +Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ +\end_layout + +\begin_layout Standard + +\family typewriter +550 +\lang armenian +Ր Ց Ւ Փ Ք Օ Ֆ ՙ ՚ ՛ ՜ ՝ ՞ ՟ +\end_layout + +\begin_layout Standard + +\family typewriter +560 +\lang armenian +ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ +\end_layout + +\begin_layout Standard + +\family typewriter +570 +\lang armenian +հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ +\end_layout + +\begin_layout Standard + +\family typewriter +580 +\lang armenian +ր ց ւ փ ք օ ֆ և ։ ֊ +\begin_inset Branch missing-in-DejaVu +inverted 0 +status collapsed + +\begin_layout Standard +֍ ֎ ֏ +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/lib/examples/README.new_examples b/lib/examples/README.new_examples index c14db7a79e..ff70eea4f0 100644 --- a/lib/examples/README.new_examples +++ b/lib/examples/README.new_examples @@ -27,6 +27,10 @@ The language subdirectory expands to the same subfolders than the English versio and uses the same [English) filename (e.g., examples/Letters/myletter.lyx > examples/fr/Letters/myletter.lyx). +NOTE: The language subdirectory is for translations in the respective language. If you +want to provide a document in English _about_ a specific language (e.g., about how to +write a Turkish article), put it in the main directory in the "Language_Support" folder. + NB: SPECIAL CHARACTERS IN FILE AND DIRECTORY NAMES: =================================================== diff --git a/lib/examples/hy/Language_Support/Writing_Armenian.lyx b/lib/examples/hy/Language_Support/Writing_Armenian.lyx deleted file mode 100644 index 85524300b1..0000000000 --- a/lib/examples/hy/Language_Support/Writing_Armenian.lyx +++ /dev/null @@ -1,498 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 615 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\begin_preamble -% Set a decicated font for Armenian script -% (see section 4 "fonts" of the Polyglossia documentation): -\newfontfamily{\armenianfont}[Mapping=tex-text]{DejaVu Serif} -\newfontfamily{\armenianfontsf}{DejaVu Sans} -\newfontfamily{\armenianfonttt}{DejaVu Sans Mono} -\end_preamble -\use_default_options false -\maintain_unincluded_children no -\language english -\language_package default -\inputencoding utf8 -\fontencoding auto -\font_roman "lmodern" "DejaVu Serif" -\font_sans "lmss" "DejaVu Sans" -\font_typewriter "txtt" "DejaVu Sans Mono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts true -\font_sc false -\font_roman_osf false -\font_sans_osf false -\font_typewriter_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref true -\pdf_bookmarks false -\pdf_bookmarksnumbered false -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks true -\pdf_backref section -\pdf_pdfusetitle true -\papersize a4 -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\use_minted 0 -\use_lineno 0 -\branch missing-in-DejaVu -\selected 0 -\filename_suffix 0 -\color background background -\end_branch -\index Stichwortverzeichnis -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\change_bars false -\postpone_fragile_content false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\docbook_table_output 0 -\docbook_mathml_prefix 1 -\end_header - -\begin_body - -\begin_layout Title -Writing Armenian with \SpecialChar LyX - -\end_layout - -\begin_layout Author -by -\noun on -Günter Milde -\noun default - and the \SpecialChar LyX - Team -\end_layout - -\begin_layout Section -Preparing your document to write Armenian -\end_layout - -\begin_layout Standard -Armenian (language tag -\family typewriter -hy -\family default -) is supported in \SpecialChar LyX - via -\emph on -Polyglossia -\emph default - and Xe\SpecialChar TeX - or Lua\SpecialChar TeX -. - To write in Armenian, - prepare your document as follows: -\end_layout - -\begin_layout Itemize -Select a -\begin_inset Quotes eld -\end_inset - -non-TeX font -\begin_inset Quotes erd -\end_inset - - supporting the Armenian script, - e. -\begin_inset space \thinspace{} -\end_inset - -g. - -\family sans -DejaVu Serif -\family default - (as in this document), - under Document\SpecialChar menuseparator -Settings\SpecialChar menuseparator -Fonts. -\end_layout - -\begin_layout Itemize -Set an -\begin_inset Quotes els -\end_inset - -Armenian -\begin_inset Quotes ers -\end_inset - - script in -\family sans -Document\SpecialChar menuseparator -Settings\SpecialChar menuseparator -LaTeX preamble -\family default - as follows (adapt the font, - -\family typewriter -DejaVu -\family default - here, - to your needs): -\end_layout - -\begin_deeper -\begin_layout LyX-Code - -\size footnotesize - -\backslash -newfontfamily{ -\backslash -armenianfont}{DejaVu Serif} -\end_layout - -\begin_layout LyX-Code - -\size footnotesize - -\backslash -newfontfamily{ -\backslash -armenianfontsf}{DejaVu Sans} -\end_layout - -\begin_layout LyX-Code - -\size footnotesize - -\backslash -newfontfamily{ -\backslash -armenianfonttt}{DejaVu Sans Mono} -\end_layout - -\begin_layout Standard -See the \SpecialChar LaTeX - preamble of this document for an example. -\end_layout - -\end_deeper -\begin_layout Itemize -Select -\family sans -Armenian -\family default - as the main language in in -\family sans -Document\SpecialChar menuseparator -Settings\SpecialChar menuseparator -Language -\family default - if your document is mainly in Armenian or as an additional language via -\family sans -Edit\SpecialChar menuseparator -Text Properties\SpecialChar menuseparator -Customize\SpecialChar menuseparator -Language -\family default - if your document contains parts in Armenian, - but is mainly in a different language (such as in this document). -\end_layout - -\begin_layout Itemize -In the latter case, - all Armenian text needs to be marked as Armenian via the -\family sans -Text Properties -\family default - dialog or -\family sans -Edit\SpecialChar menuseparator -Language\SpecialChar menuseparator -Armenian -\family default - if there is already Armenian text in your document. -\end_layout - -\begin_layout Section -Example -\end_layout - -\begin_layout Standard -This is taken from -\begin_inset Flex URL -status collapsed - -\begin_layout Plain Layout - -https://hy.wikipedia.org/wiki/%D5%80%D5%A1%D5%B5%D5%A5%D6%80%D5%A5%D5%B6 -\end_layout - -\end_inset - -: -\end_layout - -\begin_layout Standard - -\lang armenian -19-րդ դարի երկրորդ կեսին, - երբ լեզվաբանությունն ու լեզվագիտությունը նոր թափով էին առաջ ընթանում, - գերմանացի լեզվաբան Հայնրիխ Հյուբշմանը 1875 թվականին հրատարակված «Հայերենի դիրքը հնդեվրոպական լեզուների շարքում» հոդվածում ապացուցում է, - որ հայերենը հնդեվրոպական լեզուների մեջ ինքնուրույն լեզվաճյուղ է, - իսկ պարսկերենի և հնագույն այլ լեզուների հետ ունեցած ընդհանրությունները (հիմնականում բառապաշարային) ոչ թե ծագմամբ են պայմանավորված, - այլ հետագա շրջանի փոխառություններ են։ Մինչ այսօր այս տեսակետը համարվում է ճիշտ, - և հայերենը շարունակում է իր ուրույն տեղը զբաղեցնել այդ լեզվաընտանիքում։ -\end_layout - -\begin_layout Standard - -\lang armenian -Հայերենի առաջին պատմահամեմատական մեթոդի հեղինակները՝ Հայնրիխ Պետերմանը և Ֆրիդրիխ Վինդիշմանը առաջ էին քաշում այն դրույթը, - ըստ որի հայերենը պատկանում է հնդիրանյան/արիական/ լեզվախմբին։ Դրան էին հանգեցրել շուրջ 1400 բառերի առկայությունը, - որոնք պարսկերենից փոխառություններ էին։ Սակայն այս տեսակետը հետագայում մերժվեց։ -\end_layout - -\begin_layout Section -Script test -\end_layout - -\begin_layout Standard -Unicode Block 11: - Armenian — - serif: -\end_layout - -\begin_layout Standard -530 -\lang armenian -Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ -\end_layout - -\begin_layout Standard -540 -\lang armenian -Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ -\end_layout - -\begin_layout Standard -550 -\lang armenian -Ր Ց Ւ Փ Ք Օ Ֆ ՙ ՚ ՛ ՜ ՝ ՞ ՟ -\end_layout - -\begin_layout Standard -560 -\lang armenian -ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ -\end_layout - -\begin_layout Standard -570 -\lang armenian -հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ -\end_layout - -\begin_layout Standard -580 -\lang armenian -ր ց ւ փ ք օ ֆ և ։ ֊ -\begin_inset Branch missing-in-DejaVu -inverted 0 -status collapsed - -\begin_layout Standard -֍ ֎ ֏ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent -Unicode Block 11: - Armenian — - sans: -\end_layout - -\begin_layout Standard - -\family sans -530 -\lang armenian -Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ -\end_layout - -\begin_layout Standard - -\family sans -540 -\lang armenian -Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ -\end_layout - -\begin_layout Standard - -\family sans -550 -\lang armenian -Ր Ց Ւ Փ Ք Օ Ֆ ՙ ՚ ՛ ՜ ՝ ՞ ՟ -\end_layout - -\begin_layout Standard - -\family sans -560 -\lang armenian -ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ -\end_layout - -\begin_layout Standard - -\family sans -570 -\lang armenian -հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ -\end_layout - -\begin_layout Standard - -\family sans -580 -\lang armenian -ր ց ւ փ ք օ ֆ և ։ ֊ -\begin_inset Branch missing-in-DejaVu -inverted 0 -status collapsed - -\begin_layout Standard -֍ ֎ ֏ -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent -Unicode Block 11: - Armenian — - monotype: -\end_layout - -\begin_layout Standard - -\family typewriter -530 -\lang armenian -Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ -\end_layout - -\begin_layout Standard - -\family typewriter -540 -\lang armenian -Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ -\end_layout - -\begin_layout Standard - -\family typewriter -550 -\lang armenian -Ր Ց Ւ Փ Ք Օ Ֆ ՙ ՚ ՛ ՜ ՝ ՞ ՟ -\end_layout - -\begin_layout Standard - -\family typewriter -560 -\lang armenian -ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ -\end_layout - -\begin_layout Standard - -\family typewriter -570 -\lang armenian -հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ -\end_layout - -\begin_layout Standard - -\family typewriter -580 -\lang armenian -ր ց ւ փ ք օ ֆ և ։ ֊ -\begin_inset Branch missing-in-DejaVu -inverted 0 -status collapsed - -\begin_layout Standard -֍ ֎ ֏ -\end_layout - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/lib/examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx b/lib/examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx deleted file mode 100644 index dcfa0936b7..0000000000 --- a/lib/examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_CJKutf8%29.lyx +++ /dev/null @@ -1,444 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 614 -\begin_document -\begin_header -\save_transient_properties true -\origin /systemlyxdir/examples/ja/ -\textclass bxjsarticle -\begin_preamble -% line breaking, punctuation kerning and font switching features -% for CJK with non-TeX fonts requires additional packages -% currently without GUI support: - -% with XeTeX, https://ctan.org/pkg/xecjk -\usepackage{ifxetex} -\ifxetex - \usepackage{xeCJK} - \setCJKmainfont{IPAexMincho} - \setCJKsansfont{IPAexGothic} -\fi - -% with LuaTeX, https://www.ctan.org/pkg/luatexja -% see https://tex.stackexchange.com/questions/222980/how-to-use-chinese-with-lualatex -\usepackage{ifluatex} -\ifluatex - \usepackage{luatexja-fontspec} - % use Mainfont (DejaVu) for Greek and Cyrillic: - \ltjsetparameter{jacharrange={-2}} - %\usepackage[match]{luatexja-fontspec} - %\setmainjfont[Mapping=tex-text]{WenQuanYi Micro Hei} - %\setsansjfont[Mapping=tex-text]{WenQuanYi Micro Hei} - %\setmonojfont{WenQuanYi Micro Hei Mono} -\fi -\end_preamble -\use_default_options true -\begin_modules -logicalmkup -ruby -\end_modules -\maintain_unincluded_children no -\language japanese-cjk -\language_package auto -\inputencoding utf8 -\fontencoding auto -\font_roman "DejaVuSerif" "DejaVu Serif" -\font_sans "DejaVuSans" "DejaVu Sans" -\font_typewriter "DejaVuSansMono" "DejaVu Sans Mono" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_roman_osf false -\font_sans_osf false -\font_typewriter_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\font_cjk min -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\pdf_bookmarks false -\pdf_bookmarksnumbered true -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks false -\pdf_backref false -\pdf_pdfusetitle true -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\use_minted 0 -\use_lineno 0 -\index 索引 -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style cjk -\dynamic_quotes 1 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\change_bars false -\postpone_fragile_content false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\docbook_table_output 0 -\docbook_mathml_prefix 1 -\end_header - -\begin_body - -\begin_layout Title - -\lang english -Multilingual typesetting with the CJK package -\end_layout - -\begin_layout Date -\begin_inset Info -type "moddate" -arg "long" -\end_inset - - -\end_layout - -\begin_layout Standard - -\lang english -For multi-lingual documents with parts in European languages, - you can use the CJK LaTeX bundle: -\end_layout - -\begin_layout Itemize - -\lang english -Use one of the -\begin_inset Quotes bld -\end_inset - -Japanese ( -\begin_inset CommandInset href -LatexCommand href -name "BXJS" -target "https://www.ctan.org/pkg/bxjscls" -literal "false" - -\end_inset - -) -\begin_inset Quotes brd -\end_inset - - classes or a standard document class. - The other -\begin_inset Quotes bld -\end_inset - -Japanese -\begin_inset Quotes brd -\end_inset - - document classes require pLaTeX. -\end_layout - -\begin_layout Itemize - -\lang english -Set the document language to -\begin_inset Quotes bld -\end_inset - -Japanese (CJK) -\begin_inset Quotes brd -\end_inset - - and the encoding to -\begin_inset Quotes bld -\end_inset - -Unicode (utf8) -\begin_inset Quotes brd -\end_inset - -. -\end_layout - -\begin_layout Itemize - -\lang english -Select a Japanese CJK-font, - e.g. - -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout - -\lang english -\begin_inset Quotes bld -\end_inset - -min -\begin_inset Quotes brd -\end_inset - - -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Itemize - -\lang english -Some fonts are substituted with fallback -\begin_inset Quotes bld -\end_inset - -CM roman regular -\begin_inset Quotes brd -\end_inset - - ( -\emph on -DejaVu -\emph default - and -\emph on -Libertine -\emph default - work). -\end_layout - -\begin_layout Itemize -\noindent - -\lang english -Alternatively, - you can use non-TeX fonts with -\begin_inset Quotes bld -\end_inset - -xeCJK -\begin_inset Quotes brd -\end_inset - - (XeTeX) or -\begin_inset Quotes bld -\end_inset - -luatexja -\begin_inset Quotes brd -\end_inset - - (LuaTeX). - See the document preamble for an example. -\end_layout - -\begin_layout Standard - -\lang english -Then, - the following should work: -\end_layout - -\begin_layout Enumerate -Japanese text, - of course: - \SpecialChar LyX -は優秀な取扱説明書を同梱していますので、これをお使いください! -まずは -\family sans -ヘルプ\SpecialChar menuseparator -はじめの一歩 -\family default -から始めてください。 -これは、各取扱説明書を簡潔に紹介しています。 -つぎに -\family sans -ヘルプ\SpecialChar menuseparator -入門篇 -\family default -をお読みになれば、\SpecialChar LyX -の使い方を学ぶことができます。 - -\end_layout - -\begin_layout Enumerate -Short texts may be written without setting the language (hyphenation will be missing and spell-checking complain): - Greetings; - Grüße; - Приветы; - χαιρετισμός -\end_layout - -\begin_layout Enumerate -For longer text parts, - it is recommended to set the correct language: -\end_layout - -\begin_deeper -\begin_layout Description - -\lang english -English: - Hello Mr. - Sandman! -\end_layout - -\begin_layout Description - -\lang ngerman -Deutsch: - Grüße aus Österreich! -\end_layout - -\begin_layout Description - -\lang ngerman -Griechisch: - -\lang greek - χαιρετισμός! -\end_layout - -\begin_layout Description - -\lang ngerman -Russisch: - -\lang russian - Привет с -\series bold -новым -\series default - годом! -\end_layout - -\end_deeper -\begin_layout Enumerate - -\lang english -Japanese characters, - e.g., - 介 し -\family sans - 門 -\family default -, - may also be used in text parts set to other languages. -\end_layout - -\begin_layout Enumerate - -\lang english -Ruby (ルビ, - furigana) with the help of the Ruby module: - -\lang japanese-cjk - -\begin_inset Flex Ruby -status collapsed - -\begin_layout Plain Layout -東 京 -\begin_inset Argument post:1 -status open - -\begin_layout Plain Layout -とう きょう -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - -\end_layout - -\begin_deeper -\begin_layout Itemize - -\lang english -Select D -\family sans -ocument\SpecialChar menuseparator -Settings\SpecialChar menuseparator -Modules\SpecialChar menuseparator -Annotation&Revision\SpecialChar menuseparator -Ruby -\family default -. -\end_layout - -\begin_layout Itemize - -\lang english -Select -\family sans -Edit\SpecialChar menuseparator -Custom Text Styles\SpecialChar menuseparator -Ruby -\family default - for the base character(s). -\end_layout - -\begin_layout Itemize - -\lang english -Select -\family sans -Insert\SpecialChar menuseparator -Ruby text -\family default - for the reading aid. -\end_layout - -\end_deeper -\end_body -\end_document diff --git a/lib/examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx b/lib/examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx deleted file mode 100644 index 7b3451f08a..0000000000 --- a/lib/examples/ja/Language_Support/Mixing_Japanese_with_other_Languages_%28with_platex%29.lyx +++ /dev/null @@ -1,312 +0,0 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 614 -\begin_document -\begin_header -\save_transient_properties true -\origin /systemlyxdir/examples/ja/ -\textclass bxjsarticle -\use_default_options true -\maintain_unincluded_children no -\language japanese -\language_package auto -\inputencoding utf8 -\fontencoding auto -\font_roman "DejaVuSerif" "IPAexMincho" -\font_sans "DejaVuSans" "IPAexGothic" -\font_typewriter "DejaVuSansMono" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_roman_osf false -\font_sans_osf false -\font_typewriter_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\float_placement class -\float_alignment class -\paperfontsize default -\spacing single -\use_hyperref false -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 0 -\use_minted 0 -\use_lineno 0 -\index 索引 -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tablestyle default -\tracking_changes false -\output_changes false -\change_bars false -\postpone_fragile_content false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\docbook_table_output 0 -\docbook_mathml_prefix 1 -\end_header - -\begin_body - -\begin_layout Title -\SpecialChar LyX -へようこそ! - -\end_layout - -\begin_layout Section* -\SpecialChar LyX -を使うために最初に知っておくべきことがら -\end_layout - -\begin_layout Standard -You can write text in other scripts and languages inside Japanese documents. - With non-TeX fonts, - make sure to use document classes that support XeTeX or LuaTeX. - (e.g. - document classes -\begin_inset Quotes eld -\end_inset - -Japanese … (BXJS Class) -\begin_inset Quotes erd -\end_inset - - or non-Japanese standard classes). -\end_layout - -\begin_layout Subsection* -Examples -\end_layout - -\begin_layout Standard -Text in Latin script: -\end_layout - -\begin_layout Quotation -English: - Hello Mr. - Sandman! -\end_layout - -\begin_layout Quotation -Deutsch: - Grüße aus Österreich! -\end_layout - -\begin_layout Standard -Some Japanese fonts contain Greek and Cyrillic characters, - however they are considerabely wider than characters in Latin, - Greek, - and Cyrillic TeX fonts. - -\end_layout - -\begin_layout Itemize -With -\emph on -TeX fonts -\emph default -, - LyX converts them to LaTeX macros, - so that the output matches other non-Japanese text. -\end_layout - -\begin_layout Itemize -With -\emph on -non-TeX fonts -\emph default -and -\emph on - Xe/LuaTeX -\emph default -, - there is no native support for use of specific fonts for different scripts/languages. - Some Unicode fonts provide a large range of characters, - but quality is not always best and -\begin_inset Quotes eld -\end_inset - -exotic -\begin_inset Quotes erd -\end_inset - - characters (like accented Greek) lead to -\emph on -missing character -\emph default -errors. -\end_layout - -\begin_layout Standard -Text in Cyrillic and Greek script: -\end_layout - -\begin_layout Quotation -Russisch: - Привет с -\emph on -новым -\emph default - годом! -\end_layout - -\begin_layout Quotation -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -ifdefined -\backslash -fontspec -\end_layout - -\end_inset - -Griechisch: - χαιρετισμος! -\end_layout - -\begin_layout Quotation -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -else -\end_layout - -\end_inset - -Griechisch: - χαιρετισμός! - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -fi -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Text in some other languages with correct language setting (not all languages supported by LyX are compatible with Japanese (you may try -\begin_inset Quotes eld -\end_inset - -japanese (CJK) -\begin_inset Quotes erd -\end_inset - -): -\end_layout - -\begin_layout Standard - -\lang english -English: - Hello Mr. - Sandman! -\end_layout - -\begin_layout Standard - -\lang afrikaans -Afrikaans: - Good dag minher. -\end_layout - -\begin_layout Standard - -\lang swedish -Swedish: - Hej då. -\end_layout - -\begin_layout Standard - -\lang ngerman -Deutsch: - Grüße aus Österreich! - -\end_layout - -\begin_layout Standard - -\lang french -French: - «Bonsoir à vous.» -\end_layout - -\begin_layout Standard - -\lang afrikaans -Griechisch: - χαιρετισμος! -\end_layout - -\begin_layout Standard - -\lang russian -Russisch: - Привет с -\emph on -новым -\emph default - годом! -\end_layout - -\end_body -\end_document