The tea white paper is a semantically versioned, Markdown document
with mathematical representations embedded as LaTeX.
New releases are compiled to .pdf
with Pandoc before being
published here at GitHub.
We’d love to hear your feedback and ideas (positive or negative the same). Hop over to our discussions board and open a new thread.
To work on the white paper itself, edit white-paper.md
and submit a pull request;
the compilation result will be attached as an actions artefact.
Please refer to our project-wide contributing guidelines.
We recommend compiling locally—you’re both increasing ecosystem decentralization and getting (much) faster debug‐cycles to boot—tea/cli is coming soon… thus with brew:
# macOS
brew install pandoc librsvg pandoc-crossref basictex
# linuxbrew/WSL
brew install pandoc librsvg pandoc-crossref texlive
Then:
make
You now have: ./tea.white-paper.pdf
.
We build, publish and feature full PDFs of all translations at tea.xyz.
- Fork
teaxyz/white-paper
- Then in your terminal:
$ export LANG=… # https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes $ export USER=… # your github $ export VERSION=1.0.1 $ git clone https://github.com/${USER}/white-paper tea-white-paper … $ cd tea-white-paper $ git checkout -b i18n/${LANG} v${VERSION} … $ mkdir -p i18n/${LANG} $ cp white-label.md metadata.yml i18n/${LANG}
- Translate
./i18n/${LANG}/metadata.yml
- To
./i18n/${LANG}/metadata.yml
append:lang: … # https://pandoc.org/MANUAL.html#language-variables dir: ltr # ^^ header-includes: - \fancyfoot[L]{v${VERSION}+${LANG}} # expand these variables! translator: - Your Fullname
- Translate
./i18n/${LANG}/white-paper.md
-
git push origin i18n/${LANG} open https://github.com/teaxyz/white-paper/compare/i18n/${LANG}
- Create a pull request
You can test your output with:
make tea.white-paper_${LANG}.pdf
Project | Version |
---|---|
Pandoc | ^2.18 |
gnome.org/librsvg | ^2.54 |