From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Schrempf Subject: 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, 21 May 2016 12:47:39 +0200 Message-ID: <87k2inznzo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b44Rf-0004yq-GA for emacs-orgmode@gnu.org; Sat, 21 May 2016 06:47:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b44Ra-00032z-Ge for emacs-orgmode@gnu.org; Sat, 21 May 2016 06:47:46 -0400 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:36387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b44Ra-00031z-8m for emacs-orgmode@gnu.org; Sat, 21 May 2016 06:47:42 -0400 Received: by mail-lb0-x232.google.com with SMTP id h1so42473281lbj.3 for ; Sat, 21 May 2016 03:47:41 -0700 (PDT) Received: from localhost (cpe.xe-3-1-0-406.slt27nqe10.dk.customer.tdc.net. [83.91.92.170]) by smtp.gmail.com with ESMTPSA id e143sm2442046lfg.43.2016.05.21.03.47.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 May 2016 03:47:40 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, 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 "\\begin{tabular}{@{} 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() reftex-reset-scanning-information() reftex-reset-mode() my-reftex-mode-hook() run-hooks(reftex-mode-hook) reftex-mode(t) turn-on-reftex() run-hooks(change-major-mode-after-body-hook text-mode-hook TeX-mode-hook LaTeX-mode-hook) apply(run-hooks (change-major-mode-after-body-hook text-mode-hook TeX-mode-hook LaTeX-mode-hook)) TeX-run-mode-hooks(text-mode-hook TeX-mode-hook LaTeX-mode-hook) TeX-latex-mode() apply(TeX-latex-mode nil) latex-mode() org-html-fontify-code("\\begin{tabular}{@{} l @{}}\n\\hline\nno leading space\\\\\n\\hline\n\\end{tabular}\n" "latex") eval((org-html-fontify-code "\\begin{tabular}{@{} l @{}}\n\\hline\nno leading space\\\\\n\\hline\n\\end{tabular}\n" "latex") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) All the best, Dominik