aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Court`es2007-08-20 16:28:40 +0000
committerLudovic Court`es2007-08-20 16:28:40 +0000
commit655e83cceddc28f7a1b25106e9cafae005530ca5 (patch)
tree25022a5349289232458bc13f3bfa86a6ae065de9 /src
parentaf8c534f411ef0671f43fda1017f42fcd28a29fa (diff)
parent6e53232aaf3f3ec31678911643c1e1a9f04d6619 (diff)
downloadskribilo-655e83cceddc28f7a1b25106e9cafae005530ca5.tar.gz
skribilo-655e83cceddc28f7a1b25106e9cafae005530ca5.tar.lz
skribilo-655e83cceddc28f7a1b25106e9cafae005530ca5.zip
lout engine: Always use `@BypassNumber'.
* src/guile/skribilo/engine/lout.scm (lout-block-before): Always use `@BypassNumber'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-144
Diffstat (limited to 'src')
-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