fix missing configs for package

This commit is contained in:
Óscar Nájera 2018-03-29 19:28:55 +02:00
parent 09d133489f
commit 8174657679

View file

@ -1,4 +1,4 @@
;;; ox-latex-cv.el --- LaTeX moderncv Back-End for Org Export Engine -*- lexical-binding: t; -*- ;;; ox-moderncv.el --- LaTeX moderncv Back-End for Org Export Engine -*- lexical-binding: t; -*-
;; Copyright (C) 2018 Free Software Foundation, Inc. ;; Copyright (C) 2018 Free Software Foundation, Inc.
@ -32,9 +32,9 @@
(require 'ox-latex) (require 'ox-latex)
;; Install a default set-up for moderncv export. ;; Install a default set-up for moderncv export.
(unless (assoc "orgcv" org-latex-classes) (unless (assoc "moderncv" org-latex-classes)
(add-to-list 'org-latex-classes (add-to-list 'org-latex-classes
'("orgcv" '("moderncv"
"\\documentclass{moderncv}" "\\documentclass{moderncv}"
("\\section{%s}" . "\\section*{%s}") ("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
@ -50,7 +50,7 @@
:version "25.3") :version "25.3")
;;; Define Back-End ;;; Define Back-End
(org-export-define-derived-backend 'orgcv 'latex (org-export-define-derived-backend 'moderncv 'latex
:options-alist :options-alist
'( '(
(:cvstyle "CVSTYLE" nil "classic" t) (:cvstyle "CVSTYLE" nil "classic" t)