On Wednesday, 14 May 2014 at 16:35, John Kitchin wrote:
[...]
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...?
The problem is not how links are handled but the fact that implicit
links,
John,
I am in the process of bisecting my initialisation. Something I have
set definitely stops org (whether 8.2.5c which comes with emacs
24.4.50.2 or 8.2.6-958) from recognising cite:... etc. as links.
However, I have been re-building up from no initialisation bit by
bit. Right from the
Hi John,
John Kitchin jkitc...@andrew.cmu.edu writes:
I would prefer to keep org-ref where it is until it stabilizes.
I hope it will stabilize before Org 8.3 so that we can add org-ref
to contrib/ and give it exposure in the release notes.
Thanks,
--
Bastien
That is pretty strange. I used this to get a minimally working install of
org-ref. I deleted ~/.emacs.d, and ran emacs -q and then executed this code
block.
* installation
You need the dash package. Use these repositories, and install dash.
#+BEGIN_SRC emacs-lisp
(require 'package)
(setq
On Thursday, 15 May 2014 at 09:05, John Kitchin wrote:
[...]
Your error seems to be coming from reftex. I wonder if you have something
set that is making it look for a TeX-master or something, which eventually
results in nil, which is failing here: re-search-forward(nil 10001 t). Or
maybe
I can see the desire to avoid the space with a superscript, but that is a
latex specific formatting issue, that is probably taken care of with some
package. In the packages we use (usually natmove), citations are moved to
the correct side of punctuation, for example, so we always put them on the
On Thursday, 15 May 2014 at 09:05, John Kitchin wrote:
Your error seems to be coming from reftex.
Well, it seems that if you are going to use reftex in emacs 24.4.x, you
need to define some variables. I put the following in your
org-mode-reftex-setup function:
(setq-local
yes, I am using emacs 24.3.
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 Thu, May 15, 2014 at 9:30 AM, Eric S
On Thursday, 15 May 2014 at 10:19, John Kitchin wrote:
yes, I am using emacs 24.3.
Can you have a look at tex-mode.el and see if the variables:
(setq-local tex-start-of-header %\\*\\*start of header)
(setq-local tex-end-of-header %\\*\\*end of header)
are (a) used and (b) defined
On Thursday, 15 May 2014 at 15:31, Eric S Fraga wrote:
[...]
If I load ox-latex *before* org-ref, cite: and other new links are not
picked up. If I load org-ref before ox-latex, everything seems to work
fine. It would seem that ox-latex is defining the links that are valid
and this is not
I think you are restricted to single characters. That key is used by
reftex, so it would be a limitation in reftex. You can always define your
own function with a key-binding for something specific.
John
---
John Kitchin
Associate Professor
Doherty Hall A207F
I also run emacs 24.3.
nearly my whole setup is here: https://github.com/jkitchin/jmax
If you are on windows, you should be able to clone that repository, and run
jmax.bat which will run the emacs binary in that repository and load the
jmax code which includes org-ref. You may not want to use my
OK, thanks.
-Andreas
John Kitchin jkitc...@andrew.cmu.edu writes:
I think you are restricted to single characters. That key is used by
reftex, so it would be a limitation in reftex. You can always define your
own function with a key-binding for something specific.
John
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
Eric S Fraga e.fr...@ucl.ac.uk writes:
How do I specify the bibstyle for org-ref?
I am not sure if I understand your question correctly
and John certainly has more insight here, but I have in
my org document
#+LaTeX_HEADER: \include{ltxhdr}
and within that ltxhdr.tex I have among other
Andreas Reuleaux andr...@a-rx.info writes:
Eric S Fraga e.fr...@ucl.ac.uk writes:
How do I specify the bibstyle for org-ref?
I am not sure if I understand your question correctly
and John certainly has more insight here, but I have in
my org document
#+LaTeX_HEADER: \include{ltxhdr}
Well, I know how to write shell scripts,
and have something similar encoded in a shake file
(haskell make replacement), for that matter,
but prefer to have xelatex not called 5 times
during every little development step.
Anyway thanks a lot.
My point here really was, that org-ref and
the latex
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
On Wednesday, 14 May 2014 at 20:03, Andreas Reuleaux wrote:
Eric S Fraga e.fr...@ucl.ac.uk writes:
How do I specify the bibstyle for org-ref?
[...]
There is no specific bibstyle of org-ref (correct, John?), that's the
That's what I wanted to confirm. And it has been confirmed (by both you
On Monday, 12 May 2014 at 13:26, John Kitchin wrote:
that should work out of the box, and that link is defined in org-ref as
(org-add-link-type
cite
'org-ref-cite-onclick-minibuffer-menu
'org-ref-cite-link-format)
And I used to have my own already in any case.
I am not sure why it
You can see a document I wrote using org-ref here:
http://kitchingroup.cheme.cmu.edu/org/2014/05/13/Using-org-ref-for-citations-and-references.org
You will want to pull a current version. I added some code so it is in
principle easy for you to add your own citation types and use the org-ref
On Tuesday, 13 May 2014 at 14:51, John Kitchin wrote:
You can see a document I wrote using org-ref here:
http://kitchingroup.cheme.cmu.edu/org/2014/05/13/Using-org-ref-for-citations-and-references.org
You will want to pull a current version. I added some code so it is in
principle easy for
John,
another data point. When I try to load an org file, once org-ref is
loaded, I get the following problem:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
re-search-forward(nil 10001 t)
tex-main-file()
reftex-TeX-master-file()
reftex-tie-multifile-symbols()
John Kitchin jkitc...@andrew.cmu.edu writes:
You can see a document I wrote using org-ref here:
http://kitchingroup.cheme.cmu.edu/org/2014/05/13/Using-org-ref-for-citations-and-references.org
You will want to pull a current version. I added some code so it is in
principle easy for you to add
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.
with the most recent org-ref, it should be sufficient to put this in your
init file:
(org-ref-define-citation-link textcite ?I)
(org-ref-define-citation-link citeauthorfull ?F)
this will create a textcite link and create a reftex menu you select with
the key I, and the other link with the key F.
John Kitchin jkitc...@andrew.cmu.edu writes:
with the most recent org-ref, it should be sufficient to put this in your
init file:
(org-ref-define-citation-link textcite ?I)
(org-ref-define-citation-link citeauthorfull ?F)
this will create a textcite link and create a reftex menu you select
Eric,
I don't have auctex installed, and org-ref works fine for me.
But I do run a recent self-compiled emacs 24 (haven't tested yet,
if it works with my older emacs24 from debian as well),
and I get updated packages like dash relatively often via cask
( https://github.com/cask/cask ,
John Kitchin jkitc...@andrew.cmu.edu writes:
C-c ] should be bound by default to org-ref-insert-cite-link. It is defined
in a hook function in line 104 of org-ref.org.
I made a custom variable to store the key-binding, but I realized it
probably doesn't help, since the binding
1. C-u on
On Sunday, 11 May 2014 at 14:48, John Kitchin wrote:
[...]
C-c ] should be bound by default to org-ref-insert-cite-link. It is defined
in a hook function in line 104 of org-ref.org.
Yes. It is.
I don't use this binding. I use evil mode and don't like chorded
commands. I have
Eric S Fraga e.fr...@ucl.ac.uk writes:
Is there some org variable I have not set that tells org to treat cite:
plain text as a link on export? Obviously org already recognises it as
a link but the export doesn't... org-link-protocols and org-link-types
look fine.
Being just a org-ref
that should work out of the box, and that link is defined in org-ref as
(org-add-link-type
cite
'org-ref-cite-onclick-minibuffer-menu
'org-ref-cite-link-format)
I am not sure why it would not work out of the box.
John
---
John Kitchin
Associate Professor
John Kitchin jkitc...@andrew.cmu.edu writes:
that should work out of the box, and that link is defined in org-ref as
(org-add-link-type
cite
'org-ref-cite-onclick-minibuffer-menu
'org-ref-cite-link-format)
I am not sure why it would not work out of the box.
They *do* work out of the
Here is a way you can add new citation formats to the reftex format:
;; get builtin formats
(setq formats (nth 2 (assoc 'org reftex-cite-format-builtin)))
;; add new format
(setf (nth 2 (assoc 'org reftex-cite-format-builtin))
(append formats '((?W . textcite:%l)
(?z .
On Sat, May 10, 2014 at 10:44 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:
On Thursday, 1 May 2014 at 13:07, John Kitchin wrote:
I implemented some of this partially. I made it so you can specify the
default cite link in a user variable, with a default of cite. When you
type
C-c ], this
On Thursday, 1 May 2014 at 13:07, John Kitchin wrote:
I implemented some of this partially. I made it so you can specify the
default cite link in a user variable, with a default of cite. When you type
C-c ], this format will automatically be used. If you want to choose
another format, type
All the talk about citations in org-mode inspired me to finish and polish
some code I have been working on for my group for a while on
bibtex/reftex/org-mode integration. I packaged it up in a literate
programming org-file here:
https://github.com/jkitchin/jmax/blob/master/org-ref.org.
I added a user variable for that key-binding. I like C-c ] because there is
no shift to get ). You can set org-ref-insert-cite-key to what ever
shortcut you prefer now.
I would prefer to keep org-ref where it is until it stabilizes. This
summer my group will be using it pretty extensively for
On Wednesday, 30 Apr 2014 at 16:59, John Kitchin wrote:
Greetings,
All the talk about citations in org-mode inspired me to finish and polish
some code I have been working on for my group for a while on
bibtex/reftex/org-mode integration. I packaged it up in a literate
programming org-file
John,
I've been playing with the package although, so far, only for
citations. A few points:
1. Do you have any support for choosing the type of citation entry
(i.e. \cite versus \autocite versus ...) when inserting a
citation in the text?
2. You define org-link-types.
Hi Eric,
Now that you have mentioned it, do you have a good web resource / manual
for your set up, or would you mind sharing bits of it? It looks eminently
useful. I have a set up largely following this
Thanks for the feedback. I moved the key-bindings for f10-12 out of org-ref.
On Thu, May 1, 2014 at 6:01 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:
John,
I've been playing with the package although, so far, only for
citations. A few points:
1. Do you have any support for choosing the type
sorry, premature send!
On Thu, May 1, 2014 at 8:36 AM, John Kitchin jkitc...@andrew.cmu.eduwrote:
Thanks for the feedback. I moved the key-bindings for f10-12 out of
org-ref.
On Thu, May 1, 2014 at 6:01 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:
John,
I've been playing with the package
On Thursday, 1 May 2014 at 08:47, John Kitchin wrote:
[...]
Hi John,
thanks for your quick response!
an alternative would be to use a prefix command that gave you an option to
change the cite format, similar to the minibuffer menu for cite links. I
have not written much prefix code before,
On Thursday, 1 May 2014 at 08:21, Seb Frank wrote:
Hi Eric,
Now that you have mentioned it, do you have a good web resource / manual
for your set up, or would you mind sharing bits of it? It looks eminently
useful. I have a set up largely following this
I implemented some of this partially. I made it so you can specify the
default cite link in a user variable, with a default of cite. When you type
C-c ], this format will automatically be used. If you want to choose
another format, type C-u C-c ] which will prompt you for a type, and then
use the
46 matches
Mail list logo