1
0
Fork 0

Only generate \position when #+TITLE is not empty

TODO: This still doesn't work the way I want for some reason.

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
Sergio Durigan Junior 2024-03-16 16:47:36 -04:00
parent 106c840726
commit 37cfa7ff64
Signed by: sergiodj
GPG Key ID: D0EB762865FC5E36
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ holding export options."
(format "\\name{%s}{%s}\n" first-name last-name))
;; Title
(format "\\position{%s}\n" title)
(when (org-string-nw-p title)
(format "\\position{%s}\n" title))
;; photo
(let* ((photo (plist-get info :photo))