File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8787(define-struct auto-bib (author date title location url note is-book? doi key specific))
8888(define-struct bib-group (ht))
8989
90- (define-struct (author-element element) (names cite))
90+ (define-struct (author-element element) (names cite)) ;; NB: names should always be a string
9191(define-struct (other-author-element author-element) ())
9292
9393(define (author-element-names* x)
693693 (make-author-element
694694 #f
695695 (list org)
696- org
696+ (content->string org)
697697 org))
698698
699699(define (other-authors)
700700 (make-other-author-element
701701 #f
702702 (list "Alia " )
703- (list "al " ._)
703+ "al. "
704704 (list "al " ._)))
705705
706706(define (authors name . names*)
707707 (define names (map parse-author (cons name names*)))
708- (define slash-names (string-join (map (compose1 content->string author-element-names) names) " / " ))
708+ (define slash-names (string-join (map author-element-names names) " / " ))
709709 (define cite
710710 (case (length names)
711711 [(1 ) (author-element-cite (car names))]
You can’t perform that action at this time.
0 commit comments