2019-06-14 22:47:45 +00:00
|
|
|
|
%% Copyright (c) 2002, 2010 Sam Williams
|
|
|
|
|
%% Copyright (c) 2010 Richard M. Stallman
|
|
|
|
|
%% Permission is granted to copy, distribute and/or modify this
|
|
|
|
|
%% document under the terms of the GNU Free Documentation License,
|
|
|
|
|
%% Version 1.3 or any later version published by the Free Software
|
|
|
|
|
%% Foundation; with no Invariant Sections, no Front-Cover Texts, and
|
|
|
|
|
%% no Back-Cover Texts. A copy of the license is included in the
|
|
|
|
|
%% file called ``gfdl.tex''.
|
|
|
|
|
|
2019-06-15 01:39:14 +00:00
|
|
|
|
\documentclass[10pt]{book}
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\usepackage{url}
|
|
|
|
|
\usepackage[Lenny]{fncychap}
|
|
|
|
|
\clubpenalty=10000
|
|
|
|
|
\widowpenalty=10000
|
|
|
|
|
|
2019-06-15 01:39:14 +00:00
|
|
|
|
\usepackage{polyglossia}
|
|
|
|
|
\setmainlanguage{russian}
|
|
|
|
|
\setotherlanguage{english}
|
2022-04-22 16:13:37 +00:00
|
|
|
|
\setkeys{russian}{babelshorthands=true}
|
2019-06-15 01:39:14 +00:00
|
|
|
|
|
|
|
|
|
\usepackage{fontspec}
|
|
|
|
|
\setmainfont{Liberation Serif}
|
|
|
|
|
\newfontfamily{\cyrillicfonttt}{Liberation Mono}
|
|
|
|
|
\setsansfont{Liberation Sans}
|
|
|
|
|
\setmonofont{Liberation Mono}
|
|
|
|
|
|
2019-06-18 03:15:36 +00:00
|
|
|
|
\usepackage{csquotes}
|
|
|
|
|
|
2019-06-14 22:47:45 +00:00
|
|
|
|
%% PDF setup
|
|
|
|
|
\usepackage{hyperref}
|
|
|
|
|
\hypersetup{colorlinks=true,
|
|
|
|
|
citecolor=blue,
|
|
|
|
|
filecolor=blue,
|
|
|
|
|
linkcolor=blue,
|
|
|
|
|
urlcolor=blue,
|
|
|
|
|
bookmarksopen=true,
|
2019-08-07 08:36:05 +00:00
|
|
|
|
pdftitle=Ричард Столлман и революция свободного программного обеспечения,
|
2019-08-05 14:40:39 +00:00
|
|
|
|
pdfauthor=Ричард Столлман и Сэм Вильямс,
|
2019-06-14 22:47:45 +00:00
|
|
|
|
pdftex}
|
|
|
|
|
|
|
|
|
|
%% Index
|
|
|
|
|
\usepackage{makeidx}
|
|
|
|
|
\makeindex
|
|
|
|
|
|
|
|
|
|
%% Photos
|
|
|
|
|
\usepackage{graphicx}
|
|
|
|
|
\usepackage[labelformat=empty,font={small,it}, width=3.75in]{caption}
|
|
|
|
|
|
|
|
|
|
%% Paper size
|
|
|
|
|
\usepackage{geometry}
|
|
|
|
|
\geometry{papersize={6in,9in}}
|
|
|
|
|
|
|
|
|
|
\setcounter{errorcontextlines}{10}
|
|
|
|
|
|
2022-04-24 20:24:51 +00:00
|
|
|
|
% Header and Footer
|
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
|
|
|
|
|
|
\fancyhf{}
|
|
|
|
|
|
2022-04-25 18:47:07 +00:00
|
|
|
|
|
2022-04-24 20:39:05 +00:00
|
|
|
|
%%%% Header Settings
|
|
|
|
|
\fancyhead[RE]{\leftmark}
|
|
|
|
|
\fancyhead[LO]{\rightmark}
|
|
|
|
|
\fancyhead[CE,CO]{}
|
2022-04-24 20:24:51 +00:00
|
|
|
|
|
2022-04-24 20:39:05 +00:00
|
|
|
|
% Footer Settings
|
|
|
|
|
\fancyfoot[C]{\thepage}
|
2022-04-24 20:24:51 +00:00
|
|
|
|
|
2022-04-24 20:39:05 +00:00
|
|
|
|
% Redefining headrule
|
|
|
|
|
\makeatletter
|
|
|
|
|
\renewcommand{\headrule}{\hrule height 0pt}
|
2022-04-24 20:24:51 +00:00
|
|
|
|
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\begin{document}
|
2022-04-25 18:47:07 +00:00
|
|
|
|
|
2019-08-07 08:36:05 +00:00
|
|
|
|
\title{Ричард Столлман и революция свободного программного обеспечения}
|
2019-08-05 14:40:39 +00:00
|
|
|
|
\author{Сэм Вильямс \\ Второе издание с правками от Ричарда Мэттью Столлмана}
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\date{}
|
|
|
|
|
|
|
|
|
|
\maketitle
|
2022-04-25 18:47:07 +00:00
|
|
|
|
|
|
|
|
|
\begin{sloppypar}
|
|
|
|
|
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\thispagestyle{empty}
|
|
|
|
|
\frontmatter
|
|
|
|
|
\include{copyright}
|
|
|
|
|
\thispagestyle{empty}
|
|
|
|
|
\tableofcontents
|
2022-04-25 18:47:07 +00:00
|
|
|
|
|
|
|
|
|
\pagestyle{fancy}
|
|
|
|
|
\renewcommand{\chaptermark}[1]{%
|
|
|
|
|
\markboth{\MakeUppercase{#1}}{}}
|
|
|
|
|
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\include{rms-preface}
|
|
|
|
|
\include{preface-williams}
|
|
|
|
|
|
|
|
|
|
\mainmatter
|
2022-04-25 18:47:07 +00:00
|
|
|
|
|
|
|
|
|
%% fancy pagestyle redifine
|
|
|
|
|
\renewcommand{\chaptermark}[1]{%
|
|
|
|
|
\markboth{\MakeUppercase{%
|
|
|
|
|
\chaptername\ \thechapter.%
|
|
|
|
|
\ #1}}{}}
|
|
|
|
|
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\include{chap01}
|
|
|
|
|
\include{chap02}
|
|
|
|
|
\include{chap03}
|
|
|
|
|
\include{chap04}
|
|
|
|
|
\include{chap05}
|
|
|
|
|
\include{chap06}
|
|
|
|
|
\include{chap07}
|
|
|
|
|
\include{chap08}
|
|
|
|
|
\include{chap09}
|
|
|
|
|
\include{chap10}
|
|
|
|
|
\include{chap11}
|
|
|
|
|
\include{chap12}
|
|
|
|
|
\include{chap13}
|
|
|
|
|
|
|
|
|
|
\backmatter
|
2022-04-24 20:24:51 +00:00
|
|
|
|
|
2022-04-25 18:47:07 +00:00
|
|
|
|
%% fancy pagestyle redifine
|
2022-04-24 20:39:05 +00:00
|
|
|
|
\renewcommand{\chaptermark}[1]{%
|
|
|
|
|
\markboth{\MakeUppercase{#1}}{}}
|
2022-04-24 20:24:51 +00:00
|
|
|
|
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\include{epilogue}
|
|
|
|
|
\include{appendix}
|
|
|
|
|
\include{gfdl}
|
|
|
|
|
\printindex
|
2022-04-25 18:47:07 +00:00
|
|
|
|
|
|
|
|
|
\end{sloppypar}
|
|
|
|
|
|
2019-06-14 22:47:45 +00:00
|
|
|
|
\end{document}
|
|
|
|
|
|
|
|
|
|
% Initial LaTeX formatting by John Sullivan at the FSF, 2010
|