[Top][All Lists]

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

Re: [O] Bug: Error upon HTML export of LaTeX source code [8.3.4 (release

From: Dominik Schrempf
Subject: Re: [O] Bug: Error upon HTML export of LaTeX source code [8.3.4 (release_8.3.4-831-gbf93e1 @ /home/dominik/.emacs.d/org-mode/lisp/)]
Date: Sat, 28 May 2016 12:34:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)


you are right.  I found the problem.  I had the following code in my
initialization file to treat latex beamer \frametitle commands as

(defun my-reftex-mode-hook ()
  "Tell reftex to treat \frametitle as section commands."
  (add-to-list 'reftex-section-levels
               '("frametitle" . 2))
(add-hook 'reftex-mode-hook 'my-reftex-mode-hook)

It turned out that (reftex-reset-mode) broke org mode html export.  I
thought that this line was needed to make reftex aware of the newly
defined section labels but double checked now and it turns out that it
doesn't need the reset anyway.

Just so that you know the cause.

Thanks and best wishes,

On Mon, May 23 2016, Nicolas Goaziou wrote:
> Hello,
> Dominik Schrempf <address@hidden> writes:
>> I try to export a fontified LaTeX source code listing with HTML export.
>> It boils down to an error that is thrown upon execution of the following
>> function during HTML export:
>> (org-html-fontify-code "address@hidden l @{}}\n\\hline\nno
>> leading space\\\\\n\\hline\n\\end{tabular}\n" "latex")
>> The debugging information is:
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   expand-file-name(nil)
>>   reftex-TeX-master-file()
> I cannot reproduce the error. 
> I do not use reftex. However I tried to 
>   (add-hook 'TeX-mode-hook #'turn-on-reftex)
> to no avail. This might be something in your config.
> Regards,

reply via email to

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