1
0

Use XeLaTeX

This commit is contained in:
dump_stack() 2019-06-15 01:39:14 +00:00
parent 6d554fd6ae
commit 42379560a3
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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,