aboutsummaryrefslogtreecommitdiff
path: root/test/command/4529.md
blob: 4242a65c23473f3aa17cdb028647395a94f064ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
```
% pandoc -f latex -t plain+gutenberg
\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.
```