1
0
Fork 0

genfiles redo

This commit is contained in:
Oscar Najera 2023-10-21 23:32:13 +02:00
parent 2d95e3c640
commit 4ac644cc34
1 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@
:init
(require 'ox-moderncv)
(require 'ox-altacv)
(require 'ox-hugocv)
(require 'ox-awesomecv))
(defun export-latex (backend file)
@ -31,13 +32,13 @@
(let ((readme (concat cv-cwd "readme.org")))
(make-directory cv-workdir t)
(cd cv-workdir)
(with-current-buffer
(find-file-noselect readme)
(cd cv-workdir)
(org-babel-tangle)))
(copy-file (concat cv-cwd "doc/smile.png") cv-workdir t)
(make-directory (concat cwd "/doc/static/") t)
(make-directory (concat cv-cwd "/doc/static/") t)
(export-latex 'altacv "altacv.org")
(export-latex 'moderncv "moderncv.org")
(export-latex 'awesomecv "awesomecv.org")