From fad1070ecad7877bc2808d609d0e61f7f234bdf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 23 Mar 2018 01:44:30 +0100 Subject: [PATCH] support one line address --- ox-cv.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ox-cv.el b/ox-cv.el index 8c558db..bc6d618 100644 --- a/ox-cv.el +++ b/ox-cv.el @@ -24,6 +24,7 @@ :options-alist '((:mobile "MOBILE" nil nil parse) (:homepage "HOMEPAGE" nil nil parse) + (:address "ADDRESS" nil nil parse) (:gitlab "GITLAB" nil nil parse) (:github "GITHUB" nil nil parse) (:linkedin "LINKEDIN" nil nil parse) @@ -77,6 +78,9 @@ holding export options." ;; linkedin (let ((linkedin (org-export-data (plist-get info :linkedin) info))) (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. (let ((date (and (plist-get info :with-date) (org-export-get-date info)))) (format "\\date{%s}\n" (org-export-data date info)))