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

>>>>> "Matt" == Matt Lundin <mdl@imapmail.org> writes:

    Matt> 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"))

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

    Matt> Best, Matt

Thank you for the explanation. Your suggestions works fine. :)

Best, 
Michael

      reply	other threads:[~2011-05-08  9:52 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
2011-05-08  9:52   ` Michael Zombok [this message]

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=87tyd5h64f.fsf@gmx.de \
    --to=michael.zombok@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).