Skip to content

Commit ad9383e

Browse files
committed
autobib: fix sorting of author-less books
Convert title using content->string before it may be used as a sortable name. by autobib.
1 parent ed6d55b commit ad9383e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scribble-lib/scriblib/autobib.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208

209209
(define (extract-bib-author b)
210210
(or (auto-bib-author b)
211-
(org-author-name (auto-bib-title b))))
211+
(org-author-name (content->string (auto-bib-title b)))))
212212

213213
(define (extract-bib-key b)
214214
(author-element-names (extract-bib-author b)))

0 commit comments

Comments
 (0)