mirror of https://github.com/yjwen/org-reveal.git
add PDF.css to support print to PDF.
This commit is contained in:
parent
346a8f9002
commit
a60af257ba
10
ox-reveal.el
10
ox-reveal.el
|
@ -334,11 +334,15 @@ using custom variable `org-reveal-root'."
|
|||
(extra-css (plist-get info :reveal-extra-css))
|
||||
(extra-css-link-tag (if extra-css
|
||||
(format "<link rel=\"stylesheet\" href=\"./%s\">" extra-css)
|
||||
"")))
|
||||
""))
|
||||
(pdf-css (org-reveal--append-pathes css-dir-name '("print" "pdf.css"))))
|
||||
(format "<link rel=\"stylesheet\" href=\"%s\">
|
||||
<link rel=\"stylesheet\" href=\"%s\" id=\"theme\">
|
||||
%s\n"
|
||||
min-css-file-name theme-full extra-css-link-tag)))
|
||||
%s
|
||||
<link rel=\"stylesheet\" href=\"%s\" type=\"text/css\" media=\"print\">
|
||||
"
|
||||
min-css-file-name theme-full extra-css-link-tag
|
||||
pdf-css)))
|
||||
|
||||
(defun org-reveal-mathjax-scripts (info)
|
||||
"Return the HTML contents for declaring MathJax scripts"
|
||||
|
|
Loading…
Reference in New Issue