emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org-ref: citation types (insert full citation); bib style; bib scope
Date: Fri, 6 Jan 2017 11:05:56 -0500	[thread overview]
Message-ID: <CAN_Dec-nf20Wrtj51pwB_ggTbKqVPd54Gzi=aEkBcx5kNE7aDQ@mail.gmail.com> (raw)
In-Reply-To: <m2r34g43c1.fsf@Johns-MacBook-Air.local>

[-- Attachment #1: Type: text/plain, Size: 4419 bytes --]

On Fri, Jan 6, 2017 at 10:26 AM, John Kitchin <jkitchin@andrew.cmu.edu>
wrote:

>
> Matt Price writes:
>
> > After several years, I'm finally trying to move to bibtex from zotero,
> > partly because org-zotxt has stopped working for me (both link insertion
> > and html export seem at least temporarily broken).
> >
> > The UI for org-ref is pretty fantastic, and I love it. I'm having trouble
> > getting the behaviour I want fro mthe actual links, though.  My needs may
> > be somewhat atypical but I'm hoping someone else has figured these
> > questions out already.
> >
> > * citation types
> > The org-ref manual talks about different citation types, but the external
> > link it suggests is not loading:
> > http://ctan.unixbrain.com/macros/latex/contrib/natbib/natnotes.pdf
>
> try: http://tug.ctan.org/macros/latex/contrib/natbib/natnotes.pdf


ok, thx.

>
>
> >
> > Does anyone know what the other options are? In particular, for the
> syllabi
> > I'm currently creating I'd like to just insert the org-formatted citation
> > information itself -- is this possible?
>
> Can you give an example?
>
>
I htink I'm looking for something impossible.  org-zotxt allowed me to use
a link type "citation", which just inserted the full citation in org syntax:

Hayles, K. (1999). /How we became posthuman: virtual bodies in cybernetics,
literature, and informatics/. Chicago, Ill.: University of Chicago Press. [[
http://search.library.utoronto.ca/details?7949488&uuid=5aaa42cf-ffd2-41e3-ac6b-60e649f9f289
]]

rather than generating a link.  If I had an option to do this in my
syllabi, it would greatly simplify my work flow.


> > I'd like to be able to point my
> > students directly to my github repo, and it will ultimately be more
> > convenient to have the links already present in the source code, since
> > github doesn't reoslve org-ref
>
> What I mean is, that I'd like to stop building course websites and instead
> just point students to github repos where my docs live in an org format.
> This means I reallywant the citatiion information, and not citation links.
> E.g.:
>

https://github.com/titaniumbones/New113/blob/master/New113Syllabus.org#2017-01-26-thu-state-surveillance



> >
> > * bib style
> > When I right-click on a link and select "copy the formatted citation", I
> > don't get the URL field, which my students need. I assume that's because
> > I'm not using the right bibliographic style. How do I set the citation
> > format?  Would I use the bibliographystyle link, or a header argument
> > somewhere?
>
> Support for this is kind of rudimentary, because it is really difficult
> to get properly formatted strings for all references.
>
> When you click on a cite link and select copy formatted entry what
> happens is the bibfile is opened to that entry and then the result of
> org-ref-bib-citation is copied. It is pretty simple, and limited. At the
> moment, I think helm-bibtex does the actual formatting if you load it,
> and it does not appear to be customizable. See
> bibtex-completion-apa-format-reference
>
> I will work on this a little bit and see if some improvements can be
> made.
>

thanks you John!

>
> >
> > Also, is it possible to set this option to use org formatting instead of
> > html formatting?
>
> You could use a function like this on a link to get something more
> customizable.
>
> (defun better-formatted-citation ()
>   (interactive)
>   (kill-new (org-ref-get-bibtex-entry-citation (car
> (org-ref-get-bibtex-key-and-file)))))
>
> see the variable org-ref-bibliography-entry-format, you can set this to
> be whatever format you want.
>
> ah, looks pretty simple, I should be able to do this.

> >
> > * Bibliography scope
> > I guess I don't really know how to build a bibliographic file to go with
> a
> > particular project.  At present I am using my full Zotero library
> exported
> > to bibtex as a default. Is there a way to just build the bibliography
> from
> > the set of sources cited in the paper?
>
> M-x org-ref-extract-bibtex-entries should put a new heading in the buffer
> with the relevant bibtex entries.
>
> excellent, thank you!


> >
> > Thanks everyone, and of course especially John for this amazing tool.
> >
> > Matt
>
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>

[-- Attachment #2: Type: text/html, Size: 7288 bytes --]

  reply	other threads:[~2017-01-06 16:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 14:27 org-ref: citation types (insert full citation); bib style; bib scope Matt Price
2017-01-06 15:26 ` John Kitchin
2017-01-06 16:05   ` Matt Price [this message]
2017-01-06 16:10     ` John Kitchin
2017-01-06 20:42     ` John Kitchin
2017-01-07  3:13       ` Matt Price
2017-01-07 13:23         ` John Kitchin
2019-08-30 19:12           ` org-ref: conditionally add url to formatted citation Matt Price

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='CAN_Dec-nf20Wrtj51pwB_ggTbKqVPd54Gzi=aEkBcx5kNE7aDQ@mail.gmail.com' \
    --to=moptop99@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).