emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] 'wrong-type-argument stringp nil' when exporting (reftex/orgmode


From: Michael Zombok
Subject: Re: [O] 'wrong-type-argument stringp nil' when exporting (reftex/orgmode)
Date: Sun, 08 May 2011 11:52:00 +0200

>>>>> "Matt" == Matt Lundin <address@hidden> writes:

    Matt> address@hidden 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 via email to

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