Squelch newline citations
This commit is contained in:
parent
a884c91720
commit
d7aa944eba
|
@ -142,7 +142,11 @@
|
||||||
(define bibtex-db (path->bibdb bib-pth))
|
(define bibtex-db (path->bibdb bib-pth))
|
||||||
(define-cite autobib-cite autobib-citet generate-bibliography-id)
|
(define-cite autobib-cite autobib-citet generate-bibliography-id)
|
||||||
(define ((make-citer citer) f . r)
|
(define ((make-citer citer) f . r)
|
||||||
(apply citer (map (curry generate-bib bibtex-db)
|
(apply citer
|
||||||
|
(filter-map
|
||||||
|
(λ (key)
|
||||||
|
(and (not (string=? "\n" key))
|
||||||
|
(generate-bib bibtex-db key)))
|
||||||
(append-map (curry regexp-split #rx" +")
|
(append-map (curry regexp-split #rx" +")
|
||||||
(cons f r)))))
|
(cons f r)))))
|
||||||
(define ~cite-id (make-citer autobib-cite))
|
(define ~cite-id (make-citer autobib-cite))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user