summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/musings/musings-style.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/context/sources/general/manuals/musings/musings-style.tex')
-rw-r--r--doc/context/sources/general/manuals/musings/musings-style.tex15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/context/sources/general/manuals/musings/musings-style.tex b/doc/context/sources/general/manuals/musings/musings-style.tex
index 5ed934f2f..a85960bdd 100644
--- a/doc/context/sources/general/manuals/musings/musings-style.tex
+++ b/doc/context/sources/general/manuals/musings/musings-style.tex
@@ -43,12 +43,15 @@
\hss
% title
#2
- \doifmode {*sectionnumber} {
- % distance
- \hskip10mm
- % number
- \struttedbox{\offset[x=-1mm,y=2.5mm]{\scale[height=2cm]{#1}}}
- }
+ % \ifnum\getsomestructurenumber{\currentstructurelevel}{last}>\plusone
+ \ifnum\somenamedheadnumber{chapter}{last}>\plusone
+ \doifmode {*sectionnumber} {
+ % distance
+ \hskip10mm
+ % number
+ \struttedbox{\offset[x=-1mm,y=2.5mm]{\scale[height=2cm]{#1}}}
+ }
+ \fi
}
\stoptexdefinition