[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Stop with an error if the LaTeX class is not known to th
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] Stop with an error if the LaTeX class is not known to the new exporter |
Date: |
Wed, 06 Feb 2013 19:49:12 +0100 |
Hello,
"Sebastien Vauban"
<address@hidden> writes:
> I've lost (a bit of) time looking at why my documents were wrong with the new
> exporter. The fact is I've customized:
>
> (setq org-e-latex-default-class "myarticle")
>
> but hadn't added yet that private class to the list `org-e-latex-classes'.
>
> The result: a PDF, but completely undreadable, as it's missing the
> `documentclass' directive.
>
> Here a patch to throw an error to the user, signaling he's forgotten some
> pieces of the puzzle, in case he played with such vars. Better stop early, and
> giving hints to the user how to correct the problem, no?
>
> Feel free to adapt it to your wishes.
Thank you. I have applied it on the soon to be merged back-end.
Regards,
--
Nicolas Goaziou