From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Julian Burgos <julian@hafro.is>
Cc: emacs-orgmode@gnu.org
Subject: Re: setting default BibTex file
Date: Mon, 2 Apr 2012 15:53:20 +0200 [thread overview]
Message-ID: <CAMXnza2cUcRv5JdqAtTzfX5rwrz2Yq-0RxDP1EhxSHi+hy7cgA@mail.gmail.com> (raw)
In-Reply-To: <4F79924C.9000202@hafro.is>
Hey Julian,
On Mon, Apr 2, 2012 at 13:49, Julian Burgos <julian@hafro.is> wrote:
> But if I add this to my .emacs file
>
> (setq reftex-default-bibliography
> (quote("home/julian/Documents/Refs/BibTex/References")))
>
> and this to the end of my org file
>
> \bibliographystyle{plain}
> \bibliography{}
>
> When I do the LaTex export I get an "undefined citations" error.
> Any ideas?
Org-mode doesn't use reftex for its export. Unless that setting
actually includes the \bibliography{..} in the exported tex file, I
don't think that will have any effect. Actually in the docstring for
the variable I see it says:
*List of BibTeX database files which should be used if none are
specified. When `reftex-citation' is called from a document which has
neither a `\bibliography{..}' statement nor a `thebibliography'
environment, RefTeX will scan these files instead. Intended for using
`reftex-citation' in non-LaTeX files. The files will be searched along
the BIBINPUTS or TEXBIB path.
I think this *only* helps you insert the citations with reftex, you
still have to have that line in the tex file.
Hope this helps.
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2012-04-02 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 11:49 setting default BibTex file Julian Burgos
2012-04-02 13:53 ` suvayu ali [this message]
2012-04-02 15:10 ` Nick Dokos
2012-04-25 11:36 ` Eric Fraga
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=CAMXnza2cUcRv5JdqAtTzfX5rwrz2Yq-0RxDP1EhxSHi+hy7cgA@mail.gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=julian@hafro.is \
/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).