diff options
author | Ludovic Court`es | 2007-08-20 15:52:49 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-08-20 15:52:49 +0000 |
commit | 6e53232aaf3f3ec31678911643c1e1a9f04d6619 (patch) | |
tree | 706c90e56255d8463f1cd987453e8aae9c5ba620 /src/guile | |
parent | 1d28b0859878efcc1a204c9f2232926cf74ae380 (diff) | |
download | skribilo-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
Diffstat (limited to 'src/guile')
-rw-r--r-- | src/guile/skribilo/engine/lout.scm | 6 |
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 |