mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-23 06:28:37 +00:00
genfiles redo
This commit is contained in:
parent
2d95e3c640
commit
4ac644cc34
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
||||||
:init
|
:init
|
||||||
(require 'ox-moderncv)
|
(require 'ox-moderncv)
|
||||||
(require 'ox-altacv)
|
(require 'ox-altacv)
|
||||||
|
(require 'ox-hugocv)
|
||||||
(require 'ox-awesomecv))
|
(require 'ox-awesomecv))
|
||||||
|
|
||||||
(defun export-latex (backend file)
|
(defun export-latex (backend file)
|
||||||
|
@ -31,13 +32,13 @@
|
||||||
|
|
||||||
(let ((readme (concat cv-cwd "readme.org")))
|
(let ((readme (concat cv-cwd "readme.org")))
|
||||||
(make-directory cv-workdir t)
|
(make-directory cv-workdir t)
|
||||||
(cd cv-workdir)
|
|
||||||
(with-current-buffer
|
(with-current-buffer
|
||||||
(find-file-noselect readme)
|
(find-file-noselect readme)
|
||||||
|
(cd cv-workdir)
|
||||||
(org-babel-tangle)))
|
(org-babel-tangle)))
|
||||||
|
|
||||||
(copy-file (concat cv-cwd "doc/smile.png") cv-workdir t)
|
(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 'altacv "altacv.org")
|
||||||
(export-latex 'moderncv "moderncv.org")
|
(export-latex 'moderncv "moderncv.org")
|
||||||
(export-latex 'awesomecv "awesomecv.org")
|
(export-latex 'awesomecv "awesomecv.org")
|
||||||
|
|
Loading…
Reference in a new issue