diff options
author | Ludovic Court`es | 2007-06-18 08:44:42 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-06-18 08:44:42 +0000 |
commit | a96ab6b83c1754103f37cdd27b872b1e3bda95c0 (patch) | |
tree | 2f38c9e633a1e5821dadd8bd2697b0a294cb1d0e /src/guile | |
parent | 148e1a21118c59b51354c428675c5eb55120a3b3 (diff) | |
download | skribilo-a96ab6b83c1754103f37cdd27b872b1e3bda95c0.tar.gz skribilo-a96ab6b83c1754103f37cdd27b872b1e3bda95c0.tar.lz skribilo-a96ab6b83c1754103f37cdd27b872b1e3bda95c0.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: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-76
Diffstat (limited to 'src/guile')
-rw-r--r-- | src/guile/skribilo/package/lncs.scm | 5 |
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 |