Fixup polyglossia-languages test file

* Workaround for churchslavonic
This commit is contained in:
Juergen Spitzmueller 2024-09-15 15:21:46 +02:00
parent e7c5b8aecc
commit e256357509

View File

@ -1,5 +1,5 @@
#LyX 2.4 created this file. For more info see https://www.lyx.org/ #LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 589 \lyxformat 620
\begin_document \begin_document
\begin_header \begin_header
\save_transient_properties true \save_transient_properties true
@ -24,34 +24,19 @@
\newfontfamily\thaanafont{FreeSerif} % missing script tag in FreeSerif \newfontfamily\thaanafont{FreeSerif} % missing script tag in FreeSerif
%\newfontfamily\thaanafont{Noto Sans Thaana} % works, too %\newfontfamily\thaanafont{Noto Sans Thaana} % works, too
\newfontfamily\tibetanfont{Noto Sans Tibetan} \newfontfamily\tibetanfont{Noto Sans Tibetan}
\newfontfamily\CJKfont{IPAexMincho}
\newfontfamily\CJKfontsf{IPAexGothic}
\newfontfamily\japanesefont[script=CJK]{IPAexMincho}
% Font setup for Japanese (not supported by Polyglossia) % Needed for churchslavonic which is an extra package
\usepackage{ifxetex} % and not yet adapted to the new polyglossia keyval interface
\ifxetex \usepackage{xkeyval}
\usepackage{xeCJK} % https://ctan.org/pkg/xecjk
\setCJKmainfont{IPAexMincho}
\setCJKsansfont{IPAexGothic}
\else
% with LuaTeX, https://www.ctan.org/pkg/luatexja
% see https://tex.stackexchange.com/questions/222980/how-to-use-chinese-with-lualatex
% Unfortunately, this conflicts with Korean font setup via Polyglossia
% and leads to missing glyphs: (church slavonic ⁙ (U+2059)) and
% typographical quotes).
% \ifdefined\luatexversion
% %\usepackage{luatexja-fontspec}
% \usepackage[match]{luatexja-fontspec}
% % use Mainfont for Greek and Cyrillic:
% \ltjsetparameter{jacharrange={-2}}
% \setmainjfont{IPAexMincho}
% \setsansjfont{IPAexGothic}
% %\setmonojfont{WenQuanYi Micro Hei Mono}
\fi
\end_preamble \end_preamble
\use_default_options false \use_default_options false
\begin_modules \begin_modules
enumitem enumitem
\end_modules \end_modules
\maintain_unincluded_children false \maintain_unincluded_children no
\language english \language english
\language_package auto \language_package auto
\inputencoding utf8 \inputencoding utf8
@ -111,72 +96,73 @@ enumitem
\suppress_date false \suppress_date false
\justification false \justification false
\use_refstyle 0 \use_refstyle 0
\use_formatted_ref 0
\use_minted 0 \use_minted 0
\use_lineno 0 \use_lineno 0
\branch only-as-document-language \branch only-as-document-language
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch babel-only \branch babel-only
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch non-TeX-fonts-only \branch non-TeX-fonts-only
\selected 1 \selected 1
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch polyglossia-only \branch polyglossia-only
\selected 1 \selected 1
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch CJK \branch CJK
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch debug \branch debug
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch conflict-rus-belarus \branch conflict-rus-belarus
\selected 1 \selected 1
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch conflict-es-gl \branch conflict-es-gl
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch conflict-bg-mk \branch conflict-bg-mk
\selected 1 \selected 1
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch conflict-babel-non-TeX-fonts \branch conflict-babel-non-TeX-fonts
\selected 1 \selected 1
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch standalone \branch standalone
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch conflict-luatex \branch conflict-luatex
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\branch conflict-ko \branch conflict-ko
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
\color #faf0e6 \color background background
\end_branch \end_branch
\index Stichwortverzeichnis \index Stichwortverzeichnis
\shortcut idx \shortcut idx
@ -196,9 +182,13 @@ enumitem
\tablestyle default \tablestyle default
\tracking_changes false \tracking_changes false
\output_changes false \output_changes false
\change_bars false
\postpone_fragile_content false
\html_math_output 0 \html_math_output 0
\html_css_as_file 0 \html_css_as_file 0
\html_be_strict false \html_be_strict false
\docbook_table_output 0
\docbook_mathml_prefix 1
\end_header \end_header
\begin_body \begin_body
@ -211,8 +201,10 @@ Languages supported by LyX
With language examples that work with With language examples that work with
\emph on \emph on
Polyglossia, Polyglossia,
\emph default \emph default
XeTeX or LuaTeX, and XeTeX or LuaTeX,
and
\begin_inset Quotes eld \begin_inset Quotes eld
\end_inset \end_inset