I am trying to use tufte-book document class in org-mode. But for some reason, org-mode doesn't let me use it and says it is unrecognized. So I am going to the resulting .tex file and manually changing artile to tufte-book. But doing this everytime got worrysome. So I want a way to make org-mode recognize tufte-book. I looked for the manual and found something about org-article class but couldn't make much sense out of it for my own problem.

share|improve this question
up vote 6 down vote accepted

By default org-mode only knows about the article, report and book classes. To teach it a new one you have to add an entry to it to org-latex-classes. I'm not familiar with tufte-book but most of the time it suffices to copy the existing values and just change the \documentclass part. Adding something like:

(add-to-list 'org-latex-classes
             '("tufte-book"
               "\\documentclass{tufte-book}"
               ("\\section{%s}" . "\\section*{%s}")
               ("\\subsection{%s}" . "\\subsection*{%s}")
               ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
               ("\\paragraph{%s}" . "\\paragraph*{%s}")
               ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

to your config file should enable the class

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.