emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH][ANN] org-html/org-odt


From: Jambunathan K
Subject: Re: [O] [PATCH][ANN] org-html/org-odt
Date: Sat, 26 Mar 2011 10:27:40 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Hello Sean

Thanks for trying out the new exporter and submitting this patch. I have
applied it to my branch.

Jambunathan K.

> Hi,
>
> I was getting the error:
>
>     org-html-insert-toc: Wrong type argument: char-or-string-p, nil
>
> when trying to generate an HTML file with
>
>     #+OPTIONS: toc:nil
>
> The patch below seems to fix this.
>
> Regards,
> Sean
>
> index bd53741..37eddf4 100644
> --- a/lisp/org-html.el
> +++ b/lisp/org-html.el
> @@ -2113,7 +2113,7 @@ the alist of previous items."
>
>  (defun org-html-end-export ()
>    ;; insert the table of contents
> -  (when (and org-export-with-toc (not body-only))
> +  (when (and org-export-with-toc (not body-only) org-parse-table-of-contents)
>      (org-html-insert-toc org-parse-table-of-contents))
>
>    ;; remove empty paragraphs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]