mirror of
https://github.com/How-To-Build-a-Commons/HowToBuildACommonsWorkbooks.git
synced 2026-04-20 01:01:12 +00:00
Merge pull request #29 from How-To-Build-a-Commons/kh/add-folding-booklet
Adding the latex folding booklet starting point
This commit is contained in:
commit
bf7088a928
5 changed files with 102 additions and 44 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -46,6 +46,12 @@ jobs:
|
||||||
- name: Generate PDF
|
- name: Generate PDF
|
||||||
run: pdflatex -jobname=HowToBuildACommons-${{ github.ref_name }} ScopeSequencing.tex
|
run: pdflatex -jobname=HowToBuildACommons-${{ github.ref_name }} ScopeSequencing.tex
|
||||||
|
|
||||||
|
- name: Generate Folding PDF
|
||||||
|
run: pdflatex ConsensusPocketReference.tex
|
||||||
|
|
||||||
|
- name: Generate Folding Booklet PDF
|
||||||
|
run: pdflatex -jobname=Consensus-Pocket-Booklet-${{ github.ref_name }} ConsensusPocketReference-booklet.tex
|
||||||
|
|
||||||
- name: Generate Booklet PDF
|
- name: Generate Booklet PDF
|
||||||
run: bookletimposer -b -a -f "Letter" -p "2x1" -o HowToBuildACommons-${{ github.ref_name }}-booklet.pdf HowToBuildACommons-${{ github.ref_name }}.pdf
|
run: bookletimposer -b -a -f "Letter" -p "2x1" -o HowToBuildACommons-${{ github.ref_name }}-booklet.pdf HowToBuildACommons-${{ github.ref_name }}.pdf
|
||||||
|
|
||||||
|
|
@ -55,7 +61,7 @@ jobs:
|
||||||
- name: Create or Update Release
|
- name: Create or Update Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: HowToBuildACommons-${{ github.ref_name }}.pdf,HowToBuildACommons-${{ github.ref_name }}-booklet.pdf,how-to-consensus-zine.svg
|
files: Consensus-Pocket-Booklet-${{ github.ref_name }}.pdf,HowToBuildACommons-${{ github.ref_name }}.pdf,HowToBuildACommons-${{ github.ref_name }}-booklet.pdf,how-to-consensus-zine.svg
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
name: ${{ github.ref_name }}
|
name: ${{ github.ref_name }}
|
||||||
|
|
|
||||||
13
ConsensusPocketReference-booklet.tex
Normal file
13
ConsensusPocketReference-booklet.tex
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
\documentclass[letter,landscape]{article}
|
||||||
|
\usepackage[margin=0pt]{geometry}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\begin{document}
|
||||||
|
\includegraphics[page=4,angle=180,width=.24\paperwidth]{ConsensusPocketReference.pdf}\hfill
|
||||||
|
\includegraphics[page=3,angle=180,width=.24\paperwidth]{ConsensusPocketReference.pdf}\hfill
|
||||||
|
\includegraphics[page=2,angle=180,width=.24\paperwidth]{ConsensusPocketReference.pdf}\hfill
|
||||||
|
\includegraphics[page=1,angle=180,width=.24\paperwidth]{ConsensusPocketReference.pdf}\\
|
||||||
|
\includegraphics[page=5,angle=0,width=.24\paperwidth]{ConsensusPocketReference.pdf}\hfill
|
||||||
|
\includegraphics[page=6,angle=0,width=.24\paperwidth]{ConsensusPocketReference.pdf}\hfill
|
||||||
|
\includegraphics[page=7,angle=0,width=.24\paperwidth]{ConsensusPocketReference.pdf}\hfill
|
||||||
|
\includegraphics[page=8,angle=0,width=.24\paperwidth]{ConsensusPocketReference.pdf}\hfill
|
||||||
|
\end{document}
|
||||||
27
ConsensusPocketReference.tex
Normal file
27
ConsensusPocketReference.tex
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
\documentclass{article}
|
||||||
|
\usepackage{geometry}
|
||||||
|
\geometry{
|
||||||
|
paperwidth=2.75in,
|
||||||
|
paperheight=4.25in
|
||||||
|
}
|
||||||
|
\usepackage{lmodern}
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usetikzlibrary{shapes.geometric, arrows.meta, positioning}
|
||||||
|
\usepackage{adjustbox}
|
||||||
|
\input{src/how-to-consensus-zine/flow-chart-only.tex}%
|
||||||
|
\parskip1em
|
||||||
|
\usepackage{fancyhdr}
|
||||||
|
\fancyfoot{} % clear all footer fields
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\centering
|
||||||
|
\consensusflowchart{0.5}{\footnotesize} \newpage% Smaller version
|
||||||
|
Page\par \#2\newpage
|
||||||
|
Page\par \#3\newpage
|
||||||
|
Page\par \#4\newpage
|
||||||
|
Page\par \#5\newpage
|
||||||
|
Page\par \#6\newpage
|
||||||
|
Back\par Cover \thispagestyle{empty} \newpage
|
||||||
|
Front\par Cover \thispagestyle{empty} \newpage
|
||||||
|
\end{document}
|
||||||
47
src/how-to-consensus-zine/flow-chart-only.tex
Normal file
47
src/how-to-consensus-zine/flow-chart-only.tex
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
% Define the flowchart command with scale and font size parameters
|
||||||
|
% Usage: \consensusflowchart{scale}{fontsize}
|
||||||
|
% Example: \consensusflowchart{0.8}{\small}
|
||||||
|
\newcommand{\consensusflowchart}[2]{%
|
||||||
|
\begin{tikzpicture}[
|
||||||
|
node distance=1.5cm,
|
||||||
|
scale=#1,
|
||||||
|
transform shape,
|
||||||
|
every node/.style={font=#2},
|
||||||
|
process/.style={rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=white, text width=3cm},
|
||||||
|
decision/.style={diamond, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=gray!20, aspect=2},
|
||||||
|
endpoint/.style={rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=black, fill=white},
|
||||||
|
block/.style={rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=red, fill=white, text=red, line width=1pt},
|
||||||
|
consensus/.style={rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=green!60!black, fill=white, text=green!60!black, line width=1pt},
|
||||||
|
arrow/.style={thick,->,>=Stealth}
|
||||||
|
]
|
||||||
|
% Nodes
|
||||||
|
\node (discussion) [process] {Discussion};
|
||||||
|
\node (proposal) [process, below=1.2cm of discussion] {Proposal};
|
||||||
|
\node (test) [process, below=1.2cm of proposal] {Test for Consensus};
|
||||||
|
\node (yes) [decision, right=1.2cm of test] {Yes};
|
||||||
|
\node (no) [decision, left=1.2cm of test] {No};
|
||||||
|
\node (modification) [process, below=1.2cm of test] {Modification to Proposal};
|
||||||
|
\node (concerns) [endpoint, below=1.2cm of no] {Concerns Raised};
|
||||||
|
\node (standAside) [endpoint, below=1.2cm of modification] {Stand Aside};
|
||||||
|
\node (consensusAchieved) [consensus, below=1.2cm of yes] {Consensus Achieved};
|
||||||
|
\node (blockNode) [block, below=1.2cm of concerns] {Block};
|
||||||
|
\node (actionPoints) [endpoint, below=1.2cm of consensusAchieved] {Action Points};
|
||||||
|
|
||||||
|
% Arrows
|
||||||
|
\draw [arrow] (discussion) -- (proposal);
|
||||||
|
\draw [arrow] (proposal) -- (test);
|
||||||
|
\draw [arrow] (test) -- (yes);
|
||||||
|
\draw [arrow] (test) -- (no);
|
||||||
|
\draw [arrow] (yes) -- (consensusAchieved);
|
||||||
|
\draw [arrow] (no) -- (concerns);
|
||||||
|
\draw [arrow] (modification) -- (standAside);
|
||||||
|
\draw [arrow] (concerns) -- (blockNode);
|
||||||
|
\draw [arrow] (consensusAchieved) -- (actionPoints);
|
||||||
|
\draw [arrow] (concerns) -- (standAside);
|
||||||
|
\draw [arrow] (standAside) -- (consensusAchieved);
|
||||||
|
|
||||||
|
% Curved arrows
|
||||||
|
\draw [arrow] (no) to[out=120, in=180] (discussion);
|
||||||
|
\draw [arrow] (modification) to[out=90, in=0] (test);
|
||||||
|
\end{tikzpicture}%
|
||||||
|
}
|
||||||
|
|
@ -1,47 +1,12 @@
|
||||||
\documentclass[tikz,border=10pt]{standalone}
|
\documentclass{article}
|
||||||
|
\usepackage{geometry}
|
||||||
|
\geometry{
|
||||||
|
paperwidth=2.75in,
|
||||||
|
paperheight=4.25in
|
||||||
|
}
|
||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
\usetikzlibrary{shapes.geometric, arrows.meta, positioning}
|
\usetikzlibrary{shapes.geometric, arrows.meta, positioning}
|
||||||
|
\input{flow-chart-only.tex}
|
||||||
% Define styles
|
|
||||||
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=white, text width=3cm]
|
|
||||||
\tikzstyle{decision} = [diamond, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=gray!20, aspect=2]
|
|
||||||
\tikzstyle{endpoint} = [rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=black, fill=white]
|
|
||||||
\tikzstyle{block} = [rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=red, fill=white, text=red, line width=1pt]
|
|
||||||
\tikzstyle{consensus} = [rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=green!60!black, fill=white, text=green!60!black, line width=1pt]
|
|
||||||
\tikzstyle{arrow} = [thick,->,>=Stealth]
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\begin{tikzpicture}[node distance=1.5cm]
|
\centering \consensusflowchart{0.5}{\footnotesize} \newpage
|
||||||
|
|
||||||
% Nodes
|
|
||||||
\node (discussion) [process] {Discussion};
|
|
||||||
\node (proposal) [process, below=1.2cm of discussion] {Proposal};
|
|
||||||
\node (test) [process, below=1.2cm of proposal] {Test for Consensus};
|
|
||||||
\node (yes) [decision, right=1.2cm of test] {Yes};
|
|
||||||
\node (no) [decision, left=1.2cm of test] {No};
|
|
||||||
\node (modification) [process, below=1.2cm of test] {Modification to Proposal};
|
|
||||||
\node (concerns) [endpoint, below=1.2cm of no] {Concerns Raised};
|
|
||||||
\node (standAside) [endpoint, below=1.2cm of modification] {Stand Aside};
|
|
||||||
\node (consensusAchieved) [consensus, below=1.2cm of yes] {Consensus Achieved};
|
|
||||||
\node (blockNode) [block, below=1.2cm of concerns] {Block};
|
|
||||||
\node (actionPoints) [endpoint, below=1.2cm of consensusAchieved] {Action Points};
|
|
||||||
|
|
||||||
% Arrows
|
|
||||||
\draw [arrow] (discussion) -- (proposal);
|
|
||||||
\draw [arrow] (proposal) -- (test);
|
|
||||||
\draw [arrow] (test) -- (yes);
|
|
||||||
\draw [arrow] (test) -- (no);
|
|
||||||
\draw [arrow] (yes) -- (consensusAchieved);
|
|
||||||
\draw [arrow] (no) -- (concerns);
|
|
||||||
\draw [arrow] (modification) -- (standAside);
|
|
||||||
\draw [arrow] (concerns) -- (blockNode);
|
|
||||||
\draw [arrow] (consensusAchieved) -- (actionPoints);
|
|
||||||
\draw [arrow] (concerns) -- (standAside);
|
|
||||||
\draw [arrow] (standAside) -- (consensusAchieved);
|
|
||||||
|
|
||||||
% Curved arrows
|
|
||||||
\draw [arrow] (no) to[out=120, in=180] (discussion);
|
|
||||||
\draw [arrow] (modification) to[out=90, in=0] (test);
|
|
||||||
|
|
||||||
\end{tikzpicture}
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue