Select Git revision
-
kranatalie authoredkranatalie authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
index.html 21.64 KiB
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>reveal.js</title>
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/black.css">
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="plugin/highlight/monokai.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<section id="overview" class="title-slide slide level1">
<h1>Overview</h1>
</section>
<section id="section" class="slide level2">
<h2></h2>
<ul>
<li>What is pandoc?</li>
<li>Using pandoc to convert to and from LaTeX</li>
<li>Why write in Markdown?</li>
<li>Overcoming Markdown’s limitations</li>
</ul>
</section></section>
<section>
<section id="what-is-pandoc" class="title-slide slide level1">
<h1>What is pandoc?</h1>
</section>
<section id="section-1" class="slide level2">
<h2></h2>
<p><a href="https://pandoc.org" class="uri">https://pandoc.org</a></p>
</section>
<section id="lets-take-it-for-a-spin" class="slide level2">
<h2>Let’s take it for a spin</h2>
<pre><code>% cat simple.tex
\section{On $e=mc^2$}\label{einstein}</code></pre>
<pre><code>% pandoc -f latex -t native simple.tex
% pandoc -f latex -t html simple.tex
% pandoc -t html --mathml simple.tex
% pandoc -t html --mathjax simple.tex
% pandoc -t -html --mathjax -s simple.tex
% pandoc -t ms simple.tex
% pandoc -t gfm simple.tex
% pandoc -t context simple.tex
% pandoc -t jats simple.tex</code></pre>
</section>
<section id="some-math" class="slide level2">
<h2>Some math</h2>
<p>Let’s try with a sample TeX document by Professor A.J. Roberts at the
University of Adelaide (CC licensed).</p>
<p><a
href="http://www.maths.adelaide.edu.au/anthony.roberts/LaTeX/Src/maths.tex"
class="uri">http://www.maths.adelaide.edu.au/anthony.roberts/LaTeX/Src/maths.tex</a></p>
</section>
<section id="some-math-1" class="slide level2">
<h2>Some math</h2>
<pre><code>% pandoc maths.tex -o maths.docx</code></pre>
<div class="fragment">
<p>Two problems:</p>
<ul>
<li>the use of a low-level TeX primitive <code>\mathcode</code>.</li>