From 9c3ae508429a684f501318aff79a03d8c4c0c8a9 Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Sun, 19 Oct 2025 09:59:59 -0400 Subject: [PATCH 1/5] Adding the latex folding booklet starting point --- ConsensusPocketReference-booklet.tex | 13 +++++++++++++ ConsensusPocketReference.tex | 20 ++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 ConsensusPocketReference-booklet.tex create mode 100644 ConsensusPocketReference.tex diff --git a/ConsensusPocketReference-booklet.tex b/ConsensusPocketReference-booklet.tex new file mode 100644 index 0000000..f0d92d5 --- /dev/null +++ b/ConsensusPocketReference-booklet.tex @@ -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} \ No newline at end of file diff --git a/ConsensusPocketReference.tex b/ConsensusPocketReference.tex new file mode 100644 index 0000000..618fa3c --- /dev/null +++ b/ConsensusPocketReference.tex @@ -0,0 +1,20 @@ +\documentclass{article} +\usepackage{geometry} +\geometry{ + paperwidth=2.75in, + paperheight=4.25in +} +\usepackage{lmodern} +\parskip1em +\begin{document} + \sffamily\fontsize{60}{80}\selectfont + \centering + Page\par \#1\newpage + Page\par \#2\newpage + Page\par \#3\newpage + Page\par \#4\newpage + Page\par \#5\newpage + Page\par \#6\newpage + Back\par Cover \newpage + Front\par Cover\newpage +\end{document} From 3e990b0780c64354252a47335349de16042ec0c7 Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Sun, 19 Oct 2025 10:05:20 -0400 Subject: [PATCH 2/5] Adding the CI builder --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d11c2b6..067d65d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,12 @@ jobs: - name: Generate PDF 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 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 uses: softprops/action-gh-release@v1 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 prerelease: false name: ${{ github.ref_name }} From a79fb0670f5852537c7f1bc5d4e894c14e95a9fa Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Sun, 19 Oct 2025 11:52:42 -0400 Subject: [PATCH 3/5] modularizing the flow chart, but the scaling is off now --- ConsensusPocketReference.tex | 10 +++- src/how-to-consensus-zine/flow-chart-only.tex | 40 ++++++++++++++++ src/how-to-consensus-zine/flow-chart.tex | 47 +++---------------- 3 files changed, 55 insertions(+), 42 deletions(-) create mode 100644 src/how-to-consensus-zine/flow-chart-only.tex diff --git a/ConsensusPocketReference.tex b/ConsensusPocketReference.tex index 618fa3c..78b9890 100644 --- a/ConsensusPocketReference.tex +++ b/ConsensusPocketReference.tex @@ -5,11 +5,19 @@ paperheight=4.25in } \usepackage{lmodern} +\usepackage{tikz} +\usetikzlibrary{shapes.geometric, arrows.meta, positioning} +\usepackage{adjustbox} + \parskip1em \begin{document} \sffamily\fontsize{60}{80}\selectfont \centering - Page\par \#1\newpage + \begin{center} + \adjustbox{max width=\textwidth, max height=0.9\textheight}{% + \input{src/how-to-consensus-zine/flow-chart-only.tex}% + } + \end{center} Page\par \#2\newpage Page\par \#3\newpage Page\par \#4\newpage diff --git a/src/how-to-consensus-zine/flow-chart-only.tex b/src/how-to-consensus-zine/flow-chart-only.tex new file mode 100644 index 0000000..bbb5f19 --- /dev/null +++ b/src/how-to-consensus-zine/flow-chart-only.tex @@ -0,0 +1,40 @@ +% 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{tikzpicture}[node distance=1.5cm,scale=0.4] + + % 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} \ No newline at end of file diff --git a/src/how-to-consensus-zine/flow-chart.tex b/src/how-to-consensus-zine/flow-chart.tex index a5cb63c..1f85a2b 100644 --- a/src/how-to-consensus-zine/flow-chart.tex +++ b/src/how-to-consensus-zine/flow-chart.tex @@ -1,47 +1,12 @@ \documentclass[tikz,border=10pt]{standalone} +\usepackage{geometry} +\geometry{ + paperwidth=2.75in, + paperheight=4.25in +} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows.meta, positioning} -% 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{tikzpicture}[node distance=1.5cm] - -% 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} +\input{flow-chart-only.tex} \end{document} From 6f5958457930e7b3a62db4546ed0c367f27a4308 Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Sun, 19 Oct 2025 21:57:33 -0400 Subject: [PATCH 4/5] Added the latex method style to the flowchart --- ConsensusPocketReference.tex | 10 +-- src/how-to-consensus-zine/flow-chart-only.tex | 87 ++++++++++--------- src/how-to-consensus-zine/flow-chart.tex | 6 +- 3 files changed, 53 insertions(+), 50 deletions(-) diff --git a/ConsensusPocketReference.tex b/ConsensusPocketReference.tex index 78b9890..3b4170e 100644 --- a/ConsensusPocketReference.tex +++ b/ConsensusPocketReference.tex @@ -8,16 +8,12 @@ \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows.meta, positioning} \usepackage{adjustbox} - +\input{src/how-to-consensus-zine/flow-chart-only.tex}% \parskip1em \begin{document} - \sffamily\fontsize{60}{80}\selectfont + \centering - \begin{center} - \adjustbox{max width=\textwidth, max height=0.9\textheight}{% - \input{src/how-to-consensus-zine/flow-chart-only.tex}% - } - \end{center} + \consensusflowchart{0.5}{\footnotesize} \newpage% Smaller version Page\par \#2\newpage Page\par \#3\newpage Page\par \#4\newpage diff --git a/src/how-to-consensus-zine/flow-chart-only.tex b/src/how-to-consensus-zine/flow-chart-only.tex index bbb5f19..3e16cd6 100644 --- a/src/how-to-consensus-zine/flow-chart-only.tex +++ b/src/how-to-consensus-zine/flow-chart-only.tex @@ -1,40 +1,47 @@ -% 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{tikzpicture}[node distance=1.5cm,scale=0.4] - - % 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} \ No newline at end of file +% 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}% +} \ No newline at end of file diff --git a/src/how-to-consensus-zine/flow-chart.tex b/src/how-to-consensus-zine/flow-chart.tex index 1f85a2b..32a4e67 100644 --- a/src/how-to-consensus-zine/flow-chart.tex +++ b/src/how-to-consensus-zine/flow-chart.tex @@ -1,4 +1,4 @@ -\documentclass[tikz,border=10pt]{standalone} +\documentclass{article} \usepackage{geometry} \geometry{ paperwidth=2.75in, @@ -6,7 +6,7 @@ } \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows.meta, positioning} - -\begin{document} \input{flow-chart-only.tex} +\begin{document} + \centering \consensusflowchart{0.5}{\footnotesize} \newpage \end{document} From cdcdf47caeb42297f026b8a61542a71e868f17bf Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Sun, 19 Oct 2025 22:07:35 -0400 Subject: [PATCH 5/5] remove the numbers from the cover --- ConsensusPocketReference.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ConsensusPocketReference.tex b/ConsensusPocketReference.tex index 3b4170e..b7c1ffd 100644 --- a/ConsensusPocketReference.tex +++ b/ConsensusPocketReference.tex @@ -10,6 +10,9 @@ \usepackage{adjustbox} \input{src/how-to-consensus-zine/flow-chart-only.tex}% \parskip1em +\usepackage{fancyhdr} +\fancyfoot{} % clear all footer fields + \begin{document} \centering @@ -19,6 +22,6 @@ Page\par \#4\newpage Page\par \#5\newpage Page\par \#6\newpage - Back\par Cover \newpage - Front\par Cover\newpage + Back\par Cover \thispagestyle{empty} \newpage + Front\par Cover \thispagestyle{empty} \newpage \end{document}