Thank you for considering updating or doing translation work for the Stoiba of
the Hermetic Synaxis!  Hopefully the files aren't too difficult to work with,
although I admit the structure can be a bit much.  This file includes some
guidance and tips to work with the files to compile your own instance of the
Stoiba.

-Sam Block (polyphanes), 2026

---

Big note first: IN ACCORDANCE WITH THE ADEIA, NONE OF THE .rst FILES SHOULD BE
UPDATED UNLESS YOU ARE CHANGING SOMETHING IN ACCORDANCE WITH AN EKKLĒSIAS
TELEUTĒ AFTER UNIVERSAL HERMETIC SYNAXIS REVIEW AND APPROVAL OR IF YOU ARE
TRANSLATING THE STOIBA INTO ANOTHER LANGUAGE THAT IS NOT ENGLISH.  Be sure to
review the Adeia for specific guidance on updating or translating the Stoiba
before doing so.  Review it likewise before you recompile and reshare the
Stoiba in any way, just to be on the safe side.

When building the Stoiba using Sphinx, be sure to build it for all the
following formats for the greatest form of convenience and availability:

- html
- latex (for PDF output)
- text
- epub

Other formats may be used as well to compile the text.  Regardless of the
format, because of the copyleft approach of the Adeia, no explicit copyright
note (e.g. "© 2026 Hermetic Synaxis") should be given in any format of the
Adeia.

---

If you are translating the Stoiba (and thank you for doing so!), then you may
want to translate all the non-index.rst directory names and corresponding index
filenames as well; that's fine, so long as you do so reasonably. 

If you are translating the Stoiba into a non-Greek language, continue to use
the Greek terms as found in the glossary and throughtout the texts, either
as-is when using a Latin-based script or transliterated appropriately or
translated if need be otherwise (e.g. Mandarin 爈嘻唸 lǘxīniàn or 祭壇燈
jìtándēng "altar lamp" for lykhnon).  If translating into Greek, modern forms
of classical terms or their translations may be used after introducing them in
their classical form, or the classical forms used as possible, depending on
one's preferred style of dealing with them.

When translating the Stoiba, when the topic comes up about imagination, avoid
the use of explicitly visual words or phrases e.g. "visualize" or "see in your
mind's eye".  Keep things generic with "imagine" instead.

When dealing with multiple names of a particular entity across multiple
languages e.g. Greek for the Khairetismos of the Rising Sun or Persian for the
planetary invocations of the Koinōnia, if you're translating the Stoiba into a
language used for that, use English as a stand-in for the language being
translated to, e.g. where English uses the Persian name "Kaywān", Persian
should use the English name "Saturn".

---

In the conf.py file, set release, version, and copyright to the Gregorian
calendar year number of that version of the Stoiba, based on either its
original release (2026) or the year of the Ekklēsia that established a new
version. 

The project name should be "The Stoiba of the Hermetic Synaxis" or whatever its
translation is in whatever language you translate it to.  The author should be
explicitly blank (Sphinx will set it to a default value otherwise). 

If you're using a different date format than something like "2026 August 01",
change the today_fmt string (using standard stftime conventions).  The date is
handled automatically in index.rst, but if you really need to, you can manually
set it instead to indicate the date your copy of the Stoiba was compiled (in
compliance with the Adeia).

The "em mai" and "ring bell" symbols defined in the conf.py file are
fundamentally arbitrary; they were chosen because they're simple non-letterlike
characters available in the Computer Modern Unicode font.  I recommend keeping
them as they are, but if you need to change them to something else, feel free
so long as you can make sure they are readily recognizable and identifiable for
what they need to indicate; just avoid using the plain asterisk (*) since
that's used elsewhere in specific ceremonial instructions.

The rest of the conf.py file shouldn't generally be changed unless you want to
do something fancy with the layout or templating of your production of the 
Stoiba.  Edit at your own risk.

---

Be sure to use only ASCII for filenames for anything outside the include/
directory (e.g. "orkhesis.rst" and not "orkhēsis.rst") to maintain
compatibility with older systems and conventions.  Files in the include/
directory *can* use non-ASCII filenames since they're not going to be shown up
in URLs for the website, but still better to avoid if possible.  Within files,
however, use whatever you want, so long as Sphinx can process it (LaTeX may
complain, though).

For every directory of .rst files, there is a corresponding .rst file of the
same base name (e.g. appendix/, appendix.rst) that contains a table of contents
referring to the files in that directory.

Whenever possible, prayers or hymns or processes that are used in multiple
places thoughout the Stoiba are used in the include/ directory.  Files that end
in _0.rst (or something like it, like _0a.rst) are used for bare prayers,
things to be said alone apart from any instruction.  Other files that don't end
like this include a mixture of things to say and things to do, and when
possible, refer to the _0 files.  

In some cases, slight variations of the include/ files are used in the main
files, e.g. the Cleansing of Water invocation for the Koinōnia consecration
process.  These are noted for manual adjustment in the include/ files as an RST
note directive (".. !!! …").  Other notes for translation are left accordingly
when needed throughout the files.

In some cases, RST substitutions are used to simplify the writing of a document
or to allow include/ files to make use of specific names of entities or
ceremonies.  Use them to make your life easier!

Whenever possible, try to keep all .rst file contents line-wrapped at 80
characters; the big exception is indented/quoted text or for multilevel lists.
Use "..." instead of an ellipsis, "---" instead of an em-dash, "--" instead of
an en-dash, and simple double quotes instead of fancy quotes or ``/''; Sphinx
will take care of these conversions on its own.

Every .rst file should, as a best practice, end with a final empty line.

Be sure to use a spellcheck e.g. hunspell before finishing up.

---

For the HTML format of output, if you're preserving a historical version of the
Stoiba when at least one newer version exists, update the announcement field in
the html_theme_options dictionary in the conf.py file to note so at the top of
each page.  

---

Before compiling the LaTeX PDF, be sure to manually fix the formatting of the
tables in the following chapters to not be so janky:

 - Koinōnia Decanal table: set \sphinxcolwidth{1}{5} to \sphinxcolwidth{1}{3}
 - Glossary: set \sphinxcolwidth{1}{5} to \sphinxcolwidth{1}{2}

Be sure you have "Computer Modern Unicode" installed as a font on your machine,
or another Unicode-compatible font (change conf.py if so):
https://cm-unicode.sourceforge.io/

When compiling the LaTeX PDF, because of how much Unicode is used throughout
the texts, use lualatex's latexmk with the -f command; don't use Sphinx's
ready-made "make latexpdf" compilation shortcut.  Both for US Letter sized
paper and again for A4 sized paper, compile each twice (the first time for
compiling references, the second time for applying them).  Page size can be
handled directly through the conf.py file, but it may be easier to handle it
manually in the .tex file produced itself.

---

When compiling the plain text file, use the included finalprep.sh BASH script
to combine all the files and handle some minor file editing.  This will also
prepare all the rest of the files (except for the PDFs) with renaming
accordingly and compressing in preparation for further dissemination.  Be sure
to include the year of the Stoiba as the only parameter for the script.

If disseminating the Stoiba as a plain text file through Sphinx, be sure to 
also include all necessary images as reference when possible.  The finalprep.sh
script will replace image inclusions with ASCII renditions, but it's still good
to include the images themselves too for reference.

