commit 178935f55cb4e79ce4fa551e244999f53607f91e
parent 01b279d5ba579a22d66cf16723d971b59a447a80
Author: Vincent St-Amour <stamourv@racket-lang.org>
Date: Tue, 15 Aug 2017 13:06:57 -0500
Allow autobib references to be interposed on.
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git 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
@@ -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}