added talk slides...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
116
talks/20230225 - Presentation at Orlov's/Makefile
Normal file
@ -0,0 +1,116 @@
|
||||
#----------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#----------------------------------------------------------------------
|
||||
# make config...
|
||||
|
||||
.SECONDEXPANSION:
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# config...
|
||||
|
||||
DIST_DIR := dist/PRINT
|
||||
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# sources...
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# config/commands...
|
||||
|
||||
MD = @mkdir -p
|
||||
|
||||
|
||||
# primary engine, everything works...
|
||||
# NOTE: several hacks had to be made -- see setup.tex
|
||||
CMD = lualatex
|
||||
|
||||
ARGS = -output-driver="xdvipdfmx -q -E -V 3"
|
||||
|
||||
COMPONENTS := \
|
||||
photobook-cover.pdf \
|
||||
photobook-jacket.pdf \
|
||||
photobook-endpaper.pdf \
|
||||
hello-world.pdf
|
||||
|
||||
IMAGES := $(wildcard images/*)
|
||||
|
||||
ifeq ($(DEBUG),)
|
||||
STDERR := > /dev/null
|
||||
endif
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# components and rules...
|
||||
|
||||
|
||||
# book blocks...
|
||||
#
|
||||
# generic latex -> pdf...
|
||||
#
|
||||
%.pdf: %.tex $(SETUP)
|
||||
-$(CMD) $< $(STDERR)
|
||||
|
||||
|
||||
photobook-slides.pdf: $(COMPONENTS)
|
||||
|
||||
photobook-slides-web.pdf: photobook-slides.pdf
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# production targets...
|
||||
|
||||
#.INTERMEDIATE: $(COMPONENTS)
|
||||
|
||||
.PHONY: all
|
||||
all: web
|
||||
|
||||
.PHONY: slides
|
||||
slides: photobook-slides.pdf $(IMAGES)
|
||||
|
||||
.PHONY: web
|
||||
web: photobook-slides-web.pdf slides
|
||||
|
||||
.PHONY: components
|
||||
components: $(COMPONENTS)
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# packageing...
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# utility trgets...
|
||||
|
||||
.PHONY: sweep
|
||||
sweep:
|
||||
-rm -f *.out *.aux *.log *.upa *.cpt *.synctex* \
|
||||
$(COMPONENTS) ; true
|
||||
|
||||
|
||||
.PHONY: clean-dist
|
||||
clean-dist:
|
||||
-rm -rf ./dist
|
||||
|
||||
|
||||
.PHONY: clean
|
||||
clean: sweep
|
||||
-rm -rf *.pdf PRINT *.image-list ; true
|
||||
|
||||
|
||||
|
||||
.PHONY: clean-all
|
||||
clean-all: clean clean-dist
|
||||
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
#
|
||||
43
talks/20230225 - Presentation at Orlov's/README.md
Normal file
@ -0,0 +1,43 @@
|
||||
2023.02.25: `photobook` talk
|
||||
============================
|
||||
|
||||
These are the "slides" for a talk given on the 25th of Feb 2023.
|
||||
|
||||
Since the topic of the talk is making photo books in LaTeX, the slides are
|
||||
built as a photo book.
|
||||
|
||||
|
||||
## Building
|
||||
|
||||
To build:
|
||||
```shell
|
||||
$ make all sweep
|
||||
```
|
||||
|
||||
Generated pdf's:
|
||||
- `photobook-slides.pdf`
|
||||
The actual slides used for the talk. These require a pdf viewer that
|
||||
supports "book mode" and the "two-page view", and preferably good enough
|
||||
maners not to ignore the settings set in the file.
|
||||
- `photobook-slides-web.pdf`
|
||||
Compatibility version that sets one spread per page. This should work
|
||||
on any pdf viewer.
|
||||
|
||||
|
||||
To explisictly build the component pages used in the slides:
|
||||
```shell
|
||||
$ make components
|
||||
```
|
||||
|
||||
## Licensing:
|
||||
- All _photographs_ are by Alex A. Naanou, and licenced under
|
||||
the Creative Commons, Attribution-NonCommercial-NoDerivatives 4.0
|
||||
(CC BY-NC-ND 4.0)
|
||||
https://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||
- The _source code_ of this book/slides is licensed under the New BSD License
|
||||
(BSD-3-clause)
|
||||
https://opensource.org/license/bsd-3-clause/
|
||||
- The _code listed in this book_ can be treated as _Public Domain_
|
||||
https://en.wikipedia.org/wiki/Public_domain
|
||||
|
||||
|
||||
14
talks/20230225 - Presentation at Orlov's/hello-world.tex
Normal file
@ -0,0 +1,14 @@
|
||||
\documentclass[a5paper]{book}
|
||||
% Что-бы было видно страницу на сером фоне
|
||||
\usepackage{xcolor}
|
||||
\usepackage{pagecolor}
|
||||
\pagecolor{white}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\LARGE
|
||||
Hello World!\footnotemark[42]
|
||||
|
||||
\footnotetext[42]{From \LaTeX}
|
||||
|
||||
\end{document}
|
||||
BIN
talks/20230225 - Presentation at Orlov's/images/DSC00182.png
Normal file
|
After Width: | Height: | Size: 872 KiB |
BIN
talks/20230225 - Presentation at Orlov's/images/DSC02091.png
Normal file
|
After Width: | Height: | Size: 849 KiB |
BIN
talks/20230225 - Presentation at Orlov's/images/DSC03603a.png
Normal file
|
After Width: | Height: | Size: 919 KiB |
BIN
talks/20230225 - Presentation at Orlov's/images/DSC03759.png
Normal file
|
After Width: | Height: | Size: 868 KiB |
BIN
talks/20230225 - Presentation at Orlov's/images/DSC05647.png
Normal file
|
After Width: | Height: | Size: 749 KiB |
BIN
talks/20230225 - Presentation at Orlov's/images/DSC06650.png
Normal file
|
After Width: | Height: | Size: 922 KiB |
5
talks/20230225 - Presentation at Orlov's/images/LICENSE
Normal file
@ -0,0 +1,5 @@
|
||||
All photographs in this directory are by Alex A. Naanou, and licenced under
|
||||
the Creative Commons, Attribution-NonCommercial-NoDerivatives 4.0 (CC BY-NC-ND 4.0)
|
||||
|
||||
https://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||
|
||||
BIN
talks/20230225 - Presentation at Orlov's/images/TeXWorks.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
talks/20230225 - Presentation at Orlov's/images/commandline.png
Normal file
|
After Width: | Height: | Size: 185 KiB |
BIN
talks/20230225 - Presentation at Orlov's/images/latex.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
31
talks/20230225 - Presentation at Orlov's/photobook-cover.tex
Normal file
@ -0,0 +1,31 @@
|
||||
%----------------------------------------------------------------------
|
||||
|
||||
\documentclass[
|
||||
layoutmode=cover,
|
||||
% make the spread 16x9...
|
||||
blockwidth=96mm, blockheight=108mm,
|
||||
spinewidth=5mm,
|
||||
spinefold=2mm,
|
||||
coverflap=17mm,
|
||||
coverboardgrow=0.5mm,
|
||||
bleed=0mm,
|
||||
bindingoffset=0mm,
|
||||
% image block configuration...
|
||||
imageblockwidth=0.98, imageblockheight=0.98,
|
||||
imageblockoffsettop=0mm,
|
||||
% misc...
|
||||
12pt,final,openany
|
||||
]{photobook}
|
||||
|
||||
\pagecolor{white}
|
||||
%\textblockrulecolour{black}
|
||||
|
||||
\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\fontsize{6pt}{8pt}\selectfont
|
||||
|
||||
\GenerateTemplate
|
||||
|
||||
|
||||
%----------------------------------------------------------------------
|
||||
\end{document} % vim:set ts=4 sw=4 :
|
||||
@ -0,0 +1,33 @@
|
||||
%----------------------------------------------------------------------
|
||||
|
||||
\documentclass[
|
||||
layoutmode=endpaper,
|
||||
% make the spread 16x9...
|
||||
blockwidth=96mm, blockheight=108mm,
|
||||
spinewidth=5mm,
|
||||
spinefold=2mm,
|
||||
coverflap=17mm,
|
||||
coverboardgrow=0.5mm,
|
||||
jacketflap=50mm,
|
||||
jacketwrap=0.5mm,
|
||||
bleed=0mm,
|
||||
bindingoffset=0mm,
|
||||
% image block configuration...
|
||||
imageblockwidth=0.98, imageblockheight=0.98,
|
||||
imageblockoffsettop=0mm,
|
||||
% misc...
|
||||
12pt,final,openany
|
||||
]{photobook}
|
||||
|
||||
\pagecolor{white}
|
||||
%\textblockrulecolour{black}
|
||||
|
||||
\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\fontsize{6pt}{8pt}\selectfont
|
||||
|
||||
\GenerateTemplate
|
||||
|
||||
|
||||
%----------------------------------------------------------------------
|
||||
\end{document} % vim:set ts=4 sw=4 :
|
||||
@ -0,0 +1,33 @@
|
||||
%----------------------------------------------------------------------
|
||||
|
||||
\documentclass[
|
||||
layoutmode=jacket,
|
||||
% make the spread 16x9...
|
||||
blockwidth=96mm, blockheight=108mm,
|
||||
spinewidth=5mm,
|
||||
spinefold=2mm,
|
||||
coverflap=17mm,
|
||||
coverboardgrow=0.5mm,
|
||||
jacketflap=50mm,
|
||||
jacketwrap=0.5mm,
|
||||
bleed=0mm,
|
||||
bindingoffset=0mm,
|
||||
% image block configuration...
|
||||
imageblockwidth=0.98, imageblockheight=0.98,
|
||||
imageblockoffsettop=0mm,
|
||||
% misc...
|
||||
12pt,final,openany
|
||||
]{photobook}
|
||||
|
||||
\pagecolor{white}
|
||||
%\textblockrulecolour{black}
|
||||
|
||||
\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\fontsize{6pt}{8pt}\selectfont
|
||||
|
||||
\GenerateTemplate
|
||||
|
||||
|
||||
%----------------------------------------------------------------------
|
||||
\end{document} % vim:set ts=4 sw=4 :
|
||||
@ -0,0 +1,21 @@
|
||||
%----------------------------------------------------------------------
|
||||
|
||||
\documentclass[
|
||||
layoutmode=endpaper,
|
||||
% make the spread 16x9...
|
||||
blockwidth=96mm, blockheight=108mm,
|
||||
bleed=0mm,
|
||||
bindingoffset=0mm,
|
||||
% misc...
|
||||
12pt,final,openany
|
||||
]{photobook}
|
||||
|
||||
\pagecolor{black}
|
||||
|
||||
\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\includepdf[pages={{},1-}, nup=2x1, delta=0.3mm 0.3mm]{photobook-slides}
|
||||
|
||||
|
||||
%----------------------------------------------------------------------
|
||||
\end{document} % vim:set ts=4 sw=4 :
|
||||
BIN
talks/20230225 - Presentation at Orlov's/photobook-slides.pdf
Normal file
656
talks/20230225 - Presentation at Orlov's/photobook-slides.tex
Normal file
@ -0,0 +1,656 @@
|
||||
%----------------------------------------------------------------------
|
||||
|
||||
\documentclass[
|
||||
layoutmode=block,
|
||||
% make the spread 16x9...
|
||||
blockwidth=96mm, blockheight=108mm,
|
||||
bleed=0mm,
|
||||
bindingoffset=0mm,
|
||||
% image block configuration...
|
||||
imageblockwidth=0.98, imageblockheight=0.98,
|
||||
imageblockoffsettop=0mm,
|
||||
% misc...
|
||||
12pt,final,openany
|
||||
]{photobook}
|
||||
|
||||
%\usepackage{xcolor}
|
||||
%\usepackage{pagecolor}
|
||||
\usepackage{anyfontsize}
|
||||
\usepackage{ragged2e}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{cprotect}
|
||||
|
||||
%\usepackage{listings}
|
||||
\usepackage{fancyvrb}
|
||||
|
||||
\usepackage{ccicons}
|
||||
\usepackage{lipsum}
|
||||
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\setlength\parindent{0pt}
|
||||
|
||||
\writeimagelistfalse
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\pagecolor{white}
|
||||
|
||||
|
||||
%\fontsize{30pt}{36pt}\selectfont
|
||||
|
||||
% fonts...
|
||||
\usepackage{fontspec}
|
||||
\setmainfont[Mapping=tex-text]{Open Sans}
|
||||
\setsansfont[Mapping=tex-text]{Open Sans}
|
||||
\setmonofont[Mapping=tex-text, Scale=0.8]{Courier New}
|
||||
\newfontfamily\titlefont[Mapping=tex-text]{Open Sans Light}
|
||||
\newfontfamily\sectiontitlefont[Mapping=tex-text]{Open Sans Light}
|
||||
|
||||
\def\captionsize{%
|
||||
\fontsize{4pt}{5pt}\selectfont}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% Macros/templates...
|
||||
|
||||
\def\TEX{%
|
||||
{\fontfamily{lmr}\selectfont \TeX}}
|
||||
\def\LATEX{%
|
||||
{\fontfamily{lmr}\selectfont \LaTeX}}
|
||||
|
||||
\newcommand\PageFushRight[1]{
|
||||
\begin{page}
|
||||
\begin{cell}{2mm,2mm}{\paperwidth - 4mm}{\paperheight - 4mm}
|
||||
\begin{flushright}
|
||||
#1
|
||||
\end{flushright}
|
||||
\end{cell}
|
||||
\end{page}}
|
||||
\newcommand\PageFushLeft[1]{
|
||||
\begin{page}
|
||||
\begin{cell}{2mm,2mm}{\paperwidth - 4mm}{\paperheight - 4mm}
|
||||
\begin{flushleft}
|
||||
#1
|
||||
\end{flushleft}
|
||||
\end{cell}
|
||||
\end{page}}
|
||||
|
||||
\newcommand\PageFushRightC[1]{
|
||||
\begin{page}
|
||||
\begin{cell}{2mm,2mm}{\paperwidth - 4mm}{\paperheight - 4mm}
|
||||
\null
|
||||
\vfill
|
||||
\begin{flushright}
|
||||
#1
|
||||
\end{flushright}
|
||||
\vfill
|
||||
\null
|
||||
\end{cell}
|
||||
\end{page}}
|
||||
\newcommand\PageFushLeftC[1]{
|
||||
\begin{page}
|
||||
\begin{cell}{2mm,2mm}{\paperwidth - 4mm}{\paperheight - 4mm}
|
||||
\null
|
||||
\vfill
|
||||
\begin{flushleft}
|
||||
#1
|
||||
\end{flushleft}
|
||||
\vfill
|
||||
\null
|
||||
\end{cell}
|
||||
\end{page}}
|
||||
|
||||
|
||||
|
||||
|
||||
\begin{document} %-----------------------------------------------------
|
||||
|
||||
% cover...
|
||||
|
||||
\ImagePageClear[clearance=28mm]{%
|
||||
\begin{minipage}{\cellwidth}
|
||||
\vspace{-1mm}
|
||||
\begin{center}
|
||||
\color{lightgray}
|
||||
\hspace{-1.7mm}Это не презентация, это хорошо замаскированная книга
|
||||
\end{center}
|
||||
\end{minipage}}{images/DSC00182}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% title...
|
||||
|
||||
\ImageSpread[clearance=40mm]{}{images/latex}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% history...
|
||||
|
||||
\PageFushRight{
|
||||
\null
|
||||
\vfill
|
||||
\vspace{-12mm}
|
||||
\section*{1978: TeX}%
|
||||
\vspace{-4mm}
|
||||
Donald Knuth
|
||||
|
||||
\section*{1984: LaTeX}%
|
||||
\vspace{-4mm}
|
||||
Leslie Lamport
|
||||
\vfill
|
||||
\fontsize{4pt}{5pt}\selectfont
|
||||
\textbf{2021: photobook}
|
||||
|
||||
\fontsize{3.5pt}{4.5pt}\selectfont
|
||||
Alex A. Naanou}
|
||||
|
||||
\PageFushLeft{
|
||||
\null
|
||||
\vfill
|
||||
\vspace{12mm}
|
||||
\section*{1982: PostScript}%
|
||||
\vspace{-4mm}
|
||||
%John Warnock, Chuck Geschke, Doug Brotz, Ed Taft, Bill Paxton
|
||||
Adobe Systems
|
||||
|
||||
\section*{1993: PDF}%
|
||||
\vspace{-4mm}
|
||||
Adobe Inc.
|
||||
\vfill
|
||||
\null}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% hello world...
|
||||
|
||||
\begin{page}%
|
||||
\scriptsize%
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\BVerbatimInput{hello-world.tex}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\end{page}
|
||||
%
|
||||
\pagecolor{lightgray}
|
||||
\ImagePageClear{}{hello-world}
|
||||
\pagecolor{white}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% text layout...
|
||||
|
||||
\begin{spreadtopages}
|
||||
\vfill
|
||||
\begin{center}
|
||||
\section*{Текст $+$ Блоки $\longrightarrow$ Страницы}
|
||||
\end{center}
|
||||
\vfill
|
||||
\end{spreadtopages}
|
||||
\newpage
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% layout example...
|
||||
|
||||
% left page...
|
||||
\begin{page}
|
||||
\fontsize{5pt}{5.5pt}\selectfont
|
||||
\vfill
|
||||
\begin{center}
|
||||
\begin{BVerbatim}
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus
|
||||
elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur
|
||||
dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer
|
||||
id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque
|
||||
habitant morbi tristique senectus et netus et malesuada fames ac
|
||||
turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et
|
||||
lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet
|
||||
tortor gravida placerat. Integer sapien est, iaculis in, pretium quis,
|
||||
viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean
|
||||
faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac,
|
||||
nulla. Curabitur auctor semper nulla. Donec varius orci eget risus.
|
||||
Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis
|
||||
eget orci sit amet orci dignissim rutrum.
|
||||
|
||||
Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel,
|
||||
wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis
|
||||
vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan bibendum,
|
||||
erat ligula aliquet magna, vitae ornare odio metus a mi. Morbi ac orci et
|
||||
nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante. Pellentesque
|
||||
a nulla. Cum sociis natoque penatibus et magnis dis parturient montes,
|
||||
nascetur ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper
|
||||
vestibulum turpis. Pellentesque cursus luctus mauris.
|
||||
\newpage
|
||||
\end{BVerbatim}
|
||||
\end{center}
|
||||
\vfill
|
||||
\null
|
||||
\end{page}
|
||||
|
||||
% right page...
|
||||
{\tiny%
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus
|
||||
elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur
|
||||
dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer
|
||||
id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque
|
||||
habitant morbi tristique senectus et netus et malesuada fames ac
|
||||
turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et
|
||||
lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet
|
||||
tortor gravida placerat. Integer sapien est, iaculis in, pretium quis,
|
||||
viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean
|
||||
faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac,
|
||||
nulla. Curabitur auctor semper nulla. Donec varius orci eget risus.
|
||||
Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis
|
||||
eget orci sit amet orci dignissim rutrum.
|
||||
|
||||
Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel,
|
||||
wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis
|
||||
vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan bibendum,
|
||||
erat ligula aliquet magna, vitae ornare odio metus a mi. Morbi ac orci et
|
||||
nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante. Pellentesque
|
||||
a nulla. Cum sociis natoque penatibus et magnis dis parturient montes,
|
||||
nascetur ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper
|
||||
vestibulum turpis. Pellentesque cursus luctus mauris.
|
||||
\newpage}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% build...
|
||||
|
||||
\begin{spreadtopages}
|
||||
\vfill
|
||||
\begin{center}
|
||||
\section*{.tex $\longrightarrow$ .pdf}
|
||||
\vspace{1.5em}
|
||||
\hspace{1mm}
|
||||
\includegraphics[keepaspectratio, height=0.5\cellheight]{images/commandline}
|
||||
\hspace{4mm}
|
||||
\includegraphics[keepaspectratio, height=0.5\cellheight]{images/TeXWorks}
|
||||
\end{center}
|
||||
\vfill
|
||||
\end{spreadtopages}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% Advantages / disadvanages
|
||||
|
||||
\newcommand\seppoints{%
|
||||
\par
|
||||
\vspace{0.1em}}
|
||||
\PageFushRightC{
|
||||
\section*{Плюсы}
|
||||
Простые шаблоны
|
||||
\seppoints
|
||||
Работа с большими проектами
|
||||
\seppoints
|
||||
Полная поддержка всeго необходимого
|
||||
\seppoints
|
||||
Документация
|
||||
\seppoints
|
||||
Свободное и открытое
|
||||
}
|
||||
\PageFushLeftC{
|
||||
\vspace{-0.5em}
|
||||
\section*{Минусы}
|
||||
Не WYSIWYG
|
||||
\seppoints
|
||||
Сложнее создовать графику
|
||||
\seppoints
|
||||
Меньше смысла для мелких задач
|
||||
}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% Alternatives...
|
||||
|
||||
\PageFushRightC{
|
||||
\section*{Альтернативы}
|
||||
\vspace{1em}
|
||||
\subsection*{Adobe:}
|
||||
\vspace{-.7em}
|
||||
InDesign / Illustrator / Photoshop / DPS }
|
||||
\PageFushLeftC{
|
||||
\vspace{-0.5em}
|
||||
\subsection*{OpenSource:}
|
||||
\vspace{-.7em}
|
||||
Scribus / Inkscape / Krita / Blender }
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% photobook...
|
||||
|
||||
\begin{spreadtopages}
|
||||
\vfill
|
||||
\begin{center}
|
||||
\fontsize{42pt}{45pt}\selectfont
|
||||
photobook
|
||||
\end{center}
|
||||
\vfill
|
||||
\end{spreadtopages}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% differences to native LaTeX...
|
||||
|
||||
\PageFushRightC{
|
||||
\section*{в photobook}
|
||||
\vspace{-7mm}
|
||||
можно делать:}
|
||||
|
||||
\PageFushLeftC{
|
||||
Вылеты
|
||||
|
||||
Страницы
|
||||
|
||||
Развороты
|
||||
|
||||
Раскладные страницы
|
||||
|
||||
Форзацы
|
||||
|
||||
Обложки
|
||||
|
||||
Суперобложки
|
||||
}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\begin{page}
|
||||
\vfill
|
||||
\begin{center}
|
||||
\begin{BVerbatim}
|
||||
\documentclass{photobook}
|
||||
\end{BVerbatim}
|
||||
\end{center}
|
||||
\vfill
|
||||
\null
|
||||
\end{page}
|
||||
|
||||
\begin{page}%
|
||||
\begin{Verbatim}[tabsize=4]
|
||||
\documentclass[
|
||||
layoutmode=block,
|
||||
blockwidth=96mm,
|
||||
blockheight=108mm,
|
||||
bleed=0mm,
|
||||
bindingoffset=0mm,
|
||||
imageblockwidth=0.98,
|
||||
imageblockheight=0.98,
|
||||
]{photobook}
|
||||
\end{Verbatim}
|
||||
\end{page}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\begin{page}%
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\scriptsize%
|
||||
\begin{BVerbatim}
|
||||
\ImagePageClear{Скверик}{images/DSC03759}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{page}
|
||||
|
||||
\ImagePageClear{Скверик}{images/DSC03759}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\begin{page}%
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\scriptsize%
|
||||
\begin{BVerbatim}
|
||||
\ImagePageFit{}{images/DSC02091}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{page}
|
||||
|
||||
\ImagePageFit{}{images/DSC02091}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\cprotEnv\begin{spreadtopages}%
|
||||
\normalsize
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\begin{BVerbatim}
|
||||
\ImageSpread{Копейка под домом}{images/DSC05647}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{spreadtopages}
|
||||
|
||||
\ImageSpread{Копейка под домом}{images/DSC05647}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\cprotEnv\begin{spreadtopages}%
|
||||
\normalsize
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\begin{BVerbatim}
|
||||
\ImageSpreadFitL{Новый Год}{images/DSC03603a}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{spreadtopages}
|
||||
|
||||
\ImageSpreadFitL{Новый Год}{images/DSC03603a}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\cprotEnv\begin{spreadtopages}%
|
||||
\normalsize
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\begin{BVerbatim}
|
||||
\tweakimageoffsettop{5mm}
|
||||
\ImageSpreadFill{%
|
||||
\color{lightgray}%
|
||||
Чепятники}{images/DSC06650}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{spreadtopages}
|
||||
|
||||
\tweakimageoffsettop{5mm}
|
||||
\ImageSpreadFill{%
|
||||
\color{lightgray}%
|
||||
Чепятники}{images/DSC06650}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% templates...
|
||||
|
||||
\begin{spreadtopages}
|
||||
\vfill
|
||||
\begin{center}
|
||||
\section*{Шаблоны шаблонов}
|
||||
\end{center}
|
||||
\vfill
|
||||
\end{spreadtopages}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% cover...
|
||||
|
||||
\begin{page}%
|
||||
\scriptsize%
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\begin{BVerbatim}
|
||||
\documentclass[
|
||||
layoutmode=cover,
|
||||
spinewidth=5mm,
|
||||
spinefold=2mm,
|
||||
coverflap=17mm,
|
||||
coverboardgrow=0.5mm,
|
||||
...
|
||||
]{photobook}
|
||||
\begin{document}
|
||||
|
||||
\GenerateTemplate
|
||||
|
||||
\end{document}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{page}
|
||||
|
||||
\pagecolor{lightgray}
|
||||
\ImagePageClear{}{photobook-cover}
|
||||
\pagecolor{white}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% jacket...
|
||||
|
||||
\begin{page}%
|
||||
\scriptsize%
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\begin{BVerbatim}
|
||||
\documentclass[
|
||||
layoutmode=jacket,
|
||||
...
|
||||
jacketflap=50mm,
|
||||
jacketwrap=0.5mm,
|
||||
...
|
||||
]{photobook}
|
||||
\begin{document}
|
||||
|
||||
\GenerateTemplate
|
||||
|
||||
\end{document}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{page}
|
||||
|
||||
\pagecolor{lightgray}
|
||||
\ImagePageClear{}{photobook-jacket}
|
||||
\pagecolor{white}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% endpaper...
|
||||
|
||||
\begin{page}%
|
||||
\scriptsize%
|
||||
\vfill%
|
||||
\begin{center}%
|
||||
\begin{BVerbatim}
|
||||
\documentclass[
|
||||
layoutmode=endpaper,
|
||||
...
|
||||
]{photobook}
|
||||
\begin{document}
|
||||
|
||||
\GenerateTemplate
|
||||
|
||||
\end{document}
|
||||
\end{BVerbatim}
|
||||
\end{center}%
|
||||
\vfill%
|
||||
\null%
|
||||
\end{page}
|
||||
|
||||
\pagecolor{lightgray}
|
||||
\ImagePageClear{}{photobook-endpaper}
|
||||
\pagecolor{white}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% the future...
|
||||
|
||||
\PageFushRightC{
|
||||
Шаблоны для коробок
|
||||
|
||||
Больше примеров
|
||||
|
||||
Учебник
|
||||
|
||||
Исправление багов
|
||||
|
||||
Вылизывание и чистка }
|
||||
\PageFushLeftC{
|
||||
\section*{:Планы} }
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% links...
|
||||
|
||||
\newcommand\link[2]{
|
||||
#1
|
||||
|
||||
\url{#2}
|
||||
\vspace{1em}
|
||||
\par}
|
||||
\PageFushRightC{
|
||||
\link{\TEX Live}{https://www.tug.org/texlive/}
|
||||
\link{\LATEX}{https://www.latex-project.org/} }
|
||||
\PageFushLeftC{
|
||||
\link{photobook}{https://ctan.org/pkg/photobook}
|
||||
\link{\TEX\space Wikipedia}{https://ru.wikipedia.org/wiki/TeX}
|
||||
\link{\LATEX\space Wikipedia}{https://ru.wikipedia.org/wiki/LaTeX} }
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
% back cover / copyright...
|
||||
|
||||
\cleartoleftpage
|
||||
\begin{pagecell}
|
||||
\begin{center}
|
||||
\null
|
||||
\vfill
|
||||
\par
|
||||
\begin{minipage}{0.8\cellwidth}
|
||||
\fontsize{3.3pt}{4pt}\selectfont
|
||||
\ccbyncnd\space
|
||||
All {\it photographs} are by Alex A. Naanou, and licenced under
|
||||
the Creative Commons, Attribution-NonCommercial-NoDerivatives 4.0 \\
|
||||
(CC BY-NC-ND 4.0) \\
|
||||
\url{https://creativecommons.org/licenses/by-nc-nd/4.0/} \\
|
||||
\par
|
||||
\ccCopy\space
|
||||
The {\it source code} of this book is licensed under the New BSD License
|
||||
(BSD-3-clause) \\
|
||||
\url{https://opensource.org/license/bsd-3-clause/} \\
|
||||
\par
|
||||
\ccPublicDomain\space
|
||||
The {\it code listed} in this book can be treated as {\it Public Domain}. \\
|
||||
\url{https://en.wikipedia.org/wiki/Public_domain} \\
|
||||
\par
|
||||
This book was designed and laid out using open source fonts and software
|
||||
including:
|
||||
\href{https://fonts.google.com/specimen/Open+Sans}{Open Sans},
|
||||
\href{https://ctan.org/pkg/photobook}{photobook} and
|
||||
\href{https://www.latex-project.org/}{\LATEX.} \\
|
||||
\end{minipage}
|
||||
\vspace{2em}
|
||||
\end{center}
|
||||
\end{pagecell}
|
||||
|
||||
|
||||
|
||||
%----------------------------------------------------------------------
|
||||
\end{document} % vim:set ts=4 sw=4 :
|
||||