Use XeLaTeX
This commit is contained in:
parent
6d554fd6ae
commit
42379560a3
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
all:
|
all:
|
||||||
rubber --pdf faif-2.0.tex
|
rubber -m xelatex faif-2.0.tex
|
||||||
|
|
||||||
open: all
|
open: all
|
||||||
xdg-open faif-2.0.pdf
|
xdg-open faif-2.0.pdf
|
||||||
|
13
faif-2.0.tex
13
faif-2.0.tex
@ -7,13 +7,22 @@
|
|||||||
%% no Back-Cover Texts. A copy of the license is included in the
|
%% no Back-Cover Texts. A copy of the license is included in the
|
||||||
%% file called ``gfdl.tex''.
|
%% file called ``gfdl.tex''.
|
||||||
|
|
||||||
\documentclass[pdftex, 10pt]{book}
|
\documentclass[10pt]{book}
|
||||||
\usepackage{url}
|
\usepackage{url}
|
||||||
\usepackage[utf8x]{inputenc}
|
|
||||||
\usepackage[Lenny]{fncychap}
|
\usepackage[Lenny]{fncychap}
|
||||||
\clubpenalty=10000
|
\clubpenalty=10000
|
||||||
\widowpenalty=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
|
%% PDF setup
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
\hypersetup{colorlinks=true,
|
\hypersetup{colorlinks=true,
|
||||||
|
Loading…
Reference in New Issue
Block a user