From 178935f55cb4e79ce4fa551e244999f53607f91e Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Tue, 15 Aug 2017 13:06:57 -0500 Subject: [PATCH] Allow autobib references to be interposed on. --- scribble-lib/scriblib/autobib.rkt | 4 ++-- scribble-lib/scriblib/autobib.tex | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scribble-lib/scriblib/autobib.rkt b/scribble-lib/scriblib/autobib.rkt index bc83bf5f..b9489748 100644 --- a/scribble-lib/scriblib/autobib.rkt +++ b/scribble-lib/scriblib/autobib.rkt @@ -138,7 +138,7 @@ (error 'citet "citet must be used with identical authors, given ~a" (map (compose author-element-names* auto-bib-author) bib-entries))) (make-element - #f + (make-style "Autobibref" '()) (list (add-cite group (car bib-entries) 'autobib-author #f #f style) 'nbsp (send style get-cite-open) @@ -155,7 +155,7 @@ (values (hash-update h k (lambda (cur) (cons b cur)) null) (cons k (remove k ks)))))) (make-element - #f + (make-style "Autobibref" '()) (append (list 'nbsp (send style get-cite-open)) (add-between diff --git a/scribble-lib/scriblib/autobib.tex b/scribble-lib/scriblib/autobib.tex index ac67197d..cf9980b9 100644 --- a/scribble-lib/scriblib/autobib.tex +++ b/scribble-lib/scriblib/autobib.tex @@ -6,3 +6,5 @@ \newlength{\ABcollength} \newcommand{\Autocolbibnumber}[1]{\parbox[t]{5ex}{\hfill#1~~\vspace{1.0ex}}} \newcommand{\Autocolbibentry}[1]{\setlength{\ABcollength}{\linewidth-5ex}\parbox[t]{\ABcollength}{#1\vspace{1.0ex}}} + +\newcommand{\Autobibref}[1]{#1}