Skip to content

Commit

Permalink
tweak(org): add a book class that passes the FACILE test
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 16, 2023
1 parent 8258734 commit 571bf73
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion modules/extras/me-org-extras.el
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Example: \"#+TITLE\" -> \"#+title\"
org-latex-classes
(append
org-latex-classes
'(("blank"
`(("blank"
"[NO-DEFAULT-PACKAGES]\n[NO-PACKAGES]\n[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
Expand All @@ -224,6 +224,17 @@ Example: \"#+TITLE\" -> \"#+title\"
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}"))
("book-no-parts-facile" ;; Compliant with the FACILE test (https://facile.cines.fr), must be compiled with pdfLaTeX.
,(string-join
'("\\pdfobjcompresslevel 0"
"\\documentclass[12pt,a4paper]{book}"
"\\usepackage[a-1b,mathxmp]{pdfx}")
"\n")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}"))
("lettre"
"\\documentclass{lettre}"
("\\section{%s}" . "\\section*{%s}")
Expand Down

0 comments on commit 571bf73

Please sign in to comment.