summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Court`es2007-08-20 15:52:49 +0000
committerLudovic Court`es2007-08-20 15:52:49 +0000
commit6e53232aaf3f3ec31678911643c1e1a9f04d6619 (patch)
tree706c90e56255d8463f1cd987453e8aae9c5ba620
parent1d28b0859878efcc1a204c9f2232926cf74ae380 (diff)
downloadskribilo-6e53232aaf3f3ec31678911643c1e1a9f04d6619.tar.gz
skribilo-6e53232aaf3f3ec31678911643c1e1a9f04d6619.tar.lz
skribilo-6e53232aaf3f3ec31678911643c1e1a9f04d6619.zip
lout engine: Always use `@BypassNumber'.
* src/guile/skribilo/engine/lout.scm (lout-block-before): Always use `@BypassNumber'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-85
-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