In conjunction with Pandoc and/or LaTeX they become platforms for publication.
It’s not just about mixing code and comment, we also want:
Tool for converting documents between formats, including:
You write LaTeX in any text editor, but specialist apps like Texpad or Overleaf make it easier.
Provides bilbiographic support for LaTeX but widely used by other utilities as is also plain-text.
@article{Lavin:2019,
Author = {Lavin, Matthew J.},
Doi = {10.46430/phen0082},
Journal = {The Programming Historian},
Number = {8},
Title = {Analyzing Documents with TF-IDF},
Year = {2019},
Bdsk-Url-1 = {https://doi.org/10.46430/phen0082}}
@incollection{Kitchin:2016,
Author = {Kitchin, R. and Lauriault, T.P. and McArdie, G.},
Booktitle = {Smart Urbanism},
Chapter = {2},
Editor = {Marvin, Luque-Ayala, McFarlane},
Title = {Smart Cities and the Politics of Urban Data},
Year = {2016}}
To reference a document we then need to tell LaTeX or Pandoc where to look:
With citations following formats like:
Or:
JavaScript-based presentation framework. Can use Markdown to generate portable interactive slides including references/bibliographies.
How this presentation was created.
Compare:
Markdown | LaTeX |
---|---|
# Heading Level 1 |
\section{Heading Level 1} |
## Heading Level 2 |
\subsection{Heading Level 2} |
### Heading Level 3 |
\subsubsection{Heading Level 3} |
Markdown | LaTeX |
---|---|
1. Numbered item 1 |
\begin{enumerate} \n \item ... \end{enumerate} |
- Bulleted list item 1 |
\begin{itemize} \n \item ... \n \end{itemize} |
_italics_ or *italics* |
\emph{italics} or \textit{italics} |
**bold** |
\textbf{bold} |
> blockquote |
\begin{quote} \n blockquote \end{quote} |
Some `code` is here |
Some \texttt{code} is here |
[Link Text](URL) |
\href{Link Text}{URL} |
![Alt Text](Image URL) |
\begin{figure}\n \includegraphics[opts]{...}\n \end{figure} |
Markdown | LaTeX |
---|---|
Same, but either 1 or 2 $’s | $x=5$ |
Same, but either 1 or 2 $’s | $\pi$ |
Same, but either 1 or 2 $’s | $e = mc^{2}$ |
We can show all this directly in the Notebook! \(\pi\); \(e = mc^{2}\); \(\int_{0}^{\inf} x^2 \,dx\); \(\sum_{n=1}^{\infty} 2^{-n} = 1\)
Note(book)s to Documents • Jon Reades