summaryrefslogtreecommitdiff
path: root/doc/scripts/mytexi2latex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/scripts/mytexi2latex')
-rwxr-xr-xdoc/scripts/mytexi2latex6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/scripts/mytexi2latex b/doc/scripts/mytexi2latex
index 7d842dff56..ad61af74c5 100755
--- a/doc/scripts/mytexi2latex
+++ b/doc/scripts/mytexi2latex
@@ -200,6 +200,12 @@ multitable:
}
}
+ if ($line =~ s/\@subsubsection (.+)/\\subsubsection{$1}/g) {
+ if ($label ne '') {
+ $line .= "\\label{$label}\n";
+ }
+ }
+
if ($line =~ s/\@section (.+)/\\section{$1}/g) {
if ($label ne '') {
$line .= "\\label{$label}\n";