Compare commits

..
2 Commits
Author SHA1 Message Date
1114 49786e0536 Technical changes
This commit makes the following changes:
- Adds infrastructure to easily generate a PDF
- Updates the style of the document to match the Chapter Code of Regulation
- Simplifies the layout of the bylaws.org file.
2023-01-18 17:27:45 -05:00
ryansaklad 782c08c41d Updated the Glossary 2023-01-18 13:13:14 -05:00
5 changed files with 1052 additions and 1082 deletions
-28
View File
@@ -1,28 +0,0 @@
name: release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: bylaw-builder
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Build
run: make
- name: Release
id: use-go-action
uses: https://gitea.com/actions/release-action@main
with:
files: |-
bylaws.pdf
api_key: '${{secrets.RELEASE_TOKEN}}'
+3 -1
View File
@@ -3,5 +3,7 @@
* Generating PDFs
A PDF can be generated using the following command:
#+begin_src bash
docker run --rm -v $PWD:/data -w /data git.axpdsp.org/parliamentarian/bylaw-builder make
guix shell -m manifest.scm -- make
#+end_src
Assuming that [[https://guix.gnu.org/][GNU Guix]] is installed, this command will handle downloading all
dependencies, generating PDF, and cleaning up temporary files.
+1040 -1050
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -6,12 +6,12 @@
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}"))))
(setq org-latex-hyperref-template "
(setopt org-latex-hyperref-template "
\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},
pdfsubject={%d},\n pdfcreator={%c},\n pdflang={%L},\n colorlinks=true}\n")
(local-set-key
(kbd "C-c t")
(keymap-local-set
"C-c t"
(lambda nil
(interactive)
(save-match-data
+6
View File
@@ -0,0 +1,6 @@
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.
(specifications->manifest
(list "emacs-next" "texlive" "make" "git"))