aboutsummaryrefslogtreecommitdiff
path: root/src/guile
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile')
-rw-r--r--src/guile/skribilo/engine/lout.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/guile/skribilo/engine/lout.scm b/src/guile/skribilo/engine/lout.scm
index a93cde7..954329c 100644
--- a/src/guile/skribilo/engine/lout.scm
+++ b/src/guile/skribilo/engine/lout.scm
@@ -1362,12 +1362,10 @@
(output title e)
(display " }\n")
- (if (number? number)
+ (if number
(format #t " @BypassNumber { ~a }\n"
(markup-number-string n))
- (if (not number)
- ;; this trick hides the section number
- (display " @BypassNumber { } # unnumbered\n")))
+ (display " @BypassNumber { } # unnumbered\n"))
(cond ((string? ident)
(begin