Remarques diverses v0.9
This commit is contained in:
parent
4ec5c9234f
commit
5ddbcdb214
5 changed files with 14 additions and 15 deletions
|
|
@ -45,6 +45,7 @@ add_latex_bm($bm) if $bm;
|
|||
print <<LATEX;
|
||||
\\documentclass{report}
|
||||
\\title{Guide de montage Vhéliotech v1.0}
|
||||
\\setcounter{page}{2}
|
||||
\\begin{document}
|
||||
${ \join('', @latex_bm) }
|
||||
\\end{document}
|
||||
|
|
@ -63,7 +64,7 @@ sub add_latex_bm {
|
|||
# Remove the first number because it refers to the root title (ie always 1.X)
|
||||
my $number = substr($bm->{number}, 2);
|
||||
my $title = $bm->{title};
|
||||
my $page = $bm->{page};
|
||||
my $page = $bm->{page} + 2;
|
||||
|
||||
push @latex_bm, <<LINE;
|
||||
\\contentsline {$level}{\\numberline {$number}$title}{$page}%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue