Compare commits

..
Author SHA1 Message Date
1114 e1465ee3b5 Clarify that only regularly scheduled Chapter Councils are Alpha 2021-05-02 13:08:22 -04:00
1114 876dc0b255 Outline Alpha, Chi, Rho system 2021-05-01 00:03:26 -04:00
1114 58ac7685a2 Fix formatting 2021-04-30 23:06:55 -04:00
1114 bb2d7a8555 Merge pull request 'Remove Newsletter Editor' (#2) from remove-newsletter-editor into master
Reviewed-on: https://git.crows.house/parliamentarian/bylaws/pulls/2
2021-04-25 19:34:46 -04:00
1114 42d3428d61 Fix section numbering on export. 2021-04-23 20:05:53 -04:00
1114 03b303a06f Remove Newsletter Editor
Fixes #1
2021-04-19 21:07:58 -04:00
1114 b25d91ca0a Initial Commit
Transfer previous version of bylaws from Google Drive to git.
2021-04-19 19:11:55 -04:00
7 changed files with 1095 additions and 1033 deletions
-4
View File
@@ -1,4 +0,0 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((org-mode . ((eval . (load-file "local.el")))))
-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
View File
@@ -1,3 +0,0 @@
all: pdf clean
pdf: ; emacs bylaws.org --batch -l local.el -f org-latex-export-to-pdf
clean: ; rm bylaws.tex
-7
View File
@@ -1,7 +0,0 @@
#+TITLE: Bylaws
* 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
#+end_src
-30
View File
@@ -1,30 +0,0 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bylaws}[]
\usepackage{titlepic}
\titlepic{\includegraphics[width=250]{Coat-of-Arms-Color.png}}
\LoadClass[12pt]{report}
\usepackage{geometry}[margin=1in]
\renewcommand{\itemize}{\enumerate}
\renewcommand{\thechapter}{Article \Roman{chapter}}
\renewcommand{\thesection}{\thechapter\ §\ \arabic{section}}
\renewcommand{\labelenumi}{(\alph{enumi})}
\renewcommand{\labelenumii}{(\arabic{enumii})}
\renewcommand{\labelenumiii}{(\Alph{enumiii})}
\renewcommand{\labelenumiv}{(\roman{enumiv})}
\renewcommand{\theenumi}{\thesection\labelenumi}
\renewcommand{\theenumii}{\labelenumii}
\renewcommand{\theenumiii}{\labelenumiii}
\renewcommand{\theenumiv}{\labelenumiv}
\usepackage{titletoc}
\renewcommand{\chaptername}{}
\renewcommand\numberline[1]{}
\usepackage{titlesec}
\titleformat{\chapter}[display]{\Huge\bfseries}
{Article \Roman{chapter}}{8pt}{\Huge\bfseries}
\titleformat{\section}[block]{\Large\bfseries}{§
\arabic{section}}{8pt}{\Large\bfseries}
+1095 -936
View File
File diff suppressed because it is too large Load Diff
-25
View File
@@ -1,25 +0,0 @@
(require 'ox-latex)
(setq-local
org-latex-classes
'(("bylaws"
"\\documentclass{bylaws}"
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}"))))
(setq 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")
(lambda nil
(interactive)
(save-match-data
(let ((string (buffer-string))
(pos 0)
(tag 0))
(while (string-match "<<tag:\\([0-9]+\\)>>" string pos)
(setq tag (max tag
(string-to-number (match-string 1 string)))
pos (match-end 0)))
(insert "<<tag:" (number-to-string (1+ tag)) ">>")))))