emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dominik Schrempf <dominik.schrempf@gmail.com>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87k2inznzo.fsf@gmail.com> (raw)

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

             reply	other threads:[~2016-05-21 10:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-21 10:47 Dominik Schrempf [this message]
2016-05-23 20:09 ` 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/)] Nicolas Goaziou
2016-05-28 10:34   ` Dominik Schrempf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2inznzo.fsf@gmail.com \
    --to=dominik.schrempf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).