Update test document for supported languages.

This commit is contained in:
Günter Milde 2019-09-02 16:07:10 +02:00
parent 8bfe3d7198
commit 3d0f39ea6a
3 changed files with 26 additions and 15 deletions

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 576 \lyxformat 589
\begin_document \begin_document
\begin_header \begin_header
\save_transient_properties true \save_transient_properties true
@ -18,6 +18,7 @@
\newfontfamily\laofont[Script=Lao]{Noto Serif Lao} \newfontfamily\laofont[Script=Lao]{Noto Serif Lao}
% gloss-marathi.ldf has a spelling error: "script=Devaganari" % gloss-marathi.ldf has a spelling error: "script=Devaganari"
\newfontfamily\marathifont[Script=Devanagari]{Noto Sans Devanagari} \newfontfamily\marathifont[Script=Devanagari]{Noto Sans Devanagari}
% prevent spurious polyglossia error (missing script tag):
\newfontfamily\syriacfont[Script=Syriac]{FreeSans} \newfontfamily\syriacfont[Script=Syriac]{FreeSans}
\newfontfamily\tamilfont[Script=Tamil]{Noto Serif Tamil} \newfontfamily\tamilfont[Script=Tamil]{Noto Serif Tamil}
\newfontfamily\telugufont[Script=Telugu]{Noto Serif Telugu} \newfontfamily\telugufont[Script=Telugu]{Noto Serif Telugu}
@ -62,7 +63,9 @@ enumitem
\font_default_family default \font_default_family default
\use_non_tex_fonts false \use_non_tex_fonts false
\font_sc false \font_sc false
\font_osf false \font_roman_osf false
\font_sans_osf false
\font_typewriter_osf false
\font_sf_scale 100 100 \font_sf_scale 100 100
\font_tt_scale 100 100 \font_tt_scale 100 100
\font_cjk gbsn \font_cjk gbsn
@ -87,7 +90,7 @@ enumitem
\pdf_colorlinks true \pdf_colorlinks true
\pdf_backref section \pdf_backref section
\pdf_pdfusetitle true \pdf_pdfusetitle true
\papersize a4paper \papersize a4
\use_geometry false \use_geometry false
\use_package amsmath 1 \use_package amsmath 1
\use_package amssymb 1 \use_package amssymb 1
@ -110,7 +113,11 @@ enumitem
\use_refstyle 0 \use_refstyle 0
\use_minted 0 \use_minted 0
\use_lineno 0 \use_lineno 0
\lineno_options \branch only-as-document-language \branch only-as-document-language
\selected 0
\filename_suffix 0
\color #faf0e6
\end_branch
\branch babel-only \branch babel-only
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0

View File

@ -1,12 +1,12 @@
#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 575 \lyxformat 589
\begin_document \begin_document
\begin_header \begin_header
\save_transient_properties true \save_transient_properties true
\origin unavailable \origin unavailable
\textclass scrartcl \textclass scrartcl
\begin_preamble \begin_preamble
\newfontfamily\amharicfont{NotoSansEthiopic} %\newfontfamily\amharicfont{Noto Sans Ethiopic}
\newfontfamily\churchslavonicfont[Script=Cyrillic]{MonomakhUnicode} \newfontfamily\churchslavonicfont[Script=Cyrillic]{MonomakhUnicode}
\newfontfamily\devanagarifont[Script=Devanagari]{Noto Sans Devanagari} \newfontfamily\devanagarifont[Script=Devanagari]{Noto Sans Devanagari}
\newfontfamily\hangulfont[Script=Hangul]{Baekmuk Batang} \newfontfamily\hangulfont[Script=Hangul]{Baekmuk Batang}
@ -52,7 +52,9 @@ enumitem
\font_default_family default \font_default_family default
\use_non_tex_fonts true \use_non_tex_fonts true
\font_sc false \font_sc false
\font_osf false \font_roman_osf false
\font_sans_osf false
\font_typewriter_osf false
\font_sf_scale 100 100 \font_sf_scale 100 100
\font_tt_scale 100 100 \font_tt_scale 100 100
\font_cjk gbsn \font_cjk gbsn
@ -77,7 +79,7 @@ enumitem
\pdf_colorlinks true \pdf_colorlinks true
\pdf_backref section \pdf_backref section
\pdf_pdfusetitle true \pdf_pdfusetitle true
\papersize a4paper \papersize a4
\use_geometry false \use_geometry false
\use_package amsmath 1 \use_package amsmath 1
\use_package amssymb 1 \use_package amssymb 1
@ -100,7 +102,6 @@ enumitem
\use_refstyle 0 \use_refstyle 0
\use_minted 0 \use_minted 0
\use_lineno 0 \use_lineno 0
\lineno_options
\branch only-as-document-language \branch only-as-document-language
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0
@ -193,7 +194,7 @@ Languages supported by LyX
\begin_layout Standard \begin_layout Standard
With language examples that work with With language examples that work with
\emph on \emph on
Polyglossian Polyglossia
\emph default \emph default
and LuaTeX. and LuaTeX.
\end_layout \end_layout

View File

@ -6,15 +6,16 @@
\origin unavailable \origin unavailable
\textclass scrartcl \textclass scrartcl
\begin_preamble \begin_preamble
\newfontfamily\amharicfont{NotoSansEthiopic} \newfontfamily\amharicfont{Noto Sans Ethiopic}
\newfontfamily\churchslavonicfont[Script=Cyrillic]{MonomakhUnicode} \newfontfamily\churchslavonicfont[Script=Cyrillic]{MonomakhUnicode}
\newfontfamily\devanagarifont[Script=Devanagari]{Noto Sans Devanagari} \newfontfamily\devanagarifont[Script=Devanagari]{Noto Serif Devanagari}
\newfontfamily\hangulfont[Script=Hangul]{Baekmuk Batang} \newfontfamily\hangulfont[Script=Hangul]{Baekmuk Batang}
\newfontfamily\kannadafont[Script=Kannada]{Noto Serif Kannada} \newfontfamily\kannadafont[Script=Kannada]{Noto Serif Kannada}
\newfontfamily\khmerfont[Script=Khmer]{Noto Serif Khmer} \newfontfamily\khmerfont[Script=Khmer]{Noto Serif Khmer}
\newfontfamily\laofont[Script=Lao]{Noto Serif Lao} \newfontfamily\laofont[Script=Lao]{Noto Serif Lao}
% gloss-marathi.ldf has a spelling error: "script=Devaganari" % gloss-marathi.ldf has a spelling error: "script=Devaganari"
\newfontfamily\marathifont[Script=Devanagari]{Noto Sans Devanagari} \newfontfamily\marathifont[Script=Devanagari]{Noto Serif Devanagari}
% prevent spurious polyglossia error (missing script tag):
\newfontfamily\syriacfont[Script=Syriac]{FreeSans} \newfontfamily\syriacfont[Script=Syriac]{FreeSans}
\newfontfamily\tamilfont[Script=Tamil]{Noto Serif Tamil} \newfontfamily\tamilfont[Script=Tamil]{Noto Serif Tamil}
\newfontfamily\telugufont[Script=Telugu]{Noto Serif Telugu} \newfontfamily\telugufont[Script=Telugu]{Noto Serif Telugu}
@ -30,7 +31,6 @@
\setCJKmainfont{IPAexMincho} \setCJKmainfont{IPAexMincho}
\setCJKsansfont{IPAexGothic} \setCJKsansfont{IPAexGothic}
\fi \fi
% with LuaTeX, https://www.ctan.org/pkg/luatexja % with LuaTeX, https://www.ctan.org/pkg/luatexja
% see https://tex.stackexchange.com/questions/222980/how-to-use-chinese-with-lualatex % see https://tex.stackexchange.com/questions/222980/how-to-use-chinese-with-lualatex
\usepackage{ifluatex} \usepackage{ifluatex}
@ -110,8 +110,11 @@ enumitem
\use_refstyle 0 \use_refstyle 0
\use_minted 0 \use_minted 0
\use_lineno 0 \use_lineno 0
\lineno_options
\branch only-as-document-language \branch only-as-document-language
\selected 0
\filename_suffix 0
\color #faf0e6
\end_branch
\branch babel-only \branch babel-only
\selected 0 \selected 0
\filename_suffix 0 \filename_suffix 0