X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2FXeTeX-polyglossia.tex;h=826f5060db1d8d59f91e61a42f8aeaaebe23b750;hb=9960709fc25756cce248d39ba9c99f1089d3e020;hp=81a2258814a924b140bf7353c4ea94059c33dad4;hpb=79352b9882b35bdb867f2f2506ff938050d50a44;p=lyx.git diff --git a/src/tex2lyx/test/XeTeX-polyglossia.tex b/src/tex2lyx/test/XeTeX-polyglossia.tex index 81a2258814..826f5060db 100644 --- a/src/tex2lyx/test/XeTeX-polyglossia.tex +++ b/src/tex2lyx/test/XeTeX-polyglossia.tex @@ -1,22 +1,20 @@ -%% 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{divehi} -\setotherlanguage{greek} -\setotherlanguage{syriac} +\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}% @@ -25,26 +23,13 @@ 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}%