]> git.lyx.org Git - features.git/commitdiff
XeTeX-polyglossia.tex: partly ported from trunk: simplifications, added some more...
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 23 Jun 2012 02:33:36 +0000 (04:33 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 23 Jun 2012 02:33:36 +0000 (04:33 +0200)
src/tex2lyx/test/XeTeX-polyglossia.tex

index c626d3cb80b686ccc57717766981d5faa79b2729..a17af3d0b6f53c3d3054ced5103df4b61a21c009 100644 (file)
@@ -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[basque]{article}
+\documentclass{article}
 \usepackage{fontspec}
-\setmainfont[Mapping=tex-text]{Aharoni}
+\setmainfont{Aharoni}
 \setsansfont[Mapping=tex-text]{AngsanaUPC}
 \setmonofont{Arial Black}
 \usepackage{xunicode}
 \usepackage{polyglossia}
-\setdefaultlanguage{basque}
+\setdefaultlanguage[variant=british, ordinalmonthday = false]{english}
 \setotherlanguage{albanian}
-\setotherlanguage{breton}
-\setotherlanguage{greek}
+\setotherlanguage[variant=polytonic]{greek}
 \setotherlanguage{german}
 \begin{document}
 
 \part{df}
 
-1 Basque \textgreek{Greek} Basque
+1 English \textgreek[variant=ancient]{ancient Greek} English
+\textgreek[numerals=arabic, variant=ancient]{ancient Greek with Arabic numerals} English
 
 \begin{albanian}%
 
 
 \part{df}
 
-3
+3 German
 
-\end{german}%
-\begin{breton}%
-
-\part{df}
-
-4
-
-\end{breton}%
-\begin{german}%
-
-\part{df}
-
-5
 \end{german}%
 
 %empty language paragraph