emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Christian Wittern <cwittern@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [org-ref] how to tweak display of links and entries
Date: Wed, 11 Jan 2017 08:33:30 -0500	[thread overview]
Message-ID: <m2r349k9g5.fsf@Johns-MacBook-Air.local> (raw)
In-Reply-To: <aab23667-cebd-1161-9af3-ceffadd1740c@gmail.com>


Christian Wittern writes:

> Hi Org, especially Org-ref users,
>
> I have seen a number of org-ref related questions here recently, so I guess 
> it is OK to ask here.
>
> I am trying to move to a more sophisticated bibliography format involving 
> some new field types recently added to biblatex. An author field for example 
> can look like
>
> author = {family=Fang, given=Ailong, cjk=方愛龍},
>
> where cjk is defined using biblatex's tools for this as a name addon. 
> Obviously, neither parsebib, helm-bibtex or org-ref understand this format 
> (yet). However, I do not understand where I have to intervene to display 
> this in a reasonable way, that is family name, given name and cjk name.  Is 
> there a custom I have to redefine, or a hook I should add somewhere?

There is not a way to hook or define a format for this that I know of.
For helm-bibtex, you might be able to redefine or advise
bibtex-completion-apa-format-authors to handle that.

>
> Another unrelated question is how to stop org-ref from displaying both the 
> key and the description of the link.  I seem to remember having seen some 
> discussion here about this, but can't find it now.

this is also not currently customizable. The description in cite links
is used for pre/post text in the citations, and they are shown in full
display so you can see the key and pre/post text. If you use the
description for anything else, the latex export will probably not be
what you expect.

You can turn off the full display like this:

#+BEGIN_SRC emacs-lisp
(loop for cite in org-ref-cite-types
  do
  (org-link-set-parameters cite :display nil))
#+END_SRC

>
> Any help appreciated,
>
> Christian


-- 
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

  reply	other threads:[~2017-01-11 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11  4:42 [org-ref] how to tweak display of links and entries Christian Wittern
2017-01-11 13:33 ` John Kitchin [this message]
2017-01-11 23:03   ` Christian Wittern
2017-01-12 16:04     ` John Kitchin
2017-01-12 23:57       ` Christian Wittern

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=m2r349k9g5.fsf@Johns-MacBook-Air.local \
    --to=jkitchin@andrew.cmu.edu \
    --cc=cwittern@gmail.com \
    --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 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).