mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-15 02:58:29 +00:00
awesomecv fix cventry arguments
This commit is contained in:
parent
70bab953d9
commit
25fdcbfa01
1 changed files with 11 additions and 12 deletions
|
@ -275,9 +275,9 @@ as a communication channel."
|
||||||
)
|
)
|
||||||
((string= entrytype "cventry")
|
((string= entrytype "cventry")
|
||||||
(format "\n\\cventry\n{%s}\n{%s}\n{%s}\n{%s}\n{%s%s}\n"
|
(format "\n\\cventry\n{%s}\n{%s}\n{%s}\n{%s}\n{%s%s}\n"
|
||||||
|
title
|
||||||
employer
|
employer
|
||||||
location
|
location
|
||||||
title
|
|
||||||
(org-cv-utils--format-time-window from-date to-date)
|
(org-cv-utils--format-time-window from-date to-date)
|
||||||
(org-awesomecv--cventry-right-img-code right-img)
|
(org-awesomecv--cventry-right-img-code right-img)
|
||||||
contents))
|
contents))
|
||||||
|
@ -347,18 +347,17 @@ as a communication channel."
|
||||||
(when pagebreak "\\clearpage\n")
|
(when pagebreak "\\clearpage\n")
|
||||||
(cond
|
(cond
|
||||||
;; is a cv entry or subentry
|
;; is a cv entry or subentry
|
||||||
((or (string= environment "cventry")
|
((member environment '("cventry"
|
||||||
(string= environment "cvsubentry")
|
"cvsubentry"
|
||||||
(string= environment "cvemployer")
|
"cvemployer"
|
||||||
(string= environment "cvschool")
|
"cvschool"
|
||||||
(string= environment "cvhonor")
|
"cvhonor"
|
||||||
(string= environment "cvletter")
|
"cvletter"
|
||||||
(string= environment "cvletter_notitle")
|
"cvletter_notitle"
|
||||||
(string= environment "lettersection")
|
"lettersection"
|
||||||
(string= environment "letterheader")
|
"letterheader"))
|
||||||
)
|
|
||||||
(org-awesomecv--format-cventry headline contents info))
|
(org-awesomecv--format-cventry headline contents info))
|
||||||
((or (string= environment "cventries") (string= environment "cvhonors"))
|
((member environment '("cventries" "cvhonors"))
|
||||||
(org-awesomecv--format-cvenvironment environment headline contents info))
|
(org-awesomecv--format-cvenvironment environment headline contents info))
|
||||||
((org-export-with-backend 'latex headline contents info)))))))
|
((org-export-with-backend 'latex headline contents info)))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue