aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/export.el27
-rw-r--r--src/img/teladi-gain.pngbin0 -> 162269 bytes
-rw-r--r--src/include.org23
-rw-r--r--src/teladi-gain.org39
-rw-r--r--src/teladi.sty5
5 files changed, 94 insertions, 0 deletions
diff --git a/src/export.el b/src/export.el
new file mode 100644
index 0000000..68c2ae6
--- /dev/null
+++ b/src/export.el
@@ -0,0 +1,27 @@
+(setq org-latex-classes (quote
+ (("article" "\\documentclass[11pt]{article}"
+ ("\\section{%s}" . "\\section*{%s}")
+ ("\\subsection{%s}" . "\\subsection*{%s}")
+ ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
+ ("\\paragraph{%s}" . "\\paragraph*{%s}")
+ ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
+ ("report" "\\documentclass[11pt]{report}"
+ ("\\part{%s}" . "\\part*{%s}")
+ ("\\chapter{%s}" . "\\chapter*{%s}")
+ ("\\section{%s}" . "\\section*{%s}")
+ ("\\subsection{%s}" . "\\subsection*{%s}")
+ ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
+ ("book" "\\documentclass[11pt]{book}"
+ ("\\part{%s}" . "\\part*{%s}")
+ ("\\chapter{%s}" . "\\chapter*{%s}")
+ ("\\section{%s}" . "\\section*{%s}")
+ ("\\subsection{%s}" . "\\subsection*{%s}")
+ ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
+ ("isodoc" "\\documentclass{isodoc}"
+ ("\\section{%s}" . "\\section*{%s}"))
+ ("leaflet" "\\documentclass[10pt]{leaflet}"
+ ("\\section{%s}" . "\\section*{%s}")
+ ("\\subsection{%s}" . "\\subsection*{%s}")
+ ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
+ ("\\paragraph{%s}" . "\\paragraph*{%s}")
+ ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))))
diff --git a/src/img/teladi-gain.png b/src/img/teladi-gain.png
new file mode 100644
index 0000000..191aea3
--- /dev/null
+++ b/src/img/teladi-gain.png
Binary files differ
diff --git a/src/include.org b/src/include.org
new file mode 100644
index 0000000..8a50f3e
--- /dev/null
+++ b/src/include.org
@@ -0,0 +1,23 @@
+#+MACRO: newline (eval "\n")
+
+#+MACRO: footer1 #+BEGIN_EXPORT LaTeX
+#+MACRO: footer2 \vspace*{\fill}
+#+MACRO: footer3 {\tiny
+#+MACRO: footer4 \par\noindent\rule{\textwidth}{0.4pt}
+#+MACRO: footer5 #+END_EXPORT
+#+MACRO: footer6 For the most recent version of this document, please visit
+#+MACRO: footer7 [[https://git.nistur.co.uk/teladi-gain]]
+#+MACRO: footer8
+#+MACRO: footer9
+#+MACRO: footer10 This work is licensed under a
+#+MACRO: footer11 [[http://creativecommons.org/licenses/by/4.0/][Creative Commons Attribution 4.0 International License]].
+#+MACRO: footer12 #+BEGIN_EXPORT LaTeX
+#+MACRO: footer13 }
+#+MACRO: footer14 #+END_EXPORT
+
+#+MACRO: footera {{{footer1}}}{{{newline}}}{{{footer2}}}{{{newline}}}{{{footer3}}}{{{newline}}}{{{footer4}}}{{{newline}}}
+#+MACRO: footerb {{{footer5}}}{{{newline}}}{{{footer6}}}{{{newline}}}{{{newline}}}{{{footer7}}}{{{newline}}}{{{newline}}}
+#+MACRO: footerc {{{footer8}}}{{{newline}}}{{{newline}}}{{{footer9}}}{{{newline}}}{{{newline}}}{{{footer10}}}{{{newline}}}
+#+MACRO: footerd {{{footer11}}}{{{newline}}}{{{footer12}}}{{{newline}}}{{{footer13}}}{{{newline}}}{{{footer14}}}
+
+#+MACRO: FOOTER {{{footera}}}{{{footerb}}}{{{footerc}}}{{{footerd}}}
diff --git a/src/teladi-gain.org b/src/teladi-gain.org
new file mode 100644
index 0000000..c3d2cac
--- /dev/null
+++ b/src/teladi-gain.org
@@ -0,0 +1,39 @@
+#+TITLE: X4: Teladi Gain v0.1
+#+OPTIONS: toc:nil H:10 tex:t date:nil author:nil title:nil
+#+LaTeX_HEADER: \usepackage{teladi}
+#+LaTeX_HEADER: \hypersetup{colorlinks=true, urlcolor={url-gray}}
+#+LaTeX_HEADER: \pagestyle{empty}
+#+LaTeX_CLASS: leaflet
+#+LaTeX_CLASS_OPTIONS: [a4paper,10pt,notumble]
+
+#+INCLUDE: include.org
+
+#+ATTR_LaTeX: :width 1.0\textwidth
+[[./img/teladi-gain.png]]
+
+#+LaTeX: \newpage
+
+#+BEGIN_QUOTE
+NOTE: This is an early draft ruleset. None of the values have been
+sufficiently tested as to ensure that it is fair or fun.
+#+END_QUOTE
+
+* Introduction
+
+Teladi Gain is a Tabletop Roleplay Game, set within the
+X Universe. It is written to be set within the time of X4:
+Foundations, 830-835 NT (2976 CE) but it can be used with minor
+modifications in any era within the X Universe. The gameplay is based
+around the core crew of a ship, as it travels the universe, seeking
+out new trades and profits!
+
+* Requirements
+
+Using the core rules, all that is needed to play the game is a D6, and
+some way of noting down the stats for your player. A printable
+character sheet has been provided.
+
+* Character Creation
+
+
+{{{FOOTER}}}
diff --git a/src/teladi.sty b/src/teladi.sty
new file mode 100644
index 0000000..abe4faf
--- /dev/null
+++ b/src/teladi.sty
@@ -0,0 +1,5 @@
+
+\RequirePackage{color}
+\pagenumbering{gobble}
+\hyphenpenalty = 100
+\definecolor{url-gray}{gray}{0.25}