fix scribble/jfp

This commit is contained in:
Robby Findler 2016-05-27 14:01:42 -05:00
parent 5edbe0fc85
commit 0ca977aecd
3 changed files with 16 additions and 6 deletions

View File

@ -41,7 +41,9 @@
"\\let\\amalg\\relax\n"))
(scribble-file "jfp/style.tex")
(list cls-file)
#f))
#f
#:replacements
(hash "scribble-load-replace.tex" (scribble-file "jfp/replacements.tex"))))
(unless (or (not (path? cls-file))
(file-exists? cls-file))

View File

@ -0,0 +1 @@
\renewcommand{\packageRelsize}{}

View File

@ -21,7 +21,8 @@
(define (add-defaults doc pfx styl extras version?
#:html [html #f]
#:properties [properties null])
#:properties [properties null]
#:replacements [replacements #F])
(struct-copy part doc [style (make-style (style-name (part-style doc))
((if version? add-property (lambda (x y z) x))
(add-property
@ -32,9 +33,15 @@
html-defaults?
html)
latex-defaults?
(make-latex-defaults
pfx
styl
extras))
(if replacements
(make-latex-defaults+replacements
pfx
styl
extras
replacements)
(make-latex-defaults
pfx
styl
extras)))
document-version?
(make-document-version (version))))]))