The L#
tag is used to format a sequence of lengths using a table. This tag also offers simple self-numbering features.
Basic syntax
The L#
tag (which appears as P for pitch on the interface in English) allows you to write tables. It also makes it possible to use a numbering of the lengths writing. The basic syntax is as follows:
L# | text 1 | text 2 | text 3 | ... | text n
L# | text 1 | text 2 | text 3 | ... | text n
- the line must begin with
L#
(orR#
); - each cell is separated by a pipe:
|
- the first cell designated by
L#
contains the numbering; - this numbering is prefixed with an "L" (or a R in the case of
R#
).
Numbering options
Automatic numbering
By default, numbering is automatic, starting with number 1. Each tag (L#
or R#
) has its own counter.
L# | => L1
L# | => L2
R# | => R1
R# | => R2
Absolute numbering
By adding a number behind the #
, it is possible to explicitly force the numbering:
L#1 | => L1
L#4 | => L4
L#5 | => L5
Group of pitches
To describe a group of successive pitches, use this pattern after #
: number-number
. For example:
L#1 | => L1
L#2-3 | => L2-3
L#4 | => L4
Secondary numbering with suffixes
It is possible to specify a "bis" pitch (an alternate pitch), by adding a suffix to the number. This suffix must consist of letters without spaces, and not start with a number.
L#1 | => L1
L#1bis | => L1bis
L#2 | => L2
It is also possible to specify a "bis" pitch for a group of pitches, by adding a suffix to the first number with a suffix.
L#1 | => L1
L#2-3 | => L2-3
L#2bis-3 | => L2bis-3bis
Finally, in case of several successive pitches with a suffix, we must repeat the suffix:
L#1 | => L1
L#2 | => L2
L#3 | => L3
L#2bis | => L2bis
L#3bis | => L3bis
L#4 | => L4
The suffix should be used to describe an alternate, and should not be used to describe a walking pitch. For the latter case, either use an ordinary pitch or the L#~
tag (see below).
It is not possible to mix automatic numbering and numbering with suffixes. If you want to use suffixes, you must explicitly specify the number of each line of the document. Otherwise, the first non-conforming tag encountered will disable any interpretation of the numbering.
Facilities within the cells
New line
In case the cell contents are long, it is possible to start each cell with a new line:
L# | cell 1 | cell 2
| cell 3 which is really too long
It is also possible to start a new line within a cell. The line break will appear in the cell. However, two line breaks will finish the table.
L# | cell 1 | cell 2 contains
a line break
But this line is not part of the table
Tags within a cell
It is possible to use a L#
or a R#
witin a cell. In this case, the automatic numbering will use the current number of the line, whatever the letter prefixing the #
is:
L# | L1
L# | L2
L# | The L# tag gives L3. | And the R# tag also gives R3 (and not R1).
Special lines
Title line
The L#=
tag is used to insert a title line, which will appear in bold.
L#= | column 2 | column 3
L# | cell 2 | cell 3
Comment line
The L#~
tag makes it possible to add a line containing only one cell, as wide as the total width of the table:
L# | 5a | 30 m | Slab | Anchor with 2 pitons.
L#~ Connection (walking), approx 20 m towards the right.
L# | 4c | 30 m | Dihedral | Anchor to the left
This tag is often used to describe a transitional pitch (walking, connection), or additional information useful in this place.
Conventions on camptocamp
To homogenize the guidebook, it is recommended to use the following convention on the order of columns:
L# | rating | length in meters | equipment up | description of the pitch | description of the belay
Of course, you may omit one or more columns if the info is missing for all pitches, or if it is useless.
Description of abseil anchors
To describe a abseil line (a.k.a. rappel line), you may use the tag R#
, functioning just like the tag L#.
Note that in the Descent section, the automatic numbering of abseil anchors (R#) is independent of the automatic numbering of anchors on the way up (Route section).
Example of a rappel line :
## Descent
R# | 45m | Belay on tree | Vertical.
R# | 48m | Belay on chain | Pull to the right, watch out for falling rocks.
R# | 35m | Belay on two linked bolts | Down into a gorge.
Description of single pitch routes and bouldering problems
In a document "climbing site", it is possible to describe the single pitch routes of a single pitch site (or bouldering problems of a bouldering site) using the tag L#.
- As usual, the first column contains
L#
. It may also contain f.i.L#3
, but if you use numbers it has to be allthrough; see above. - For a correct display, it is necessary that each pitch has as many cells as the pitch with the most cells. If necessary, add empty boxes (cells).
Examples of climbing sites :
Comments on the forum
See this topic.