mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-21 21:48:34 +00:00
[ox-moderncv] Remove the default cvcolor option
Not including a default value allows users to customize the output colors as LaTeX header options. The moderncv LaTeX package already defaults to black.
This commit is contained in:
parent
3900071b8d
commit
4e059491c0
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
||||||
:options-alist
|
:options-alist
|
||||||
'((:latex-class "LATEX_CLASS" nil "moderncv" t)
|
'((:latex-class "LATEX_CLASS" nil "moderncv" t)
|
||||||
(:cvstyle "CVSTYLE" nil "classic" t)
|
(:cvstyle "CVSTYLE" nil "classic" t)
|
||||||
(:cvcolor "CVCOLOR" nil "blue" t)
|
(:cvcolor "CVCOLOR" nil nil t)
|
||||||
(:mobile "MOBILE" nil nil parse)
|
(:mobile "MOBILE" nil nil parse)
|
||||||
(:homepage "HOMEPAGE" nil nil parse)
|
(:homepage "HOMEPAGE" nil nil parse)
|
||||||
(:address "ADDRESS" nil nil newline)
|
(:address "ADDRESS" nil nil newline)
|
||||||
|
@ -92,7 +92,7 @@ holding export options."
|
||||||
(when cvstyle (format "\\moderncvstyle{%s}\n" cvstyle)))
|
(when cvstyle (format "\\moderncvstyle{%s}\n" cvstyle)))
|
||||||
;; cvcolor
|
;; cvcolor
|
||||||
(let ((cvcolor (org-export-data (plist-get info :cvcolor) info)))
|
(let ((cvcolor (org-export-data (plist-get info :cvcolor) info)))
|
||||||
(when cvcolor (format "\\moderncvcolor{%s}\n" cvcolor)))
|
(when (not (string-empty-p cvcolor)) (format "\\moderncvcolor{%s}\n" cvcolor)))
|
||||||
;; Possibly limit depth for headline numbering.
|
;; Possibly limit depth for headline numbering.
|
||||||
(let ((sec-num (plist-get info :section-numbers)))
|
(let ((sec-num (plist-get info :section-numbers)))
|
||||||
(when (integerp sec-num)
|
(when (integerp sec-num)
|
||||||
|
|
Loading…
Reference in a new issue