summaryrefslogtreecommitdiff
path: root/src/guile
diff options
context:
space:
mode:
authorLudovic Court`es2007-06-23 07:41:59 +0000
committerLudovic Court`es2007-06-23 07:41:59 +0000
commit7fcc1f288b8f7a1b2f1c3a16fcba581cd7a9884b (patch)
tree26afdb9431ae7d728e1b45554eb86e262e771b5c /src/guile
parent061fef172a952f3558b9b6bfdf9f1e4faf9c43cb (diff)
parenta96ab6b83c1754103f37cdd27b872b1e3bda95c0 (diff)
downloadskribilo-7fcc1f288b8f7a1b2f1c3a16fcba581cd7a9884b.tar.gz
skribilo-7fcc1f288b8f7a1b2f1c3a16fcba581cd7a9884b.tar.lz
skribilo-7fcc1f288b8f7a1b2f1c3a16fcba581cd7a9884b.zip
`lncs' package: Prettified bibliography output.
* src/guile/skribilo/package/lncs.scm (&the-bibliography): The `\thebibliography' the number of entries so that all entries are properly aligned. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-117
Diffstat (limited to 'src/guile')
-rw-r--r--src/guile/skribilo/package/lncs.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/guile/skribilo/package/lncs.scm b/src/guile/skribilo/package/lncs.scm
index 39c4cc4..25b1e5a 100644
--- a/src/guile/skribilo/package/lncs.scm
+++ b/src/guile/skribilo/package/lncs.scm
@@ -240,7 +240,10 @@
",")))))
(markup-writer '&the-bibliography latex
- :before "\\begin{thebibliography}{}\n"
+ :before (lambda (n e)
+ (let ((count (length (markup-body n))))
+ (format #t "\\begin{thebibliography}{~a}\n"
+ count)))
:after "\\end{thebibliography}\n")
(markup-writer '&bib-entry-body