dawn of a new chron

main
HeNine 1 year ago
commit 99bd7b079e

@ -0,0 +1,37 @@
name: Build Chronicles
run-name: ${{ github.actor }} is building Chronicles
on:
push:
branches:
- main
jobs:
Build-PDF:
runs-on: texlive-2023-04-09
permissions:
contents: read
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }}."
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Install node
run: apt-get update && apt-get install -y nodejs
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- name: Build PDF with `latexmk`
run: latexmk -pdf
- name: Publish package
env:
PACKAGE_UPLOAD_TOKEN: ${{ secrets.PACKAGE_UPLOAD_TOKEN }}
run: |
curl --user henine:$PACKAGE_UPLOAD_TOKEN -X DELETE \
https://git.raptorpond.com/api/packages/KaRTS/generic/chonicles/latest/
curl --user henine:$PACKAGE_UPLOAD_TOKEN \
--fail-with-body \
--upload-file "Chronicles of Savits.pdf" \
https://git.raptorpond.com/api/packages/KaRTS/generic/chronicles/latest/chronicles.pdf

5
.gitignore vendored

@ -0,0 +1,5 @@
build
*.log
*.synctex.gz
.vscode
*.pdf

@ -0,0 +1,4 @@
Chronicles of Savits
============================
Lore for in-development TTRPG.

@ -0,0 +1,16 @@
\chapter{Introduction}
\begin{multicols}{2}
\section*{Tides}
The tides on Savits are unusually ferocious, rising from the all-encompassing ocean from which the land gets its name. When both Savitian moons align, the tides can flood deep in-land, often destroying crops and low-lying villages alike.
Larger cities are often situated on hills or fortified with high walls to withstand the typical High Tides. The most famous such city is Krane, the capital of Kraain, where the water cascading over the city walls forms the famous Savits Falls. While some claim that the falls illuminated by the setting sun after a storm would make the gods themselves pause and stare, it has been suggested that this opinion is mostly held by those who have recently survived a High Tide in a storm.
In most other cities, a storm on top of a High Tide means major reconstruction will be in order. If the local ruler is lucky, all that is needed is bucket chains and some fresh paint. If fortune does not favor them, however, their throne may be washed away entirely. Many a kingdom has survived generations before being washed away in a single night. Others survived the initial flood, but fell to famine and pestilence later. Mostly, they fall to other kingdoms, as those who were lucky enough to foresee a High Tide, emerge in a perfect position to press their advantage against their less fortunate neighbors.
\section*{Geography}
\end{multicols}

@ -0,0 +1,10 @@
\chapter{Kingdoms and Rulers}
\begin{multicols}{2}
\section*{Kraain}
% Capital Krane
\end{multicols}

@ -0,0 +1,5 @@
@default_files = ('main.tex');
$jobname = "Chromicles of Savits";
$aux_dir = "build";
$emulate_aux = 1;

@ -0,0 +1,116 @@
\documentclass[a4paper,11pt,pagesize, openany]{scrbook}
\KOMAoptions{
numbers=noenddot,
chapterprefix,
parskip=half
}
\setlength{\footskip}{2.5em}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{scrlayer-scrpage}
\usepackage[hidelinks]{hyperref}
\hypersetup{pdfpagelayout=TwoColumnRight,pdfstartview={XYZ null null 1.00}}
\usepackage[dvipsnames]{xcolor}
\usepackage[]{cleveref}
\usepackage{multicol}
\setlength{\columnsep}{0.75cm}
\raggedcolumns
% \usepackage{blindtext}
% \usepackage{float}
\usepackage{wrapfig}
\usepackage{framed}
% \usepackage[a4paper,bottom=2.2cm,hmarginratio=2:3,textwidth=10.5cm]{geometry}
\usepackage[a4paper,bottom=3.2cm,outer=2cm, inner=1.5cm, footskip=2.0cm]{geometry}
% \usepackage{setspace}
% % \onehalfspacing
% \usepackage[]{parskip}
% \usepackage{array}
% \renewcommand{\arraystretch}{1.2}
\raggedbottom
\usepackage[mode=match]{siunitx}
% \renewcommand*\sfdefault{ugq}
\usepackage[scaled]{helvet}
% \usepackage{tgadventor}
\usepackage[]{scholax}
\usepackage{microtype}
\usepackage{anyfontsize}
% \addtokomafont{chapter}{\scshape}
\definecolor{chapterbrown}{RGB}{ 89, 25, 9}
\definecolor{sectionbrown}{RGB}{140, 39, 14}
\renewcommand{\chapterlineswithprefixformat}[3]{%
\color{chapterbrown}#2\MakeUppercase{#3}%
}
\addtokomafont{section}{\color{sectionbrown}}
\addtokomafont{subsection}{\color{sectionbrown}}
\addtokomafont{subsubsection}{\color{sectionbrown}}
\renewcommand*{\chapterheadmidvskip}{\par\nobreak\vspace{0em}}
\newcommand{\clearpart}[1]{\cleardoubleevenpage\part{#1}}
\addtokomafont{pagenumber}{\normalshape}
\renewcommand\chapterpagestyle{plain}
\renewcommand\partpagestyle{empty}
\setkomafont{pagehead}{\footnotesize\sffamily}
\ihead[]{}
% \ohead[]{}
\lehead[]{Chronicles of Savits}
\cehead[]{}
\rohead[]{\leftmark}
% \ofoot[]{}
\ofoot[\pagemark]{\pagemark}
\title{Chronicles of Savits}
\author{\texttt{HeNine}}
\date{2023}
% Kingdoms
% And
% Rulers
% Savits
% Tides?
\newcommand{\tochange}[1]{\textcolor{red}{#1}}
\begin{document}
% \fontdimen2\font=1.25\fontdimen2\font
\pagestyle{scrheadings}
\frontmatter
\maketitle
\tableofcontents
\mainmatter
\include{introduction}
% \include{geography}
\include{kingdoms}
\include{moons}
\end{document}

@ -0,0 +1,11 @@
\chapter{The Moons of Savits}
\begin{multicols*}{2}
\section*{Moon 1}
\section*{Mura}
Mura, also known as the Wanderer, is more unpredictable -- its position in the sky erratic and its size inconstant. When Mura starts to approach his sister, however, a High Tide is sure to follow.
A lot has been written on Mura's travels, as his comings and goings can raise or topple whole kingdoms. Many have tried to predict his paths, but long-term prediction continues to elude even the best arithmeticians.
\end{multicols*}
Loading…
Cancel
Save