From: John Kitchin <jkitchin@andrew.cmu.edu>
To: John Kitchin <jkitchin@andrew.cmu.edu>,
"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-ref code
Date: Wed, 14 May 2014 16:35:43 -0400 [thread overview]
Message-ID: <CAJ51ETqXDZB_6T_u28qmEYD3AeBuXfOeTc9pf5R-KQqi5p0CAg@mail.gmail.com> (raw)
In-Reply-To: <87k39ojkc2.fsf@ucl.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 2612 bytes --]
Good. I am glad to hear you are making some progress!
you have to specify the bibliography style for latex export somewhere in
the document. You can use a bibliographystyle link for bibtex, eg.
bibliographystyle:unsrt. That will get exported to
\bibliographystyle{unsrt}. That link does not do anything but export to
latex. or you can simply put \bibliographystyle{unsrt} above the
bibliography link. For any other thing like biblatex, just put the code
that specifies the style where it belongs, e.g. in the header with
#+latex_header: or at the end with the raw latex commands. Not all
documents require a style, article classes do, but the revtex4-1 class, for
example defines the style for you.
I wonder if you are adding another cite link later that overrides my cite
link. do the other citation links export ok, e.g. autocite, citeyear,
etc...?
John
-----------------------------------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu
On Wed, May 14, 2014 at 2:17 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Tuesday, 13 May 2014 at 20:28, John Kitchin wrote:
> > interesting. I do have auxtex installed, but I don't think I configure it
> > anywhere. I do require reftex and reftex-cite in my init files. I also
> set
> > the default reftex bibliography.
> >
> > (setq reftex-default-bibliography
> > '("~/Dropbox/bibliography/references.bib"))
> >
> > I will try to reproduce this tomorrow.
>
> Hi John,
>
> In case this helps, if I start emacs with -q and evaluate the contents
> of emacs-minimal.el (attached) and then visit orgref.org (attached), I
> can insert a
> reference (references.bib also attached) but the resulting latex doesn't
> work because bibtex complains about missing bibstyle.
>
> If I add the LaTeX directive to specify the bibliography style (as the
> attached file has), everthing works. This includes C-u C-c ] asking for
> type of citation.
>
> How do I specify the bibstyle for org-ref?
>
> When I say that everything works, it works with this minimal
> configuration but not yet in my full configuration. But that's my
> problem. Somehow, I am making the latex exporter not handle cite:
> links. Very strange. I'll get back to you on this in due course!
>
> I am actually using Emacs 24.4, not 24.3. I'm tracking emacs-snapshot
> which is the development version as I like to live dangerously ;-)
>
> thanks again for org-ref,
> eric
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org
> release_8.2.6-958-g7c8559-git
>
[-- Attachment #2: Type: text/html, Size: 3365 bytes --]
next prev parent reply other threads:[~2014-05-14 20:35 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 20:59 org-ref code John Kitchin
2014-05-01 6:23 ` Eric S Fraga
2014-05-01 10:01 ` Eric S Fraga
2014-05-01 12:21 ` Seb Frank
2014-05-01 14:08 ` Eric S Fraga
2014-05-01 12:36 ` John Kitchin
2014-05-01 12:47 ` John Kitchin
2014-05-01 13:30 ` Eric S Fraga
2014-05-01 17:07 ` John Kitchin
2014-05-10 14:44 ` Eric S Fraga
2014-05-11 18:48 ` John Kitchin
2014-05-12 8:12 ` Andreas Reuleaux
2014-05-13 2:37 ` John Kitchin
2014-05-12 13:36 ` Eric S Fraga
2014-05-12 17:20 ` Andreas Reuleaux
2014-05-12 17:26 ` John Kitchin
2014-05-13 0:03 ` Andreas Reuleaux
2014-05-13 11:00 ` Eric S Fraga
2014-05-13 18:51 ` John Kitchin
2014-05-13 20:01 ` Eric S Fraga
2014-05-13 20:11 ` Eric S Fraga
2014-05-14 0:28 ` John Kitchin
2014-05-14 18:17 ` Eric S Fraga
2014-05-14 19:03 ` Andreas Reuleaux
2014-05-14 19:48 ` Sharon Kimble
2014-05-14 20:08 ` Andreas Reuleaux
2014-05-14 22:14 ` Eric S Fraga
2014-05-14 20:35 ` John Kitchin [this message]
2014-05-15 6:58 ` Eric S Fraga
2014-05-15 8:17 ` Eric S Fraga
2014-05-15 13:05 ` John Kitchin
2014-05-15 13:14 ` Eric S Fraga
2014-05-15 13:30 ` Eric S Fraga
2014-05-15 14:19 ` John Kitchin
2014-05-15 14:31 ` Eric S Fraga
2014-05-15 15:03 ` Eric S Fraga
2014-05-15 13:15 ` John Kitchin
2014-05-14 3:58 ` Andreas Reuleaux
2014-05-14 13:17 ` John Kitchin
2014-05-13 23:33 ` Andreas Reuleaux
2014-05-14 0:38 ` John Kitchin
2014-05-14 3:39 ` Andreas Reuleaux
2014-05-14 13:14 ` John Kitchin
2014-05-14 17:39 ` Andreas Reuleaux
2014-05-18 17:16 ` org-ref for biblatex Andreas Reuleaux
2014-05-18 21:40 ` John Kitchin
2014-05-18 22:38 ` Andreas Reuleaux
2014-05-19 11:38 ` John Kitchin
2014-05-19 12:15 ` Andreas Reuleaux
2014-05-19 17:34 ` Andreas Reuleaux
2014-05-08 8:31 ` org-ref code Vikas Rawal
2014-05-08 13:53 ` John Kitchin
2014-05-15 10:09 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ51ETqXDZB_6T_u28qmEYD3AeBuXfOeTc9pf5R-KQqi5p0CAg@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.