mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 03:23:12 +00:00
XeTeX-polyglossia.tex: partly ported from trunk: simplifications, added some more testcases
This commit is contained in:
parent
b835e6e03b
commit
371d2dd461
@ -1,22 +1,20 @@
|
|||||||
%% LyX 2.1.0svn created this file. For more info, see http://www.lyx.org/.
|
\documentclass{article}
|
||||||
%% Do not edit unless you really know what you are doing.
|
|
||||||
\documentclass[basque]{article}
|
|
||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
\setmainfont[Mapping=tex-text]{Aharoni}
|
\setmainfont{Aharoni}
|
||||||
\setsansfont[Mapping=tex-text]{AngsanaUPC}
|
\setsansfont[Mapping=tex-text]{AngsanaUPC}
|
||||||
\setmonofont{Arial Black}
|
\setmonofont{Arial Black}
|
||||||
\usepackage{xunicode}
|
\usepackage{xunicode}
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setdefaultlanguage{basque}
|
\setdefaultlanguage[variant=british, ordinalmonthday = false]{english}
|
||||||
\setotherlanguage{albanian}
|
\setotherlanguage{albanian}
|
||||||
\setotherlanguage{breton}
|
\setotherlanguage[variant=polytonic]{greek}
|
||||||
\setotherlanguage{greek}
|
|
||||||
\setotherlanguage{german}
|
\setotherlanguage{german}
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\part{df}
|
\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}%
|
\begin{albanian}%
|
||||||
|
|
||||||
@ -29,21 +27,8 @@
|
|||||||
|
|
||||||
\part{df}
|
\part{df}
|
||||||
|
|
||||||
3
|
3 German
|
||||||
|
|
||||||
\end{german}%
|
|
||||||
\begin{breton}%
|
|
||||||
|
|
||||||
\part{df}
|
|
||||||
|
|
||||||
4
|
|
||||||
|
|
||||||
\end{breton}%
|
|
||||||
\begin{german}%
|
|
||||||
|
|
||||||
\part{df}
|
|
||||||
|
|
||||||
5
|
|
||||||
\end{german}%
|
\end{german}%
|
||||||
|
|
||||||
%empty language paragraph
|
%empty language paragraph
|
||||||
|
Loading…
Reference in New Issue
Block a user