diff --git a/Makefile b/Makefile index 7334cb0..6a64778 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ all: - rubber --pdf faif-2.0.tex + rubber -m xelatex faif-2.0.tex open: all xdg-open faif-2.0.pdf diff --git a/faif-2.0.tex b/faif-2.0.tex index 9e75335..763c534 100644 --- a/faif-2.0.tex +++ b/faif-2.0.tex @@ -7,13 +7,22 @@ %% no Back-Cover Texts. A copy of the license is included in the %% file called ``gfdl.tex''. -\documentclass[pdftex, 10pt]{book} +\documentclass[10pt]{book} \usepackage{url} -\usepackage[utf8x]{inputenc} \usepackage[Lenny]{fncychap} \clubpenalty=10000 \widowpenalty=10000 +\usepackage{polyglossia} +\setmainlanguage{russian} +\setotherlanguage{english} + +\usepackage{fontspec} +\setmainfont{Liberation Serif} +\newfontfamily{\cyrillicfonttt}{Liberation Mono} +\setsansfont{Liberation Sans} +\setmonofont{Liberation Mono} + %% PDF setup \usepackage{hyperref} \hypersetup{colorlinks=true,