X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2FXeTeX-polyglossia.tex;h=826f5060db1d8d59f91e61a42f8aeaaebe23b750;hb=8ac43f2e0465f15d336a8910c8fdf0e5f8b07fbe;hp=99a185b44bd7a22f4255a86f083f0eeb1fb360a0;hpb=73f0f4dd6c82bca169e686c0a5d5bc7b410aae00;p=lyx.git diff --git a/src/tex2lyx/test/XeTeX-polyglossia.tex b/src/tex2lyx/test/XeTeX-polyglossia.tex index 99a185b44b..826f5060db 100644 --- a/src/tex2lyx/test/XeTeX-polyglossia.tex +++ b/src/tex2lyx/test/XeTeX-polyglossia.tex @@ -1,20 +1,20 @@ -\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[variant=monotonic]{greek} -\setotherlanguage{syriac} +\setotherlanguage[variant=polytonic]{greek} +\setotherlanguage{hebrew} \begin{document} \part{df} -1 Coptic \textgreek[variant=ancient]{ancient 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}% @@ -23,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}%