<?xml version="1.0" encoding="utf-8"?>
<presentation xmlns:s="https://github.com/johndoe31415/pyradium">
	<meta>
		<title>Battle of Wolf 359</title>
		<subtitle>A Recap of Events</subtitle>
		<author>Jean-Luc Picard</author>
		<fullauthor>Jean-Luc Picard, Retired Starfleet Admiral</fullauthor>
		<affiliation>Starfleet</affiliation>
		<date>2020-01-01</date>
		<presentation-time>0:30</presentation-time>
		<format>
			<date>%d.%m.%Y</date>
		</format>
	</meta>

	<acronyms src="acronyms.json" />

	<slide type="title" />

	<slide>
		<s:var name="heading" value="No section at all" />
		<ul>
			<li>There is no section or no subsection set for this slide.</li>
			<li>In the status line, there should be nothing.</li>
		</ul>
	</slide>

	<section>Foo</section>
	<subsection>Bar</subsection>
	<slide>
		<s:var name="heading" value="Now we do have them" />
		<ul>
			<li>Now it's section <s:enq>Foo</s:enq></li>
			<li>And subsection <s:enq>Bar</s:enq></li>
			<li>This should show "Foo" / "Bar" below.</li>
		</ul>
	</slide>

	<section>Moo</section>
	<slide>
		<s:var name="heading" value="Resetting subsection" />
		<ul>
			<li>Now it's section <s:enq>Moo</s:enq></li>
			<li>But no subsection</li>
			<li>This should show <i>only</i> show <s:enq>Moo</s:enq> below.</li>
		</ul>
	</slide>

	<section>Introduction</section>
	<subsection>Nomenclature</subsection>
	<slide type="toc" />

	<slide>
		<s:time rel="1.5" />
		<s:var name="heading" value="Pausing Slides" />
		<ul>
			<li>Pausing slides is easy! Acronyms too: <s:ac>WEP</s:ac></li>
			<s:pause />
			<li>After the first pause! Another acronym: <s:ac>DES</s:ac></li>
			<s:pause />
			<li>This is after the second pause! Explaining <s:ac>AES</s:ac>-<s:ac>CBC</s:ac></li>
			<li><s:ac>A</s:ac> <s:ac>AB</s:ac> <s:ac>ABC</s:ac> <s:ac>ABCD</s:ac> <s:ac>ABCDE</s:ac></li>
			<li>Don't confuse <s:ac>MAC1</s:ac> and <s:ac>MAC2</s:ac></li>
		</ul>
	</slide>

	<slide>
		<s:time abs="1 min" />
		<s:var name="heading" value="That's the second slide" />
		<ul>
			<li>This is a test!</li>
			<s:debug>This is debugging text.</s:debug>
			<li>Should be slide number two!</li>
			<li>Next up: include!</li>
		</ul>
	</slide>

	<include src="example_sub.xml" />

	<section>Finalization</section>
	<subsection>After Include Subsection</subsection>
	<slide type="sectiontitle" />

	<slide>
		<s:var name="heading" value="After include" />
		<ul>
			<li>We just included a sub-document</li>
			<li>This is the slide which directly follows an include.</li>
			<li>Fixed-width text is possible: <s:tt>001122abcdef</s:tt></li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Non-breaking space" />
		<ul>
			<li>This is a very long sentence but it should not <s:nlb>break between</s:nlb> between "break" and "between".</li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Nested ULs" />
		<ul>
			<li>Level 1 Moo</li>
			<li>Level 1 Koo
				<ul>
					<li>Nested 1</li>
					<li>Nested 2</li>
				</ul>
			</li>
		</ul>
	</slide>

	<slide type="quote">
		<s:time abs="15 sec" />
		Even the best blade will rust and grow dull unless it is cared for.
		<s:var name="author" value="Klingon Proverb" />
	</slide>

	<slide type="leftright">
		<s:var name="heading" value="Left/Right slide" />
		<s:content name="left">
			This is on the left side. It's a long text, so it gets wrapped. You get a nice feeling as to how wide it is.
		</s:content>
		<s:content name="right">
			This is on the right side. It's a long text, so it gets wrapped. You get a nice feeling as to how wide it is.
		</s:content>
	</slide>

	<slide>
		<s:var name="heading" value="Formula in Text" />
		<ul>
			<li>Short Weierstrass: <s:tex>y^2 = x^3 + ax + b</s:tex></li>
			<li>Some Sum: <s:tex>\sum_{i = 0}^{10} \frac{i^2}{\pi}</s:tex></li>
			<!--<li>Invalid TeX: <s:tex>\foobar</s:tex></li>-->
		</ul>
		<p>
			In general, the short Weierstrass form is given as the formula <s:tex>y^2 = x^3 + ax + b</s:tex> and that's just great.
		</p>
	</slide>

	<slide>
		<s:var name="heading" value="Long Formula" />
		<p>This is the long form:</p>
		<s:tex long="1">\sum_{i = 0}^{10} \frac{i^2}{\pi}</s:tex>
		<p>While this is the short one for comparison:</p>
		<s:tex>\sum_{i = 0}^{10} \frac{i^2}{\pi}</s:tex>
	</slide>

	<subsection>Code Highlighting</subsection>
	<slide>
		<s:var name="heading" value="Some Python Code" />
		<s:code lang="python3"><![CDATA[
			if foo == "bar":
				print("foo was 'bar'")
				return getattr(self, "bar")
			else:
				print("foo was not 'bar'")
				return lambda x: tuple(x, "foo", 123)
		]]></s:code>
	</slide>

	<slide>
		<s:var name="heading" value="Some C Code" />
		<s:code lang="c"><![CDATA[
			int main(int argc, char **argv) {
				printf("Foo: %d -> %p\n", argc, argv);
				return 0;
			}
		]]></s:code>
	</slide>

	<slide>
		<s:var name="heading" value="Some Python Code from a File" />
		<s:code lang="python3" src="my_data.py" />
	</slide>

	<slide>
		<s:var name="heading" value="Some Terminal" />
		<s:term><![CDATA[
			$ ls /
			bin
			sbin
		]]></s:term>
	</slide>

	<slide>
		<s:var name="heading" value="Some Terminal from a File" />
		<s:term src="terminal_output.txt" />
	</slide>

	<slide>
		<s:var name="heading" value="Quotation Marks" />
		<ul>
			<li><s:enq>US style</s:enq></li>
			<li><s:enq type="fr">French style</s:enq></li>
			<li><s:enq type="de">German style</s:enq></li>
			<li><s:enq type="sgl">Single quotation marks</s:enq></li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Arrows" />
		<ul>
			<li><s:ar>-)</s:ar> Right and long right <s:ar>--)</s:ar></li>
			<li><s:ar>(-</s:ar> Left and long left <s:ar>(--</s:ar></li>
			<li><s:ar>(-)</s:ar> both and <s:ar>(--)</s:ar> both long and both double <s:ar>(=)</s:ar> and both double long <s:ar>(==)</s:ar></li>
			<li><s:ar>=)</s:ar> Double Right</li>
			<li><s:ar>(=</s:ar> Double Left</li>
			<li><s:ar>enter</s:ar> Enter Key</li>
			<li><s:ar>light</s:ar> Lightning</li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Dashes" />
		<ul>
			<li>By default dashes are replaced by endash and emdash, -- and ---</li>
			<li>But they can be verbatim as well: <s:verb>-- and ---</s:verb></li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Symbols" />
		<ul>
			<li><s:sym>xor</s:sym> XOR and <s:sym>xmul</s:sym> XMUL</li>
			<li>Operators <s:sym>le</s:sym> <s:sym>lt</s:sym> <s:sym>eq</s:sym> <s:sym>neq</s:sym> <s:sym>gt</s:sym><s:sym>ge</s:sym></li>
			<li>Infinity <s:sym>inf</s:sym></li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Emojis" />
		<ul>
			<li><s:emo>:)</s:emo> <s:emo>:))</s:emo> <s:emo>;)</s:emo></li>
			<li><s:emo>:(</s:emo> <s:emo>:((</s:emo> <s:emo>;(</s:emo></li>
			<li><s:emo>:|</s:emo> <s:emo>:o</s:emo> <s:emo>:O</s:emo></li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Image Rendering" />
		<s:img src="3dbox.svg" />
	</slide>

	<slide>
		<s:var name="heading" value="Image Rendering with substitution" />
		<s:img src="3dbox.svg">
			<transform cmd="replace_text" search="${foo}" replace="Works!" />
		</s:img>
	</slide>

	<slide type="animation">
		<s:var name="heading" value="Image Animation" />
		<s:var name="filename" value="animation.svg" />
	</slide>

	<slide>
		<s:var name="heading" value="Plot Rendering" />
		<s:plot src="histo.gnuplot" />
	</slide>

	<subsection>Esc&lt;&gt;ping</subsection>
	<slide>
		<s:var name="heading" value="Escaped &lt;&gt; Characters" />
		<ul>
			<li>This is verbatim: &lt; &gt;</li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Execution of scripts 1" />
		<s:exec cmd="my_script foo" />
	</slide>

	<slide>
		<s:var name="heading" value="Execution of scripts 2" />
		<s:exec cmd="my_script bar" />
	</slide>

	<slide>
		<s:var name="heading" value="Execution of scripts 3" />
		<s:tt><s:exec cmd="my_script tt" /></s:tt>
	</slide>

	<slide>
		<s:var name="heading" value="Nested Tags" />
		<s:tt>first <b>bold <i>bolditalics</i></b> last</s:tt>
	</slide>

	<slide>
		<s:time abs="10 min" />
		<s:var name="heading" value="Demo Slide!" />
		<ul>
			<li>Demo time! This will take 10 minutes!</li>
		</ul>
	</slide>

	<slide>
		<s:var name="heading" value="Nth" />
		<ul>
			<li>This is the <s:nth>1</s:nth> line.</li>
			<li>This is the <s:nth>2</s:nth> line.</li>
			<li>This is the <s:nth>3</s:nth> line.</li>
			<li>This is the <s:nth>4</s:nth> line.</li>
		</ul>
	</slide>

	<slide type="final">
		<s:time rel="0" />
	</slide>
	<slide type="acronyms">
		<s:time rel="0" />
	</slide>

	<slide type="feedback">
		<s:var name="endpoint" value="https://myserver.com/feedback-api" />
		<s:time rel="0" />
	</slide>
</presentation>
