X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2FXeTeX-polyglossia.tex;h=826f5060db1d8d59f91e61a42f8aeaaebe23b750;hb=d3c63f97c4fce4e091277ced6c1829473c311231;hp=3ea7c1e53a9c56af9a2e60b93e2c1d905d6a6596;hpb=7eca5d94d1dcdceb8f9a904918642e8370550690;p=lyx.git diff --git a/src/tex2lyx/test/XeTeX-polyglossia.tex b/src/tex2lyx/test/XeTeX-polyglossia.tex index 3ea7c1e53a..826f5060db 100644 --- a/src/tex2lyx/test/XeTeX-polyglossia.tex +++ b/src/tex2lyx/test/XeTeX-polyglossia.tex @@ -1,44 +1,38 @@ -%% 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 +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 +2 Albanian \textgreek{Greek} Albanian \textsc{smallcaps} \end{albanian}% -\begin{divehi}% +\begin{hebrew}% \part{df} -3 +3 Hebrew -\end{divehi}% -\begin{syriac}% +\end{hebrew}% -\part{df} - -4 - -\end{syriac}% -\begin{divehi}% - -\part{df} +%empty language paragraph +\begin{albanian}% +\end{albanian}% -5 \end{document}