7.8 KiB
Snac: from Org to HTML5
This site presents a minimal working example of the Snac authoring format, allowing to produce split, interlinked publishable HTML5 from a single Org source file.
The code source is hosted at https://jscaux.org/git/jscaux/snac.
Structure
Text for first Section.
First Subsection
Text for first Subsection.
Second Subsection
Text for second Subsection.
Contents
Section 2.
Equations
Inline example: \(\left[ \hat{H}, \hat{\boldsymbol Q} \right] = 0\).
Block example:
<<tau>>
- KBI V.1.33
Figures
<<fig-T1>>

Interlinking
Interlinking is done via Org links. For example, we can refer to Section Structure or to the First Subsection.
For equations, we can similarly link using the dedicated link: tau is a beauty.
Figures are handled in a similar way, fig-T1.
You can cite a good book such as this one b-Gaudin or a world-changing article such as 1931.Bethe.ZP.71.
Contextual colors
As an in-built suggestion, you can use collapsible/expandable boxes with contextual colors, serving specific purposes:
Specific prerequisites for understanding the upcoming material
- you should already know this
- and this
- and that
Objectives for this part: what you should learn by reading this
- this
- and this
- and that
Core material: all equations are useful, but some are more useful than others.
Derivation of a particular (set of) equation(s).
Example of the concepts just covered.
Additional (contextual) information.
Additional historical context.
Literature
Books
b-Gaudin
- Gaudin, La fonction d'onde de Bethe, Masson (Paris), 1983.
Russian translation:
English translation: M. Gaudin, The Bethe Wavefunction (translation by J.-S. Caux), Cambridge University Press, 2014.
@Book{Gaudin,
author = {M. Gaudin},
title = {La fonction d'onde de {B}ethe},
publisher = {Masson, Paris},
year = {1983},
note = {{\it The Bethe Wavefunction} (translation by J.-S. Caux), Cambridge University Press, 2014.},
}
Articles
1931
1931.Bethe.ZP.71
-
- Bethe,
Zur Theorie der Metalle. I. Eigenwerte und Eigenfunktionen der linearen Atomkette, Zeit. für Physik 71, 205 (1931), doi:10.1007/BF01341708.
Extended data | |
---|---|
Author | Hans Albrecht Bethe |
Title | Zur Theorie der Metalle. I. Eigenwerte und Eigenfunktionen der linearen Atomkette |
Journal | Zeit. für Physik |
Volume | 71 |
Pages | 205-226 |
Year | 1931 |
doi | 10.1007/BF01341708 |
Publication date | 1931-03 |
Submission date | 1931-06-17 |
Translations into English:
- by Vince Frederick (1992): ON THE THEORY OF METALS, I., in book: Daniel C. Mattis, The Many-Body Problem - An Encyclopedia of Exactly Solved Models in One Dimension, World Scientific (1993), ISBN 981-02-0975-4 (paperback: 981-02-1476-6).
- by Teunis C. Dorlas (2009): On the Theory of Metals. I. Eigenvalues and eigenfunctions of a linear chain of atoms
@Article{1931.Bethe.ZP.71,
author = {H. A. Bethe},
title = {Zur {T}heorie der {M}etalle. I. {E}igenwerte und {E}igenfunktionen der linearen {A}tomkette},
journal = {Zeit. f\"ur Physik},
year = {1931},
volume = {71},
pages = {205},
doi = {10.1007/BF01341708}
}
Impossible chronology: the article appeared in issue 3-4 of volume 71 of the journal, which carries the date March 1931. However, Bethe signs off dated 13 June 1931 at the end of the article, and the article header mentions 17 June 1931 as reception (in modern parlance: submission) date.