From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: [org-ref] how to tweak display of links and entries Date: Wed, 11 Jan 2017 08:33:30 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRJ21-0004hZ-Bv for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 08:33:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRJ1x-0000FZ-67 for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 08:33:37 -0500 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]:34901) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRJ1x-0000FR-1v for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 08:33:33 -0500 Received: by mail-qk0-x232.google.com with SMTP id u25so592257209qki.2 for ; Wed, 11 Jan 2017 05:33:32 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Christian Wittern Cc: Org Mode Mailing List 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