2018-04-05 19:12:24 +02:00
|
|
|
|
```
|
2019-09-22 19:57:48 +02:00
|
|
|
|
% pandoc -f latex -t plain+gutenberg
|
2018-04-05 19:12:24 +02:00
|
|
|
|
\chapter{First chapter}\label{sec:chp1}
|
|
|
|
|
The next chapter is Chapter~\ref{sec:chp2}.
|
|
|
|
|
\section{First section}\label{sec:chp1sec1}
|
|
|
|
|
The next section is Section~\ref{sec:chp2sec1}.
|
|
|
|
|
|
|
|
|
|
\chapter{Second chapter}\label{sec:chp2}
|
|
|
|
|
The previous chapter is Chapter~\ref{sec:chp1}.
|
|
|
|
|
\section{First section}\label{sec:chp2sec1}
|
|
|
|
|
The previous section is Section~\ref{sec:chp1sec1}.
|
|
|
|
|
^D
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FIRST CHAPTER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The next chapter is Chapter 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
First section
|
|
|
|
|
|
|
|
|
|
The next section is Section 2.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SECOND CHAPTER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The previous chapter is Chapter 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
First section
|
|
|
|
|
|
|
|
|
|
The previous section is Section 1.1.
|
|
|
|
|
```
|