emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: michael.zombok@googlemail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: 'wrong-type-argument stringp nil' when exporting (reftex/orgmode)
Date: Sat, 07 May 2011 09:50:42 -0400	[thread overview]
Message-ID: <87y62iy5zh.fsf@fastmail.fm> (raw)
In-Reply-To: <87iptmzvua.fsf@gmx.de> (michael zombok's message of "Sat, 07 May 2011 11:46:53 +0200")

michael.zombok@googlemail.com writes:

> I am using Org-mode version 7.5 (release_7.5.264.g94664) with GNU Emacs
> 23.2.1. When I do C-c C-e l (or any other export, not only latex), I get
> the error (backtrace) below.
>
> I use reftex with org-mode with the setup described in the FAQ, that
> means in my .emacs is the following:
>
> (require 'reftex) 
> (defun org-mode-reftex-setup ()
>   (load-library "reftex")
>   (and (buffer-file-name)
>        (file-exists-p (buffer-file-name))
>        (reftex-parse-all))
>   (reftex-set-cite-format
>    "\\citep{%l}")
>   (define-key org-mode-map (kbd "C-c )") 'reftex-citation))
> (add-hook 'org-mode-hook 'org-mode-reftex-setup)
> (setq reftex-default-bibliography '("/home/basil/docs/liball.bib"))

The function reftex-set-cite-format should also be made conditional on
the buffer-file-name and file-exists-p checks. It calls
reftex-TeX-master-file in the temporary export buffer; this fails
because there is no file associated with the buffer.

Best,
Matt

  reply	other threads:[~2011-05-07 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-07  9:46 'wrong-type-argument stringp nil' when exporting (reftex/orgmode) michael.zombok
2011-05-07 13:50 ` Matt Lundin [this message]
2011-05-08  9:52   ` Michael Zombok

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=87y62iy5zh.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael.zombok@googlemail.com \
    /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).