mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-15 02:58:29 +00:00
support one line address
This commit is contained in:
parent
5ed3886b61
commit
fad1070eca
1 changed files with 4 additions and 0 deletions
4
ox-cv.el
4
ox-cv.el
|
@ -24,6 +24,7 @@
|
||||||
:options-alist
|
:options-alist
|
||||||
'((:mobile "MOBILE" nil nil parse)
|
'((:mobile "MOBILE" nil nil parse)
|
||||||
(:homepage "HOMEPAGE" nil nil parse)
|
(:homepage "HOMEPAGE" nil nil parse)
|
||||||
|
(:address "ADDRESS" nil nil parse)
|
||||||
(:gitlab "GITLAB" nil nil parse)
|
(:gitlab "GITLAB" nil nil parse)
|
||||||
(:github "GITHUB" nil nil parse)
|
(:github "GITHUB" nil nil parse)
|
||||||
(:linkedin "LINKEDIN" nil nil parse)
|
(:linkedin "LINKEDIN" nil nil parse)
|
||||||
|
@ -77,6 +78,9 @@ holding export options."
|
||||||
;; linkedin
|
;; linkedin
|
||||||
(let ((linkedin (org-export-data (plist-get info :linkedin) info)))
|
(let ((linkedin (org-export-data (plist-get info :linkedin) info)))
|
||||||
(when linkedin (format "\\social[linkedin]{%s}\n" linkedin)))
|
(when linkedin (format "\\social[linkedin]{%s}\n" linkedin)))
|
||||||
|
;; address
|
||||||
|
(let ((address (org-export-data (plist-get info :address) info)))
|
||||||
|
(when address (format "\\address{%s}\n" address)))
|
||||||
;; Date.
|
;; Date.
|
||||||
(let ((date (and (plist-get info :with-date) (org-export-get-date info))))
|
(let ((date (and (plist-get info :with-date) (org-export-get-date info))))
|
||||||
(format "\\date{%s}\n" (org-export-data date info)))
|
(format "\\date{%s}\n" (org-export-data date info)))
|
||||||
|
|
Loading…
Reference in a new issue