Skip to content

Commit

Permalink
[site] try to generate pdfs for book content
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraveiro committed Sep 6, 2024
1 parent 8cabea8 commit d5c19d1
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .build-site.el
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,19 @@
:base-extension "css"
:publishing-directory "./build/output/site/assets/css"
:publishing-function org-publish-attachment)
( "gmt-site:main"
:components("gmt-site:images" "gmt-site:pages" "gmt-site:css"))
))
("gmt-site:pdf"
:base-directory "./"
:recursive nil
:exclude ".*"
:include ["german.org"]
:publishing-directory "./build/output/site"
:publishing-function org-latex-publish-to-pdf)
("gmt-site:main"
:components ("gmt-site:images"
"gmt-site:pages"
"gmt-site:css"
"gmt-site:pdf")))
)

;; Generate the site output
(org-publish-all t)
Expand Down

0 comments on commit d5c19d1

Please sign in to comment.