git.iko.soy/typeable/pandoc
on bc3caaa help sign in
36 lines 612 B history raw
1```
2% pandoc -f latex -t plain
3\chapter{First chapter}\label{sec:chp1}
4The next chapter is Chapter~\ref{sec:chp2}.
5\section{First section}\label{sec:chp1sec1}
6The next section is Section~\ref{sec:chp2sec1}.
8\chapter{Second chapter}\label{sec:chp2}
9The previous chapter is Chapter~\ref{sec:chp1}.
10\section{First section}\label{sec:chp2sec1}
11The previous section is Section~\ref{sec:chp1sec1}.
12^D
15FIRST CHAPTER
18The next chapter is Chapter 2.
21First section
23The next section is Section 2.1.
27SECOND CHAPTER
30The previous chapter is Chapter 1.
33First section
35The previous section is Section 1.1.
36```