From 4ac644cc344d7d24d8e1f5ad8549055c0947ea43 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sat, 21 Oct 2023 23:32:13 +0200 Subject: [PATCH] genfiles redo --- genfiles.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/genfiles.el b/genfiles.el index a7583be..38bd8f9 100644 --- a/genfiles.el +++ b/genfiles.el @@ -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")