literate-config

Literate config. See <a href="../readme.org">readme.org</a> for a better-formatted version
Log | Files | Refs

commit 92f797795bf7e83134c28611ae0fa7bb2a8aa3e2
parent b421bbeafd2ee504b16d3d6d98091474764a48be
Author: Crazazy <crazazy@tilde.cafe>
Date:   Wed,  9 Mar 2022 20:19:32 +0100

run multiple emacs in parralel during export

Diffstat:
Mreadme.org | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/readme.org b/readme.org @@ -8,7 +8,7 @@ In this document I'm mostly going to set up some prerequisites for tangling othe * Maintenance links :noexport: This is for the org-mode side only It is assumed that you have nix and emacs installed for this config to work. You can tangle all files [[elisp:(dolist (i (directory-files (file-name-directory (buffer-file-name (current-buffer))) t "\\.org$")) (org-babel-tangle-file i))][with this lisp]] - You can export all org files to html with a [[shell:for i in *.org; do emacs $i --batch --eval "(org-html-export-to-html)"; done; rm style.html*; scp *.html cafe:public_html/][this small script]] + You can export all org files to html with a [[shell:for i in *.org; do emacs -Q $i --batch --eval "(org-html-export-to-html)" & done; rm style.html*; scp *.html cafe:public_html/][this small script]] You can then install required dependencies with [[shell:./bootstrap.sh &][the bootstrap link]] * Dependencies Dependencies are handled by [[https://github.com/nmattia/niv][niv]]. I have put the dependencies in a shell file, rather than the output