fix Scribble manual bib to refer to scheme.css
svn: r15912
This commit is contained in:
parent
5a736e97a3
commit
3ada45a6c3
|
@ -3,6 +3,8 @@
|
|||
"../decode.ss"
|
||||
"../struct.ss"
|
||||
"../basic.ss"
|
||||
(only-in "../core.ss" make-style)
|
||||
"manual-sprop.ss"
|
||||
"manual-utils.ss"
|
||||
"manual-style.ss")
|
||||
|
||||
|
@ -62,6 +64,8 @@
|
|||
(if date `(" " ,@(decode-content (list date)) ".") null)
|
||||
(if url `(" " ,(link url (tt url))) null)))))
|
||||
|
||||
(define bib-style (make-style "SBibliography" scheme-properties))
|
||||
|
||||
(define (bibliography #:tag [tag "doc-bibliography"] . citations)
|
||||
(make-unnumbered-part
|
||||
#f
|
||||
|
@ -72,7 +76,7 @@
|
|||
(make-flow
|
||||
(list
|
||||
(make-table
|
||||
"SBibliography"
|
||||
bib-style
|
||||
(map (lambda (c)
|
||||
(let ([key (a-bib-entry-key c)]
|
||||
[val (a-bib-entry-val c)])
|
||||
|
|
13
collects/scribble/private/manual-sprop.ss
Normal file
13
collects/scribble/private/manual-sprop.ss
Normal file
|
@ -0,0 +1,13 @@
|
|||
#lang scheme/base
|
||||
|
||||
(require "../html-properties.ss"
|
||||
"../latex-properties.ss"
|
||||
setup/main-collects)
|
||||
|
||||
(provide scheme-properties)
|
||||
|
||||
(define scheme-properties
|
||||
(let ([abs (lambda (s)
|
||||
(path->main-collects-relative (build-path (collection-path "scribble") s)))])
|
||||
(list (make-css-addition (abs "scheme.css"))
|
||||
(make-tex-addition (abs "scheme.tex")))))
|
|
@ -2,11 +2,9 @@
|
|||
(require "core.ss"
|
||||
"basic.ss"
|
||||
"search.ss"
|
||||
"html-properties.ss"
|
||||
"latex-properties.ss"
|
||||
"private/manual-sprop.ss"
|
||||
mzlib/class
|
||||
mzlib/for
|
||||
setup/main-collects
|
||||
syntax/modresolve
|
||||
syntax/modcode
|
||||
(for-syntax scheme/base))
|
||||
|
@ -54,12 +52,6 @@
|
|||
make-element-id-transformer
|
||||
element-id-transformer?))
|
||||
|
||||
(define scheme-properties
|
||||
(let ([abs (lambda (s)
|
||||
(path->main-collects-relative (build-path (collection-path "scribble") s)))])
|
||||
(list (make-css-addition (abs "scheme.css"))
|
||||
(make-tex-addition (abs "scheme.tex")))))
|
||||
|
||||
(define (make-scheme-style s #:tt? [tt? #t])
|
||||
(make-style s (if tt?
|
||||
(cons 'tt-chars scheme-properties)
|
||||
|
|
Loading…
Reference in New Issue
Block a user