X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2FXeTeX-polyglossia.tex;h=826f5060db1d8d59f91e61a42f8aeaaebe23b750;hb=9960709fc25756cce248d39ba9c99f1089d3e020;hp=49d2e512c6193f0d4ccfadc541351840fb68a072;hpb=aa9fed932225bb9344a056df3610258f19fa94dd;p=lyx.git diff --git a/src/tex2lyx/test/XeTeX-polyglossia.tex b/src/tex2lyx/test/XeTeX-polyglossia.tex index 49d2e512c6..826f5060db 100644 --- a/src/tex2lyx/test/XeTeX-polyglossia.tex +++ b/src/tex2lyx/test/XeTeX-polyglossia.tex @@ -1,47 +1,35 @@ -%% LyX 2.1.0svn created this file. For more info, see http://www.lyx.org/. -%% Do not edit unless you really know what you are doing. -\documentclass[albanian]{article} +\documentclass{article} \usepackage{fontspec} -\setmainfont[Mapping=tex-text]{Aharoni} -\setsansfont[Mapping=tex-text]{AngsanaUPC} -\setmonofont{Arial Black} +\setmainfont[Mapping=tex-text]{Linux Libertine O} +\setsansfont[Mapping=tex-text,Scale=0.75]{Linux Biolinum O} +\setmonofont{Linux Biolinum O} \usepackage{xunicode} \usepackage{polyglossia} -\setdefaultlanguage{coptic} +\setdefaultlanguage[variant=british, ordinalmonthday = false]{english} \setotherlanguage{albanian} +\setotherlanguage[variant=polytonic]{greek} +\setotherlanguage{hebrew} \begin{document} \part{df} -1 Coptic \textgreek{Greek} Coptic +1 English \textgreek[variant=ancient]{ancient Greek} English +\textgreek[numerals=arabic, variant=ancient]{ancient G\textsf{reek} with Arabic numerals} English \begin{albanian}% \part{df} -2 Albanian \textgreek{Greek} Albanian +2 Albanian \textgreek{Greek} Albanian \textsc{smallcaps} \end{albanian}% -\begin{divehi}% +\begin{hebrew}% \part{df} -3 +3 Hebrew -\end{divehi}% -\begin{syriac}% - -\part{df} - -4 - -\end{syriac}% -\begin{divehi}% - -\part{df} - -5 -\end{divehi}% +\end{hebrew}% %empty language paragraph \begin{albanian}%