From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: helm-bibtex questions Date: Wed, 17 Jun 2015 21:08:12 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d074fd90bf0518ba924f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Hl1-0004l0-EK for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 14:08:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Hl0-00057B-Ai for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 14:08:15 -0400 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:36604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Hl0-000573-3B for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 14:08:14 -0400 Received: by paceq1 with SMTP id eq1so17010791pac.3 for ; Wed, 17 Jun 2015 11:08:12 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg , org mode --047d7b33d074fd90bf0518ba924f Content-Type: text/plain; charset=UTF-8 Hi Titus I have been exploring helm-bibtex a bit today and have some questions. btw is this the preferred way to make requests/ask questions or is github preferred? in any case i was wondering a few things: 1. is it possible to have custom sorting? i want all views to sort by Author, year, month 2. i would really like a way to have stored smart groups (like the jabref dynamic groups if your aware of that). that is for example create a group that auto selects all publications i have (by my first/last name) and shows the count (in numbers) of these publications. Another example is a group to keep track of all the papers im working on or invloved with by matching keyword author and prep/*other key word 3.is it possible to ass an option to auto generate a bibkey for a selected citation based on user criteria such as author(date)short-title? thx so much in advance, you and john have given me confidence to finally dive into the whole latex/bibteX world best Z --047d7b33d074fd90bf0518ba924f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Titus

I have been exploring helm-bib= tex a bit today and have some questions. btw is this the preferred way to m= ake requests/ask questions or is github=C2=A0preferred?

in any case i was wondering a few things:

1.= is it possible to have custom sorting? i want all views to sort by Author,= year, month

2. i would really like a way to have = stored smart groups (like the jabref dynamic groups if your aware of that).= that is for example create a group that auto selects all publications i ha= ve (by my first/last name) and shows the count (in numbers) of these public= ations.
Another example is a group to keep track of all the paper= s im working on or invloved with by matching keyword author and prep/*other= key word

3.is it poss= ible to ass an option to auto generate a bibkey for a selected citation bas= ed on user criteria such as author(date)short-title?

thx so much in advance, you and john have given me confidence to finally= dive into the whole latex/bibteX world

best
=

Z
--047d7b33d074fd90bf0518ba924f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: helm-bibtex questions Date: Wed, 17 Jun 2015 13:02:37 -0700 Message-ID: <87ioamm7c2.fsf@posteo.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5JXs-0005Ph-0N for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 16:02:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5JXm-0007r2-UB for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 16:02:47 -0400 Received: from mx02.posteo.de ([89.146.194.165]:59743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5JXm-0007qu-Kq for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 16:02:42 -0400 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-06-17 Wed 11:08, Xebar Saram wrote: > Hi Titus > > I have been exploring helm-bibtex a bit today and have some questions. btw > is this the preferred way to make requests/ask questions or is > github preferred? Helm-bibtex is not part of org (although it tries to work well with org). So I=E2=80=99m not sure whether this list is the best place for discussing it. For now the issue tracker on Github might be a better option: https://github.com/tmalsburg/helm-bibtex/issues > in any case i was wondering a few things: > > 1. is it possible to have custom sorting? i want all views to sort by > Author, year, month I prefer to see the entries in the (inverse) order in which they appear in the BibTeX file. This way, recent additions show up at the top. However, I agree that sorting would be useful (see issues #5 and #21); it just doesn=E2=80=99t have high priority for me. Pull requests wel= come. > 2. i would really like a way to have stored smart groups (like the jabref > dynamic groups if your aware of that). that is for example create a group > that auto selects all publications i have (by my first/last name) and sho= ws > the count (in numbers) of these publications. I=E2=80=99m not familiar with smart groups but it seems that all helm-bibte= x is doing is giving you very flexible smart groups defined by your search expressions. For example, if you want a list of your publications, you can simple enter your name. And if you want a list of your articles, you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want all your = articles from 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so on. The n= umber of matches will be displayed in the mode line. If you don=E2=80=99t want to t= ype these search expressions, you could create a command that invokes helm-bibtex with a default search expression and that command could be bound to a keyboard shortcut. > Another example is a group to keep track of all the papers im working on = or > invloved with by matching keyword author and prep/*other key word I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D for keyw= ords describing the content of the paper (as usual) and =E2=80=9Ctags=E2=80=9D f= or meta data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9Cmanusc= ript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articles in pr= ogress, I search for =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-standard, it= has to be added to `helm-bibtex-additional-search-fields`. Another solution would be to use the pubstate field and to search for your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to helm-bibtex-additional-search-fields for this to work). > 3.is it possible to ass an option to auto generate a bibkey for a selected > citation based on user criteria such as author(date)short-title? Maintaining the content of the BibTeX file not really in the scope of helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps org-ref or ebib can help here? Once you have a function that generates a new key and inserts it in the BibTeX file, you can easily add it to the list of actions in helm-bibtex. Hope that helps. Titus > thx so much in advance, you and john have given me confidence to finally > dive into the whole latex/bibteX world > > best > > Z --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVgdJdAAoJEK40WfPGE2idkHQIAI3XFz+oQ0IJhieLpCxyjove a9ngRLibUgpKM3i/LOfOY3BDDjSU9VwHpzpCCLzzToIhvyiE7SxFxrmd7oWgPjx6 IJ3wvl9n0FmuDnUsQywHX7gXcxlU6dQU3EkHZYZCKaMWGyHvNahZlWtRZXR6bAEe stnNtjxXPRiEoVdCwnufljFI8PEAmuZLjHWTgCTEIWle0RU1rA0mpOzxqtKckZTH R2U55U1bpTkTwHM+8PRIJgvIUGkPXdHdz07O8nlU7ls6RYXPrf/w4ObROIA+LZ4j 8balzqqqezAmsn75i9gP8xyrjQVw8FdL1dN1Oje0zOuHrZaskOc2E/nPQEWNj9s= =eBQ4 -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Thu, 18 Jun 2015 14:32:17 +0300 Message-ID: References: <87ioamm7c2.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d7f0e521710518c928ec Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Y3U-0007Dw-Tz for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 07:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Y3O-0008Ac-ID for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 07:32:24 -0400 Received: from mail-pd0-x230.google.com ([2607:f8b0:400e:c02::230]:33788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Y3O-0008AT-6F for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 07:32:18 -0400 Received: by pdjn11 with SMTP id n11so64925448pdj.0 for ; Thu, 18 Jun 2015 04:32:17 -0700 (PDT) In-Reply-To: <87ioamm7c2.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg , org mode --047d7b33d7f0e521710518c928ec Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Titus and thx so much for the answers! i will in the future use the github page to make requests. "The number of matches will be displayed in the mode line. " i see that now thx! :) the problem was(is) that its colored black on my black modline BG which makes it invisible ;-) i assume thats an helm config i need to change "If you don=E2=80=99t want to type these search expressions, you could crea= te a command that invokes helm-bibtex with a default search expression and that command could be bound to a keyboard shortcut." that would be prefect for me and a solution to my issue. would you mind giving an example of such a code chunk. unfortunately i dont know elisp tho= ugh as john recommended i will do my best this summer when the semester ends to try and pick it up :) i will definitely use your tag system as you recommended, sounds perfect for me thanks again for your kind help and the amazing app ;-) best Z On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg wrote: > > On 2015-06-17 Wed 11:08, Xebar Saram wrote: > > Hi Titus > > > > I have been exploring helm-bibtex a bit today and have some questions. > btw > > is this the preferred way to make requests/ask questions or is > > github preferred? > > Helm-bibtex is not part of org (although it tries to work well with > org). So I=E2=80=99m not sure whether this list is the best place for > discussing it. For now the issue tracker on Github might be a better > option: > > https://github.com/tmalsburg/helm-bibtex/issues > > > in any case i was wondering a few things: > > > > 1. is it possible to have custom sorting? i want all views to sort by > > Author, year, month > > I prefer to see the entries in the (inverse) order in which they appear > in the BibTeX file. This way, recent additions show up at the > top. However, I agree that sorting would be useful (see issues #5 and > #21); it just doesn=E2=80=99t have high priority for me. Pull requests w= elcome. > > > 2. i would really like a way to have stored smart groups (like the jabr= ef > > dynamic groups if your aware of that). that is for example create a gro= up > > that auto selects all publications i have (by my first/last name) and > shows > > the count (in numbers) of these publications. > > I=E2=80=99m not familiar with smart groups but it seems that all helm-bib= tex is > doing is giving you very flexible smart groups defined by your search > expressions. For example, if you want a list of your publications, you > can simple enter your name. And if you want a list of your articles, > you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want all you= r articles from > 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so on. The= number of > matches will be displayed in the mode line. If you don=E2=80=99t want to= type > these search expressions, you could create a command that invokes > helm-bibtex with a default search expression and that command could be > bound to a keyboard shortcut. > > > Another example is a group to keep track of all the papers im working o= n > or > > invloved with by matching keyword author and prep/*other key word > > I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D for ke= ywords > describing the content of the paper (as usual) and =E2=80=9Ctags=E2=80=9D= for meta > data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9Cmanu= script=E2=80=9D, =E2=80=9Cposter=E2=80=9D, > =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articles in = progress, I search for > =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-standard, = it has to be > added to `helm-bibtex-additional-search-fields`. > > Another solution would be to use the pubstate field and to search for > your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to > helm-bibtex-additional-search-fields for this to work). > > > 3.is it possible to ass an option to auto generate a bibkey for a > selected > > citation based on user criteria such as author(date)short-title? > > Maintaining the content of the BibTeX file not really in the scope of > helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps > org-ref or ebib can help here? Once you have a function that generates > a new key and inserts it in the BibTeX file, you can easily add it to > the list of actions in helm-bibtex. > > Hope that helps. > > Titus > > > thx so much in advance, you and john have given me confidence to finall= y > > dive into the whole latex/bibteX world > > > > best > > > > Z > > --047d7b33d7f0e521710518c928ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Titus and thx so much for the answers!

i will in the futu= re use the github pag= e to make requests.

"The number of=C2=A0matches will be displayed in the mode line. "<= /div>

i see that now thx! :) the problem was(is) that= its colored black on my black modline BG = which makes it invisible ;-) i assume thats an helm config i need to change


"If you don= =E2=80=99t want to type=C2=A0these search expressions, you could create a command that invokes=C2= =A0helm-bibtex with a default search express= ion and that command could be=C2=A0bound to a keyboard shortcut."

that would be prefect for me and a solution to m= y issue. would you mind giving an example of such a code chunk.=C2=A0unfort= unately=C2=A0i dont k= now elisp=C2=A0thoug= h as john recommended i will do my best this summer when the semester ends = to try and pick it up :)

i will definitely use your tag system as you recommended, sounds perfec= t for me

=
thanks again= for your kind help and the amazing app ;-)

best

Z

=

<= div>

On Wed, Jun 1= 7, 2015 at 11:02 PM, Titus = von der Malsburg <malsburg@posteo.de> wrote:

On 2015-06-17 Wed 11:08, Xebar Saram wrote:
> Hi Titus
>
> I have been exploring helm-bibtex a bit today and have some questions.= btw
> is this the preferred way to make requests/ask questions or is
> github preferred?

Helm-bibtex is not part of org (although it tries to work well with<= br> org).=C2=A0 So I=E2=80=99m not sure whether this list is the best place for=
discussing it.=C2=A0 For now the issue tracker on Github might be a better<= br> option:

=C2=A0 https://github.com/tmalsburg/helm-bibtex/issue= s

> in any case i was wondering a few things:
>
> 1. is it possible to have custom sorting? i want all views to sort by<= br> > Author, year, month

I prefer to see the entries in the (inverse) order in which they app= ear
in the BibTeX file.=C2=A0 This way, recent additions show up at the
top.=C2=A0 However, I agree that sorting would be useful (see issues #5 and=
#21); it just doesn=E2=80=99t have high priority for me.=C2=A0 Pull request= s welcome.

> 2. i would really like a way to have stored smart groups (like the jab= ref
> dynamic groups if your aware of that). that is for example create a gr= oup
> that auto selects all publications i have (by my first/last name) and = shows
> the count (in numbers) of these publications.

I=E2=80=99m not familiar with smart groups but it seems that all hel= m-bibtex is
doing is giving you very flexible smart groups defined by your search
expressions.=C2=A0 For example, if you want a list of your publications, yo= u
can simple enter your name.=C2=A0 And if you want a list of your articles,<= br> you can enter your name + =E2=80=9Carticle=E2=80=9D.=C2=A0 If you want all = your articles from
2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D.=C2=A0 And so on.= =C2=A0 The number of
matches will be displayed in the mode line.=C2=A0 If you don=E2=80=99t want= to type
these search expressions, you could create a command that invokes
helm-bibtex with a default search expression and that command could be
bound to a keyboard shortcut.

> Another example is a group to keep track of all the papers im working = on or
> invloved with by matching keyword author and prep/*other key word

I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D f= or keywords
describing the content of the paper (as usual) and =E2=80=9Ctags=E2=80=9D f= or meta
data.=C2=A0 Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9Cm= anuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D,
=E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articles in pr= ogress, I search for
=E2=80=9Cown manuscript=E2=80=9D.=C2=A0 Since the tags field is non-standar= d, it has to be
added to `helm-bibtex-additional-search-fields`.

Another solution would be to use the pubstate field and to search for
your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to
helm-bibtex-additional-search-fields for this to work).

> 3.is = it possible to ass an option to auto generate a bibkey for a selected
> citation based on user criteria such as author(date)short-title?

Maintaining the content of the BibTeX file not really in the scope o= f
helm-bibtex (I prefer to write my BibTeX entries by hand).=C2=A0 Perhaps org-ref or ebib can help here?=C2=A0 Once you have a function that generate= s
a new key and inserts it in the BibTeX file, you can easily add it to
the list of actions in helm-bibtex.

Hope that helps.

=C2=A0 Titus

> thx so much in advance, you and john have given me confidence to final= ly
> dive into the whole latex/bibteX world
>
> best
>
> Z


--047d7b33d7f0e521710518c928ec-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: helm-bibtex questions Date: Thu, 18 Jun 2015 11:38:55 -0700 Message-ID: <878ubgn9p9.fsf@posteo.de> References: <87ioamm7c2.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5eiQ-00075e-O6 for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 14:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5eiM-0005l1-1C for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 14:39:06 -0400 Received: from mx02.posteo.de ([89.146.194.165]:34576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5eiL-0005kK-MV for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 14:39:01 -0400 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-06-18 Thu 04:32, Xebar Saram wrote: > Hi Titus and thx so much for the answers! > > i will in the future use the github page to make requests. > > "The number of matches will be displayed in the mode line. " > > i see that now thx! :) the problem was(is) that its colored black on my > black modline BG which makes it invisible ;-) i assume thats an helm conf= ig > i need to change > > > "If you don=E2=80=99t want to type these search expressions, you could cr= eate a > command that invokes helm-bibtex with a default search expression and that > command could be bound to a keyboard shortcut." > > that would be prefect for me and a solution to my issue. would you mind > giving an example of such a code chunk. unfortunately i dont know elisp t= hough > as john recommended i will do my best this summer when the semester ends = to > try and pick it up :) Sure, here you go: #+BEGIN_SRC elisp ;; Define helm-search with predefined search expression: (defun helm-bibtex-my-publications () "Search BibTeX entries authored by Xebar Saram." (interactive) (helm :sources '(helm-source-bibtex) :full-frame t :input "xebar saram" :candidate-number-limit 500)) ;; Bind this search function to Ctrl-x p: (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) #+END_SRC > i will definitely use your tag system as you recommended, sounds perfect > for me The tag system also comes in handy when generating publication lists for CVs and web pages because BibTeX does not distinguish between conference papers, posters, and talks. If you have tags for that, it=E2=80=99s relati= vely easy to create separate sections for these types of publications using biblatex or bib2bib and bibtex2html in the case of web pages. > thanks again for your kind help and the amazing app ;-) You are welcome. Titus > > best > > Z > > > > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg > wrote: > >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> > Hi Titus >> > >> > I have been exploring helm-bibtex a bit today and have some questions. >> btw >> > is this the preferred way to make requests/ask questions or is >> > github preferred? >> >> Helm-bibtex is not part of org (although it tries to work well with >> org). So I=E2=80=99m not sure whether this list is the best place for >> discussing it. For now the issue tracker on Github might be a better >> option: >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >> > in any case i was wondering a few things: >> > >> > 1. is it possible to have custom sorting? i want all views to sort by >> > Author, year, month >> >> I prefer to see the entries in the (inverse) order in which they appear >> in the BibTeX file. This way, recent additions show up at the >> top. However, I agree that sorting would be useful (see issues #5 and >> #21); it just doesn=E2=80=99t have high priority for me. Pull requests = welcome. >> >> > 2. i would really like a way to have stored smart groups (like the jab= ref >> > dynamic groups if your aware of that). that is for example create a gr= oup >> > that auto selects all publications i have (by my first/last name) and >> shows >> > the count (in numbers) of these publications. >> >> I=E2=80=99m not familiar with smart groups but it seems that all helm-bi= btex is >> doing is giving you very flexible smart groups defined by your search >> expressions. For example, if you want a list of your publications, you >> can simple enter your name. And if you want a list of your articles, >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want all yo= ur articles from >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so on. Th= e number of >> matches will be displayed in the mode line. If you don=E2=80=99t want t= o type >> these search expressions, you could create a command that invokes >> helm-bibtex with a default search expression and that command could be >> bound to a keyboard shortcut. >> >> > Another example is a group to keep track of all the papers im working = on >> or >> > invloved with by matching keyword author and prep/*other key word >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D for k= eywords >> describing the content of the paper (as usual) and =E2=80=9Ctags=E2=80= =9D for meta >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9Cman= uscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articles in= progress, I search for >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-standard,= it has to be >> added to `helm-bibtex-additional-search-fields`. >> >> Another solution would be to use the pubstate field and to search for >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >> helm-bibtex-additional-search-fields for this to work). >> >> > 3.is it possible to ass an option to auto generate a bibkey for a >> selected >> > citation based on user criteria such as author(date)short-title? >> >> Maintaining the content of the BibTeX file not really in the scope of >> helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps >> org-ref or ebib can help here? Once you have a function that generates >> a new key and inserts it in the BibTeX file, you can easily add it to >> the list of actions in helm-bibtex. >> >> Hope that helps. >> >> Titus >> >> > thx so much in advance, you and john have given me confidence to final= ly >> > dive into the whole latex/bibteX world >> > >> > best >> > >> > Z >> >> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVgxBAAAoJEK40WfPGE2idQwQIAJ0RCMxq39139suy4p9GsgqV HX0q1tEs6UO9KJnSY/yZdgfNQZ8QaSlVCisbx+5lZq3GAVnXoDO6A6YFjBAWl8Ps bUPtva5jrn62NJZrH2p72VxJk6F7zLPKREx0b44Ekow29nmQTC+IxoY1Hn/BwpRL RggjjlLyuJl7i7srZ/bklFA2YiToi8r0aCqbxwSLzAkMLiGJD78VnqP0TzHu4lvs R6vFOKECVqFx5g8Hv3HqhXHf2wZR5JyWHhdGZfWpLGFCNuLoutBZ8Mw72AxpA0Ut QSEPZSeCaK10WgAACHJlWVXHit4KMWLntSGXWrFhZTOVD9NRnWTL9mW9RtKs3/g= =Bmw2 -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Fri, 19 Jun 2015 13:56:29 +0300 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d7f0bca25b0518dcc61b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5tyL-0006rQ-M7 for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 06:56:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5tyJ-0007B1-Hl for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 06:56:33 -0400 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:35928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5tyJ-0007Aa-4g for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 06:56:31 -0400 Received: by paceq1 with SMTP id eq1so58561053pac.3 for ; Fri, 19 Jun 2015 03:56:29 -0700 (PDT) In-Reply-To: <878ubgn9p9.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg Cc: org mode --047d7b33d7f0bca25b0518dcc61b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi again Titus 2 quick questions that arose from using helm-bitex today extensively: how does one exclude in the search items? for example i want to search for xebar without keyword "progress" (I want to exclude in progress articles not published yet) is it possible to define default enter command in helm-bibtex ? best Z On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg wrote: > > On 2015-06-18 Thu 04:32, Xebar Saram wrote: > > Hi Titus and thx so much for the answers! > > > > i will in the future use the github page to make requests. > > > > "The number of matches will be displayed in the mode line. " > > > > i see that now thx! :) the problem was(is) that its colored black on my > > black modline BG which makes it invisible ;-) i assume thats an helm > config > > i need to change > > > > > > "If you don=E2=80=99t want to type these search expressions, you could = create a > > command that invokes helm-bibtex with a default search expression and > that > > command could be bound to a keyboard shortcut." > > > > that would be prefect for me and a solution to my issue. would you mind > > giving an example of such a code chunk. unfortunately i dont know elisp > though > > as john recommended i will do my best this summer when the semester end= s > to > > try and pick it up :) > > Sure, here you go: > > #+BEGIN_SRC elisp > ;; Define helm-search with predefined search expression: > (defun helm-bibtex-my-publications () > "Search BibTeX entries authored by Xebar Saram." > (interactive) > (helm :sources '(helm-source-bibtex) > :full-frame t > :input "xebar saram" > :candidate-number-limit 500)) > > ;; Bind this search function to Ctrl-x p: > (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) > #+END_SRC > > > i will definitely use your tag system as you recommended, sounds perfec= t > > for me > > The tag system also comes in handy when generating publication lists for > CVs and web pages because BibTeX does not distinguish between conference > papers, posters, and talks. If you have tags for that, it=E2=80=99s rela= tively > easy to create separate sections for these types of publications using > biblatex or bib2bib and bibtex2html in the case of web pages. > > > thanks again for your kind help and the amazing app ;-) > > You are welcome. > > Titus > > > > > best > > > > Z > > > > > > > > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < > malsburg@posteo.de > >> wrote: > > > >> > >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: > >> > Hi Titus > >> > > >> > I have been exploring helm-bibtex a bit today and have some question= s. > >> btw > >> > is this the preferred way to make requests/ask questions or is > >> > github preferred? > >> > >> Helm-bibtex is not part of org (although it tries to work well with > >> org). So I=E2=80=99m not sure whether this list is the best place for > >> discussing it. For now the issue tracker on Github might be a better > >> option: > >> > >> https://github.com/tmalsburg/helm-bibtex/issues > >> > >> > in any case i was wondering a few things: > >> > > >> > 1. is it possible to have custom sorting? i want all views to sort b= y > >> > Author, year, month > >> > >> I prefer to see the entries in the (inverse) order in which they appea= r > >> in the BibTeX file. This way, recent additions show up at the > >> top. However, I agree that sorting would be useful (see issues #5 and > >> #21); it just doesn=E2=80=99t have high priority for me. Pull request= s welcome. > >> > >> > 2. i would really like a way to have stored smart groups (like the > jabref > >> > dynamic groups if your aware of that). that is for example create a > group > >> > that auto selects all publications i have (by my first/last name) an= d > >> shows > >> > the count (in numbers) of these publications. > >> > >> I=E2=80=99m not familiar with smart groups but it seems that all helm-= bibtex is > >> doing is giving you very flexible smart groups defined by your search > >> expressions. For example, if you want a list of your publications, yo= u > >> can simple enter your name. And if you want a list of your articles, > >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want all = your articles from > >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so on. = The number of > >> matches will be displayed in the mode line. If you don=E2=80=99t want= to type > >> these search expressions, you could create a command that invokes > >> helm-bibtex with a default search expression and that command could be > >> bound to a keyboard shortcut. > >> > >> > Another example is a group to keep track of all the papers im workin= g > on > >> or > >> > invloved with by matching keyword author and prep/*other key word > >> > >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D for= keywords > >> describing the content of the paper (as usual) and =E2=80=9Ctags=E2=80= =9D for meta > >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9Cm= anuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, > >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articles = in progress, I search for > >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-standar= d, it has to be > >> added to `helm-bibtex-additional-search-fields`. > >> > >> Another solution would be to use the pubstate field and to search for > >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to > >> helm-bibtex-additional-search-fields for this to work). > >> > >> > 3.is it possible to ass an option to auto generate a bibkey for a > >> selected > >> > citation based on user criteria such as author(date)short-title? > >> > >> Maintaining the content of the BibTeX file not really in the scope of > >> helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps > >> org-ref or ebib can help here? Once you have a function that generate= s > >> a new key and inserts it in the BibTeX file, you can easily add it to > >> the list of actions in helm-bibtex. > >> > >> Hope that helps. > >> > >> Titus > >> > >> > thx so much in advance, you and john have given me confidence to > finally > >> > dive into the whole latex/bibteX world > >> > > >> > best > >> > > >> > Z > >> > >> > > --047d7b33d7f0bca25b0518dcc61b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi again Titus

2 quick questions that a= rose from using helm-bitex today extensively:

how does one exclude in the search items? for example i want to search for= xebar without keyword "progress" (I want to exclude in progress = articles not published yet)

is it possible to defi= ne default enter command in helm-bibtex ?

be= st

Z

On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Mals= burg <malsburg@posteo.de> wrote:

On 2015-06-18 Thu 04:32, Xebar Saram wrote:
> Hi Titus and thx so much for the answers!
>
> i will in the future use the github page to make requests.
>
> "The number of matches will be displayed in the mode line. "=
>
> i see that now thx! :) the problem was(is) that its colored black on m= y
> black modline BG which makes it invisible ;-) i assume thats an helm c= onfig
> i need to change
>
>
> "If you don=E2=80=99t want to type these search expressions, you = could create a
> command that invokes helm-bibtex with a default search expression and = that
> command could be bound to a keyboard shortcut."
>
> that would be prefect for me and a solution to my issue. would you min= d
> giving an example of such a code chunk. unfortunately i dont know elis= p though
> as john recommended i will do my best this summer when the semester en= ds to
> try and pick it up :)

Sure, here you go:

#+BEGIN_SRC elisp
;; Define helm-search with predefined search expression:
(defun helm-bibtex-my-publications ()
=C2=A0 "Search BibTeX entries authored by Xebar Saram."
=C2=A0 (interactive)
=C2=A0 (helm :sources '(helm-source-bibtex)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :full-frame t
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :input "xebar saram"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :candidate-number-limit 500))

;; Bind this search function to Ctrl-x p:
(global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) #+END_SRC

> i will definitely use your tag system as you recommended, sounds perfe= ct
> for me

The tag system also comes in handy when generating publication lists= for
CVs and web pages because BibTeX does not distinguish between conference papers, posters, and talks.=C2=A0 If you have tags for that, it=E2=80=99s r= elatively
easy to create separate sections for these types of publications using
biblatex or bib2bib and bibtex2html in the case of web pages.

> thanks again for your kind help and the amazing app ;-)

You are welcome.

=C2=A0 Titus

>
> best
>
> Z
>
>
>
> On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg <malsburg@posteo.de
>> wrote:
>
>>
>> On 2015-06-17 Wed 11:08, Xebar Saram wrote:
>> > Hi Titus
>> >
>> > I have been exploring helm-bibtex a bit today and have some q= uestions.
>> btw
>> > is this the preferred way to make requests/ask questions or i= s
>> > github preferred?
>>
>> Helm-bibtex is not part of org (although it tries to work well wit= h
>> org).=C2=A0 So I=E2=80=99m not sure whether this list is the best = place for
>> discussing it.=C2=A0 For now the issue tracker on Github might be = a better
>> option:
>>
>>=C2=A0 =C2=A0https://github.com/tmalsburg/hel= m-bibtex/issues
>>
>> > in any case i was wondering a few things:
>> >
>> > 1. is it possible to have custom sorting? i want all views to= sort by
>> > Author, year, month
>>
>> I prefer to see the entries in the (inverse) order in which they a= ppear
>> in the BibTeX file.=C2=A0 This way, recent additions show up at th= e
>> top.=C2=A0 However, I agree that sorting would be useful (see issu= es #5 and
>> #21); it just doesn=E2=80=99t have high priority for me.=C2=A0 Pul= l requests welcome.
>>
>> > 2. i would really like a way to have stored smart groups (lik= e the jabref
>> > dynamic groups if your aware of that). that is for example cr= eate a group
>> > that auto selects all publications i have (by my first/last n= ame) and
>> shows
>> > the count (in numbers) of these publications.
>>
>> I=E2=80=99m not familiar with smart groups but it seems that all h= elm-bibtex is
>> doing is giving you very flexible smart groups defined by your sea= rch
>> expressions.=C2=A0 For example, if you want a list of your publica= tions, you
>> can simple enter your name.=C2=A0 And if you want a list of your a= rticles,
>> you can enter your name + =E2=80=9Carticle=E2=80=9D.=C2=A0 If you = want all your articles from
>> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D.=C2=A0 And= so on.=C2=A0 The number of
>> matches will be displayed in the mode line.=C2=A0 If you don=E2=80= =99t want to type
>> these search expressions, you could create a command that invokes<= br> >> helm-bibtex with a default search expression and that command coul= d be
>> bound to a keyboard shortcut.
>>
>> > Another example is a group to keep track of all the papers im= working on
>> or
>> > invloved with by matching keyword author and prep/*other key = word
>>
>> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D= for keywords
>> describing the content of the paper (as usual) and =E2=80=9Ctags= =E2=80=9D for meta
>> data.=C2=A0 Values that I use in tags are =E2=80=9Cown=E2=80=9D, = =E2=80=9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D,
>> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all artic= les in progress, I search for
>> =E2=80=9Cown manuscript=E2=80=9D.=C2=A0 Since the tags field is no= n-standard, it has to be
>> added to `helm-bibtex-additional-search-fields`.
>>
>> Another solution would be to use the pubstate field and to search = for
>> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to
>> helm-bibtex-additional-search-fields for this to work).
>>
>> > = 3.is it possible to ass an option to auto generate a bibkey for a
>> selected
>> > citation based on user criteria such as author(date)short-tit= le?
>>
>> Maintaining the content of the BibTeX file not really in the scope= of
>> helm-bibtex (I prefer to write my BibTeX entries by hand).=C2=A0 P= erhaps
>> org-ref or ebib can help here?=C2=A0 Once you have a function that= generates
>> a new key and inserts it in the BibTeX file, you can easily add it= to
>> the list of actions in helm-bibtex.
>>
>> Hope that helps.
>>
>>=C2=A0 =C2=A0Titus
>>
>> > thx so much in advance, you and john have given me confidence= to finally
>> > dive into the whole latex/bibteX world
>> >
>> > best
>> >
>> > Z
>>
>>


--047d7b33d7f0bca25b0518dcc61b-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Fri, 19 Jun 2015 17:02:55 -0400 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z63RG-0004HC-Sq for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 17:03:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z63RC-0007wT-Or for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 17:03:02 -0400 Received: from mail-qc0-x22a.google.com ([2607:f8b0:400d:c01::22a]:36802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z63RC-0007w4-JD for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 17:02:58 -0400 Received: by qcet6 with SMTP id t6so15413527qce.3 for ; Fri, 19 Jun 2015 14:02:57 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode , Titus von der Malsburg Xebar Saram writes: > Hi again Titus > > 2 quick questions that arose from using helm-bitex today extensively: > > how does one exclude in the search items? for example i want to search for > xebar without keyword "progress" (I want to exclude in progress articles > not published yet) Try this in the helm search: xebar !progress > > is it possible to define default enter command in helm-bibtex ? > > best > > Z > > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg > wrote: > >> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >> > Hi Titus and thx so much for the answers! >> > >> > i will in the future use the github page to make requests. >> > >> > "The number of matches will be displayed in the mode line. " >> > >> > i see that now thx! :) the problem was(is) that its colored black on my >> > black modline BG which makes it invisible ;-) i assume thats an helm >> config >> > i need to change >> > >> > >> > "If you don=E2=80=99t want to type these search expressions, you could= create a >> > command that invokes helm-bibtex with a default search expression and >> that >> > command could be bound to a keyboard shortcut." >> > >> > that would be prefect for me and a solution to my issue. would you mind >> > giving an example of such a code chunk. unfortunately i dont know elisp >> though >> > as john recommended i will do my best this summer when the semester en= ds >> to >> > try and pick it up :) >> >> Sure, here you go: >> >> #+BEGIN_SRC elisp >> ;; Define helm-search with predefined search expression: >> (defun helm-bibtex-my-publications () >> "Search BibTeX entries authored by Xebar Saram." >> (interactive) >> (helm :sources '(helm-source-bibtex) >> :full-frame t >> :input "xebar saram" >> :candidate-number-limit 500)) >> >> ;; Bind this search function to Ctrl-x p: >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >> #+END_SRC >> >> > i will definitely use your tag system as you recommended, sounds perfe= ct >> > for me >> >> The tag system also comes in handy when generating publication lists for >> CVs and web pages because BibTeX does not distinguish between conference >> papers, posters, and talks. If you have tags for that, it=E2=80=99s rel= atively >> easy to create separate sections for these types of publications using >> biblatex or bib2bib and bibtex2html in the case of web pages. >> >> > thanks again for your kind help and the amazing app ;-) >> >> You are welcome. >> >> Titus >> >> > >> > best >> > >> > Z >> > >> > >> > >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >> malsburg@posteo.de >> >> wrote: >> > >> >> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> >> > Hi Titus >> >> > >> >> > I have been exploring helm-bibtex a bit today and have some questio= ns. >> >> btw >> >> > is this the preferred way to make requests/ask questions or is >> >> > github preferred? >> >> >> >> Helm-bibtex is not part of org (although it tries to work well with >> >> org). So I=E2=80=99m not sure whether this list is the best place for >> >> discussing it. For now the issue tracker on Github might be a better >> >> option: >> >> >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >> >> >> > in any case i was wondering a few things: >> >> > >> >> > 1. is it possible to have custom sorting? i want all views to sort = by >> >> > Author, year, month >> >> >> >> I prefer to see the entries in the (inverse) order in which they appe= ar >> >> in the BibTeX file. This way, recent additions show up at the >> >> top. However, I agree that sorting would be useful (see issues #5 and >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull reques= ts welcome. >> >> >> >> > 2. i would really like a way to have stored smart groups (like the >> jabref >> >> > dynamic groups if your aware of that). that is for example create a >> group >> >> > that auto selects all publications i have (by my first/last name) a= nd >> >> shows >> >> > the count (in numbers) of these publications. >> >> >> >> I=E2=80=99m not familiar with smart groups but it seems that all helm= -bibtex is >> >> doing is giving you very flexible smart groups defined by your search >> >> expressions. For example, if you want a list of your publications, y= ou >> >> can simple enter your name. And if you want a list of your articles, >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want all= your articles from >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so on. = The number of >> >> matches will be displayed in the mode line. If you don=E2=80=99t wan= t to type >> >> these search expressions, you could create a command that invokes >> >> helm-bibtex with a default search expression and that command could be >> >> bound to a keyboard shortcut. >> >> >> >> > Another example is a group to keep track of all the papers im worki= ng >> on >> >> or >> >> > invloved with by matching keyword author and prep/*other key word >> >> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D fo= r keywords >> >> describing the content of the paper (as usual) and =E2=80=9Ctags=E2= =80=9D for meta >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9C= manuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articles= in progress, I search for >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-standa= rd, it has to be >> >> added to `helm-bibtex-additional-search-fields`. >> >> >> >> Another solution would be to use the pubstate field and to search for >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >> >> helm-bibtex-additional-search-fields for this to work). >> >> >> >> > 3.is it possible to ass an option to auto generate a bibkey for a >> >> selected >> >> > citation based on user criteria such as author(date)short-title? >> >> >> >> Maintaining the content of the BibTeX file not really in the scope of >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps >> >> org-ref or ebib can help here? Once you have a function that generat= es >> >> a new key and inserts it in the BibTeX file, you can easily add it to >> >> the list of actions in helm-bibtex. >> >> >> >> Hope that helps. >> >> >> >> Titus >> >> >> >> > thx so much in advance, you and john have given me confidence to >> finally >> >> > dive into the whole latex/bibteX world >> >> > >> >> > best >> >> > >> >> > Z >> >> >> >> >> >> -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Fri, 19 Jun 2015 17:08:30 -0400 Message-ID: References: <87ioamm7c2.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z63Wf-0006VI-Ab for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 17:08:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z63Wb-0002BT-AP for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 17:08:37 -0400 Received: from mail-qc0-x22a.google.com ([2607:f8b0:400d:c01::22a]:35952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z63Wb-0002BP-38 for emacs-orgmode@gnu.org; Fri, 19 Jun 2015 17:08:33 -0400 Received: by qcet6 with SMTP id t6so15454081qce.3 for ; Fri, 19 Jun 2015 14:08:32 -0700 (PDT) In-reply-to: <87ioamm7c2.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg Cc: Xebar Saram , org mode > >> 3.is it possible to ass an option to auto generate a bibkey for a selected >> citation based on user criteria such as author(date)short-title? > > Maintaining the content of the BibTeX file not really in the scope of > helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps > org-ref or ebib can help here? Once you have a function that generates > a new key and inserts it in the BibTeX file, you can easily add it to > the list of actions in helm-bibtex. Indeed. See org-ref-clean-bibtex-entry This adds a key according to some rules, and cleans up the entries in a lot of ways. We try to always get bibtex entries from a doi (using doi-utils.el), and they almost always need some "cleaning". > > Hope that helps. > > Titus > >> thx so much in advance, you and john have given me confidence to finally >> dive into the whole latex/bibteX world >> >> best >> >> Z -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: helm-bibtex questions Date: Sun, 21 Jun 2015 11:29:46 -0700 Message-ID: <87381klxt1.fsf@posteo.de> References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6k0C-0001mH-75 for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 14:29:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6k08-0004tP-O4 for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 14:29:56 -0400 Received: from mx02.posteo.de ([89.146.194.165]:34948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6k08-0004sa-EW for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 14:29:52 -0400 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-06-19 Fri 03:56, Xebar Saram wrote: > Hi again Titus > > 2 quick questions that arose from using helm-bitex today extensively: > > how does one exclude in the search items? for example i want to search for > xebar without keyword "progress" (I want to exclude in progress articles > not published yet) > > is it possible to define default enter command in helm-bibtex ? Yes. Helm uses the first action as the default action. To move an action to the top of the list you can use the following code: (helm-delete-action-from-source "Insert BibTeX key" helm-source-bibtex) (helm-add-action-to-source "Insert BibTeX key" 'helm-bibtex-insert-key he= lm-source-bibtex 0) The second argument in the second line is the function that executes the action. Here is a list of all actions and their functions: =20=20 Open PDF file (if present): helm-bibtex-open-pdf Open URL or DOI in browser: helm-bibtex-open-url-or-doi Insert citation: helm-bibtex-insert-citation Insert reference: helm-bibtex-insert-reference Insert BibTeX key: helm-bibtex-insert-key Insert BibTeX entry: helm-bibtex-insert-bibtex Attach PDF to email: helm-bibtex-add-PDF-attachment Edit notes: helm-bibtex-edit-notes Show entry: helm-bibtex-show-entry Best, Titus > > best > > Z > > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg > wrote: > >> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >> > Hi Titus and thx so much for the answers! >> > >> > i will in the future use the github page to make requests. >> > >> > "The number of matches will be displayed in the mode line. " >> > >> > i see that now thx! :) the problem was(is) that its colored black on my >> > black modline BG which makes it invisible ;-) i assume thats an helm >> config >> > i need to change >> > >> > >> > "If you don=E2=80=99t want to type these search expressions, you could= create a >> > command that invokes helm-bibtex with a default search expression and >> that >> > command could be bound to a keyboard shortcut." >> > >> > that would be prefect for me and a solution to my issue. would you mind >> > giving an example of such a code chunk. unfortunately i dont know elisp >> though >> > as john recommended i will do my best this summer when the semester en= ds >> to >> > try and pick it up :) >> >> Sure, here you go: >> >> #+BEGIN_SRC elisp >> ;; Define helm-search with predefined search expression: >> (defun helm-bibtex-my-publications () >> "Search BibTeX entries authored by Xebar Saram." >> (interactive) >> (helm :sources '(helm-source-bibtex) >> :full-frame t >> :input "xebar saram" >> :candidate-number-limit 500)) >> >> ;; Bind this search function to Ctrl-x p: >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >> #+END_SRC >> >> > i will definitely use your tag system as you recommended, sounds perfe= ct >> > for me >> >> The tag system also comes in handy when generating publication lists for >> CVs and web pages because BibTeX does not distinguish between conference >> papers, posters, and talks. If you have tags for that, it=E2=80=99s rel= atively >> easy to create separate sections for these types of publications using >> biblatex or bib2bib and bibtex2html in the case of web pages. >> >> > thanks again for your kind help and the amazing app ;-) >> >> You are welcome. >> >> Titus >> >> > >> > best >> > >> > Z >> > >> > >> > >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >> malsburg@posteo.de >> >> wrote: >> > >> >> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> >> > Hi Titus >> >> > >> >> > I have been exploring helm-bibtex a bit today and have some questio= ns. >> >> btw >> >> > is this the preferred way to make requests/ask questions or is >> >> > github preferred? >> >> >> >> Helm-bibtex is not part of org (although it tries to work well with >> >> org). So I=E2=80=99m not sure whether this list is the best place for >> >> discussing it. For now the issue tracker on Github might be a better >> >> option: >> >> >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >> >> >> > in any case i was wondering a few things: >> >> > >> >> > 1. is it possible to have custom sorting? i want all views to sort = by >> >> > Author, year, month >> >> >> >> I prefer to see the entries in the (inverse) order in which they appe= ar >> >> in the BibTeX file. This way, recent additions show up at the >> >> top. However, I agree that sorting would be useful (see issues #5 and >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull reques= ts welcome. >> >> >> >> > 2. i would really like a way to have stored smart groups (like the >> jabref >> >> > dynamic groups if your aware of that). that is for example create a >> group >> >> > that auto selects all publications i have (by my first/last name) a= nd >> >> shows >> >> > the count (in numbers) of these publications. >> >> >> >> I=E2=80=99m not familiar with smart groups but it seems that all helm= -bibtex is >> >> doing is giving you very flexible smart groups defined by your search >> >> expressions. For example, if you want a list of your publications, y= ou >> >> can simple enter your name. And if you want a list of your articles, >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want all= your articles from >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so on. = The number of >> >> matches will be displayed in the mode line. If you don=E2=80=99t wan= t to type >> >> these search expressions, you could create a command that invokes >> >> helm-bibtex with a default search expression and that command could be >> >> bound to a keyboard shortcut. >> >> >> >> > Another example is a group to keep track of all the papers im worki= ng >> on >> >> or >> >> > invloved with by matching keyword author and prep/*other key word >> >> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D fo= r keywords >> >> describing the content of the paper (as usual) and =E2=80=9Ctags=E2= =80=9D for meta >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9C= manuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articles= in progress, I search for >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-standa= rd, it has to be >> >> added to `helm-bibtex-additional-search-fields`. >> >> >> >> Another solution would be to use the pubstate field and to search for >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >> >> helm-bibtex-additional-search-fields for this to work). >> >> >> >> > 3.is it possible to ass an option to auto generate a bibkey for a >> >> selected >> >> > citation based on user criteria such as author(date)short-title? >> >> >> >> Maintaining the content of the BibTeX file not really in the scope of >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps >> >> org-ref or ebib can help here? Once you have a function that generat= es >> >> a new key and inserts it in the BibTeX file, you can easily add it to >> >> the list of actions in helm-bibtex. >> >> >> >> Hope that helps. >> >> >> >> Titus >> >> >> >> > thx so much in advance, you and john have given me confidence to >> finally >> >> > dive into the whole latex/bibteX world >> >> > >> >> > best >> >> > >> >> > Z >> >> >> >> >> >> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVhwKbAAoJEK40WfPGE2idNgAH/RToy62VrerAKNA5+H41+IGO kAGKk4FL6MydaOoMVL8vbBxohd42Tx7Vicdvs7gr8WNZNSI640eXgPCqGp/Iywbn cu+eupBYDVBUZUmaoGSY/0WmdHcjJ1GkQgjfUmpOroQH4PuXHZjmFGKjYUXfVdbt AH+yCDnO7nh+dKN8WP5GZbkMIAUwdupkJfDHjVTaia2cNzjhlHGpYA1xNCE94MW3 qCW2mjPkuZEDdl30R5ZHaJ7JLUPY5g/5kt9GOH35dMXVJDxqqTneGFwLdIXx75j4 u15v8eTKczFzLWeagktTZy3lGTPuRsi1UN7lDuBDYz4HPwEGKs+GLQPrUsCu1Mo= =4Vsb -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Sun, 21 Jun 2015 14:40:49 -0400 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d8ccd01a29b05190b7ffe Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6kAp-00047M-16 for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 14:40:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6kAl-0001mW-Tx for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 14:40:54 -0400 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:33603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6kAl-0001lr-70 for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 14:40:51 -0400 Received: by pdjn11 with SMTP id n11so123814652pdj.0 for ; Sun, 21 Jun 2015 11:40:49 -0700 (PDT) In-Reply-To: <87381klxt1.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg Cc: Xebar Saram , org mode --047d7b5d8ccd01a29b05190b7ffe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable sweet! I did not know you could do that! I will be refactoring org-ref soon to do that instead of redefining the commands! John ----------------------------------- 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 On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg wrote: > > On 2015-06-19 Fri 03:56, Xebar Saram wrote: > > Hi again Titus > > > > 2 quick questions that arose from using helm-bitex today extensively: > > > > how does one exclude in the search items? for example i want to search > for > > xebar without keyword "progress" (I want to exclude in progress article= s > > not published yet) > > > > is it possible to define default enter command in helm-bibtex ? > > Yes. Helm uses the first action as the default action. To move an > action to the top of the list you can use the following code: > > (helm-delete-action-from-source "Insert BibTeX key" helm-source-bibtex) > (helm-add-action-to-source "Insert BibTeX key" 'helm-bibtex-insert-key > helm-source-bibtex 0) > > The second argument in the second line is the function that executes the > action. Here is a list of all actions and their functions: > > Open PDF file (if present): helm-bibtex-open-pdf > Open URL or DOI in browser: helm-bibtex-open-url-or-doi > Insert citation: helm-bibtex-insert-citation > Insert reference: helm-bibtex-insert-reference > Insert BibTeX key: helm-bibtex-insert-key > Insert BibTeX entry: helm-bibtex-insert-bibtex > Attach PDF to email: helm-bibtex-add-PDF-attachment > Edit notes: helm-bibtex-edit-notes > Show entry: helm-bibtex-show-entry > > Best, > > Titus > > > > > best > > > > Z > > > > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < > malsburg@posteo.de> > > wrote: > > > >> > >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: > >> > Hi Titus and thx so much for the answers! > >> > > >> > i will in the future use the github page to make requests. > >> > > >> > "The number of matches will be displayed in the mode line. " > >> > > >> > i see that now thx! :) the problem was(is) that its colored black on > my > >> > black modline BG which makes it invisible ;-) i assume thats an helm > >> config > >> > i need to change > >> > > >> > > >> > "If you don=E2=80=99t want to type these search expressions, you cou= ld create > a > >> > command that invokes helm-bibtex with a default search expression an= d > >> that > >> > command could be bound to a keyboard shortcut." > >> > > >> > that would be prefect for me and a solution to my issue. would you > mind > >> > giving an example of such a code chunk. unfortunately i dont know > elisp > >> though > >> > as john recommended i will do my best this summer when the semester > ends > >> to > >> > try and pick it up :) > >> > >> Sure, here you go: > >> > >> #+BEGIN_SRC elisp > >> ;; Define helm-search with predefined search expression: > >> (defun helm-bibtex-my-publications () > >> "Search BibTeX entries authored by Xebar Saram." > >> (interactive) > >> (helm :sources '(helm-source-bibtex) > >> :full-frame t > >> :input "xebar saram" > >> :candidate-number-limit 500)) > >> > >> ;; Bind this search function to Ctrl-x p: > >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) > >> #+END_SRC > >> > >> > i will definitely use your tag system as you recommended, sounds > perfect > >> > for me > >> > >> The tag system also comes in handy when generating publication lists f= or > >> CVs and web pages because BibTeX does not distinguish between conferen= ce > >> papers, posters, and talks. If you have tags for that, it=E2=80=99s r= elatively > >> easy to create separate sections for these types of publications using > >> biblatex or bib2bib and bibtex2html in the case of web pages. > >> > >> > thanks again for your kind help and the amazing app ;-) > >> > >> You are welcome. > >> > >> Titus > >> > >> > > >> > best > >> > > >> > Z > >> > > >> > > >> > > >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < > >> malsburg@posteo.de > >> >> wrote: > >> > > >> >> > >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: > >> >> > Hi Titus > >> >> > > >> >> > I have been exploring helm-bibtex a bit today and have some > questions. > >> >> btw > >> >> > is this the preferred way to make requests/ask questions or is > >> >> > github preferred? > >> >> > >> >> Helm-bibtex is not part of org (although it tries to work well with > >> >> org). So I=E2=80=99m not sure whether this list is the best place = for > >> >> discussing it. For now the issue tracker on Github might be a bett= er > >> >> option: > >> >> > >> >> https://github.com/tmalsburg/helm-bibtex/issues > >> >> > >> >> > in any case i was wondering a few things: > >> >> > > >> >> > 1. is it possible to have custom sorting? i want all views to sor= t > by > >> >> > Author, year, month > >> >> > >> >> I prefer to see the entries in the (inverse) order in which they > appear > >> >> in the BibTeX file. This way, recent additions show up at the > >> >> top. However, I agree that sorting would be useful (see issues #5 > and > >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull requ= ests > welcome. > >> >> > >> >> > 2. i would really like a way to have stored smart groups (like th= e > >> jabref > >> >> > dynamic groups if your aware of that). that is for example create= a > >> group > >> >> > that auto selects all publications i have (by my first/last name) > and > >> >> shows > >> >> > the count (in numbers) of these publications. > >> >> > >> >> I=E2=80=99m not familiar with smart groups but it seems that all he= lm-bibtex > is > >> >> doing is giving you very flexible smart groups defined by your sear= ch > >> >> expressions. For example, if you want a list of your publications, > you > >> >> can simple enter your name. And if you want a list of your article= s, > >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want a= ll your articles > from > >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so on= . The number of > >> >> matches will be displayed in the mode line. If you don=E2=80=99t w= ant to > type > >> >> these search expressions, you could create a command that invokes > >> >> helm-bibtex with a default search expression and that command could > be > >> >> bound to a keyboard shortcut. > >> >> > >> >> > Another example is a group to keep track of all the papers im > working > >> on > >> >> or > >> >> > invloved with by matching keyword author and prep/*other key word > >> >> > >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D = for keywords > >> >> describing the content of the paper (as usual) and =E2=80=9Ctags=E2= =80=9D for meta > >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80= =9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, > >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all articl= es in progress, I search > for > >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-stan= dard, it has to be > >> >> added to `helm-bibtex-additional-search-fields`. > >> >> > >> >> Another solution would be to use the pubstate field and to search f= or > >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to > >> >> helm-bibtex-additional-search-fields for this to work). > >> >> > >> >> > 3.is it possible to ass an option to auto generate a bibkey for a > >> >> selected > >> >> > citation based on user criteria such as author(date)short-title? > >> >> > >> >> Maintaining the content of the BibTeX file not really in the scope = of > >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). Perhaps > >> >> org-ref or ebib can help here? Once you have a function that > generates > >> >> a new key and inserts it in the BibTeX file, you can easily add it = to > >> >> the list of actions in helm-bibtex. > >> >> > >> >> Hope that helps. > >> >> > >> >> Titus > >> >> > >> >> > thx so much in advance, you and john have given me confidence to > >> finally > >> >> > dive into the whole latex/bibteX world > >> >> > > >> >> > best > >> >> > > >> >> > Z > >> >> > >> >> > >> > >> > > --047d7b5d8ccd01a29b05190b7ffe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
sweet! I did not know you could do that! I will be refacto= ring org-ref soon to do that instead of redefining the commands!

John

-----------------------= ------------
Professor John Kitchin=C2=A0
Doherty Hall A207F
Depar= tment of Chemical Engineering
Carnegie Mellon University
Pittsburgh, = PA 15213
412-268-7803

On Sun, Jun 21, 2015 at 2:29 PM, Titus von d= er Malsburg <malsburg@posteo.de> wrote:

On 2015-06-19 Fri 03:56, Xebar Saram wrote:
> Hi again Titus
>
> 2 quick questions that arose from using helm-bitex today extensively:<= br> >
> how does one exclude in the search items? for example i want to search= for
> xebar without keyword "progress" (I want to exclude in progr= ess articles
> not published yet)
>
> is it possible to define default enter command in helm-bibtex ?

Yes.=C2=A0 Helm uses the first action as the default action.=C2=A0 T= o move an
action to the top of the list you can use the following code:

=C2=A0 (helm-delete-action-from-source "Insert BibTeX key" helm-s= ource-bibtex)
=C2=A0 (helm-add-action-to-source "Insert BibTeX key" 'helm-b= ibtex-insert-key helm-source-bibtex 0)

The second argument in the second line is the function that executes the action.=C2=A0 Here is a list of all actions and their functions:

=C2=A0 Open PDF file (if present): helm-bibtex-open-pdf
=C2=A0 Open URL or DOI in browser: helm-bibtex-open-url-or-doi
=C2=A0 Insert citation: helm-bibtex-insert-citation
=C2=A0 Insert reference: helm-bibtex-insert-reference
=C2=A0 Insert BibTeX key: helm-bibtex-insert-key
=C2=A0 Insert BibTeX entry: helm-bibtex-insert-bibtex
=C2=A0 Attach PDF to email: helm-bibtex-add-PDF-attachment
=C2=A0 Edit notes: helm-bibtex-edit-notes
=C2=A0 Show entry: helm-bibtex-show-entry

Best,

=C2=A0 Titus

>
> best
>
> Z
>
> On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg <malsburg@posteo.de>
> wrote:
>
>>
>> On 2015-06-18 Thu 04:32, Xebar Saram wrote:
>> > Hi Titus and thx so much for the answers!
>> >
>> > i will in the future use the github page to make requests. >> >
>> > "The number of matches will be displayed in the mode lin= e. "
>> >
>> > i see that now thx! :) the problem was(is) that its colored b= lack on my
>> > black modline BG which makes it invisible ;-) i assume thats = an helm
>> config
>> > i need to change
>> >
>> >
>> > "If you don=E2=80=99t want to type these search expressi= ons, you could create a
>> > command that invokes helm-bibtex with a default search expres= sion and
>> that
>> > command could be bound to a keyboard shortcut."
>> >
>> > that would be prefect for me and a solution to my issue. woul= d you mind
>> > giving an example of such a code chunk. unfortunately i dont = know elisp
>> though
>> > as john recommended i will do my best this summer when the se= mester ends
>> to
>> > try and pick it up :)
>>
>> Sure, here you go:
>>
>> #+BEGIN_SRC elisp
>> ;; Define helm-search with predefined search expression:
>> (defun helm-bibtex-my-publications ()
>>=C2=A0 =C2=A0"Search BibTeX entries authored by Xebar Saram.&q= uot;
>>=C2=A0 =C2=A0(interactive)
>>=C2=A0 =C2=A0(helm :sources '(helm-source-bibtex)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:full-frame t
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:input "xebar saram" >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:candidate-number-limit 500))
>>
>> ;; Bind this search function to Ctrl-x p:
>> (global-set-key (kbd "C-x p") 'helm-bibtex-my-public= ations)
>> #+END_SRC
>>
>> > i will definitely use your tag system as you recommended, sou= nds perfect
>> > for me
>>
>> The tag system also comes in handy when generating publication lis= ts for
>> CVs and web pages because BibTeX does not distinguish between conf= erence
>> papers, posters, and talks.=C2=A0 If you have tags for that, it=E2= =80=99s relatively
>> easy to create separate sections for these types of publications u= sing
>> biblatex or bib2bib and bibtex2html in the case of web pages.
>>
>> > thanks again for your kind help and the amazing app ;-)
>>
>> You are welcome.
>>
>>=C2=A0 =C2=A0Titus
>>
>> >
>> > best
>> >
>> > Z
>> >
>> >
>> >
>> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg <=
>> malsburg@posteo.de
>> >> wrote:
>> >
>> >>
>> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote:
>> >> > Hi Titus
>> >> >
>> >> > I have been exploring helm-bibtex a bit today and ha= ve some questions.
>> >> btw
>> >> > is this the preferred way to make requests/ask quest= ions or is
>> >> > github preferred?
>> >>
>> >> Helm-bibtex is not part of org (although it tries to work= well with
>> >> org).=C2=A0 So I=E2=80=99m not sure whether this list is = the best place for
>> >> discussing it.=C2=A0 For now the issue tracker on Github = might be a better
>> >> option:
>> >>
>> >>=C2=A0 =C2=A0https://github.com/tmal= sburg/helm-bibtex/issues
>> >>
>> >> > in any case i was wondering a few things:
>> >> >
>> >> > 1. is it possible to have custom sorting? i want all= views to sort by
>> >> > Author, year, month
>> >>
>> >> I prefer to see the entries in the (inverse) order in whi= ch they appear
>> >> in the BibTeX file.=C2=A0 This way, recent additions show= up at the
>> >> top.=C2=A0 However, I agree that sorting would be useful = (see issues #5 and
>> >> #21); it just doesn=E2=80=99t have high priority for me.= =C2=A0 Pull requests welcome.
>> >>
>> >> > 2. i would really like a way to have stored smart gr= oups (like the
>> jabref
>> >> > dynamic groups if your aware of that). that is for e= xample create a
>> group
>> >> > that auto selects all publications i have (by my fir= st/last name) and
>> >> shows
>> >> > the count (in numbers) of these publications.
>> >>
>> >> I=E2=80=99m not familiar with smart groups but it seems t= hat all helm-bibtex is
>> >> doing is giving you very flexible smart groups defined by= your search
>> >> expressions.=C2=A0 For example, if you want a list of you= r publications, you
>> >> can simple enter your name.=C2=A0 And if you want a list = of your articles,
>> >> you can enter your name + =E2=80=9Carticle=E2=80=9D.=C2= =A0 If you want all your articles from
>> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D.= =C2=A0 And so on.=C2=A0 The number of
>> >> matches will be displayed in the mode line.=C2=A0 If you = don=E2=80=99t want to type
>> >> these search expressions, you could create a command that= invokes
>> >> helm-bibtex with a default search expression and that com= mand could be
>> >> bound to a keyboard shortcut.
>> >>
>> >> > Another example is a group to keep track of all the = papers im working
>> on
>> >> or
>> >> > invloved with by matching keyword author and prep/*o= ther key word
>> >>
>> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords= =E2=80=9D for keywords
>> >> describing the content of the paper (as usual) and =E2=80= =9Ctags=E2=80=9D for meta
>> >> data.=C2=A0 Values that I use in tags are =E2=80=9Cown=E2= =80=9D, =E2=80=9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D,
>> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of = all articles in progress, I search for
>> >> =E2=80=9Cown manuscript=E2=80=9D.=C2=A0 Since the tags fi= eld is non-standard, it has to be
>> >> added to `helm-bibtex-additional-search-fields`.
>> >>
>> >> Another solution would be to use the pubstate field and t= o search for
>> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate= to
>> >> helm-bibtex-additional-search-fields for this to work). >> >>
>> >> > 3.is it possible to ass an option to auto generate a bibkey fo= r a
>> >> selected
>> >> > citation based on user criteria such as author(date)= short-title?
>> >>
>> >> Maintaining the content of the BibTeX file not really in = the scope of
>> >> helm-bibtex (I prefer to write my BibTeX entries by hand)= .=C2=A0 Perhaps
>> >> org-ref or ebib can help here?=C2=A0 Once you have a func= tion that generates
>> >> a new key and inserts it in the BibTeX file, you can easi= ly add it to
>> >> the list of actions in helm-bibtex.
>> >>
>> >> Hope that helps.
>> >>
>> >>=C2=A0 =C2=A0Titus
>> >>
>> >> > thx so much in advance, you and john have given me c= onfidence to
>> finally
>> >> > dive into the whole latex/bibteX world
>> >> >
>> >> > best
>> >> >
>> >> > Z
>> >>
>> >>
>>
>>


--047d7b5d8ccd01a29b05190b7ffe-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Mon, 22 Jun 2015 17:28:46 +0300 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b15ad7976d77a05191c17ee Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z72iR-0002n2-Ck for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 10:28:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z72iO-0002XH-RD for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 10:28:51 -0400 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]:34017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z72iO-0002XB-Av for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 10:28:48 -0400 Received: by pdbki1 with SMTP id ki1so140002516pdb.1 for ; Mon, 22 Jun 2015 07:28:47 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: org mode --047d7b15ad7976d77a05191c17ee Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi John a bit off topic, but do you also write your academic CV in orgmode or lateX? in anycase would you mind sharing your org/latex CV template? it would be helpful as a starting point for me if thats possible. kind regards and thanks so much in advance Z On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin wrote: > sweet! I did not know you could do that! I will be refactoring org-ref > soon to do that instead of redefining the commands! > > John > > ----------------------------------- > 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 > > > On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < > malsburg@posteo.de> wrote: > >> >> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >> > Hi again Titus >> > >> > 2 quick questions that arose from using helm-bitex today extensively: >> > >> > how does one exclude in the search items? for example i want to search >> for >> > xebar without keyword "progress" (I want to exclude in progress articl= es >> > not published yet) >> > >> > is it possible to define default enter command in helm-bibtex ? >> >> Yes. Helm uses the first action as the default action. To move an >> action to the top of the list you can use the following code: >> >> (helm-delete-action-from-source "Insert BibTeX key" helm-source-bibtex= ) >> (helm-add-action-to-source "Insert BibTeX key" 'helm-bibtex-insert-key >> helm-source-bibtex 0) >> >> The second argument in the second line is the function that executes the >> action. Here is a list of all actions and their functions: >> >> Open PDF file (if present): helm-bibtex-open-pdf >> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >> Insert citation: helm-bibtex-insert-citation >> Insert reference: helm-bibtex-insert-reference >> Insert BibTeX key: helm-bibtex-insert-key >> Insert BibTeX entry: helm-bibtex-insert-bibtex >> Attach PDF to email: helm-bibtex-add-PDF-attachment >> Edit notes: helm-bibtex-edit-notes >> Show entry: helm-bibtex-show-entry >> >> Best, >> >> Titus >> >> > >> > best >> > >> > Z >> > >> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >> malsburg@posteo.de> >> > wrote: >> > >> >> >> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >> >> > Hi Titus and thx so much for the answers! >> >> > >> >> > i will in the future use the github page to make requests. >> >> > >> >> > "The number of matches will be displayed in the mode line. " >> >> > >> >> > i see that now thx! :) the problem was(is) that its colored black o= n >> my >> >> > black modline BG which makes it invisible ;-) i assume thats an hel= m >> >> config >> >> > i need to change >> >> > >> >> > >> >> > "If you don=E2=80=99t want to type these search expressions, you co= uld >> create a >> >> > command that invokes helm-bibtex with a default search expression a= nd >> >> that >> >> > command could be bound to a keyboard shortcut." >> >> > >> >> > that would be prefect for me and a solution to my issue. would you >> mind >> >> > giving an example of such a code chunk. unfortunately i dont know >> elisp >> >> though >> >> > as john recommended i will do my best this summer when the semester >> ends >> >> to >> >> > try and pick it up :) >> >> >> >> Sure, here you go: >> >> >> >> #+BEGIN_SRC elisp >> >> ;; Define helm-search with predefined search expression: >> >> (defun helm-bibtex-my-publications () >> >> "Search BibTeX entries authored by Xebar Saram." >> >> (interactive) >> >> (helm :sources '(helm-source-bibtex) >> >> :full-frame t >> >> :input "xebar saram" >> >> :candidate-number-limit 500)) >> >> >> >> ;; Bind this search function to Ctrl-x p: >> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >> >> #+END_SRC >> >> >> >> > i will definitely use your tag system as you recommended, sounds >> perfect >> >> > for me >> >> >> >> The tag system also comes in handy when generating publication lists >> for >> >> CVs and web pages because BibTeX does not distinguish between >> conference >> >> papers, posters, and talks. If you have tags for that, it=E2=80=99s = relatively >> >> easy to create separate sections for these types of publications usin= g >> >> biblatex or bib2bib and bibtex2html in the case of web pages. >> >> >> >> > thanks again for your kind help and the amazing app ;-) >> >> >> >> You are welcome. >> >> >> >> Titus >> >> >> >> > >> >> > best >> >> > >> >> > Z >> >> > >> >> > >> >> > >> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >> >> malsburg@posteo.de >> >> >> wrote: >> >> > >> >> >> >> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> >> >> > Hi Titus >> >> >> > >> >> >> > I have been exploring helm-bibtex a bit today and have some >> questions. >> >> >> btw >> >> >> > is this the preferred way to make requests/ask questions or is >> >> >> > github preferred? >> >> >> >> >> >> Helm-bibtex is not part of org (although it tries to work well wit= h >> >> >> org). So I=E2=80=99m not sure whether this list is the best place= for >> >> >> discussing it. For now the issue tracker on Github might be a >> better >> >> >> option: >> >> >> >> >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >> >> >> >> >> > in any case i was wondering a few things: >> >> >> > >> >> >> > 1. is it possible to have custom sorting? i want all views to >> sort by >> >> >> > Author, year, month >> >> >> >> >> >> I prefer to see the entries in the (inverse) order in which they >> appear >> >> >> in the BibTeX file. This way, recent additions show up at the >> >> >> top. However, I agree that sorting would be useful (see issues #5 >> and >> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull req= uests >> welcome. >> >> >> >> >> >> > 2. i would really like a way to have stored smart groups (like t= he >> >> jabref >> >> >> > dynamic groups if your aware of that). that is for example creat= e >> a >> >> group >> >> >> > that auto selects all publications i have (by my first/last name= ) >> and >> >> >> shows >> >> >> > the count (in numbers) of these publications. >> >> >> >> >> >> I=E2=80=99m not familiar with smart groups but it seems that all >> helm-bibtex is >> >> >> doing is giving you very flexible smart groups defined by your >> search >> >> >> expressions. For example, if you want a list of your publications= , >> you >> >> >> can simple enter your name. And if you want a list of your >> articles, >> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want = all your articles >> from >> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so o= n. The number of >> >> >> matches will be displayed in the mode line. If you don=E2=80=99t = want to >> type >> >> >> these search expressions, you could create a command that invokes >> >> >> helm-bibtex with a default search expression and that command coul= d >> be >> >> >> bound to a keyboard shortcut. >> >> >> >> >> >> > Another example is a group to keep track of all the papers im >> working >> >> on >> >> >> or >> >> >> > invloved with by matching keyword author and prep/*other key wor= d >> >> >> >> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80=9D= for keywords >> >> >> describing the content of the paper (as usual) and =E2=80=9Ctags= =E2=80=9D for meta >> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80= =9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, >> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all artic= les in progress, I search >> for >> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-sta= ndard, it has to >> be >> >> >> added to `helm-bibtex-additional-search-fields`. >> >> >> >> >> >> Another solution would be to use the pubstate field and to search >> for >> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >> >> >> helm-bibtex-additional-search-fields for this to work). >> >> >> >> >> >> > 3.is it possible to ass an option to auto generate a bibkey for = a >> >> >> selected >> >> >> > citation based on user criteria such as author(date)short-title? >> >> >> >> >> >> Maintaining the content of the BibTeX file not really in the scope >> of >> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). Perhap= s >> >> >> org-ref or ebib can help here? Once you have a function that >> generates >> >> >> a new key and inserts it in the BibTeX file, you can easily add it >> to >> >> >> the list of actions in helm-bibtex. >> >> >> >> >> >> Hope that helps. >> >> >> >> >> >> Titus >> >> >> >> >> >> > thx so much in advance, you and john have given me confidence to >> >> finally >> >> >> > dive into the whole latex/bibteX world >> >> >> > >> >> >> > best >> >> >> > >> >> >> > Z >> >> >> >> >> >> >> >> >> >> >> >> > --047d7b15ad7976d77a05191c17ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi John

a bit off topic, but do you als= o write your academic CV in orgmode or lateX? in anycase would you mind sha= ring your org/latex CV template? it would be helpful as a starting point fo= r me if thats possible.

kind regards and thanks so= much in advance

Z

On Sun, Jun 21, 2015 at 9:40 PM, John= Kitchin <jkitchin@andrew.cmu.edu> wrote:
sweet! I did not know you could do t= hat! I will be refactoring org-ref soon to do that instead of redefining th= e commands!

John

---------------------------= --------
Professor John Kitchin=C2=A0
Doherty Hall A= 207F
Department of Chemical Engineering
Carnegie Mellon UniversityPittsburgh, PA 15213
412-268-7803

On Sun, Jun 21, 2015 at 2:29 PM, Titus von d= er Malsburg <malsburg@posteo.de> wrote:

On 2015-06-19 Fri 03:56, Xebar Saram wrote:
> Hi again Titus
>
> 2 quick questions that arose from using helm-bitex today extensively:<= br> >
> how does one exclude in the search items? for example i want to search= for
> xebar without keyword "progress" (I want to exclude in progr= ess articles
> not published yet)
>
> is it possible to define default enter command in helm-bibtex ?

Yes.=C2=A0 Helm uses the first action as the default action.=C2=A0 T= o move an
action to the top of the list you can use the following code:

=C2=A0 (helm-delete-action-from-source "Insert BibTeX key" helm-s= ource-bibtex)
=C2=A0 (helm-add-action-to-source "Insert BibTeX key" 'helm-b= ibtex-insert-key helm-source-bibtex 0)

The second argument in the second line is the function that executes the action.=C2=A0 Here is a list of all actions and their functions:

=C2=A0 Open PDF file (if present): helm-bibtex-open-pdf
=C2=A0 Open URL or DOI in browser: helm-bibtex-open-url-or-doi
=C2=A0 Insert citation: helm-bibtex-insert-citation
=C2=A0 Insert reference: helm-bibtex-insert-reference
=C2=A0 Insert BibTeX key: helm-bibtex-insert-key
=C2=A0 Insert BibTeX entry: helm-bibtex-insert-bibtex
=C2=A0 Attach PDF to email: helm-bibtex-add-PDF-attachment
=C2=A0 Edit notes: helm-bibtex-edit-notes
=C2=A0 Show entry: helm-bibtex-show-entry

Best,

=C2=A0 Titus

>
> best
>
> Z
>
> On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg <malsburg@posteo.de> > wrote:
>
>>
>> On 2015-06-18 Thu 04:32, Xebar Saram wrote:
>> > Hi Titus and thx so much for the answers!
>> >
>> > i will in the future use the github page to make requests. >> >
>> > "The number of matches will be displayed in the mode lin= e. "
>> >
>> > i see that now thx! :) the problem was(is) that its colored b= lack on my
>> > black modline BG which makes it invisible ;-) i assume thats = an helm
>> config
>> > i need to change
>> >
>> >
>> > "If you don=E2=80=99t want to type these search expressi= ons, you could create a
>> > command that invokes helm-bibtex with a default search expres= sion and
>> that
>> > command could be bound to a keyboard shortcut."
>> >
>> > that would be prefect for me and a solution to my issue. woul= d you mind
>> > giving an example of such a code chunk. unfortunately i dont = know elisp
>> though
>> > as john recommended i will do my best this summer when the se= mester ends
>> to
>> > try and pick it up :)
>>
>> Sure, here you go:
>>
>> #+BEGIN_SRC elisp
>> ;; Define helm-search with predefined search expression:
>> (defun helm-bibtex-my-publications ()
>>=C2=A0 =C2=A0"Search BibTeX entries authored by Xebar Saram.&q= uot;
>>=C2=A0 =C2=A0(interactive)
>>=C2=A0 =C2=A0(helm :sources '(helm-source-bibtex)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:full-frame t
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:input "xebar saram" >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:candidate-number-limit 500))
>>
>> ;; Bind this search function to Ctrl-x p:
>> (global-set-key (kbd "C-x p") 'helm-bibtex-my-public= ations)
>> #+END_SRC
>>
>> > i will definitely use your tag system as you recommended, sou= nds perfect
>> > for me
>>
>> The tag system also comes in handy when generating publication lis= ts for
>> CVs and web pages because BibTeX does not distinguish between conf= erence
>> papers, posters, and talks.=C2=A0 If you have tags for that, it=E2= =80=99s relatively
>> easy to create separate sections for these types of publications u= sing
>> biblatex or bib2bib and bibtex2html in the case of web pages.
>>
>> > thanks again for your kind help and the amazing app ;-)
>>
>> You are welcome.
>>
>>=C2=A0 =C2=A0Titus
>>
>> >
>> > best
>> >
>> > Z
>> >
>> >
>> >
>> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg <=
>> malsburg@p= osteo.de
>> >> wrote:
>> >
>> >>
>> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote:
>> >> > Hi Titus
>> >> >
>> >> > I have been exploring helm-bibtex a bit today and ha= ve some questions.
>> >> btw
>> >> > is this the preferred way to make requests/ask quest= ions or is
>> >> > github preferred?
>> >>
>> >> Helm-bibtex is not part of org (although it tries to work= well with
>> >> org).=C2=A0 So I=E2=80=99m not sure whether this list is = the best place for
>> >> discussing it.=C2=A0 For now the issue tracker on Github = might be a better
>> >> option:
>> >>
>> >>=C2=A0 =C2=A0https://github.com/tmal= sburg/helm-bibtex/issues
>> >>
>> >> > in any case i was wondering a few things:
>> >> >
>> >> > 1. is it possible to have custom sorting? i want all= views to sort by
>> >> > Author, year, month
>> >>
>> >> I prefer to see the entries in the (inverse) order in whi= ch they appear
>> >> in the BibTeX file.=C2=A0 This way, recent additions show= up at the
>> >> top.=C2=A0 However, I agree that sorting would be useful = (see issues #5 and
>> >> #21); it just doesn=E2=80=99t have high priority for me.= =C2=A0 Pull requests welcome.
>> >>
>> >> > 2. i would really like a way to have stored smart gr= oups (like the
>> jabref
>> >> > dynamic groups if your aware of that). that is for e= xample create a
>> group
>> >> > that auto selects all publications i have (by my fir= st/last name) and
>> >> shows
>> >> > the count (in numbers) of these publications.
>> >>
>> >> I=E2=80=99m not familiar with smart groups but it seems t= hat all helm-bibtex is
>> >> doing is giving you very flexible smart groups defined by= your search
>> >> expressions.=C2=A0 For example, if you want a list of you= r publications, you
>> >> can simple enter your name.=C2=A0 And if you want a list = of your articles,
>> >> you can enter your name + =E2=80=9Carticle=E2=80=9D.=C2= =A0 If you want all your articles from
>> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D.= =C2=A0 And so on.=C2=A0 The number of
>> >> matches will be displayed in the mode line.=C2=A0 If you = don=E2=80=99t want to type
>> >> these search expressions, you could create a command that= invokes
>> >> helm-bibtex with a default search expression and that com= mand could be
>> >> bound to a keyboard shortcut.
>> >>
>> >> > Another example is a group to keep track of all the = papers im working
>> on
>> >> or
>> >> > invloved with by matching keyword author and prep/*o= ther key word
>> >>
>> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords= =E2=80=9D for keywords
>> >> describing the content of the paper (as usual) and =E2=80= =9Ctags=E2=80=9D for meta
>> >> data.=C2=A0 Values that I use in tags are =E2=80=9Cown=E2= =80=9D, =E2=80=9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D,
>> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of = all articles in progress, I search for
>> >> =E2=80=9Cown manuscript=E2=80=9D.=C2=A0 Since the tags fi= eld is non-standard, it has to be
>> >> added to `helm-bibtex-additional-search-fields`.
>> >>
>> >> Another solution would be to use the pubstate field and t= o search for
>> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate= to
>> >> helm-bibtex-additional-search-fields for this to work). >> >>
>> >> > 3.is it possible to ass an option to auto generate a bibkey fo= r a
>> >> selected
>> >> > citation based on user criteria such as author(date)= short-title?
>> >>
>> >> Maintaining the content of the BibTeX file not really in = the scope of
>> >> helm-bibtex (I prefer to write my BibTeX entries by hand)= .=C2=A0 Perhaps
>> >> org-ref or ebib can help here?=C2=A0 Once you have a func= tion that generates
>> >> a new key and inserts it in the BibTeX file, you can easi= ly add it to
>> >> the list of actions in helm-bibtex.
>> >>
>> >> Hope that helps.
>> >>
>> >>=C2=A0 =C2=A0Titus
>> >>
>> >> > thx so much in advance, you and john have given me c= onfidence to
>> finally
>> >> > dive into the whole latex/bibteX world
>> >> >
>> >> > best
>> >> >
>> >> > Z
>> >>
>> >>
>>
>>



--047d7b15ad7976d77a05191c17ee-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: helm-bibtex questions Date: Mon, 22 Jun 2015 08:12:02 -0700 Message-ID: <87vbefkcal.fsf@posteo.de> References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z73OQ-0000Mp-HC for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 11:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z73OM-00074y-Ql for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 11:12:14 -0400 Received: from mx02.posteo.de ([89.146.194.165]:41885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z73OM-00074k-Gu for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 11:12:10 -0400 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode , John Kitchin --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Here is my CV in org-mode: https://gist.github.com/tmalsburg/96084ba82281937c26b7 It=E2=80=99s a pretty straightforward org document except for one thing: th= e key to making this work was biblatex which can be used to create several lists of references filtered according to keywords, author, etc. This allowed me to have separate sections for journal articles, conference presentations, etc. I store the relevant keywords in the tags field of the BibTeX entries and since biblatex doesn=E2=80=99t know this field, I co= py the tags on-the-fly to the keywords field (see DeclareSourcemap in the LaTeX headers). Titus On 2015-06-22 Mon 07:28, Xebar Saram wrote: > Hi John > > a bit off topic, but do you also write your academic CV in orgmode or > lateX? in anycase would you mind sharing your org/latex CV template? it > would be helpful as a starting point for me if thats possible. > > kind regards and thanks so much in advance > > Z > > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin > wrote: > >> sweet! I did not know you could do that! I will be refactoring org-ref >> soon to do that instead of redefining the commands! >> >> John >> >> ----------------------------------- >> 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 >> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >> malsburg@posteo.de> wrote: >> >>> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >>> > Hi again Titus >>> > >>> > 2 quick questions that arose from using helm-bitex today extensively: >>> > >>> > how does one exclude in the search items? for example i want to search >>> for >>> > xebar without keyword "progress" (I want to exclude in progress artic= les >>> > not published yet) >>> > >>> > is it possible to define default enter command in helm-bibtex ? >>> >>> Yes. Helm uses the first action as the default action. To move an >>> action to the top of the list you can use the following code: >>> >>> (helm-delete-action-from-source "Insert BibTeX key" helm-source-bibte= x) >>> (helm-add-action-to-source "Insert BibTeX key" 'helm-bibtex-insert-key >>> helm-source-bibtex 0) >>> >>> The second argument in the second line is the function that executes the >>> action. Here is a list of all actions and their functions: >>> >>> Open PDF file (if present): helm-bibtex-open-pdf >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >>> Insert citation: helm-bibtex-insert-citation >>> Insert reference: helm-bibtex-insert-reference >>> Insert BibTeX key: helm-bibtex-insert-key >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >>> Edit notes: helm-bibtex-edit-notes >>> Show entry: helm-bibtex-show-entry >>> >>> Best, >>> >>> Titus >>> >>> > >>> > best >>> > >>> > Z >>> > >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >>> malsburg@posteo.de> >>> > wrote: >>> > >>> >> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >>> >> > Hi Titus and thx so much for the answers! >>> >> > >>> >> > i will in the future use the github page to make requests. >>> >> > >>> >> > "The number of matches will be displayed in the mode line. " >>> >> > >>> >> > i see that now thx! :) the problem was(is) that its colored black = on >>> my >>> >> > black modline BG which makes it invisible ;-) i assume thats an he= lm >>> >> config >>> >> > i need to change >>> >> > >>> >> > >>> >> > "If you don=E2=80=99t want to type these search expressions, you c= ould >>> create a >>> >> > command that invokes helm-bibtex with a default search expression = and >>> >> that >>> >> > command could be bound to a keyboard shortcut." >>> >> > >>> >> > that would be prefect for me and a solution to my issue. would you >>> mind >>> >> > giving an example of such a code chunk. unfortunately i dont know >>> elisp >>> >> though >>> >> > as john recommended i will do my best this summer when the semester >>> ends >>> >> to >>> >> > try and pick it up :) >>> >> >>> >> Sure, here you go: >>> >> >>> >> #+BEGIN_SRC elisp >>> >> ;; Define helm-search with predefined search expression: >>> >> (defun helm-bibtex-my-publications () >>> >> "Search BibTeX entries authored by Xebar Saram." >>> >> (interactive) >>> >> (helm :sources '(helm-source-bibtex) >>> >> :full-frame t >>> >> :input "xebar saram" >>> >> :candidate-number-limit 500)) >>> >> >>> >> ;; Bind this search function to Ctrl-x p: >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >>> >> #+END_SRC >>> >> >>> >> > i will definitely use your tag system as you recommended, sounds >>> perfect >>> >> > for me >>> >> >>> >> The tag system also comes in handy when generating publication lists >>> for >>> >> CVs and web pages because BibTeX does not distinguish between >>> conference >>> >> papers, posters, and talks. If you have tags for that, it=E2=80=99s= relatively >>> >> easy to create separate sections for these types of publications usi= ng >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. >>> >> >>> >> > thanks again for your kind help and the amazing app ;-) >>> >> >>> >> You are welcome. >>> >> >>> >> Titus >>> >> >>> >> > >>> >> > best >>> >> > >>> >> > Z >>> >> > >>> >> > >>> >> > >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >>> >> malsburg@posteo.de >>> >> >> wrote: >>> >> > >>> >> >> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >>> >> >> > Hi Titus >>> >> >> > >>> >> >> > I have been exploring helm-bibtex a bit today and have some >>> questions. >>> >> >> btw >>> >> >> > is this the preferred way to make requests/ask questions or is >>> >> >> > github preferred? >>> >> >> >>> >> >> Helm-bibtex is not part of org (although it tries to work well wi= th >>> >> >> org). So I=E2=80=99m not sure whether this list is the best plac= e for >>> >> >> discussing it. For now the issue tracker on Github might be a >>> better >>> >> >> option: >>> >> >> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >>> >> >> >>> >> >> > in any case i was wondering a few things: >>> >> >> > >>> >> >> > 1. is it possible to have custom sorting? i want all views to >>> sort by >>> >> >> > Author, year, month >>> >> >> >>> >> >> I prefer to see the entries in the (inverse) order in which they >>> appear >>> >> >> in the BibTeX file. This way, recent additions show up at the >>> >> >> top. However, I agree that sorting would be useful (see issues #5 >>> and >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull re= quests >>> welcome. >>> >> >> >>> >> >> > 2. i would really like a way to have stored smart groups (like = the >>> >> jabref >>> >> >> > dynamic groups if your aware of that). that is for example crea= te >>> a >>> >> group >>> >> >> > that auto selects all publications i have (by my first/last nam= e) >>> and >>> >> >> shows >>> >> >> > the count (in numbers) of these publications. >>> >> >> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems that all >>> helm-bibtex is >>> >> >> doing is giving you very flexible smart groups defined by your >>> search >>> >> >> expressions. For example, if you want a list of your publication= s, >>> you >>> >> >> can simple enter your name. And if you want a list of your >>> articles, >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you want= all your articles >>> from >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And so = on. The number of >>> >> >> matches will be displayed in the mode line. If you don=E2=80=99t= want to >>> type >>> >> >> these search expressions, you could create a command that invokes >>> >> >> helm-bibtex with a default search expression and that command cou= ld >>> be >>> >> >> bound to a keyboard shortcut. >>> >> >> >>> >> >> > Another example is a group to keep track of all the papers im >>> working >>> >> on >>> >> >> or >>> >> >> > invloved with by matching keyword author and prep/*other key wo= rd >>> >> >> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80= =9D for keywords >>> >> >> describing the content of the paper (as usual) and =E2=80=9Ctags= =E2=80=9D for meta >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2= =80=9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80=9D, >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all arti= cles in progress, I search >>> for >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-st= andard, it has to >>> be >>> >> >> added to `helm-bibtex-additional-search-fields`. >>> >> >> >>> >> >> Another solution would be to use the pubstate field and to search >>> for >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >>> >> >> helm-bibtex-additional-search-fields for this to work). >>> >> >> >>> >> >> > 3.is it possible to ass an option to auto generate a bibkey for= a >>> >> >> selected >>> >> >> > citation based on user criteria such as author(date)short-title? >>> >> >> >>> >> >> Maintaining the content of the BibTeX file not really in the scope >>> of >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). Perha= ps >>> >> >> org-ref or ebib can help here? Once you have a function that >>> generates >>> >> >> a new key and inserts it in the BibTeX file, you can easily add it >>> to >>> >> >> the list of actions in helm-bibtex. >>> >> >> >>> >> >> Hope that helps. >>> >> >> >>> >> >> Titus >>> >> >> >>> >> >> > thx so much in advance, you and john have given me confidence to >>> >> finally >>> >> >> > dive into the whole latex/bibteX world >>> >> >> > >>> >> >> > best >>> >> >> > >>> >> >> > Z >>> >> >> >>> >> >> >>> >> >>> >> >>> >>> >> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJViCXCAAoJEK40WfPGE2id3nsH/0WgE2ntlgWSDyj+6mQx1Y99 AZD0N7wwSeeKHPK2A7PbbKmxgL075Jcvm9fYH3ReF5y41pRnRhke4HfmnsdMNU+b hA3z8+iepcK2AK9F6qUyBKnUKVWH96nw0P9lIWAtJoDCVJaFXmOPLP/4xIfUrBzn 9VMic+I4ddGQblMcm/gHmdnuRCHS++BsrWsYsaw3xroBd3cjbNvPMSbiYHkJFSRU YeCrJy3sZ8MqZRVl4cCw8GUyznTKBRZDhWPQZGO6Vx5w/3RK3kv8XvYeerfuEGYL O97AOyOQ1OUsVc0cTTQhpyQLx4uKJ+CHv77RE4FOma4ipwoXk8+7CLWbPs8sOew= =IPxq -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Wed, 24 Jun 2015 22:54:28 +0300 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> <87vbefkcal.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bfe9a90e5fede051948df16 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7qkj-00035J-VX for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 15:54:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7qkg-0006Uq-Oh for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 15:54:33 -0400 Received: from mail-pd0-x22a.google.com ([2607:f8b0:400e:c02::22a]:35781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7qkg-0006UZ-5k for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 15:54:30 -0400 Received: by pdbci14 with SMTP id ci14so37065315pdb.2 for ; Wed, 24 Jun 2015 12:54:28 -0700 (PDT) In-Reply-To: <87vbefkcal.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg Cc: org mode , John Kitchin --047d7bfe9a90e5fede051948df16 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable John First of all thanks so much for the excellent org-ref-clean-bibtex-entry function i love it! also your blog post on cleaning the bib file is a life saver i have 800 references, is there a way to auto make org-ref-clean-bibtex-entry go thorough my whole bib file instead of me going and cleaning it 1 by 1? kind regards Z. On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg wrote: > > > Here is my CV in org-mode: > > https://gist.github.com/tmalsburg/96084ba82281937c26b7 > > It=E2=80=99s a pretty straightforward org document except for one thing: = the key > to making this work was biblatex which can be used to create several > lists of references filtered according to keywords, author, etc. This > allowed me to have separate sections for journal articles, conference > presentations, etc. I store the relevant keywords in the tags field of > the BibTeX entries and since biblatex doesn=E2=80=99t know this field, I = copy > the tags on-the-fly to the keywords field (see DeclareSourcemap in the > LaTeX headers). > > Titus > > On 2015-06-22 Mon 07:28, Xebar Saram wrote: > > Hi John > > > > a bit off topic, but do you also write your academic CV in orgmode or > > lateX? in anycase would you mind sharing your org/latex CV template? it > > would be helpful as a starting point for me if thats possible. > > > > kind regards and thanks so much in advance > > > > Z > > > > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin > > wrote: > > > >> sweet! I did not know you could do that! I will be refactoring org-ref > >> soon to do that instead of redefining the commands! > >> > >> John > >> > >> ----------------------------------- > >> 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 > >> > >> > >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < > >> malsburg@posteo.de> wrote: > >> > >>> > >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: > >>> > Hi again Titus > >>> > > >>> > 2 quick questions that arose from using helm-bitex today extensivel= y: > >>> > > >>> > how does one exclude in the search items? for example i want to > search > >>> for > >>> > xebar without keyword "progress" (I want to exclude in progress > articles > >>> > not published yet) > >>> > > >>> > is it possible to define default enter command in helm-bibtex ? > >>> > >>> Yes. Helm uses the first action as the default action. To move an > >>> action to the top of the list you can use the following code: > >>> > >>> (helm-delete-action-from-source "Insert BibTeX key" > helm-source-bibtex) > >>> (helm-add-action-to-source "Insert BibTeX key" > 'helm-bibtex-insert-key > >>> helm-source-bibtex 0) > >>> > >>> The second argument in the second line is the function that executes > the > >>> action. Here is a list of all actions and their functions: > >>> > >>> Open PDF file (if present): helm-bibtex-open-pdf > >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi > >>> Insert citation: helm-bibtex-insert-citation > >>> Insert reference: helm-bibtex-insert-reference > >>> Insert BibTeX key: helm-bibtex-insert-key > >>> Insert BibTeX entry: helm-bibtex-insert-bibtex > >>> Attach PDF to email: helm-bibtex-add-PDF-attachment > >>> Edit notes: helm-bibtex-edit-notes > >>> Show entry: helm-bibtex-show-entry > >>> > >>> Best, > >>> > >>> Titus > >>> > >>> > > >>> > best > >>> > > >>> > Z > >>> > > >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < > >>> malsburg@posteo.de> > >>> > wrote: > >>> > > >>> >> > >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: > >>> >> > Hi Titus and thx so much for the answers! > >>> >> > > >>> >> > i will in the future use the github page to make requests. > >>> >> > > >>> >> > "The number of matches will be displayed in the mode line. " > >>> >> > > >>> >> > i see that now thx! :) the problem was(is) that its colored blac= k > on > >>> my > >>> >> > black modline BG which makes it invisible ;-) i assume thats an > helm > >>> >> config > >>> >> > i need to change > >>> >> > > >>> >> > > >>> >> > "If you don=E2=80=99t want to type these search expressions, you= could > >>> create a > >>> >> > command that invokes helm-bibtex with a default search expressio= n > and > >>> >> that > >>> >> > command could be bound to a keyboard shortcut." > >>> >> > > >>> >> > that would be prefect for me and a solution to my issue. would y= ou > >>> mind > >>> >> > giving an example of such a code chunk. unfortunately i dont kno= w > >>> elisp > >>> >> though > >>> >> > as john recommended i will do my best this summer when the > semester > >>> ends > >>> >> to > >>> >> > try and pick it up :) > >>> >> > >>> >> Sure, here you go: > >>> >> > >>> >> #+BEGIN_SRC elisp > >>> >> ;; Define helm-search with predefined search expression: > >>> >> (defun helm-bibtex-my-publications () > >>> >> "Search BibTeX entries authored by Xebar Saram." > >>> >> (interactive) > >>> >> (helm :sources '(helm-source-bibtex) > >>> >> :full-frame t > >>> >> :input "xebar saram" > >>> >> :candidate-number-limit 500)) > >>> >> > >>> >> ;; Bind this search function to Ctrl-x p: > >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) > >>> >> #+END_SRC > >>> >> > >>> >> > i will definitely use your tag system as you recommended, sounds > >>> perfect > >>> >> > for me > >>> >> > >>> >> The tag system also comes in handy when generating publication lis= ts > >>> for > >>> >> CVs and web pages because BibTeX does not distinguish between > >>> conference > >>> >> papers, posters, and talks. If you have tags for that, it=E2=80= =99s > relatively > >>> >> easy to create separate sections for these types of publications > using > >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. > >>> >> > >>> >> > thanks again for your kind help and the amazing app ;-) > >>> >> > >>> >> You are welcome. > >>> >> > >>> >> Titus > >>> >> > >>> >> > > >>> >> > best > >>> >> > > >>> >> > Z > >>> >> > > >>> >> > > >>> >> > > >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < > >>> >> malsburg@posteo.de > >>> >> >> wrote: > >>> >> > > >>> >> >> > >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: > >>> >> >> > Hi Titus > >>> >> >> > > >>> >> >> > I have been exploring helm-bibtex a bit today and have some > >>> questions. > >>> >> >> btw > >>> >> >> > is this the preferred way to make requests/ask questions or i= s > >>> >> >> > github preferred? > >>> >> >> > >>> >> >> Helm-bibtex is not part of org (although it tries to work well > with > >>> >> >> org). So I=E2=80=99m not sure whether this list is the best pl= ace for > >>> >> >> discussing it. For now the issue tracker on Github might be a > >>> better > >>> >> >> option: > >>> >> >> > >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues > >>> >> >> > >>> >> >> > in any case i was wondering a few things: > >>> >> >> > > >>> >> >> > 1. is it possible to have custom sorting? i want all views to > >>> sort by > >>> >> >> > Author, year, month > >>> >> >> > >>> >> >> I prefer to see the entries in the (inverse) order in which the= y > >>> appear > >>> >> >> in the BibTeX file. This way, recent additions show up at the > >>> >> >> top. However, I agree that sorting would be useful (see issues > #5 > >>> and > >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull = requests > >>> welcome. > >>> >> >> > >>> >> >> > 2. i would really like a way to have stored smart groups (lik= e > the > >>> >> jabref > >>> >> >> > dynamic groups if your aware of that). that is for example > create > >>> a > >>> >> group > >>> >> >> > that auto selects all publications i have (by my first/last > name) > >>> and > >>> >> >> shows > >>> >> >> > the count (in numbers) of these publications. > >>> >> >> > >>> >> >> I=E2=80=99m not familiar with smart groups but it seems that al= l > >>> helm-bibtex is > >>> >> >> doing is giving you very flexible smart groups defined by your > >>> search > >>> >> >> expressions. For example, if you want a list of your > publications, > >>> you > >>> >> >> can simple enter your name. And if you want a list of your > >>> articles, > >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you wa= nt all your > articles > >>> from > >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And s= o on. The number > of > >>> >> >> matches will be displayed in the mode line. If you don=E2=80= =99t want to > >>> type > >>> >> >> these search expressions, you could create a command that invok= es > >>> >> >> helm-bibtex with a default search expression and that command > could > >>> be > >>> >> >> bound to a keyboard shortcut. > >>> >> >> > >>> >> >> > Another example is a group to keep track of all the papers im > >>> working > >>> >> on > >>> >> >> or > >>> >> >> > invloved with by matching keyword author and prep/*other key > word > >>> >> >> > >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80= =9D for keywords > >>> >> >> describing the content of the paper (as usual) and =E2=80=9Ctag= s=E2=80=9D for > meta > >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2= =80=9Cmanuscript=E2=80=9D, > =E2=80=9Cposter=E2=80=9D, > >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all ar= ticles in progress, I > search > >>> for > >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-= standard, it has > to > >>> be > >>> >> >> added to `helm-bibtex-additional-search-fields`. > >>> >> >> > >>> >> >> Another solution would be to use the pubstate field and to sear= ch > >>> for > >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to > >>> >> >> helm-bibtex-additional-search-fields for this to work). > >>> >> >> > >>> >> >> > 3.is it possible to ass an option to auto generate a bibkey > for a > >>> >> >> selected > >>> >> >> > citation based on user criteria such as > author(date)short-title? > >>> >> >> > >>> >> >> Maintaining the content of the BibTeX file not really in the > scope > >>> of > >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). > Perhaps > >>> >> >> org-ref or ebib can help here? Once you have a function that > >>> generates > >>> >> >> a new key and inserts it in the BibTeX file, you can easily add > it > >>> to > >>> >> >> the list of actions in helm-bibtex. > >>> >> >> > >>> >> >> Hope that helps. > >>> >> >> > >>> >> >> Titus > >>> >> >> > >>> >> >> > thx so much in advance, you and john have given me confidence > to > >>> >> finally > >>> >> >> > dive into the whole latex/bibteX world > >>> >> >> > > >>> >> >> > best > >>> >> >> > > >>> >> >> > Z > >>> >> >> > >>> >> >> > >>> >> > >>> >> > >>> > >>> > >> > > --047d7bfe9a90e5fede051948df16 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
John

First of all thanks so much for th= e excellent=C2=A0org-ref-clean-bibtex-entry function i love it!
a= lso your blog post on cleaning the bib file is a life saver

<= /div>
i have 800 references, is there a way to auto make=C2=A0org-ref-c= lean-bibtex-entry go thorough my whole bib file instead of me going and cle= aning it 1 by 1?

kind regards

=
Z.

On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg <malsburg@poste= o.de> wrote:


Here is my CV in org-mode:

=C2=A0 https://gist.github.com/tmalsburg/96084= ba82281937c26b7

It=E2=80=99s a pretty straightforward org document except for one thing: th= e key
to making this work was biblatex which can be used to create several
lists of references filtered according to keywords, author, etc.=C2=A0 This=
allowed me to have separate sections for journal articles, conference
presentations, etc.=C2=A0 I store the relevant keywords in the tags field o= f
the BibTeX entries and since biblatex doesn=E2=80=99t know this field, I co= py
the tags on-the-fly to the keywords field (see DeclareSourcemap in the
LaTeX headers).

=C2=A0 Titus

On 2015-06-22 Mon 07:28, Xebar Saram wrote:
> Hi John
>
> a bit off topic, but do you also write your academic CV in orgmode or<= br> > lateX? in anycase would you mind sharing your org/latex CV template? i= t
> would be helpful as a starting point for me if thats possible.
>
> kind regards and thanks so much in advance
>
> Z
>
> On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin <jkitchin@andrew.cmu.edu>
> wrote:
>
>> sweet! I did not know you could do that! I will be refactoring org= -ref
>> soon to do that instead of redefining the commands!
>>
>> John
>>
>> -----------------------------------
>> 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
>>
>>
>> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg <
>> malsburg@posteo.de> w= rote:
>>
>>>
>>> On 2015-06-19 Fri 03:56, Xebar Saram wrote:
>>> > Hi again Titus
>>> >
>>> > 2 quick questions that arose from using helm-bitex today = extensively:
>>> >
>>> > how does one exclude in the search items? for example i w= ant to search
>>> for
>>> > xebar without keyword "progress" (I want to exc= lude in progress articles
>>> > not published yet)
>>> >
>>> > is it possible to define default enter command in helm-bi= btex ?
>>>
>>> Yes.=C2=A0 Helm uses the first action as the default action.= =C2=A0 To move an
>>> action to the top of the list you can use the following code:<= br> >>>
>>>=C2=A0 =C2=A0(helm-delete-action-from-source "Insert BibTe= X key" helm-source-bibtex)
>>>=C2=A0 =C2=A0(helm-add-action-to-source "Insert BibTeX key= " 'helm-bibtex-insert-key
>>> helm-source-bibtex 0)
>>>
>>> The second argument in the second line is the function that ex= ecutes the
>>> action.=C2=A0 Here is a list of all actions and their function= s:
>>>
>>>=C2=A0 =C2=A0Open PDF file (if present): helm-bibtex-open-pdf >>>=C2=A0 =C2=A0Open URL or DOI in browser: helm-bibtex-open-url-o= r-doi
>>>=C2=A0 =C2=A0Insert citation: helm-bibtex-insert-citation
>>>=C2=A0 =C2=A0Insert reference: helm-bibtex-insert-reference
>>>=C2=A0 =C2=A0Insert BibTeX key: helm-bibtex-insert-key
>>>=C2=A0 =C2=A0Insert BibTeX entry: helm-bibtex-insert-bibtex
>>>=C2=A0 =C2=A0Attach PDF to email: helm-bibtex-add-PDF-attachmen= t
>>>=C2=A0 =C2=A0Edit notes: helm-bibtex-edit-notes
>>>=C2=A0 =C2=A0Show entry: helm-bibtex-show-entry
>>>
>>> Best,
>>>
>>>=C2=A0 =C2=A0Titus
>>>
>>> >
>>> > best
>>> >
>>> > Z
>>> >
>>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg &= lt;
>>> malsburg@posteo.de&g= t;
>>> > wrote:
>>> >
>>> >>
>>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote:
>>> >> > Hi Titus and thx so much for the answers!
>>> >> >
>>> >> > i will in the future use the github page to make= requests.
>>> >> >
>>> >> > "The number of matches will be displayed in= the mode line. "
>>> >> >
>>> >> > i see that now thx! :) the problem was(is) that = its colored black on
>>> my
>>> >> > black modline BG which makes it invisible ;-) i = assume thats an helm
>>> >> config
>>> >> > i need to change
>>> >> >
>>> >> >
>>> >> > "If you don=E2=80=99t want to type these se= arch expressions, you could
>>> create a
>>> >> > command that invokes helm-bibtex with a default = search expression and
>>> >> that
>>> >> > command could be bound to a keyboard shortcut.&q= uot;
>>> >> >
>>> >> > that would be prefect for me and a solution to m= y issue. would you
>>> mind
>>> >> > giving an example of such a code chunk. unfortun= ately i dont know
>>> elisp
>>> >> though
>>> >> > as john recommended i will do my best this summe= r when the semester
>>> ends
>>> >> to
>>> >> > try and pick it up :)
>>> >>
>>> >> Sure, here you go:
>>> >>
>>> >> #+BEGIN_SRC elisp
>>> >> ;; Define helm-search with predefined search expressi= on:
>>> >> (defun helm-bibtex-my-publications ()
>>> >>=C2=A0 =C2=A0"Search BibTeX entries authored by X= ebar Saram."
>>> >>=C2=A0 =C2=A0(interactive)
>>> >>=C2=A0 =C2=A0(helm :sources '(helm-source-bibtex)<= br> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:full-frame t
>>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:input "xebar s= aram"
>>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:candidate-number-li= mit 500))
>>> >>
>>> >> ;; Bind this search function to Ctrl-x p:
>>> >> (global-set-key (kbd "C-x p") 'helm-bib= tex-my-publications)
>>> >> #+END_SRC
>>> >>
>>> >> > i will definitely use your tag system as you rec= ommended, sounds
>>> perfect
>>> >> > for me
>>> >>
>>> >> The tag system also comes in handy when generating pu= blication lists
>>> for
>>> >> CVs and web pages because BibTeX does not distinguish= between
>>> conference
>>> >> papers, posters, and talks.=C2=A0 If you have tags fo= r that, it=E2=80=99s relatively
>>> >> easy to create separate sections for these types of p= ublications using
>>> >> biblatex or bib2bib and bibtex2html in the case of we= b pages.
>>> >>
>>> >> > thanks again for your kind help and the amazing = app ;-)
>>> >>
>>> >> You are welcome.
>>> >>
>>> >>=C2=A0 =C2=A0Titus
>>> >>
>>> >> >
>>> >> > best
>>> >> >
>>> >> > Z
>>> >> >
>>> >> >
>>> >> >
>>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der = Malsburg <
>>> >> malsburg@posteo= .de
>>> >> >> wrote:
>>> >> >
>>> >> >>
>>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote:<= br> >>> >> >> > Hi Titus
>>> >> >> >
>>> >> >> > I have been exploring helm-bibtex a bit= today and have some
>>> questions.
>>> >> >> btw
>>> >> >> > is this the preferred way to make reque= sts/ask questions or is
>>> >> >> > github preferred?
>>> >> >>
>>> >> >> Helm-bibtex is not part of org (although it = tries to work well with
>>> >> >> org).=C2=A0 So I=E2=80=99m not sure whether = this list is the best place for
>>> >> >> discussing it.=C2=A0 For now the issue track= er on Github might be a
>>> better
>>> >> >> option:
>>> >> >>
>>> >> >>=C2=A0 =C2=A0https://gi= thub.com/tmalsburg/helm-bibtex/issues
>>> >> >>
>>> >> >> > in any case i was wondering a few thing= s:
>>> >> >> >
>>> >> >> > 1. is it possible to have custom sortin= g? i want all views to
>>> sort by
>>> >> >> > Author, year, month
>>> >> >>
>>> >> >> I prefer to see the entries in the (inverse)= order in which they
>>> appear
>>> >> >> in the BibTeX file.=C2=A0 This way, recent a= dditions show up at the
>>> >> >> top.=C2=A0 However, I agree that sorting wou= ld be useful (see issues #5
>>> and
>>> >> >> #21); it just doesn=E2=80=99t have high prio= rity for me.=C2=A0 Pull requests
>>> welcome.
>>> >> >>
>>> >> >> > 2. i would really like a way to have st= ored smart groups (like the
>>> >> jabref
>>> >> >> > dynamic groups if your aware of that). = that is for example create
>>> a
>>> >> group
>>> >> >> > that auto selects all publications i ha= ve (by my first/last name)
>>> and
>>> >> >> shows
>>> >> >> > the count (in numbers) of these publica= tions.
>>> >> >>
>>> >> >> I=E2=80=99m not familiar with smart groups b= ut it seems that all
>>> helm-bibtex is
>>> >> >> doing is giving you very flexible smart grou= ps defined by your
>>> search
>>> >> >> expressions.=C2=A0 For example, if you want = a list of your publications,
>>> you
>>> >> >> can simple enter your name.=C2=A0 And if you= want a list of your
>>> articles,
>>> >> >> you can enter your name + =E2=80=9Carticle= =E2=80=9D.=C2=A0 If you want all your articles
>>> from
>>> >> >> 2010, enter your name + =E2=80=9Carticles 20= 10=E2=80=9D.=C2=A0 And so on.=C2=A0 The number of
>>> >> >> matches will be displayed in the mode line.= =C2=A0 If you don=E2=80=99t want to
>>> type
>>> >> >> these search expressions, you could create a= command that invokes
>>> >> >> helm-bibtex with a default search expression= and that command could
>>> be
>>> >> >> bound to a keyboard shortcut.
>>> >> >>
>>> >> >> > Another example is a group to keep trac= k of all the papers im
>>> working
>>> >> on
>>> >> >> or
>>> >> >> > invloved with by matching keyword autho= r and prep/*other key word
>>> >> >>
>>> >> >> I use two BibTeX fields to tag entries: =E2= =80=9Ckeywords=E2=80=9D for keywords
>>> >> >> describing the content of the paper (as usua= l) and =E2=80=9Ctags=E2=80=9D for meta
>>> >> >> data.=C2=A0 Values that I use in tags are = =E2=80=9Cown=E2=80=9D, =E2=80=9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80= =9D,
>>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I wa= nt a list of all articles in progress, I search
>>> for
>>> >> >> =E2=80=9Cown manuscript=E2=80=9D.=C2=A0 Sinc= e the tags field is non-standard, it has to
>>> be
>>> >> >> added to `helm-bibtex-additional-search-fiel= ds`.
>>> >> >>
>>> >> >> Another solution would be to use the pubstat= e field and to search
>>> for
>>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D = (add pubstate to
>>> >> >> helm-bibtex-additional-search-fields for thi= s to work).
>>> >> >>
>>> >> >> > 3.is it possible to ass an option to auto generat= e a bibkey for a
>>> >> >> selected
>>> >> >> > citation based on user criteria such as= author(date)short-title?
>>> >> >>
>>> >> >> Maintaining the content of the BibTeX file n= ot really in the scope
>>> of
>>> >> >> helm-bibtex (I prefer to write my BibTeX ent= ries by hand).=C2=A0 Perhaps
>>> >> >> org-ref or ebib can help here?=C2=A0 Once yo= u have a function that
>>> generates
>>> >> >> a new key and inserts it in the BibTeX file,= you can easily add it
>>> to
>>> >> >> the list of actions in helm-bibtex.
>>> >> >>
>>> >> >> Hope that helps.
>>> >> >>
>>> >> >>=C2=A0 =C2=A0Titus
>>> >> >>
>>> >> >> > thx so much in advance, you and john ha= ve given me confidence to
>>> >> finally
>>> >> >> > dive into the whole latex/bibteX world<= br> >>> >> >> >
>>> >> >> > best
>>> >> >> >
>>> >> >> > Z
>>> >> >>
>>> >> >>
>>> >>
>>> >>
>>>
>>>
>>


--047d7bfe9a90e5fede051948df16-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Wed, 24 Jun 2015 17:03:58 -0400 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> <87vbefkcal.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rq6-0004BF-98 for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 17:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7rq3-0005Ht-0T for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 17:04:10 -0400 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:34760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rq2-0005H8-Qf for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 17:04:06 -0400 Received: by qgev13 with SMTP id v13so18550840qge.1 for ; Wed, 24 Jun 2015 14:04:06 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode , Titus von der Malsburg yes, there is a way ;) First. Make sure you have a backup of the references. I like to keep mine in a local git repo so you can undo any mistakes that get made. I suggest you run these first: %% (bibtex-validate-globally) ; checks for duplicate keys %% (bibtex-validate) I also recommend you run bibtex-sort (it is easier to spot duplicates in a sorted list). and (org-ref-build-full-bibliography) <- makes a pdf of all references. to make sure everything is compliant and functional. Then, put this next line at the top of your bibtex file. The t argument to org-ref-clean-bibtex-entry will preserve your existing keys. % (bibtex-map-entries (lambda (key start end) (org-ref-clean-bibtex-entry t= ))) Put your cursor at the end of that line, and type C-x C-e to run the functi= on, and wait patiently. It took a few minutes on my 1300 entries, and I had to restart it once on some entry. when it is done, run (org-ref-build-full-bibliography) again to make sure it works and review the ~200 page pdf ;). fix errors and repeat until = it builds ;) Note if you want to change title cases in all entries you can use % (bibtex-map-entries 'jmax-title-case-article) % (bibtex-map-entries 'jmax-sentence-case-article) I hope that helps! Xebar Saram writes: > John > > First of all thanks so much for the excellent org-ref-clean-bibtex-entry > function i love it! > also your blog post on cleaning the bib file is a life saver > > i have 800 references, is there a way to auto > make org-ref-clean-bibtex-entry go thorough my whole bib file instead of = me > going and cleaning it 1 by 1? > > kind regards > > Z. > > On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg > wrote: > >> >> >> Here is my CV in org-mode: >> >> https://gist.github.com/tmalsburg/96084ba82281937c26b7 >> >> It=E2=80=99s a pretty straightforward org document except for one thing:= the key >> to making this work was biblatex which can be used to create several >> lists of references filtered according to keywords, author, etc. This >> allowed me to have separate sections for journal articles, conference >> presentations, etc. I store the relevant keywords in the tags field of >> the BibTeX entries and since biblatex doesn=E2=80=99t know this field, I= copy >> the tags on-the-fly to the keywords field (see DeclareSourcemap in the >> LaTeX headers). >> >> Titus >> >> On 2015-06-22 Mon 07:28, Xebar Saram wrote: >> > Hi John >> > >> > a bit off topic, but do you also write your academic CV in orgmode or >> > lateX? in anycase would you mind sharing your org/latex CV template? it >> > would be helpful as a starting point for me if thats possible. >> > >> > kind regards and thanks so much in advance >> > >> > Z >> > >> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin >> > wrote: >> > >> >> sweet! I did not know you could do that! I will be refactoring org-ref >> >> soon to do that instead of redefining the commands! >> >> >> >> John >> >> >> >> ----------------------------------- >> >> 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 >> >> >> >> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >> >> malsburg@posteo.de> wrote: >> >> >> >>> >> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >> >>> > Hi again Titus >> >>> > >> >>> > 2 quick questions that arose from using helm-bitex today extensive= ly: >> >>> > >> >>> > how does one exclude in the search items? for example i want to >> search >> >>> for >> >>> > xebar without keyword "progress" (I want to exclude in progress >> articles >> >>> > not published yet) >> >>> > >> >>> > is it possible to define default enter command in helm-bibtex ? >> >>> >> >>> Yes. Helm uses the first action as the default action. To move an >> >>> action to the top of the list you can use the following code: >> >>> >> >>> (helm-delete-action-from-source "Insert BibTeX key" >> helm-source-bibtex) >> >>> (helm-add-action-to-source "Insert BibTeX key" >> 'helm-bibtex-insert-key >> >>> helm-source-bibtex 0) >> >>> >> >>> The second argument in the second line is the function that executes >> the >> >>> action. Here is a list of all actions and their functions: >> >>> >> >>> Open PDF file (if present): helm-bibtex-open-pdf >> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >> >>> Insert citation: helm-bibtex-insert-citation >> >>> Insert reference: helm-bibtex-insert-reference >> >>> Insert BibTeX key: helm-bibtex-insert-key >> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >> >>> Edit notes: helm-bibtex-edit-notes >> >>> Show entry: helm-bibtex-show-entry >> >>> >> >>> Best, >> >>> >> >>> Titus >> >>> >> >>> > >> >>> > best >> >>> > >> >>> > Z >> >>> > >> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >> >>> malsburg@posteo.de> >> >>> > wrote: >> >>> > >> >>> >> >> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >> >>> >> > Hi Titus and thx so much for the answers! >> >>> >> > >> >>> >> > i will in the future use the github page to make requests. >> >>> >> > >> >>> >> > "The number of matches will be displayed in the mode line. " >> >>> >> > >> >>> >> > i see that now thx! :) the problem was(is) that its colored bla= ck >> on >> >>> my >> >>> >> > black modline BG which makes it invisible ;-) i assume thats an >> helm >> >>> >> config >> >>> >> > i need to change >> >>> >> > >> >>> >> > >> >>> >> > "If you don=E2=80=99t want to type these search expressions, yo= u could >> >>> create a >> >>> >> > command that invokes helm-bibtex with a default search expressi= on >> and >> >>> >> that >> >>> >> > command could be bound to a keyboard shortcut." >> >>> >> > >> >>> >> > that would be prefect for me and a solution to my issue. would = you >> >>> mind >> >>> >> > giving an example of such a code chunk. unfortunately i dont kn= ow >> >>> elisp >> >>> >> though >> >>> >> > as john recommended i will do my best this summer when the >> semester >> >>> ends >> >>> >> to >> >>> >> > try and pick it up :) >> >>> >> >> >>> >> Sure, here you go: >> >>> >> >> >>> >> #+BEGIN_SRC elisp >> >>> >> ;; Define helm-search with predefined search expression: >> >>> >> (defun helm-bibtex-my-publications () >> >>> >> "Search BibTeX entries authored by Xebar Saram." >> >>> >> (interactive) >> >>> >> (helm :sources '(helm-source-bibtex) >> >>> >> :full-frame t >> >>> >> :input "xebar saram" >> >>> >> :candidate-number-limit 500)) >> >>> >> >> >>> >> ;; Bind this search function to Ctrl-x p: >> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >> >>> >> #+END_SRC >> >>> >> >> >>> >> > i will definitely use your tag system as you recommended, sounds >> >>> perfect >> >>> >> > for me >> >>> >> >> >>> >> The tag system also comes in handy when generating publication li= sts >> >>> for >> >>> >> CVs and web pages because BibTeX does not distinguish between >> >>> conference >> >>> >> papers, posters, and talks. If you have tags for that, it=E2=80= =99s >> relatively >> >>> >> easy to create separate sections for these types of publications >> using >> >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. >> >>> >> >> >>> >> > thanks again for your kind help and the amazing app ;-) >> >>> >> >> >>> >> You are welcome. >> >>> >> >> >>> >> Titus >> >>> >> >> >>> >> > >> >>> >> > best >> >>> >> > >> >>> >> > Z >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >> >>> >> malsburg@posteo.de >> >>> >> >> wrote: >> >>> >> > >> >>> >> >> >> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> >>> >> >> > Hi Titus >> >>> >> >> > >> >>> >> >> > I have been exploring helm-bibtex a bit today and have some >> >>> questions. >> >>> >> >> btw >> >>> >> >> > is this the preferred way to make requests/ask questions or = is >> >>> >> >> > github preferred? >> >>> >> >> >> >>> >> >> Helm-bibtex is not part of org (although it tries to work well >> with >> >>> >> >> org). So I=E2=80=99m not sure whether this list is the best p= lace for >> >>> >> >> discussing it. For now the issue tracker on Github might be a >> >>> better >> >>> >> >> option: >> >>> >> >> >> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >>> >> >> >> >>> >> >> > in any case i was wondering a few things: >> >>> >> >> > >> >>> >> >> > 1. is it possible to have custom sorting? i want all views to >> >>> sort by >> >>> >> >> > Author, year, month >> >>> >> >> >> >>> >> >> I prefer to see the entries in the (inverse) order in which th= ey >> >>> appear >> >>> >> >> in the BibTeX file. This way, recent additions show up at the >> >>> >> >> top. However, I agree that sorting would be useful (see issues >> #5 >> >>> and >> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull= requests >> >>> welcome. >> >>> >> >> >> >>> >> >> > 2. i would really like a way to have stored smart groups (li= ke >> the >> >>> >> jabref >> >>> >> >> > dynamic groups if your aware of that). that is for example >> create >> >>> a >> >>> >> group >> >>> >> >> > that auto selects all publications i have (by my first/last >> name) >> >>> and >> >>> >> >> shows >> >>> >> >> > the count (in numbers) of these publications. >> >>> >> >> >> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems that a= ll >> >>> helm-bibtex is >> >>> >> >> doing is giving you very flexible smart groups defined by your >> >>> search >> >>> >> >> expressions. For example, if you want a list of your >> publications, >> >>> you >> >>> >> >> can simple enter your name. And if you want a list of your >> >>> articles, >> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you w= ant all your >> articles >> >>> from >> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And = so on. The number >> of >> >>> >> >> matches will be displayed in the mode line. If you don=E2=80= =99t want to >> >>> type >> >>> >> >> these search expressions, you could create a command that invo= kes >> >>> >> >> helm-bibtex with a default search expression and that command >> could >> >>> be >> >>> >> >> bound to a keyboard shortcut. >> >>> >> >> >> >>> >> >> > Another example is a group to keep track of all the papers im >> >>> working >> >>> >> on >> >>> >> >> or >> >>> >> >> > invloved with by matching keyword author and prep/*other key >> word >> >>> >> >> >> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2= =80=9D for keywords >> >>> >> >> describing the content of the paper (as usual) and =E2=80=9Cta= gs=E2=80=9D for >> meta >> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, = =E2=80=9Cmanuscript=E2=80=9D, >> =E2=80=9Cposter=E2=80=9D, >> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all a= rticles in progress, I >> search >> >>> for >> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non= -standard, it has >> to >> >>> be >> >>> >> >> added to `helm-bibtex-additional-search-fields`. >> >>> >> >> >> >>> >> >> Another solution would be to use the pubstate field and to sea= rch >> >>> for >> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >> >>> >> >> helm-bibtex-additional-search-fields for this to work). >> >>> >> >> >> >>> >> >> > 3.is it possible to ass an option to auto generate a bibkey >> for a >> >>> >> >> selected >> >>> >> >> > citation based on user criteria such as >> author(date)short-title? >> >>> >> >> >> >>> >> >> Maintaining the content of the BibTeX file not really in the >> scope >> >>> of >> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). >> Perhaps >> >>> >> >> org-ref or ebib can help here? Once you have a function that >> >>> generates >> >>> >> >> a new key and inserts it in the BibTeX file, you can easily add >> it >> >>> to >> >>> >> >> the list of actions in helm-bibtex. >> >>> >> >> >> >>> >> >> Hope that helps. >> >>> >> >> >> >>> >> >> Titus >> >>> >> >> >> >>> >> >> > thx so much in advance, you and john have given me confidence >> to >> >>> >> finally >> >>> >> >> > dive into the whole latex/bibteX world >> >>> >> >> > >> >>> >> >> > best >> >>> >> >> > >> >>> >> >> > Z >> >>> >> >> >> >>> >> >> >> >>> >> >> >>> >> >> >>> >> >>> >> >> >> >> -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Fri, 26 Jun 2015 10:14:51 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01493b94fee3c00519667e7c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Nqj-00052Z-Ks for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 03:15:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Nqf-0005ud-PA for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 03:14:57 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:32968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Nqf-0005tN-4D for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 03:14:53 -0400 Received: by laka10 with SMTP id a10so58296517lak.0 for ; Fri, 26 Jun 2015 00:14:51 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin , org mode --089e01493b94fee3c00519667e7c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thanks so much again John i did add this line (bibtex-set-dialect 'biblatex) in my init but that dosent seem to do much as i still get the "journal mandatory field missing" error. anything else i can try? best Z On Thu, Jun 25, 2015 at 2:09 PM, John Kitchin wrote: > I believe that is an emacs bibtex issue. You need some kind of line in > your bibtex file to specify it is the biblatex dialect. > > > On June 25, 2015, at 6:58 AM, Xebar Saram wrote: > > > Great, works well. one question though (and this may very well be due to > my inexperience). the jabref export i had used 'journaltitle' instead of > journal to be (to my understanding) compatible with the newer .bib files > used by biblatex (and biber). when i ran org-ref clean it gave an error o= n" > journal mandatory field missing". i had to replace all 'journaltitle' to > 'journal' to get it to work. > is this by design? does org-ref not support the new biblatex/biber .bib > file format? > > kind regards > > Itai > > On Thu, Jun 25, 2015 at 12:03 AM, John Kitchin > wrote: > >> yes, there is a way ;) >> >> First. Make sure you have a backup of the references. I like to keep >> mine in a local git repo so you can undo any mistakes that get made. >> >> I suggest you run these first: >> %% (bibtex-validate-globally) ; checks for duplicate keys >> %% (bibtex-validate) >> >> I also recommend you run bibtex-sort (it is easier to spot duplicates in >> a sorted list). >> >> and (org-ref-build-full-bibliography) <- makes a pdf of all references. >> >> to make sure everything is compliant and functional. >> >> Then, put this next line at the top of your bibtex file. The t argument = to >> org-ref-clean-bibtex-entry will preserve your existing keys. >> >> % (bibtex-map-entries (lambda (key start end) (org-ref-clean-bibtex-entr= y >> t))) >> >> Put your cursor at the end of that line, and type C-x C-e to run the >> function, and >> wait patiently. It took a few minutes on my 1300 entries, and I had to >> restart it once on some entry. >> >> when it is done, run (org-ref-build-full-bibliography) again to make >> sure it works and review the ~200 page pdf ;). fix errors and repeat >> until it builds ;) >> >> Note if you want to change title cases in all entries you can use >> >> % (bibtex-map-entries 'jmax-title-case-article) >> % (bibtex-map-entries 'jmax-sentence-case-article) >> >> I hope that helps! >> >> Xebar Saram writes: >> >> > John >> > >> > First of all thanks so much for the excellent org-ref-clean-bibtex-ent= ry >> > function i love it! >> > also your blog post on cleaning the bib file is a life saver >> > >> > i have 800 references, is there a way to auto >> > make org-ref-clean-bibtex-entry go thorough my whole bib file instead >> of me >> > going and cleaning it 1 by 1? >> > >> > kind regards >> > >> > Z. >> > >> > On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg < >> malsburg@posteo.de> >> > wrote: >> > >> >> >> >> >> >> Here is my CV in org-mode: >> >> >> >> https://gist.github.com/tmalsburg/96084ba82281937c26b7 >> >> >> >> It=E2=80=99s a pretty straightforward org document except for one thi= ng: the >> key >> >> to making this work was biblatex which can be used to create several >> >> lists of references filtered according to keywords, author, etc. Thi= s >> >> allowed me to have separate sections for journal articles, conference >> >> presentations, etc. I store the relevant keywords in the tags field = of >> >> the BibTeX entries and since biblatex doesn=E2=80=99t know this field= , I copy >> >> the tags on-the-fly to the keywords field (see DeclareSourcemap in th= e >> >> LaTeX headers). >> >> >> >> Titus >> >> >> >> On 2015-06-22 Mon 07:28, Xebar Saram wrote: >> >> > Hi John >> >> > >> >> > a bit off topic, but do you also write your academic CV in orgmode = or >> >> > lateX? in anycase would you mind sharing your org/latex CV template= ? >> it >> >> > would be helpful as a starting point for me if thats possible. >> >> > >> >> > kind regards and thanks so much in advance >> >> > >> >> > Z >> >> > >> >> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin < >> jkitchin@andrew.cmu.edu> >> >> > wrote: >> >> > >> >> >> sweet! I did not know you could do that! I will be refactoring >> org-ref >> >> >> soon to do that instead of redefining the commands! >> >> >> >> >> >> John >> >> >> >> >> >> ----------------------------------- >> >> >> 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 >> >> >> >> >> >> >> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >> >> >> malsburg@posteo.de> wrote: >> >> >> >> >> >>> >> >> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >> >> >>> > Hi again Titus >> >> >>> > >> >> >>> > 2 quick questions that arose from using helm-bitex today >> extensively: >> >> >>> > >> >> >>> > how does one exclude in the search items? for example i want to >> >> search >> >> >>> for >> >> >>> > xebar without keyword "progress" (I want to exclude in progress >> >> articles >> >> >>> > not published yet) >> >> >>> > >> >> >>> > is it possible to define default enter command in helm-bibtex ? >> >> >>> >> >> >>> Yes. Helm uses the first action as the default action. To move = an >> >> >>> action to the top of the list you can use the following code: >> >> >>> >> >> >>> (helm-delete-action-from-source "Insert BibTeX key" >> >> helm-source-bibtex) >> >> >>> (helm-add-action-to-source "Insert BibTeX key" >> >> 'helm-bibtex-insert-key >> >> >>> helm-source-bibtex 0) >> >> >>> >> >> >>> The second argument in the second line is the function that >> executes >> >> the >> >> >>> action. Here is a list of all actions and their functions: >> >> >>> >> >> >>> Open PDF file (if present): helm-bibtex-open-pdf >> >> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >> >> >>> Insert citation: helm-bibtex-insert-citation >> >> >>> Insert reference: helm-bibtex-insert-reference >> >> >>> Insert BibTeX key: helm-bibtex-insert-key >> >> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >> >> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >> >> >>> Edit notes: helm-bibtex-edit-notes >> >> >>> Show entry: helm-bibtex-show-entry >> >> >>> >> >> >>> Best, >> >> >>> >> >> >>> Titus >> >> >>> >> >> >>> > >> >> >>> > best >> >> >>> > >> >> >>> > Z >> >> >>> > >> >> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >> >> >>> malsburg@posteo.de> >> >> >>> > wrote: >> >> >>> > >> >> >>> >> >> >> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >> >> >>> >> > Hi Titus and thx so much for the answers! >> >> >>> >> > >> >> >>> >> > i will in the future use the github page to make requests. >> >> >>> >> > >> >> >>> >> > "The number of matches will be displayed in the mode line. " >> >> >>> >> > >> >> >>> >> > i see that now thx! :) the problem was(is) that its colored >> black >> >> on >> >> >>> my >> >> >>> >> > black modline BG which makes it invisible ;-) i assume thats >> an >> >> helm >> >> >>> >> config >> >> >>> >> > i need to change >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > "If you don=E2=80=99t want to type these search expressions,= you could >> >> >>> create a >> >> >>> >> > command that invokes helm-bibtex with a default search >> expression >> >> and >> >> >>> >> that >> >> >>> >> > command could be bound to a keyboard shortcut." >> >> >>> >> > >> >> >>> >> > that would be prefect for me and a solution to my issue. >> would you >> >> >>> mind >> >> >>> >> > giving an example of such a code chunk. unfortunately i dont >> know >> >> >>> elisp >> >> >>> >> though >> >> >>> >> > as john recommended i will do my best this summer when the >> >> semester >> >> >>> ends >> >> >>> >> to >> >> >>> >> > try and pick it up :) >> >> >>> >> >> >> >>> >> Sure, here you go: >> >> >>> >> >> >> >>> >> #+BEGIN_SRC elisp >> >> >>> >> ;; Define helm-search with predefined search expression: >> >> >>> >> (defun helm-bibtex-my-publications () >> >> >>> >> "Search BibTeX entries authored by Xebar Saram." >> >> >>> >> (interactive) >> >> >>> >> (helm :sources '(helm-source-bibtex) >> >> >>> >> :full-frame t >> >> >>> >> :input "xebar saram" >> >> >>> >> :candidate-number-limit 500)) >> >> >>> >> >> >> >>> >> ;; Bind this search function to Ctrl-x p: >> >> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >> >> >>> >> #+END_SRC >> >> >>> >> >> >> >>> >> > i will definitely use your tag system as you recommended, >> sounds >> >> >>> perfect >> >> >>> >> > for me >> >> >>> >> >> >> >>> >> The tag system also comes in handy when generating publication >> lists >> >> >>> for >> >> >>> >> CVs and web pages because BibTeX does not distinguish between >> >> >>> conference >> >> >>> >> papers, posters, and talks. If you have tags for that, it=E2= =80=99s >> >> relatively >> >> >>> >> easy to create separate sections for these types of publicatio= ns >> >> using >> >> >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. >> >> >>> >> >> >> >>> >> > thanks again for your kind help and the amazing app ;-) >> >> >>> >> >> >> >>> >> You are welcome. >> >> >>> >> >> >> >>> >> Titus >> >> >>> >> >> >> >>> >> > >> >> >>> >> > best >> >> >>> >> > >> >> >>> >> > Z >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >> >> >>> >> malsburg@posteo.de >> >> >>> >> >> wrote: >> >> >>> >> > >> >> >>> >> >> >> >> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> >> >>> >> >> > Hi Titus >> >> >>> >> >> > >> >> >>> >> >> > I have been exploring helm-bibtex a bit today and have so= me >> >> >>> questions. >> >> >>> >> >> btw >> >> >>> >> >> > is this the preferred way to make requests/ask questions >> or is >> >> >>> >> >> > github preferred? >> >> >>> >> >> >> >> >>> >> >> Helm-bibtex is not part of org (although it tries to work >> well >> >> with >> >> >>> >> >> org). So I=E2=80=99m not sure whether this list is the bes= t place >> for >> >> >>> >> >> discussing it. For now the issue tracker on Github might b= e >> a >> >> >>> better >> >> >>> >> >> option: >> >> >>> >> >> >> >> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >> >>> >> >> >> >> >>> >> >> > in any case i was wondering a few things: >> >> >>> >> >> > >> >> >>> >> >> > 1. is it possible to have custom sorting? i want all view= s >> to >> >> >>> sort by >> >> >>> >> >> > Author, year, month >> >> >>> >> >> >> >> >>> >> >> I prefer to see the entries in the (inverse) order in which >> they >> >> >>> appear >> >> >>> >> >> in the BibTeX file. This way, recent additions show up at >> the >> >> >>> >> >> top. However, I agree that sorting would be useful (see >> issues >> >> #5 >> >> >>> and >> >> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. P= ull >> requests >> >> >>> welcome. >> >> >>> >> >> >> >> >>> >> >> > 2. i would really like a way to have stored smart groups >> (like >> >> the >> >> >>> >> jabref >> >> >>> >> >> > dynamic groups if your aware of that). that is for exampl= e >> >> create >> >> >>> a >> >> >>> >> group >> >> >>> >> >> > that auto selects all publications i have (by my first/la= st >> >> name) >> >> >>> and >> >> >>> >> >> shows >> >> >>> >> >> > the count (in numbers) of these publications. >> >> >>> >> >> >> >> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems tha= t all >> >> >>> helm-bibtex is >> >> >>> >> >> doing is giving you very flexible smart groups defined by >> your >> >> >>> search >> >> >>> >> >> expressions. For example, if you want a list of your >> >> publications, >> >> >>> you >> >> >>> >> >> can simple enter your name. And if you want a list of your >> >> >>> articles, >> >> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If yo= u want all your >> >> articles >> >> >>> from >> >> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. A= nd so on. The >> number >> >> of >> >> >>> >> >> matches will be displayed in the mode line. If you don=E2= =80=99t >> want to >> >> >>> type >> >> >>> >> >> these search expressions, you could create a command that >> invokes >> >> >>> >> >> helm-bibtex with a default search expression and that comma= nd >> >> could >> >> >>> be >> >> >>> >> >> bound to a keyboard shortcut. >> >> >>> >> >> >> >> >>> >> >> > Another example is a group to keep track of all the paper= s >> im >> >> >>> working >> >> >>> >> on >> >> >>> >> >> or >> >> >>> >> >> > invloved with by matching keyword author and prep/*other >> key >> >> word >> >> >>> >> >> >> >> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords= =E2=80=9D for >> keywords >> >> >>> >> >> describing the content of the paper (as usual) and =E2=80= =9Ctags=E2=80=9D for >> >> meta >> >> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D,= =E2=80=9Cmanuscript=E2=80=9D, >> >> =E2=80=9Cposter=E2=80=9D, >> >> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of al= l articles in progress, I >> >> search >> >> >>> for >> >> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is = non-standard, it >> has >> >> to >> >> >>> be >> >> >>> >> >> added to `helm-bibtex-additional-search-fields`. >> >> >>> >> >> >> >> >>> >> >> Another solution would be to use the pubstate field and to >> search >> >> >>> for >> >> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate t= o >> >> >>> >> >> helm-bibtex-additional-search-fields for this to work). >> >> >>> >> >> >> >> >>> >> >> > 3.is it possible to ass an option to auto generate a >> bibkey >> >> for a >> >> >>> >> >> selected >> >> >>> >> >> > citation based on user criteria such as >> >> author(date)short-title? >> >> >>> >> >> >> >> >>> >> >> Maintaining the content of the BibTeX file not really in th= e >> >> scope >> >> >>> of >> >> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). >> >> Perhaps >> >> >>> >> >> org-ref or ebib can help here? Once you have a function th= at >> >> >>> generates >> >> >>> >> >> a new key and inserts it in the BibTeX file, you can easily >> add >> >> it >> >> >>> to >> >> >>> >> >> the list of actions in helm-bibtex. >> >> >>> >> >> >> >> >>> >> >> Hope that helps. >> >> >>> >> >> >> >> >>> >> >> Titus >> >> >>> >> >> >> >> >>> >> >> > thx so much in advance, you and john have given me >> confidence >> >> to >> >> >>> >> finally >> >> >>> >> >> > dive into the whole latex/bibteX world >> >> >>> >> >> > >> >> >>> >> >> > best >> >> >>> >> >> > >> >> >>> >> >> > Z >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >>> >> >> >> >> >> >> >> >> >> -- >> 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 >> > > --089e01493b94fee3c00519667e7c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thanks so much again John

i did add thi= s line=C2=A0
(bibtex-set-dialect 'biblatex)
in = my init but that dosent seem to do much as i still get the "journal mandatory field missing" er= ror. anything else i can try?

best

Z


On Thu, Jun 25, 2015 at 2:09 PM, John Kitchin = <johnrkitchi= n@gmail.com> wrote:

I believe that is an emacs bibtex issue. You= need some kind of line in your bibtex file to specify it is the biblatex d= ialect.



On June 25, 2015, at 6:58 AM, Xebar Saram <zeltakc@gmail.com> wrote:

<= br>
Great, works well. one question though (and this may very well be due t= o my inexperience). the jabref export i had used 'journaltitle' ins= tead of journal to be (to my understanding) compatible with the newer .bib = files used by biblatex (and biber). when i ran org-ref clean it gave an err= or on" journal mandatory field missing". i had to replace all=C2= =A0'journaltitle'=C2=A0 to 'journal' to get it to work.=C2= =A0
is this by design? does org-ref not support the new biblatex/biber = .bib file format?

kind regards

Itai

On Thu, Jun 25, 2015 at 12:03 AM, John Kitchin <<= a href=3D"mailto:jkitchin@andrew.cmu.edu" target=3D"_blank">jkitchin@andrew= .cmu.edu> wrote:
yes, the= re is a way ;)

First. Make sure you have a backup of the references. I like to keep
mine in a local git repo so you can undo any mistakes that get made.

I suggest you run these first:
%% (bibtex-validate-globally)=C2=A0 =C2=A0; checks for duplicate keys
%% (bibtex-validate)

I also recommend you run bibtex-sort (it is easier to spot duplicates in a sorted list).

and (org-ref-build-full-bibliography) <- makes a pdf of all references.<= br>
to make sure everything is compliant and functional.

Then, put this next line at the top of your bibtex file. The t argument to<= br> org-ref-clean-bibtex-entry will preserve your existing keys.

% (bibtex-map-entries (lambda (key start end) (org-ref-clean-bibtex-entry t= )))

Put your cursor at the end of that line, and type C-x C-e to run the functi= on, and
wait patiently. It took a few minutes on my 1300 entries, and I had to
restart it once on some entry.

when it is done, run (org-ref-build-full-bibliography) again to make
sure it works and review the ~200 page pdf ;). fix errors and repeat until = it builds ;)

Note if you want to change title cases in all entries you can use

% (bibtex-map-entries 'jmax-title-case-article)
% (bibtex-map-entries 'jmax-sentence-case-article)

I hope that helps!

Xebar Saram writes:

> John
>
> First of all thanks so much for the excellent org-ref-clean-bibtex-ent= ry
> function i love it!
> also your blog post on cleaning the bib file is a life saver
>
> i have 800 references, is there a way to auto
> make org-ref-clean-bibtex-entry go thorough my whole bib file instead = of me
> going and cleaning it 1 by 1?
>
> kind regards
>
> Z.
>
> On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg <malsburg@posteo.de> > wrote:
>
>>
>>
>> Here is my CV in org-mode:
>>
>>=C2=A0 =C2=A0https://gist.github.com/t= malsburg/96084ba82281937c26b7
>>
>> It=E2=80=99s a pretty straightforward org document except for one = thing: the key
>> to making this work was biblatex which can be used to create sever= al
>> lists of references filtered according to keywords, author, etc.= =C2=A0 This
>> allowed me to have separate sections for journal articles, confere= nce
>> presentations, etc.=C2=A0 I store the relevant keywords in the tag= s field of
>> the BibTeX entries and since biblatex doesn=E2=80=99t know this fi= eld, I copy
>> the tags on-the-fly to the keywords field (see DeclareSourcemap in= the
>> LaTeX headers).
>>
>>=C2=A0 =C2=A0Titus
>>
>> On 2015-06-22 Mon 07:28, Xebar Saram wrote:
>> > Hi John
>> >
>> > a bit off topic, but do you also write your academic CV in or= gmode or
>> > lateX? in anycase would you mind sharing your org/latex CV te= mplate? it
>> > would be helpful as a starting point for me if thats possible= .
>> >
>> > kind regards and thanks so much in advance
>> >
>> > Z
>> >
>> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin <jkitchin@andrew.cmu.edu>
>> > wrote:
>> >
>> >> sweet! I did not know you could do that! I will be refact= oring org-ref
>> >> soon to do that instead of redefining the commands!
>> >>
>> >> John
>> >>
>> >> -----------------------------------
>> >> 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
>> >>
>> >>
>> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg &= lt;
>> >> m= alsburg@posteo.de> wrote:
>> >>
>> >>>
>> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote:
>> >>> > Hi again Titus
>> >>> >
>> >>> > 2 quick questions that arose from using helm-bit= ex today extensively:
>> >>> >
>> >>> > how does one exclude in the search items? for ex= ample i want to
>> search
>> >>> for
>> >>> > xebar without keyword "progress" (I wa= nt to exclude in progress
>> articles
>> >>> > not published yet)
>> >>> >
>> >>> > is it possible to define default enter command i= n helm-bibtex ?
>> >>>
>> >>> Yes.=C2=A0 Helm uses the first action as the default = action.=C2=A0 To move an
>> >>> action to the top of the list you can use the followi= ng code:
>> >>>
>> >>>=C2=A0 =C2=A0(helm-delete-action-from-source "Ins= ert BibTeX key"
>> helm-source-bibtex)
>> >>>=C2=A0 =C2=A0(helm-add-action-to-source "Insert B= ibTeX key"
>> 'helm-bibtex-insert-key
>> >>> helm-source-bibtex 0)
>> >>>
>> >>> The second argument in the second line is the functio= n that executes
>> the
>> >>> action.=C2=A0 Here is a list of all actions and their= functions:
>> >>>
>> >>>=C2=A0 =C2=A0Open PDF file (if present): helm-bibtex-o= pen-pdf
>> >>>=C2=A0 =C2=A0Open URL or DOI in browser: helm-bibtex-o= pen-url-or-doi
>> >>>=C2=A0 =C2=A0Insert citation: helm-bibtex-insert-citat= ion
>> >>>=C2=A0 =C2=A0Insert reference: helm-bibtex-insert-refe= rence
>> >>>=C2=A0 =C2=A0Insert BibTeX key: helm-bibtex-insert-key=
>> >>>=C2=A0 =C2=A0Insert BibTeX entry: helm-bibtex-insert-b= ibtex
>> >>>=C2=A0 =C2=A0Attach PDF to email: helm-bibtex-add-PDF-= attachment
>> >>>=C2=A0 =C2=A0Edit notes: helm-bibtex-edit-notes
>> >>>=C2=A0 =C2=A0Show entry: helm-bibtex-show-entry
>> >>>
>> >>> Best,
>> >>>
>> >>>=C2=A0 =C2=A0Titus
>> >>>
>> >>> >
>> >>> > best
>> >>> >
>> >>> > Z
>> >>> >
>> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der M= alsburg <
>> >>> malsburg@posteo.de>
>> >>> > wrote:
>> >>> >
>> >>> >>
>> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote:<= br> >> >>> >> > Hi Titus and thx so much for the answer= s!
>> >>> >> >
>> >>> >> > i will in the future use the github pag= e to make requests.
>> >>> >> >
>> >>> >> > "The number of matches will be dis= played in the mode line. "
>> >>> >> >
>> >>> >> > i see that now thx! :) the problem was(= is) that its colored black
>> on
>> >>> my
>> >>> >> > black modline BG which makes it invisib= le ;-) i assume thats an
>> helm
>> >>> >> config
>> >>> >> > i need to change
>> >>> >> >
>> >>> >> >
>> >>> >> > "If you don=E2=80=99t want to type= these search expressions, you could
>> >>> create a
>> >>> >> > command that invokes helm-bibtex with a= default search expression
>> and
>> >>> >> that
>> >>> >> > command could be bound to a keyboard sh= ortcut."
>> >>> >> >
>> >>> >> > that would be prefect for me and a solu= tion to my issue. would you
>> >>> mind
>> >>> >> > giving an example of such a code chunk.= unfortunately i dont know
>> >>> elisp
>> >>> >> though
>> >>> >> > as john recommended i will do my best t= his summer when the
>> semester
>> >>> ends
>> >>> >> to
>> >>> >> > try and pick it up :)
>> >>> >>
>> >>> >> Sure, here you go:
>> >>> >>
>> >>> >> #+BEGIN_SRC elisp
>> >>> >> ;; Define helm-search with predefined search= expression:
>> >>> >> (defun helm-bibtex-my-publications ()
>> >>> >>=C2=A0 =C2=A0"Search BibTeX entries auth= ored by Xebar Saram."
>> >>> >>=C2=A0 =C2=A0(interactive)
>> >>> >>=C2=A0 =C2=A0(helm :sources '(helm-source= -bibtex)
>> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:full-frame= t
>> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:input &quo= t;xebar saram"
>> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:candidate-= number-limit 500))
>> >>> >>
>> >>> >> ;; Bind this search function to Ctrl-x p: >> >>> >> (global-set-key (kbd "C-x p") '= ;helm-bibtex-my-publications)
>> >>> >> #+END_SRC
>> >>> >>
>> >>> >> > i will definitely use your tag system a= s you recommended, sounds
>> >>> perfect
>> >>> >> > for me
>> >>> >>
>> >>> >> The tag system also comes in handy when gene= rating publication lists
>> >>> for
>> >>> >> CVs and web pages because BibTeX does not di= stinguish between
>> >>> conference
>> >>> >> papers, posters, and talks.=C2=A0 If you hav= e tags for that, it=E2=80=99s
>> relatively
>> >>> >> easy to create separate sections for these t= ypes of publications
>> using
>> >>> >> biblatex or bib2bib and bibtex2html in the c= ase of web pages.
>> >>> >>
>> >>> >> > thanks again for your kind help and the= amazing app ;-)
>> >>> >>
>> >>> >> You are welcome.
>> >>> >>
>> >>> >>=C2=A0 =C2=A0Titus
>> >>> >>
>> >>> >> >
>> >>> >> > best
>> >>> >> >
>> >>> >> > Z
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus= von der Malsburg <
>> >>> >> malsburg@posteo.de
>> >>> >> >> wrote:
>> >>> >> >
>> >>> >> >>
>> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Sara= m wrote:
>> >>> >> >> > Hi Titus
>> >>> >> >> >
>> >>> >> >> > I have been exploring helm-bib= tex a bit today and have some
>> >>> questions.
>> >>> >> >> btw
>> >>> >> >> > is this the preferred way to m= ake requests/ask questions or is
>> >>> >> >> > github preferred?
>> >>> >> >>
>> >>> >> >> Helm-bibtex is not part of org (alt= hough it tries to work well
>> with
>> >>> >> >> org).=C2=A0 So I=E2=80=99m not sure= whether this list is the best place for
>> >>> >> >> discussing it.=C2=A0 For now the is= sue tracker on Github might be a
>> >>> better
>> >>> >> >> option:
>> >>> >> >>
>> >>> >> >>=C2=A0 =C2=A0h= ttps://github.com/tmalsburg/helm-bibtex/issues
>> >>> >> >>
>> >>> >> >> > in any case i was wondering a = few things:
>> >>> >> >> >
>> >>> >> >> > 1. is it possible to have cust= om sorting? i want all views to
>> >>> sort by
>> >>> >> >> > Author, year, month
>> >>> >> >>
>> >>> >> >> I prefer to see the entries in the = (inverse) order in which they
>> >>> appear
>> >>> >> >> in the BibTeX file.=C2=A0 This way,= recent additions show up at the
>> >>> >> >> top.=C2=A0 However, I agree that so= rting would be useful (see issues
>> #5
>> >>> and
>> >>> >> >> #21); it just doesn=E2=80=99t have = high priority for me.=C2=A0 Pull requests
>> >>> welcome.
>> >>> >> >>
>> >>> >> >> > 2. i would really like a way t= o have stored smart groups (like
>> the
>> >>> >> jabref
>> >>> >> >> > dynamic groups if your aware o= f that). that is for example
>> create
>> >>> a
>> >>> >> group
>> >>> >> >> > that auto selects all publicat= ions i have (by my first/last
>> name)
>> >>> and
>> >>> >> >> shows
>> >>> >> >> > the count (in numbers) of thes= e publications.
>> >>> >> >>
>> >>> >> >> I=E2=80=99m not familiar with smart= groups but it seems that all
>> >>> helm-bibtex is
>> >>> >> >> doing is giving you very flexible s= mart groups defined by your
>> >>> search
>> >>> >> >> expressions.=C2=A0 For example, if = you want a list of your
>> publications,
>> >>> you
>> >>> >> >> can simple enter your name.=C2=A0 A= nd if you want a list of your
>> >>> articles,
>> >>> >> >> you can enter your name + =E2=80=9C= article=E2=80=9D.=C2=A0 If you want all your
>> articles
>> >>> from
>> >>> >> >> 2010, enter your name + =E2=80=9Car= ticles 2010=E2=80=9D.=C2=A0 And so on.=C2=A0 The number
>> of
>> >>> >> >> matches will be displayed in the mo= de line.=C2=A0 If you don=E2=80=99t want to
>> >>> type
>> >>> >> >> these search expressions, you could= create a command that invokes
>> >>> >> >> helm-bibtex with a default search e= xpression and that command
>> could
>> >>> be
>> >>> >> >> bound to a keyboard shortcut.
>> >>> >> >>
>> >>> >> >> > Another example is a group to = keep track of all the papers im
>> >>> working
>> >>> >> on
>> >>> >> >> or
>> >>> >> >> > invloved with by matching keyw= ord author and prep/*other key
>> word
>> >>> >> >>
>> >>> >> >> I use two BibTeX fields to tag entr= ies: =E2=80=9Ckeywords=E2=80=9D for keywords
>> >>> >> >> describing the content of the paper= (as usual) and =E2=80=9Ctags=E2=80=9D for
>> meta
>> >>> >> >> data.=C2=A0 Values that I use in ta= gs are =E2=80=9Cown=E2=80=9D, =E2=80=9Cmanuscript=E2=80=9D,
>> =E2=80=9Cposter=E2=80=9D,
>> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 S= o if I want a list of all articles in progress, I
>> search
>> >>> for
>> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D.= =C2=A0 Since the tags field is non-standard, it has
>> to
>> >>> be
>> >>> >> >> added to `helm-bibtex-additional-se= arch-fields`.
>> >>> >> >>
>> >>> >> >> Another solution would be to use th= e pubstate field and to search
>> >>> for
>> >>> >> >> your name and =E2=80=9Cforthcoming= =E2=80=9D (add pubstate to
>> >>> >> >> helm-bibtex-additional-search-field= s for this to work).
>> >>> >> >>
>> >>> >> >> > 3.is it possible to ass an option to aut= o generate a bibkey
>> for a
>> >>> >> >> selected
>> >>> >> >> > citation based on user criteri= a such as
>> author(date)short-title?
>> >>> >> >>
>> >>> >> >> Maintaining the content of the BibT= eX file not really in the
>> scope
>> >>> of
>> >>> >> >> helm-bibtex (I prefer to write my B= ibTeX entries by hand).
>> Perhaps
>> >>> >> >> org-ref or ebib can help here?=C2= =A0 Once you have a function that
>> >>> generates
>> >>> >> >> a new key and inserts it in the Bib= TeX file, you can easily add
>> it
>> >>> to
>> >>> >> >> the list of actions in helm-bibtex.=
>> >>> >> >>
>> >>> >> >> Hope that helps.
>> >>> >> >>
>> >>> >> >>=C2=A0 =C2=A0Titus
>> >>> >> >>
>> >>> >> >> > thx so much in advance, you an= d john have given me confidence
>> to
>> >>> >> finally
>> >>> >> >> > dive into the whole latex/bibt= eX world
>> >>> >> >> >
>> >>> >> >> > best
>> >>> >> >> >
>> >>> >> >> > Z
>> >>> >> >>
>> >>> >> >>
>> >>> >>
>> >>> >>
>> >>>
>> >>>
>> >>
>>
>>

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-2= 68-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


--089e01493b94fee3c00519667e7c-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Fri, 26 Jun 2015 10:21:30 +0300 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> <87vbefkcal.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01176f0bced65e05196696e2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Nx9-0006ZB-BY for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 03:21:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Nx6-0001AN-G6 for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 03:21:35 -0400 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:33335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Nx5-0001AE-TX for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 03:21:32 -0400 Received: by laka10 with SMTP id a10so58384280lak.0 for ; Fri, 26 Jun 2015 00:21:31 -0700 (PDT) In-Reply-To: <87vbefkcal.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg Cc: org mode --089e01176f0bced65e05196696e2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Titus Another round of helm-bibtex questions if you dont mind (question come since i use it 50 times a day now ;-)) 1. is there a way (or a keybind) to select all entries filtered? now to select all my publications for example i have to use C-space repeatedly. 2. what is the syntax for greater then? for example all articles > 2012 (year) 4. i cant get helm-bibtex to search the biblatex field of pubstate. are biblatex (biber) supported/ i have this in my config? (setq helm-bibtex-additional-search-fields '(pubstate)) also on a related issue i assume one can define many fields in the above example. since my elisp sucks would the syntax be this (setq helm-bibtex-additional-search-fields '(pubstate tags)) or do you need to qoute them or use a , symbol? 5. i love the insert formatted reference (f5) option and use it often sending people references: a. does it also auto send that to the clipboard? b. it cuts most of the authors name and leaves only the first few. is there a switch to get it to print all authors. is that a latex cite formatting issue? best and thanks so much again Z On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg wrote: > > > Here is my CV in org-mode: > > https://gist.github.com/tmalsburg/96084ba82281937c26b7 > > It=E2=80=99s a pretty straightforward org document except for one thing: = the key > to making this work was biblatex which can be used to create several > lists of references filtered according to keywords, author, etc. This > allowed me to have separate sections for journal articles, conference > presentations, etc. I store the relevant keywords in the tags field of > the BibTeX entries and since biblatex doesn=E2=80=99t know this field, I = copy > the tags on-the-fly to the keywords field (see DeclareSourcemap in the > LaTeX headers). > > Titus > > On 2015-06-22 Mon 07:28, Xebar Saram wrote: > > Hi John > > > > a bit off topic, but do you also write your academic CV in orgmode or > > lateX? in anycase would you mind sharing your org/latex CV template? it > > would be helpful as a starting point for me if thats possible. > > > > kind regards and thanks so much in advance > > > > Z > > > > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin > > wrote: > > > >> sweet! I did not know you could do that! I will be refactoring org-ref > >> soon to do that instead of redefining the commands! > >> > >> John > >> > >> ----------------------------------- > >> 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 > >> > >> > >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < > >> malsburg@posteo.de> wrote: > >> > >>> > >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: > >>> > Hi again Titus > >>> > > >>> > 2 quick questions that arose from using helm-bitex today extensivel= y: > >>> > > >>> > how does one exclude in the search items? for example i want to > search > >>> for > >>> > xebar without keyword "progress" (I want to exclude in progress > articles > >>> > not published yet) > >>> > > >>> > is it possible to define default enter command in helm-bibtex ? > >>> > >>> Yes. Helm uses the first action as the default action. To move an > >>> action to the top of the list you can use the following code: > >>> > >>> (helm-delete-action-from-source "Insert BibTeX key" > helm-source-bibtex) > >>> (helm-add-action-to-source "Insert BibTeX key" > 'helm-bibtex-insert-key > >>> helm-source-bibtex 0) > >>> > >>> The second argument in the second line is the function that executes > the > >>> action. Here is a list of all actions and their functions: > >>> > >>> Open PDF file (if present): helm-bibtex-open-pdf > >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi > >>> Insert citation: helm-bibtex-insert-citation > >>> Insert reference: helm-bibtex-insert-reference > >>> Insert BibTeX key: helm-bibtex-insert-key > >>> Insert BibTeX entry: helm-bibtex-insert-bibtex > >>> Attach PDF to email: helm-bibtex-add-PDF-attachment > >>> Edit notes: helm-bibtex-edit-notes > >>> Show entry: helm-bibtex-show-entry > >>> > >>> Best, > >>> > >>> Titus > >>> > >>> > > >>> > best > >>> > > >>> > Z > >>> > > >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < > >>> malsburg@posteo.de> > >>> > wrote: > >>> > > >>> >> > >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: > >>> >> > Hi Titus and thx so much for the answers! > >>> >> > > >>> >> > i will in the future use the github page to make requests. > >>> >> > > >>> >> > "The number of matches will be displayed in the mode line. " > >>> >> > > >>> >> > i see that now thx! :) the problem was(is) that its colored blac= k > on > >>> my > >>> >> > black modline BG which makes it invisible ;-) i assume thats an > helm > >>> >> config > >>> >> > i need to change > >>> >> > > >>> >> > > >>> >> > "If you don=E2=80=99t want to type these search expressions, you= could > >>> create a > >>> >> > command that invokes helm-bibtex with a default search expressio= n > and > >>> >> that > >>> >> > command could be bound to a keyboard shortcut." > >>> >> > > >>> >> > that would be prefect for me and a solution to my issue. would y= ou > >>> mind > >>> >> > giving an example of such a code chunk. unfortunately i dont kno= w > >>> elisp > >>> >> though > >>> >> > as john recommended i will do my best this summer when the > semester > >>> ends > >>> >> to > >>> >> > try and pick it up :) > >>> >> > >>> >> Sure, here you go: > >>> >> > >>> >> #+BEGIN_SRC elisp > >>> >> ;; Define helm-search with predefined search expression: > >>> >> (defun helm-bibtex-my-publications () > >>> >> "Search BibTeX entries authored by Xebar Saram." > >>> >> (interactive) > >>> >> (helm :sources '(helm-source-bibtex) > >>> >> :full-frame t > >>> >> :input "xebar saram" > >>> >> :candidate-number-limit 500)) > >>> >> > >>> >> ;; Bind this search function to Ctrl-x p: > >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) > >>> >> #+END_SRC > >>> >> > >>> >> > i will definitely use your tag system as you recommended, sounds > >>> perfect > >>> >> > for me > >>> >> > >>> >> The tag system also comes in handy when generating publication lis= ts > >>> for > >>> >> CVs and web pages because BibTeX does not distinguish between > >>> conference > >>> >> papers, posters, and talks. If you have tags for that, it=E2=80= =99s > relatively > >>> >> easy to create separate sections for these types of publications > using > >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. > >>> >> > >>> >> > thanks again for your kind help and the amazing app ;-) > >>> >> > >>> >> You are welcome. > >>> >> > >>> >> Titus > >>> >> > >>> >> > > >>> >> > best > >>> >> > > >>> >> > Z > >>> >> > > >>> >> > > >>> >> > > >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < > >>> >> malsburg@posteo.de > >>> >> >> wrote: > >>> >> > > >>> >> >> > >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: > >>> >> >> > Hi Titus > >>> >> >> > > >>> >> >> > I have been exploring helm-bibtex a bit today and have some > >>> questions. > >>> >> >> btw > >>> >> >> > is this the preferred way to make requests/ask questions or i= s > >>> >> >> > github preferred? > >>> >> >> > >>> >> >> Helm-bibtex is not part of org (although it tries to work well > with > >>> >> >> org). So I=E2=80=99m not sure whether this list is the best pl= ace for > >>> >> >> discussing it. For now the issue tracker on Github might be a > >>> better > >>> >> >> option: > >>> >> >> > >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues > >>> >> >> > >>> >> >> > in any case i was wondering a few things: > >>> >> >> > > >>> >> >> > 1. is it possible to have custom sorting? i want all views to > >>> sort by > >>> >> >> > Author, year, month > >>> >> >> > >>> >> >> I prefer to see the entries in the (inverse) order in which the= y > >>> appear > >>> >> >> in the BibTeX file. This way, recent additions show up at the > >>> >> >> top. However, I agree that sorting would be useful (see issues > #5 > >>> and > >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull = requests > >>> welcome. > >>> >> >> > >>> >> >> > 2. i would really like a way to have stored smart groups (lik= e > the > >>> >> jabref > >>> >> >> > dynamic groups if your aware of that). that is for example > create > >>> a > >>> >> group > >>> >> >> > that auto selects all publications i have (by my first/last > name) > >>> and > >>> >> >> shows > >>> >> >> > the count (in numbers) of these publications. > >>> >> >> > >>> >> >> I=E2=80=99m not familiar with smart groups but it seems that al= l > >>> helm-bibtex is > >>> >> >> doing is giving you very flexible smart groups defined by your > >>> search > >>> >> >> expressions. For example, if you want a list of your > publications, > >>> you > >>> >> >> can simple enter your name. And if you want a list of your > >>> articles, > >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you wa= nt all your > articles > >>> from > >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And s= o on. The number > of > >>> >> >> matches will be displayed in the mode line. If you don=E2=80= =99t want to > >>> type > >>> >> >> these search expressions, you could create a command that invok= es > >>> >> >> helm-bibtex with a default search expression and that command > could > >>> be > >>> >> >> bound to a keyboard shortcut. > >>> >> >> > >>> >> >> > Another example is a group to keep track of all the papers im > >>> working > >>> >> on > >>> >> >> or > >>> >> >> > invloved with by matching keyword author and prep/*other key > word > >>> >> >> > >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2=80= =9D for keywords > >>> >> >> describing the content of the paper (as usual) and =E2=80=9Ctag= s=E2=80=9D for > meta > >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, =E2= =80=9Cmanuscript=E2=80=9D, > =E2=80=9Cposter=E2=80=9D, > >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all ar= ticles in progress, I > search > >>> for > >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non-= standard, it has > to > >>> be > >>> >> >> added to `helm-bibtex-additional-search-fields`. > >>> >> >> > >>> >> >> Another solution would be to use the pubstate field and to sear= ch > >>> for > >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to > >>> >> >> helm-bibtex-additional-search-fields for this to work). > >>> >> >> > >>> >> >> > 3.is it possible to ass an option to auto generate a bibkey > for a > >>> >> >> selected > >>> >> >> > citation based on user criteria such as > author(date)short-title? > >>> >> >> > >>> >> >> Maintaining the content of the BibTeX file not really in the > scope > >>> of > >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). > Perhaps > >>> >> >> org-ref or ebib can help here? Once you have a function that > >>> generates > >>> >> >> a new key and inserts it in the BibTeX file, you can easily add > it > >>> to > >>> >> >> the list of actions in helm-bibtex. > >>> >> >> > >>> >> >> Hope that helps. > >>> >> >> > >>> >> >> Titus > >>> >> >> > >>> >> >> > thx so much in advance, you and john have given me confidence > to > >>> >> finally > >>> >> >> > dive into the whole latex/bibteX world > >>> >> >> > > >>> >> >> > best > >>> >> >> > > >>> >> >> > Z > >>> >> >> > >>> >> >> > >>> >> > >>> >> > >>> > >>> > >> > > --089e01176f0bced65e05196696e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Titus

Another round of helm-bi= btex questions if you dont mind (question come since i use it 50 times a da= y now ;-))

1. is there a way (or a keybind) to sele= ct all entries filtered? now to select all my publications for example i ha= ve to use C-space repeatedly.

2. what is the synta= x for greater then? for example all articles > 2012 (year)
4. i cant get helm-bibtex to search the biblatex field of pubst= ate. are biblatex (biber) supported/ i have this in my config?
(setq helm-bibtex-additional-search-fields '(pubstate))

also on a related issue i assume one can define many= fields in the above example. since my elisp sucks would the syntax be this=

(setq helm-bibtex-additional-search-fields '(= pubstate tags))

or do you need to qoute them o= r use a , symbol?

5. i love the insert formatted r= eference (f5) option and use it often sending people references:
<= /div>
a. does it also auto send that to the clipboard?
b. it = cuts most of the authors name and leaves only the first few. is there a swi= tch to get it to print all authors. is that a latex cite formatting issue?<= /div>

best and thanks so much again

=
Z

On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg = <malsburg@posteo= .de> wrote:


Here is my CV in org-mode:

=C2=A0 https://gist.github.com/tmalsburg/96084= ba82281937c26b7

It=E2=80=99s a pretty straightforward org document except for one thing: th= e key
to making this work was biblatex which can be used to create several
lists of references filtered according to keywords, author, etc.=C2=A0 This=
allowed me to have separate sections for journal articles, conference
presentations, etc.=C2=A0 I store the relevant keywords in the tags field o= f
the BibTeX entries and since biblatex doesn=E2=80=99t know this field, I co= py
the tags on-the-fly to the keywords field (see DeclareSourcemap in the
LaTeX headers).

=C2=A0 Titus

On 2015-06-22 Mon 07:28, Xebar Saram wrote:
> Hi John
>
> a bit off topic, but do you also write your academic CV in orgmode or<= br> > lateX? in anycase would you mind sharing your org/latex CV template? i= t
> would be helpful as a starting point for me if thats possible.
>
> kind regards and thanks so much in advance
>
> Z
>
> On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin <jkitchin@andrew.cmu.edu>
> wrote:
>
>> sweet! I did not know you could do that! I will be refactoring org= -ref
>> soon to do that instead of redefining the commands!
>>
>> John
>>
>> -----------------------------------
>> 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
>>
>>
>> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg <
>> malsburg@posteo.de> w= rote:
>>
>>>
>>> On 2015-06-19 Fri 03:56, Xebar Saram wrote:
>>> > Hi again Titus
>>> >
>>> > 2 quick questions that arose from using helm-bitex today = extensively:
>>> >
>>> > how does one exclude in the search items? for example i w= ant to search
>>> for
>>> > xebar without keyword "progress" (I want to exc= lude in progress articles
>>> > not published yet)
>>> >
>>> > is it possible to define default enter command in helm-bi= btex ?
>>>
>>> Yes.=C2=A0 Helm uses the first action as the default action.= =C2=A0 To move an
>>> action to the top of the list you can use the following code:<= br> >>>
>>>=C2=A0 =C2=A0(helm-delete-action-from-source "Insert BibTe= X key" helm-source-bibtex)
>>>=C2=A0 =C2=A0(helm-add-action-to-source "Insert BibTeX key= " 'helm-bibtex-insert-key
>>> helm-source-bibtex 0)
>>>
>>> The second argument in the second line is the function that ex= ecutes the
>>> action.=C2=A0 Here is a list of all actions and their function= s:
>>>
>>>=C2=A0 =C2=A0Open PDF file (if present): helm-bibtex-open-pdf >>>=C2=A0 =C2=A0Open URL or DOI in browser: helm-bibtex-open-url-o= r-doi
>>>=C2=A0 =C2=A0Insert citation: helm-bibtex-insert-citation
>>>=C2=A0 =C2=A0Insert reference: helm-bibtex-insert-reference
>>>=C2=A0 =C2=A0Insert BibTeX key: helm-bibtex-insert-key
>>>=C2=A0 =C2=A0Insert BibTeX entry: helm-bibtex-insert-bibtex
>>>=C2=A0 =C2=A0Attach PDF to email: helm-bibtex-add-PDF-attachmen= t
>>>=C2=A0 =C2=A0Edit notes: helm-bibtex-edit-notes
>>>=C2=A0 =C2=A0Show entry: helm-bibtex-show-entry
>>>
>>> Best,
>>>
>>>=C2=A0 =C2=A0Titus
>>>
>>> >
>>> > best
>>> >
>>> > Z
>>> >
>>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg &= lt;
>>> malsburg@posteo.de&g= t;
>>> > wrote:
>>> >
>>> >>
>>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote:
>>> >> > Hi Titus and thx so much for the answers!
>>> >> >
>>> >> > i will in the future use the github page to make= requests.
>>> >> >
>>> >> > "The number of matches will be displayed in= the mode line. "
>>> >> >
>>> >> > i see that now thx! :) the problem was(is) that = its colored black on
>>> my
>>> >> > black modline BG which makes it invisible ;-) i = assume thats an helm
>>> >> config
>>> >> > i need to change
>>> >> >
>>> >> >
>>> >> > "If you don=E2=80=99t want to type these se= arch expressions, you could
>>> create a
>>> >> > command that invokes helm-bibtex with a default = search expression and
>>> >> that
>>> >> > command could be bound to a keyboard shortcut.&q= uot;
>>> >> >
>>> >> > that would be prefect for me and a solution to m= y issue. would you
>>> mind
>>> >> > giving an example of such a code chunk. unfortun= ately i dont know
>>> elisp
>>> >> though
>>> >> > as john recommended i will do my best this summe= r when the semester
>>> ends
>>> >> to
>>> >> > try and pick it up :)
>>> >>
>>> >> Sure, here you go:
>>> >>
>>> >> #+BEGIN_SRC elisp
>>> >> ;; Define helm-search with predefined search expressi= on:
>>> >> (defun helm-bibtex-my-publications ()
>>> >>=C2=A0 =C2=A0"Search BibTeX entries authored by X= ebar Saram."
>>> >>=C2=A0 =C2=A0(interactive)
>>> >>=C2=A0 =C2=A0(helm :sources '(helm-source-bibtex)<= br> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:full-frame t
>>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:input "xebar s= aram"
>>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:candidate-number-li= mit 500))
>>> >>
>>> >> ;; Bind this search function to Ctrl-x p:
>>> >> (global-set-key (kbd "C-x p") 'helm-bib= tex-my-publications)
>>> >> #+END_SRC
>>> >>
>>> >> > i will definitely use your tag system as you rec= ommended, sounds
>>> perfect
>>> >> > for me
>>> >>
>>> >> The tag system also comes in handy when generating pu= blication lists
>>> for
>>> >> CVs and web pages because BibTeX does not distinguish= between
>>> conference
>>> >> papers, posters, and talks.=C2=A0 If you have tags fo= r that, it=E2=80=99s relatively
>>> >> easy to create separate sections for these types of p= ublications using
>>> >> biblatex or bib2bib and bibtex2html in the case of we= b pages.
>>> >>
>>> >> > thanks again for your kind help and the amazing = app ;-)
>>> >>
>>> >> You are welcome.
>>> >>
>>> >>=C2=A0 =C2=A0Titus
>>> >>
>>> >> >
>>> >> > best
>>> >> >
>>> >> > Z
>>> >> >
>>> >> >
>>> >> >
>>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der = Malsburg <
>>> >> malsburg@posteo= .de
>>> >> >> wrote:
>>> >> >
>>> >> >>
>>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote:<= br> >>> >> >> > Hi Titus
>>> >> >> >
>>> >> >> > I have been exploring helm-bibtex a bit= today and have some
>>> questions.
>>> >> >> btw
>>> >> >> > is this the preferred way to make reque= sts/ask questions or is
>>> >> >> > github preferred?
>>> >> >>
>>> >> >> Helm-bibtex is not part of org (although it = tries to work well with
>>> >> >> org).=C2=A0 So I=E2=80=99m not sure whether = this list is the best place for
>>> >> >> discussing it.=C2=A0 For now the issue track= er on Github might be a
>>> better
>>> >> >> option:
>>> >> >>
>>> >> >>=C2=A0 =C2=A0https://gi= thub.com/tmalsburg/helm-bibtex/issues
>>> >> >>
>>> >> >> > in any case i was wondering a few thing= s:
>>> >> >> >
>>> >> >> > 1. is it possible to have custom sortin= g? i want all views to
>>> sort by
>>> >> >> > Author, year, month
>>> >> >>
>>> >> >> I prefer to see the entries in the (inverse)= order in which they
>>> appear
>>> >> >> in the BibTeX file.=C2=A0 This way, recent a= dditions show up at the
>>> >> >> top.=C2=A0 However, I agree that sorting wou= ld be useful (see issues #5
>>> and
>>> >> >> #21); it just doesn=E2=80=99t have high prio= rity for me.=C2=A0 Pull requests
>>> welcome.
>>> >> >>
>>> >> >> > 2. i would really like a way to have st= ored smart groups (like the
>>> >> jabref
>>> >> >> > dynamic groups if your aware of that). = that is for example create
>>> a
>>> >> group
>>> >> >> > that auto selects all publications i ha= ve (by my first/last name)
>>> and
>>> >> >> shows
>>> >> >> > the count (in numbers) of these publica= tions.
>>> >> >>
>>> >> >> I=E2=80=99m not familiar with smart groups b= ut it seems that all
>>> helm-bibtex is
>>> >> >> doing is giving you very flexible smart grou= ps defined by your
>>> search
>>> >> >> expressions.=C2=A0 For example, if you want = a list of your publications,
>>> you
>>> >> >> can simple enter your name.=C2=A0 And if you= want a list of your
>>> articles,
>>> >> >> you can enter your name + =E2=80=9Carticle= =E2=80=9D.=C2=A0 If you want all your articles
>>> from
>>> >> >> 2010, enter your name + =E2=80=9Carticles 20= 10=E2=80=9D.=C2=A0 And so on.=C2=A0 The number of
>>> >> >> matches will be displayed in the mode line.= =C2=A0 If you don=E2=80=99t want to
>>> type
>>> >> >> these search expressions, you could create a= command that invokes
>>> >> >> helm-bibtex with a default search expression= and that command could
>>> be
>>> >> >> bound to a keyboard shortcut.
>>> >> >>
>>> >> >> > Another example is a group to keep trac= k of all the papers im
>>> working
>>> >> on
>>> >> >> or
>>> >> >> > invloved with by matching keyword autho= r and prep/*other key word
>>> >> >>
>>> >> >> I use two BibTeX fields to tag entries: =E2= =80=9Ckeywords=E2=80=9D for keywords
>>> >> >> describing the content of the paper (as usua= l) and =E2=80=9Ctags=E2=80=9D for meta
>>> >> >> data.=C2=A0 Values that I use in tags are = =E2=80=9Cown=E2=80=9D, =E2=80=9Cmanuscript=E2=80=9D, =E2=80=9Cposter=E2=80= =9D,
>>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I wa= nt a list of all articles in progress, I search
>>> for
>>> >> >> =E2=80=9Cown manuscript=E2=80=9D.=C2=A0 Sinc= e the tags field is non-standard, it has to
>>> be
>>> >> >> added to `helm-bibtex-additional-search-fiel= ds`.
>>> >> >>
>>> >> >> Another solution would be to use the pubstat= e field and to search
>>> for
>>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D = (add pubstate to
>>> >> >> helm-bibtex-additional-search-fields for thi= s to work).
>>> >> >>
>>> >> >> > 3.is it possible to ass an option to auto generat= e a bibkey for a
>>> >> >> selected
>>> >> >> > citation based on user criteria such as= author(date)short-title?
>>> >> >>
>>> >> >> Maintaining the content of the BibTeX file n= ot really in the scope
>>> of
>>> >> >> helm-bibtex (I prefer to write my BibTeX ent= ries by hand).=C2=A0 Perhaps
>>> >> >> org-ref or ebib can help here?=C2=A0 Once yo= u have a function that
>>> generates
>>> >> >> a new key and inserts it in the BibTeX file,= you can easily add it
>>> to
>>> >> >> the list of actions in helm-bibtex.
>>> >> >>
>>> >> >> Hope that helps.
>>> >> >>
>>> >> >>=C2=A0 =C2=A0Titus
>>> >> >>
>>> >> >> > thx so much in advance, you and john ha= ve given me confidence to
>>> >> finally
>>> >> >> > dive into the whole latex/bibteX world<= br> >>> >> >> >
>>> >> >> > best
>>> >> >> >
>>> >> >> > Z
>>> >> >>
>>> >> >>
>>> >>
>>> >>
>>>
>>>
>>


--089e01176f0bced65e05196696e2-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Fri, 26 Jun 2015 10:28:32 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8UcR-0005Ww-MM for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 10:28:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8UcN-0007VI-Hl for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 10:28:39 -0400 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:36531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8UcN-0007V8-C1 for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 10:28:35 -0400 Received: by qkei195 with SMTP id i195so17474992qke.3 for ; Fri, 26 Jun 2015 07:28:35 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode http://tex.stackexchange.com/questions/78455/does-emacs-support-editing-bib= liography-files-for-biblatex I think you need this in your bibtex file: -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- Xebar Saram writes: > thanks so much again John > > i did add this line > (bibtex-set-dialect 'biblatex) > in my init but that dosent seem to do much as i still get the "journal > mandatory field missing" error. anything else i can try? > > best > > Z > > > On Thu, Jun 25, 2015 at 2:09 PM, John Kitchin > wrote: > >> I believe that is an emacs bibtex issue. You need some kind of line in >> your bibtex file to specify it is the biblatex dialect. >> >> >> On June 25, 2015, at 6:58 AM, Xebar Saram wrote: >> >> >> Great, works well. one question though (and this may very well be due to >> my inexperience). the jabref export i had used 'journaltitle' instead of >> journal to be (to my understanding) compatible with the newer .bib files >> used by biblatex (and biber). when i ran org-ref clean it gave an error = on" >> journal mandatory field missing". i had to replace all 'journaltitle' to >> 'journal' to get it to work. >> is this by design? does org-ref not support the new biblatex/biber .bib >> file format? >> >> kind regards >> >> Itai >> >> On Thu, Jun 25, 2015 at 12:03 AM, John Kitchin >> wrote: >> >>> yes, there is a way ;) >>> >>> First. Make sure you have a backup of the references. I like to keep >>> mine in a local git repo so you can undo any mistakes that get made. >>> >>> I suggest you run these first: >>> %% (bibtex-validate-globally) ; checks for duplicate keys >>> %% (bibtex-validate) >>> >>> I also recommend you run bibtex-sort (it is easier to spot duplicates in >>> a sorted list). >>> >>> and (org-ref-build-full-bibliography) <- makes a pdf of all references. >>> >>> to make sure everything is compliant and functional. >>> >>> Then, put this next line at the top of your bibtex file. The t argument= to >>> org-ref-clean-bibtex-entry will preserve your existing keys. >>> >>> % (bibtex-map-entries (lambda (key start end) (org-ref-clean-bibtex-ent= ry >>> t))) >>> >>> Put your cursor at the end of that line, and type C-x C-e to run the >>> function, and >>> wait patiently. It took a few minutes on my 1300 entries, and I had to >>> restart it once on some entry. >>> >>> when it is done, run (org-ref-build-full-bibliography) again to make >>> sure it works and review the ~200 page pdf ;). fix errors and repeat >>> until it builds ;) >>> >>> Note if you want to change title cases in all entries you can use >>> >>> % (bibtex-map-entries 'jmax-title-case-article) >>> % (bibtex-map-entries 'jmax-sentence-case-article) >>> >>> I hope that helps! >>> >>> Xebar Saram writes: >>> >>> > John >>> > >>> > First of all thanks so much for the excellent org-ref-clean-bibtex-en= try >>> > function i love it! >>> > also your blog post on cleaning the bib file is a life saver >>> > >>> > i have 800 references, is there a way to auto >>> > make org-ref-clean-bibtex-entry go thorough my whole bib file instead >>> of me >>> > going and cleaning it 1 by 1? >>> > >>> > kind regards >>> > >>> > Z. >>> > >>> > On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg < >>> malsburg@posteo.de> >>> > wrote: >>> > >>> >> >>> >> >>> >> Here is my CV in org-mode: >>> >> >>> >> https://gist.github.com/tmalsburg/96084ba82281937c26b7 >>> >> >>> >> It=E2=80=99s a pretty straightforward org document except for one th= ing: the >>> key >>> >> to making this work was biblatex which can be used to create several >>> >> lists of references filtered according to keywords, author, etc. Th= is >>> >> allowed me to have separate sections for journal articles, conference >>> >> presentations, etc. I store the relevant keywords in the tags field= of >>> >> the BibTeX entries and since biblatex doesn=E2=80=99t know this fiel= d, I copy >>> >> the tags on-the-fly to the keywords field (see DeclareSourcemap in t= he >>> >> LaTeX headers). >>> >> >>> >> Titus >>> >> >>> >> On 2015-06-22 Mon 07:28, Xebar Saram wrote: >>> >> > Hi John >>> >> > >>> >> > a bit off topic, but do you also write your academic CV in orgmode= or >>> >> > lateX? in anycase would you mind sharing your org/latex CV templat= e? >>> it >>> >> > would be helpful as a starting point for me if thats possible. >>> >> > >>> >> > kind regards and thanks so much in advance >>> >> > >>> >> > Z >>> >> > >>> >> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin < >>> jkitchin@andrew.cmu.edu> >>> >> > wrote: >>> >> > >>> >> >> sweet! I did not know you could do that! I will be refactoring >>> org-ref >>> >> >> soon to do that instead of redefining the commands! >>> >> >> >>> >> >> John >>> >> >> >>> >> >> ----------------------------------- >>> >> >> 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 >>> >> >> >>> >> >> >>> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >>> >> >> malsburg@posteo.de> wrote: >>> >> >> >>> >> >>> >>> >> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >>> >> >>> > Hi again Titus >>> >> >>> > >>> >> >>> > 2 quick questions that arose from using helm-bitex today >>> extensively: >>> >> >>> > >>> >> >>> > how does one exclude in the search items? for example i want to >>> >> search >>> >> >>> for >>> >> >>> > xebar without keyword "progress" (I want to exclude in progress >>> >> articles >>> >> >>> > not published yet) >>> >> >>> > >>> >> >>> > is it possible to define default enter command in helm-bibtex ? >>> >> >>> >>> >> >>> Yes. Helm uses the first action as the default action. To move= an >>> >> >>> action to the top of the list you can use the following code: >>> >> >>> >>> >> >>> (helm-delete-action-from-source "Insert BibTeX key" >>> >> helm-source-bibtex) >>> >> >>> (helm-add-action-to-source "Insert BibTeX key" >>> >> 'helm-bibtex-insert-key >>> >> >>> helm-source-bibtex 0) >>> >> >>> >>> >> >>> The second argument in the second line is the function that >>> executes >>> >> the >>> >> >>> action. Here is a list of all actions and their functions: >>> >> >>> >>> >> >>> Open PDF file (if present): helm-bibtex-open-pdf >>> >> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >>> >> >>> Insert citation: helm-bibtex-insert-citation >>> >> >>> Insert reference: helm-bibtex-insert-reference >>> >> >>> Insert BibTeX key: helm-bibtex-insert-key >>> >> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >>> >> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >>> >> >>> Edit notes: helm-bibtex-edit-notes >>> >> >>> Show entry: helm-bibtex-show-entry >>> >> >>> >>> >> >>> Best, >>> >> >>> >>> >> >>> Titus >>> >> >>> >>> >> >>> > >>> >> >>> > best >>> >> >>> > >>> >> >>> > Z >>> >> >>> > >>> >> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >>> >> >>> malsburg@posteo.de> >>> >> >>> > wrote: >>> >> >>> > >>> >> >>> >> >>> >> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >>> >> >>> >> > Hi Titus and thx so much for the answers! >>> >> >>> >> > >>> >> >>> >> > i will in the future use the github page to make requests. >>> >> >>> >> > >>> >> >>> >> > "The number of matches will be displayed in the mode line. " >>> >> >>> >> > >>> >> >>> >> > i see that now thx! :) the problem was(is) that its colored >>> black >>> >> on >>> >> >>> my >>> >> >>> >> > black modline BG which makes it invisible ;-) i assume thats >>> an >>> >> helm >>> >> >>> >> config >>> >> >>> >> > i need to change >>> >> >>> >> > >>> >> >>> >> > >>> >> >>> >> > "If you don=E2=80=99t want to type these search expressions= , you could >>> >> >>> create a >>> >> >>> >> > command that invokes helm-bibtex with a default search >>> expression >>> >> and >>> >> >>> >> that >>> >> >>> >> > command could be bound to a keyboard shortcut." >>> >> >>> >> > >>> >> >>> >> > that would be prefect for me and a solution to my issue. >>> would you >>> >> >>> mind >>> >> >>> >> > giving an example of such a code chunk. unfortunately i dont >>> know >>> >> >>> elisp >>> >> >>> >> though >>> >> >>> >> > as john recommended i will do my best this summer when the >>> >> semester >>> >> >>> ends >>> >> >>> >> to >>> >> >>> >> > try and pick it up :) >>> >> >>> >> >>> >> >>> >> Sure, here you go: >>> >> >>> >> >>> >> >>> >> #+BEGIN_SRC elisp >>> >> >>> >> ;; Define helm-search with predefined search expression: >>> >> >>> >> (defun helm-bibtex-my-publications () >>> >> >>> >> "Search BibTeX entries authored by Xebar Saram." >>> >> >>> >> (interactive) >>> >> >>> >> (helm :sources '(helm-source-bibtex) >>> >> >>> >> :full-frame t >>> >> >>> >> :input "xebar saram" >>> >> >>> >> :candidate-number-limit 500)) >>> >> >>> >> >>> >> >>> >> ;; Bind this search function to Ctrl-x p: >>> >> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >>> >> >>> >> #+END_SRC >>> >> >>> >> >>> >> >>> >> > i will definitely use your tag system as you recommended, >>> sounds >>> >> >>> perfect >>> >> >>> >> > for me >>> >> >>> >> >>> >> >>> >> The tag system also comes in handy when generating publication >>> lists >>> >> >>> for >>> >> >>> >> CVs and web pages because BibTeX does not distinguish between >>> >> >>> conference >>> >> >>> >> papers, posters, and talks. If you have tags for that, it=E2= =80=99s >>> >> relatively >>> >> >>> >> easy to create separate sections for these types of publicati= ons >>> >> using >>> >> >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. >>> >> >>> >> >>> >> >>> >> > thanks again for your kind help and the amazing app ;-) >>> >> >>> >> >>> >> >>> >> You are welcome. >>> >> >>> >> >>> >> >>> >> Titus >>> >> >>> >> >>> >> >>> >> > >>> >> >>> >> > best >>> >> >>> >> > >>> >> >>> >> > Z >>> >> >>> >> > >>> >> >>> >> > >>> >> >>> >> > >>> >> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >>> >> >>> >> malsburg@posteo.de >>> >> >>> >> >> wrote: >>> >> >>> >> > >>> >> >>> >> >> >>> >> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >>> >> >>> >> >> > Hi Titus >>> >> >>> >> >> > >>> >> >>> >> >> > I have been exploring helm-bibtex a bit today and have s= ome >>> >> >>> questions. >>> >> >>> >> >> btw >>> >> >>> >> >> > is this the preferred way to make requests/ask questions >>> or is >>> >> >>> >> >> > github preferred? >>> >> >>> >> >> >>> >> >>> >> >> Helm-bibtex is not part of org (although it tries to work >>> well >>> >> with >>> >> >>> >> >> org). So I=E2=80=99m not sure whether this list is the be= st place >>> for >>> >> >>> >> >> discussing it. For now the issue tracker on Github might = be >>> a >>> >> >>> better >>> >> >>> >> >> option: >>> >> >>> >> >> >>> >> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >>> >> >>> >> >> >>> >> >>> >> >> > in any case i was wondering a few things: >>> >> >>> >> >> > >>> >> >>> >> >> > 1. is it possible to have custom sorting? i want all vie= ws >>> to >>> >> >>> sort by >>> >> >>> >> >> > Author, year, month >>> >> >>> >> >> >>> >> >>> >> >> I prefer to see the entries in the (inverse) order in which >>> they >>> >> >>> appear >>> >> >>> >> >> in the BibTeX file. This way, recent additions show up at >>> the >>> >> >>> >> >> top. However, I agree that sorting would be useful (see >>> issues >>> >> #5 >>> >> >>> and >>> >> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. = Pull >>> requests >>> >> >>> welcome. >>> >> >>> >> >> >>> >> >>> >> >> > 2. i would really like a way to have stored smart groups >>> (like >>> >> the >>> >> >>> >> jabref >>> >> >>> >> >> > dynamic groups if your aware of that). that is for examp= le >>> >> create >>> >> >>> a >>> >> >>> >> group >>> >> >>> >> >> > that auto selects all publications i have (by my first/l= ast >>> >> name) >>> >> >>> and >>> >> >>> >> >> shows >>> >> >>> >> >> > the count (in numbers) of these publications. >>> >> >>> >> >> >>> >> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems th= at all >>> >> >>> helm-bibtex is >>> >> >>> >> >> doing is giving you very flexible smart groups defined by >>> your >>> >> >>> search >>> >> >>> >> >> expressions. For example, if you want a list of your >>> >> publications, >>> >> >>> you >>> >> >>> >> >> can simple enter your name. And if you want a list of your >>> >> >>> articles, >>> >> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If y= ou want all your >>> >> articles >>> >> >>> from >>> >> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. = And so on. The >>> number >>> >> of >>> >> >>> >> >> matches will be displayed in the mode line. If you don=E2= =80=99t >>> want to >>> >> >>> type >>> >> >>> >> >> these search expressions, you could create a command that >>> invokes >>> >> >>> >> >> helm-bibtex with a default search expression and that comm= and >>> >> could >>> >> >>> be >>> >> >>> >> >> bound to a keyboard shortcut. >>> >> >>> >> >> >>> >> >>> >> >> > Another example is a group to keep track of all the pape= rs >>> im >>> >> >>> working >>> >> >>> >> on >>> >> >>> >> >> or >>> >> >>> >> >> > invloved with by matching keyword author and prep/*other >>> key >>> >> word >>> >> >>> >> >> >>> >> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords= =E2=80=9D for >>> keywords >>> >> >>> >> >> describing the content of the paper (as usual) and =E2=80= =9Ctags=E2=80=9D for >>> >> meta >>> >> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D= , =E2=80=9Cmanuscript=E2=80=9D, >>> >> =E2=80=9Cposter=E2=80=9D, >>> >> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of a= ll articles in progress, I >>> >> search >>> >> >>> for >>> >> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is= non-standard, it >>> has >>> >> to >>> >> >>> be >>> >> >>> >> >> added to `helm-bibtex-additional-search-fields`. >>> >> >>> >> >> >>> >> >>> >> >> Another solution would be to use the pubstate field and to >>> search >>> >> >>> for >>> >> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate = to >>> >> >>> >> >> helm-bibtex-additional-search-fields for this to work). >>> >> >>> >> >> >>> >> >>> >> >> > 3.is it possible to ass an option to auto generate a >>> bibkey >>> >> for a >>> >> >>> >> >> selected >>> >> >>> >> >> > citation based on user criteria such as >>> >> author(date)short-title? >>> >> >>> >> >> >>> >> >>> >> >> Maintaining the content of the BibTeX file not really in t= he >>> >> scope >>> >> >>> of >>> >> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). >>> >> Perhaps >>> >> >>> >> >> org-ref or ebib can help here? Once you have a function t= hat >>> >> >>> generates >>> >> >>> >> >> a new key and inserts it in the BibTeX file, you can easily >>> add >>> >> it >>> >> >>> to >>> >> >>> >> >> the list of actions in helm-bibtex. >>> >> >>> >> >> >>> >> >>> >> >> Hope that helps. >>> >> >>> >> >> >>> >> >>> >> >> Titus >>> >> >>> >> >> >>> >> >>> >> >> > thx so much in advance, you and john have given me >>> confidence >>> >> to >>> >> >>> >> finally >>> >> >>> >> >> > dive into the whole latex/bibteX world >>> >> >>> >> >> > >>> >> >>> >> >> > best >>> >> >>> >> >> > >>> >> >>> >> >> > Z >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >>> >> >>> >>> >> >> >>> >> >>> >> >>> >>> -- >>> 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 >>> >> >> -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: helm-bibtex questions Date: Fri, 26 Jun 2015 10:21:40 -0700 Message-ID: <87zj3mqtaz.fsf@posteo.de> References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> <87vbefkcal.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8XK3-0003H7-13 for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8XJz-00017t-7Q for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:21:50 -0400 Received: from mx02.posteo.de ([89.146.194.165]:44416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8XJy-00016q-St for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:21:47 -0400 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-06-26 Fri 00:21, Xebar Saram wrote: > Hi Titus > > Another round of helm-bibtex questions if you dont mind (question come > since i use it 50 times a day now ;-)) No problem. I=E2=80=99ve also learned a couple of things though this excha= nge. > 1. is there a way (or a keybind) to select all entries filtered? now to > select all my publications for example i have to use C-space > repeatedly. Key bindings are inherited from Helm so it=E2=80=99s useful to consult Helm= =E2=80=99s documentation for question of that type. I just checked and found that M-a selects all candidates. > 2. what is the syntax for greater then? for example all articles > 2012 > (year) I=E2=80=99m afraid that=E2=80=99s not possible because 2012 is just another= string for the purposes of matching. But you may want to check Helm=E2=80=99s documentation and mailing lists. Helm is full of surprises. > 4. i cant get helm-bibtex to search the biblatex field of pubstate. are > biblatex (biber) supported/ i have this in my config? > > (setq helm-bibtex-additional-search-fields '(pubstate)) This works on my setup. Helm-bibtex doesn=E2=80=99t really care whether something is a BibTeX or a Biblatex field. You should be able to use any kind of field whether standard or not. Note that additional search fields are not displayed in the results list (they are only used for matching). Perhaps that=E2=80=99s why you thought it doesn=E2=80=99t work? > also on a related issue i assume one can define many fields in the above > example. since my elisp sucks would the syntax be this > > (setq helm-bibtex-additional-search-fields '(pubstate tags)) This is correct. > or do you need to qoute them or use a , symbol? > > 5. i love the insert formatted reference (f5) option and use it often > sending people references: > a. does it also auto send that to the clipboard? There is currently no way to copy references directly to the clipboard. My recommendation is to use one of Emacs=E2=80=99 mail clients,= then you don=E2=80=99t need the clipboard. Mu4e is absolutely fantastic (especi= ally when combined with helm-mu). > b. it cuts most of the authors name and leaves only the first few. is the= re > a switch to get it to print all authors. is that a latex cite formatting > issue? Not sure what you mean by =E2=80=9Ccuts most of the authors=E2=80=9D. It d= oesn=E2=80=99t cut anything in my setup. Could you please provide an example? (Perhaps this is something for the issue tracker on Github.) Best wishes, Titus > > best and thanks so much again > > Z > > On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg > wrote: > >> >> >> Here is my CV in org-mode: >> >> https://gist.github.com/tmalsburg/96084ba82281937c26b7 >> >> It=E2=80=99s a pretty straightforward org document except for one thing:= the key >> to making this work was biblatex which can be used to create several >> lists of references filtered according to keywords, author, etc. This >> allowed me to have separate sections for journal articles, conference >> presentations, etc. I store the relevant keywords in the tags field of >> the BibTeX entries and since biblatex doesn=E2=80=99t know this field, I= copy >> the tags on-the-fly to the keywords field (see DeclareSourcemap in the >> LaTeX headers). >> >> Titus >> >> On 2015-06-22 Mon 07:28, Xebar Saram wrote: >> > Hi John >> > >> > a bit off topic, but do you also write your academic CV in orgmode or >> > lateX? in anycase would you mind sharing your org/latex CV template? it >> > would be helpful as a starting point for me if thats possible. >> > >> > kind regards and thanks so much in advance >> > >> > Z >> > >> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin >> > wrote: >> > >> >> sweet! I did not know you could do that! I will be refactoring org-ref >> >> soon to do that instead of redefining the commands! >> >> >> >> John >> >> >> >> ----------------------------------- >> >> 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 >> >> >> >> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >> >> malsburg@posteo.de> wrote: >> >> >> >>> >> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >> >>> > Hi again Titus >> >>> > >> >>> > 2 quick questions that arose from using helm-bitex today extensive= ly: >> >>> > >> >>> > how does one exclude in the search items? for example i want to >> search >> >>> for >> >>> > xebar without keyword "progress" (I want to exclude in progress >> articles >> >>> > not published yet) >> >>> > >> >>> > is it possible to define default enter command in helm-bibtex ? >> >>> >> >>> Yes. Helm uses the first action as the default action. To move an >> >>> action to the top of the list you can use the following code: >> >>> >> >>> (helm-delete-action-from-source "Insert BibTeX key" >> helm-source-bibtex) >> >>> (helm-add-action-to-source "Insert BibTeX key" >> 'helm-bibtex-insert-key >> >>> helm-source-bibtex 0) >> >>> >> >>> The second argument in the second line is the function that executes >> the >> >>> action. Here is a list of all actions and their functions: >> >>> >> >>> Open PDF file (if present): helm-bibtex-open-pdf >> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >> >>> Insert citation: helm-bibtex-insert-citation >> >>> Insert reference: helm-bibtex-insert-reference >> >>> Insert BibTeX key: helm-bibtex-insert-key >> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >> >>> Edit notes: helm-bibtex-edit-notes >> >>> Show entry: helm-bibtex-show-entry >> >>> >> >>> Best, >> >>> >> >>> Titus >> >>> >> >>> > >> >>> > best >> >>> > >> >>> > Z >> >>> > >> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >> >>> malsburg@posteo.de> >> >>> > wrote: >> >>> > >> >>> >> >> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >> >>> >> > Hi Titus and thx so much for the answers! >> >>> >> > >> >>> >> > i will in the future use the github page to make requests. >> >>> >> > >> >>> >> > "The number of matches will be displayed in the mode line. " >> >>> >> > >> >>> >> > i see that now thx! :) the problem was(is) that its colored bla= ck >> on >> >>> my >> >>> >> > black modline BG which makes it invisible ;-) i assume thats an >> helm >> >>> >> config >> >>> >> > i need to change >> >>> >> > >> >>> >> > >> >>> >> > "If you don=E2=80=99t want to type these search expressions, yo= u could >> >>> create a >> >>> >> > command that invokes helm-bibtex with a default search expressi= on >> and >> >>> >> that >> >>> >> > command could be bound to a keyboard shortcut." >> >>> >> > >> >>> >> > that would be prefect for me and a solution to my issue. would = you >> >>> mind >> >>> >> > giving an example of such a code chunk. unfortunately i dont kn= ow >> >>> elisp >> >>> >> though >> >>> >> > as john recommended i will do my best this summer when the >> semester >> >>> ends >> >>> >> to >> >>> >> > try and pick it up :) >> >>> >> >> >>> >> Sure, here you go: >> >>> >> >> >>> >> #+BEGIN_SRC elisp >> >>> >> ;; Define helm-search with predefined search expression: >> >>> >> (defun helm-bibtex-my-publications () >> >>> >> "Search BibTeX entries authored by Xebar Saram." >> >>> >> (interactive) >> >>> >> (helm :sources '(helm-source-bibtex) >> >>> >> :full-frame t >> >>> >> :input "xebar saram" >> >>> >> :candidate-number-limit 500)) >> >>> >> >> >>> >> ;; Bind this search function to Ctrl-x p: >> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >> >>> >> #+END_SRC >> >>> >> >> >>> >> > i will definitely use your tag system as you recommended, sounds >> >>> perfect >> >>> >> > for me >> >>> >> >> >>> >> The tag system also comes in handy when generating publication li= sts >> >>> for >> >>> >> CVs and web pages because BibTeX does not distinguish between >> >>> conference >> >>> >> papers, posters, and talks. If you have tags for that, it=E2=80= =99s >> relatively >> >>> >> easy to create separate sections for these types of publications >> using >> >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. >> >>> >> >> >>> >> > thanks again for your kind help and the amazing app ;-) >> >>> >> >> >>> >> You are welcome. >> >>> >> >> >>> >> Titus >> >>> >> >> >>> >> > >> >>> >> > best >> >>> >> > >> >>> >> > Z >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >> >>> >> malsburg@posteo.de >> >>> >> >> wrote: >> >>> >> > >> >>> >> >> >> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> >>> >> >> > Hi Titus >> >>> >> >> > >> >>> >> >> > I have been exploring helm-bibtex a bit today and have some >> >>> questions. >> >>> >> >> btw >> >>> >> >> > is this the preferred way to make requests/ask questions or = is >> >>> >> >> > github preferred? >> >>> >> >> >> >>> >> >> Helm-bibtex is not part of org (although it tries to work well >> with >> >>> >> >> org). So I=E2=80=99m not sure whether this list is the best p= lace for >> >>> >> >> discussing it. For now the issue tracker on Github might be a >> >>> better >> >>> >> >> option: >> >>> >> >> >> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >>> >> >> >> >>> >> >> > in any case i was wondering a few things: >> >>> >> >> > >> >>> >> >> > 1. is it possible to have custom sorting? i want all views to >> >>> sort by >> >>> >> >> > Author, year, month >> >>> >> >> >> >>> >> >> I prefer to see the entries in the (inverse) order in which th= ey >> >>> appear >> >>> >> >> in the BibTeX file. This way, recent additions show up at the >> >>> >> >> top. However, I agree that sorting would be useful (see issues >> #5 >> >>> and >> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pull= requests >> >>> welcome. >> >>> >> >> >> >>> >> >> > 2. i would really like a way to have stored smart groups (li= ke >> the >> >>> >> jabref >> >>> >> >> > dynamic groups if your aware of that). that is for example >> create >> >>> a >> >>> >> group >> >>> >> >> > that auto selects all publications i have (by my first/last >> name) >> >>> and >> >>> >> >> shows >> >>> >> >> > the count (in numbers) of these publications. >> >>> >> >> >> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems that a= ll >> >>> helm-bibtex is >> >>> >> >> doing is giving you very flexible smart groups defined by your >> >>> search >> >>> >> >> expressions. For example, if you want a list of your >> publications, >> >>> you >> >>> >> >> can simple enter your name. And if you want a list of your >> >>> articles, >> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you w= ant all your >> articles >> >>> from >> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And = so on. The number >> of >> >>> >> >> matches will be displayed in the mode line. If you don=E2=80= =99t want to >> >>> type >> >>> >> >> these search expressions, you could create a command that invo= kes >> >>> >> >> helm-bibtex with a default search expression and that command >> could >> >>> be >> >>> >> >> bound to a keyboard shortcut. >> >>> >> >> >> >>> >> >> > Another example is a group to keep track of all the papers im >> >>> working >> >>> >> on >> >>> >> >> or >> >>> >> >> > invloved with by matching keyword author and prep/*other key >> word >> >>> >> >> >> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2= =80=9D for keywords >> >>> >> >> describing the content of the paper (as usual) and =E2=80=9Cta= gs=E2=80=9D for >> meta >> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, = =E2=80=9Cmanuscript=E2=80=9D, >> =E2=80=9Cposter=E2=80=9D, >> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all a= rticles in progress, I >> search >> >>> for >> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is non= -standard, it has >> to >> >>> be >> >>> >> >> added to `helm-bibtex-additional-search-fields`. >> >>> >> >> >> >>> >> >> Another solution would be to use the pubstate field and to sea= rch >> >>> for >> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >> >>> >> >> helm-bibtex-additional-search-fields for this to work). >> >>> >> >> >> >>> >> >> > 3.is it possible to ass an option to auto generate a bibkey >> for a >> >>> >> >> selected >> >>> >> >> > citation based on user criteria such as >> author(date)short-title? >> >>> >> >> >> >>> >> >> Maintaining the content of the BibTeX file not really in the >> scope >> >>> of >> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). >> Perhaps >> >>> >> >> org-ref or ebib can help here? Once you have a function that >> >>> generates >> >>> >> >> a new key and inserts it in the BibTeX file, you can easily add >> it >> >>> to >> >>> >> >> the list of actions in helm-bibtex. >> >>> >> >> >> >>> >> >> Hope that helps. >> >>> >> >> >> >>> >> >> Titus >> >>> >> >> >> >>> >> >> > thx so much in advance, you and john have given me confidence >> to >> >>> >> finally >> >>> >> >> > dive into the whole latex/bibteX world >> >>> >> >> > >> >>> >> >> > best >> >>> >> >> > >> >>> >> >> > Z >> >>> >> >> >> >>> >> >> >> >>> >> >> >>> >> >> >>> >> >>> >> >> >> >> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVjYokAAoJEK40WfPGE2idjYwH/RyvxGIEbLecRnG6HyLuG8pI CTQZsAD0DZwrf+8LSpgHDUkrdMGIoNM1CuMdpOhfmHDiYs7TvU5vw0ISxsFcMf7A e6/7NxWpbDupv5vBwWCl3NCeJAGb6XdtJJ7Yo9cU/Bn6alazrml97YLtHD0jdKva aghjW8tEvoy/E9JE7fGmV9mQt105xR86Hc2Tz1V4tYuJcfQquKtoVjXQ9mREzAp9 9O1nErahKvpShAYFI9BzmAtcwU3sMlExfTK3E8j4IgOfBnLcFzcEj9hxhJHGiGqy boQsiLDLUUo+N1Wx8Lkmp6+YW4aRDvtJVayXOaNAMgiD2f16u7VfF1r/iaxkINk= =Lo13 -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: helm-bibtex questions Date: Fri, 26 Jun 2015 10:35:05 -0700 Message-ID: <87wpyqqsom.fsf@posteo.de> References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> <87vbefkcal.fsf@posteo.de> <87zj3mqtaz.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8XX1-0000Gt-Uh for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:35:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8XWy-0000mM-LJ for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:35:15 -0400 Received: from mx02.posteo.de ([89.146.194.165]:35644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8XWy-0000lZ-86 for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:35:12 -0400 In-reply-to: <87zj3mqtaz.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-06-26 Fri 10:21, Titus von der Malsburg wrote: > On 2015-06-26 Fri 00:21, Xebar Saram wrote: >> Hi Titus >> >> Another round of helm-bibtex questions if you dont mind (question come >> since i use it 50 times a day now ;-)) > > No problem. I=E2=80=99ve also learned a couple of things though this exc= hange. > >> 1. is there a way (or a keybind) to select all entries filtered? now to >> select all my publications for example i have to use C-space >> repeatedly. > > Key bindings are inherited from Helm so it=E2=80=99s useful to consult He= lm=E2=80=99s > documentation for question of that type. I just checked and found that > M-a selects all candidates. > >> 2. what is the syntax for greater then? for example all articles > 2012 >> (year) > > I=E2=80=99m afraid that=E2=80=99s not possible because 2012 is just anoth= er string for > the purposes of matching. But you may want to check Helm=E2=80=99s > documentation and mailing lists. Helm is full of surprises. Of course you can use regular expressions to search for a range of years: 201[2-5] Almost as good as >2012. > >> 4. i cant get helm-bibtex to search the biblatex field of pubstate. are >> biblatex (biber) supported/ i have this in my config? >> >> (setq helm-bibtex-additional-search-fields '(pubstate)) > > This works on my setup. Helm-bibtex doesn=E2=80=99t really care whether > something is a BibTeX or a Biblatex field. You should be able to use > any kind of field whether standard or not. Note that additional search > fields are not displayed in the results list (they are only used for > matching). Perhaps that=E2=80=99s why you thought it doesn=E2=80=99t wor= k? > >> also on a related issue i assume one can define many fields in the above >> example. since my elisp sucks would the syntax be this >> >> (setq helm-bibtex-additional-search-fields '(pubstate tags)) > > This is correct. > >> or do you need to qoute them or use a , symbol? >> >> 5. i love the insert formatted reference (f5) option and use it often >> sending people references: >> a. does it also auto send that to the clipboard? > > There is currently no way to copy references directly to the > clipboard. My recommendation is to use one of Emacs=E2=80=99 mail client= s, then > you don=E2=80=99t need the clipboard. Mu4e is absolutely fantastic (espe= cially > when combined with helm-mu). > >> b. it cuts most of the authors name and leaves only the first few. is th= ere >> a switch to get it to print all authors. is that a latex cite formatting >> issue? > > Not sure what you mean by =E2=80=9Ccuts most of the authors=E2=80=9D. It= doesn=E2=80=99t cut > anything in my setup. Could you please provide an example? (Perhaps > this is something for the issue tracker on Github.) > > Best wishes, > > Titus > > >> >> best and thanks so much again >> >> Z >> >> On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg >> wrote: >> >>> >>> >>> Here is my CV in org-mode: >>> >>> https://gist.github.com/tmalsburg/96084ba82281937c26b7 >>> >>> It=E2=80=99s a pretty straightforward org document except for one thing= : the key >>> to making this work was biblatex which can be used to create several >>> lists of references filtered according to keywords, author, etc. This >>> allowed me to have separate sections for journal articles, conference >>> presentations, etc. I store the relevant keywords in the tags field of >>> the BibTeX entries and since biblatex doesn=E2=80=99t know this field, = I copy >>> the tags on-the-fly to the keywords field (see DeclareSourcemap in the >>> LaTeX headers). >>> >>> Titus >>> >>> On 2015-06-22 Mon 07:28, Xebar Saram wrote: >>> > Hi John >>> > >>> > a bit off topic, but do you also write your academic CV in orgmode or >>> > lateX? in anycase would you mind sharing your org/latex CV template? = it >>> > would be helpful as a starting point for me if thats possible. >>> > >>> > kind regards and thanks so much in advance >>> > >>> > Z >>> > >>> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin >>> > wrote: >>> > >>> >> sweet! I did not know you could do that! I will be refactoring org-r= ef >>> >> soon to do that instead of redefining the commands! >>> >> >>> >> John >>> >> >>> >> ----------------------------------- >>> >> 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 >>> >> >>> >> >>> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >>> >> malsburg@posteo.de> wrote: >>> >> >>> >>> >>> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >>> >>> > Hi again Titus >>> >>> > >>> >>> > 2 quick questions that arose from using helm-bitex today extensiv= ely: >>> >>> > >>> >>> > how does one exclude in the search items? for example i want to >>> search >>> >>> for >>> >>> > xebar without keyword "progress" (I want to exclude in progress >>> articles >>> >>> > not published yet) >>> >>> > >>> >>> > is it possible to define default enter command in helm-bibtex ? >>> >>> >>> >>> Yes. Helm uses the first action as the default action. To move an >>> >>> action to the top of the list you can use the following code: >>> >>> >>> >>> (helm-delete-action-from-source "Insert BibTeX key" >>> helm-source-bibtex) >>> >>> (helm-add-action-to-source "Insert BibTeX key" >>> 'helm-bibtex-insert-key >>> >>> helm-source-bibtex 0) >>> >>> >>> >>> The second argument in the second line is the function that executes >>> the >>> >>> action. Here is a list of all actions and their functions: >>> >>> >>> >>> Open PDF file (if present): helm-bibtex-open-pdf >>> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >>> >>> Insert citation: helm-bibtex-insert-citation >>> >>> Insert reference: helm-bibtex-insert-reference >>> >>> Insert BibTeX key: helm-bibtex-insert-key >>> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >>> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >>> >>> Edit notes: helm-bibtex-edit-notes >>> >>> Show entry: helm-bibtex-show-entry >>> >>> >>> >>> Best, >>> >>> >>> >>> Titus >>> >>> >>> >>> > >>> >>> > best >>> >>> > >>> >>> > Z >>> >>> > >>> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >>> >>> malsburg@posteo.de> >>> >>> > wrote: >>> >>> > >>> >>> >> >>> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >>> >>> >> > Hi Titus and thx so much for the answers! >>> >>> >> > >>> >>> >> > i will in the future use the github page to make requests. >>> >>> >> > >>> >>> >> > "The number of matches will be displayed in the mode line. " >>> >>> >> > >>> >>> >> > i see that now thx! :) the problem was(is) that its colored bl= ack >>> on >>> >>> my >>> >>> >> > black modline BG which makes it invisible ;-) i assume thats an >>> helm >>> >>> >> config >>> >>> >> > i need to change >>> >>> >> > >>> >>> >> > >>> >>> >> > "If you don=E2=80=99t want to type these search expressions, y= ou could >>> >>> create a >>> >>> >> > command that invokes helm-bibtex with a default search express= ion >>> and >>> >>> >> that >>> >>> >> > command could be bound to a keyboard shortcut." >>> >>> >> > >>> >>> >> > that would be prefect for me and a solution to my issue. would= you >>> >>> mind >>> >>> >> > giving an example of such a code chunk. unfortunately i dont k= now >>> >>> elisp >>> >>> >> though >>> >>> >> > as john recommended i will do my best this summer when the >>> semester >>> >>> ends >>> >>> >> to >>> >>> >> > try and pick it up :) >>> >>> >> >>> >>> >> Sure, here you go: >>> >>> >> >>> >>> >> #+BEGIN_SRC elisp >>> >>> >> ;; Define helm-search with predefined search expression: >>> >>> >> (defun helm-bibtex-my-publications () >>> >>> >> "Search BibTeX entries authored by Xebar Saram." >>> >>> >> (interactive) >>> >>> >> (helm :sources '(helm-source-bibtex) >>> >>> >> :full-frame t >>> >>> >> :input "xebar saram" >>> >>> >> :candidate-number-limit 500)) >>> >>> >> >>> >>> >> ;; Bind this search function to Ctrl-x p: >>> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >>> >>> >> #+END_SRC >>> >>> >> >>> >>> >> > i will definitely use your tag system as you recommended, soun= ds >>> >>> perfect >>> >>> >> > for me >>> >>> >> >>> >>> >> The tag system also comes in handy when generating publication l= ists >>> >>> for >>> >>> >> CVs and web pages because BibTeX does not distinguish between >>> >>> conference >>> >>> >> papers, posters, and talks. If you have tags for that, it=E2=80= =99s >>> relatively >>> >>> >> easy to create separate sections for these types of publications >>> using >>> >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. >>> >>> >> >>> >>> >> > thanks again for your kind help and the amazing app ;-) >>> >>> >> >>> >>> >> You are welcome. >>> >>> >> >>> >>> >> Titus >>> >>> >> >>> >>> >> > >>> >>> >> > best >>> >>> >> > >>> >>> >> > Z >>> >>> >> > >>> >>> >> > >>> >>> >> > >>> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >>> >>> >> malsburg@posteo.de >>> >>> >> >> wrote: >>> >>> >> > >>> >>> >> >> >>> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >>> >>> >> >> > Hi Titus >>> >>> >> >> > >>> >>> >> >> > I have been exploring helm-bibtex a bit today and have some >>> >>> questions. >>> >>> >> >> btw >>> >>> >> >> > is this the preferred way to make requests/ask questions or= is >>> >>> >> >> > github preferred? >>> >>> >> >> >>> >>> >> >> Helm-bibtex is not part of org (although it tries to work well >>> with >>> >>> >> >> org). So I=E2=80=99m not sure whether this list is the best = place for >>> >>> >> >> discussing it. For now the issue tracker on Github might be a >>> >>> better >>> >>> >> >> option: >>> >>> >> >> >>> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >>> >>> >> >> >>> >>> >> >> > in any case i was wondering a few things: >>> >>> >> >> > >>> >>> >> >> > 1. is it possible to have custom sorting? i want all views = to >>> >>> sort by >>> >>> >> >> > Author, year, month >>> >>> >> >> >>> >>> >> >> I prefer to see the entries in the (inverse) order in which t= hey >>> >>> appear >>> >>> >> >> in the BibTeX file. This way, recent additions show up at the >>> >>> >> >> top. However, I agree that sorting would be useful (see issu= es >>> #5 >>> >>> and >>> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pul= l requests >>> >>> welcome. >>> >>> >> >> >>> >>> >> >> > 2. i would really like a way to have stored smart groups (l= ike >>> the >>> >>> >> jabref >>> >>> >> >> > dynamic groups if your aware of that). that is for example >>> create >>> >>> a >>> >>> >> group >>> >>> >> >> > that auto selects all publications i have (by my first/last >>> name) >>> >>> and >>> >>> >> >> shows >>> >>> >> >> > the count (in numbers) of these publications. >>> >>> >> >> >>> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems that = all >>> >>> helm-bibtex is >>> >>> >> >> doing is giving you very flexible smart groups defined by your >>> >>> search >>> >>> >> >> expressions. For example, if you want a list of your >>> publications, >>> >>> you >>> >>> >> >> can simple enter your name. And if you want a list of your >>> >>> articles, >>> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you = want all your >>> articles >>> >>> from >>> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And= so on. The number >>> of >>> >>> >> >> matches will be displayed in the mode line. If you don=E2=80= =99t want to >>> >>> type >>> >>> >> >> these search expressions, you could create a command that inv= okes >>> >>> >> >> helm-bibtex with a default search expression and that command >>> could >>> >>> be >>> >>> >> >> bound to a keyboard shortcut. >>> >>> >> >> >>> >>> >> >> > Another example is a group to keep track of all the papers = im >>> >>> working >>> >>> >> on >>> >>> >> >> or >>> >>> >> >> > invloved with by matching keyword author and prep/*other key >>> word >>> >>> >> >> >>> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2= =80=9D for keywords >>> >>> >> >> describing the content of the paper (as usual) and =E2=80=9Ct= ags=E2=80=9D for >>> meta >>> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, = =E2=80=9Cmanuscript=E2=80=9D, >>> =E2=80=9Cposter=E2=80=9D, >>> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all = articles in progress, I >>> search >>> >>> for >>> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is no= n-standard, it has >>> to >>> >>> be >>> >>> >> >> added to `helm-bibtex-additional-search-fields`. >>> >>> >> >> >>> >>> >> >> Another solution would be to use the pubstate field and to se= arch >>> >>> for >>> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >>> >>> >> >> helm-bibtex-additional-search-fields for this to work). >>> >>> >> >> >>> >>> >> >> > 3.is it possible to ass an option to auto generate a bibkey >>> for a >>> >>> >> >> selected >>> >>> >> >> > citation based on user criteria such as >>> author(date)short-title? >>> >>> >> >> >>> >>> >> >> Maintaining the content of the BibTeX file not really in the >>> scope >>> >>> of >>> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). >>> Perhaps >>> >>> >> >> org-ref or ebib can help here? Once you have a function that >>> >>> generates >>> >>> >> >> a new key and inserts it in the BibTeX file, you can easily a= dd >>> it >>> >>> to >>> >>> >> >> the list of actions in helm-bibtex. >>> >>> >> >> >>> >>> >> >> Hope that helps. >>> >>> >> >> >>> >>> >> >> Titus >>> >>> >> >> >>> >>> >> >> > thx so much in advance, you and john have given me confiden= ce >>> to >>> >>> >> finally >>> >>> >> >> > dive into the whole latex/bibteX world >>> >>> >> >> > >>> >>> >> >> > best >>> >>> >> >> > >>> >>> >> >> > Z >>> >>> >> >> >>> >>> >> >> >>> >>> >> >>> >>> >> >>> >>> >>> >>> >>> >> >>> >>> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVjY1KAAoJEK40WfPGE2idt7YH/jQ1cyQhPiIPlsdPfxRkALvS n6jMu7HXZhk7CKTzLMFFhSofO+ODDTlZwkgiNz4wnO+7PnKfCj9A9+2BvxnYRQyR J9nJZZs4AQ99QXQQ0HQFOTDi5XA5K7rt6P+GPncGreAsi0SnFWhgrnGb+JeNdfsx Xu9l82ODAwHi4TPREI9OA2emAmnNnrZtK0UivBpdpBOfheeVzqZ6Jbox1Gqy7dfc /DQdHSYC5HXu4D9szYyf9S7/ZDFyjx7r9pa1NB3ZQpM/0a+gi85la25NDImGo1Dk ms5ZWoSwQXBuZ8rz7ZTplMMdLBrEyj1KfkC32/uGjB1ZdMq5TgC1/M1h/qUmKRk= =Hss6 -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Fri, 26 Jun 2015 13:54:47 -0400 Message-ID: References: <87ioamm7c2.fsf@posteo.de> <878ubgn9p9.fsf@posteo.de> <87381klxt1.fsf@posteo.de> <87vbefkcal.fsf@posteo.de> <87zj3mqtaz.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Xq3-0003tw-Gs for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Xpz-0001Im-9I for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:54:55 -0400 Received: from mail-qc0-x22b.google.com ([2607:f8b0:400d:c01::22b]:34168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Xpz-0001IR-3Y for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 13:54:51 -0400 Received: by qcji3 with SMTP id i3so31624160qcj.1 for ; Fri, 26 Jun 2015 10:54:50 -0700 (PDT) In-reply-to: <87zj3mqtaz.fsf@posteo.de> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Titus von der Malsburg Cc: Xebar Saram , org mode In org-ref, I have a function that will copy a bibtex entry to the clipboard in the helm menu for the cite link actions: https://github.com/jkitchin/org-ref/blob/master/org-ref.el#L3363 And here a menu item to insert a bibtex entry and attach its pdf to an email: https://github.com/jkitchin/org-ref/blob/master/org-ref.el#L3382 exactly for those purposes! >> 5. i love the insert formatted reference (f5) option and use it often >> sending people references: >> a. does it also auto send that to the clipboard? > > There is currently no way to copy references directly to the > clipboard. My recommendation is to use one of Emacs=E2=80=99 mail client= s, then > you don=E2=80=99t need the clipboard. Mu4e is absolutely fantastic (espe= cially > when combined with helm-mu). > >> b. it cuts most of the authors name and leaves only the first few. is th= ere >> a switch to get it to print all authors. is that a latex cite formatting >> issue? > > Not sure what you mean by =E2=80=9Ccuts most of the authors=E2=80=9D. It= doesn=E2=80=99t cut > anything in my setup. Could you please provide an example? (Perhaps > this is something for the issue tracker on Github.) > > Best wishes, > > Titus > > >> >> best and thanks so much again >> >> Z >> >> On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg >> wrote: >> >>> >>> >>> Here is my CV in org-mode: >>> >>> https://gist.github.com/tmalsburg/96084ba82281937c26b7 >>> >>> It=E2=80=99s a pretty straightforward org document except for one thing= : the key >>> to making this work was biblatex which can be used to create several >>> lists of references filtered according to keywords, author, etc. This >>> allowed me to have separate sections for journal articles, conference >>> presentations, etc. I store the relevant keywords in the tags field of >>> the BibTeX entries and since biblatex doesn=E2=80=99t know this field, = I copy >>> the tags on-the-fly to the keywords field (see DeclareSourcemap in the >>> LaTeX headers). >>> >>> Titus >>> >>> On 2015-06-22 Mon 07:28, Xebar Saram wrote: >>> > Hi John >>> > >>> > a bit off topic, but do you also write your academic CV in orgmode or >>> > lateX? in anycase would you mind sharing your org/latex CV template? = it >>> > would be helpful as a starting point for me if thats possible. >>> > >>> > kind regards and thanks so much in advance >>> > >>> > Z >>> > >>> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin >>> > wrote: >>> > >>> >> sweet! I did not know you could do that! I will be refactoring org-r= ef >>> >> soon to do that instead of redefining the commands! >>> >> >>> >> John >>> >> >>> >> ----------------------------------- >>> >> 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 >>> >> >>> >> >>> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >>> >> malsburg@posteo.de> wrote: >>> >> >>> >>> >>> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >>> >>> > Hi again Titus >>> >>> > >>> >>> > 2 quick questions that arose from using helm-bitex today extensiv= ely: >>> >>> > >>> >>> > how does one exclude in the search items? for example i want to >>> search >>> >>> for >>> >>> > xebar without keyword "progress" (I want to exclude in progress >>> articles >>> >>> > not published yet) >>> >>> > >>> >>> > is it possible to define default enter command in helm-bibtex ? >>> >>> >>> >>> Yes. Helm uses the first action as the default action. To move an >>> >>> action to the top of the list you can use the following code: >>> >>> >>> >>> (helm-delete-action-from-source "Insert BibTeX key" >>> helm-source-bibtex) >>> >>> (helm-add-action-to-source "Insert BibTeX key" >>> 'helm-bibtex-insert-key >>> >>> helm-source-bibtex 0) >>> >>> >>> >>> The second argument in the second line is the function that executes >>> the >>> >>> action. Here is a list of all actions and their functions: >>> >>> >>> >>> Open PDF file (if present): helm-bibtex-open-pdf >>> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >>> >>> Insert citation: helm-bibtex-insert-citation >>> >>> Insert reference: helm-bibtex-insert-reference >>> >>> Insert BibTeX key: helm-bibtex-insert-key >>> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >>> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >>> >>> Edit notes: helm-bibtex-edit-notes >>> >>> Show entry: helm-bibtex-show-entry >>> >>> >>> >>> Best, >>> >>> >>> >>> Titus >>> >>> >>> >>> > >>> >>> > best >>> >>> > >>> >>> > Z >>> >>> > >>> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >>> >>> malsburg@posteo.de> >>> >>> > wrote: >>> >>> > >>> >>> >> >>> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >>> >>> >> > Hi Titus and thx so much for the answers! >>> >>> >> > >>> >>> >> > i will in the future use the github page to make requests. >>> >>> >> > >>> >>> >> > "The number of matches will be displayed in the mode line. " >>> >>> >> > >>> >>> >> > i see that now thx! :) the problem was(is) that its colored bl= ack >>> on >>> >>> my >>> >>> >> > black modline BG which makes it invisible ;-) i assume thats an >>> helm >>> >>> >> config >>> >>> >> > i need to change >>> >>> >> > >>> >>> >> > >>> >>> >> > "If you don=E2=80=99t want to type these search expressions, y= ou could >>> >>> create a >>> >>> >> > command that invokes helm-bibtex with a default search express= ion >>> and >>> >>> >> that >>> >>> >> > command could be bound to a keyboard shortcut." >>> >>> >> > >>> >>> >> > that would be prefect for me and a solution to my issue. would= you >>> >>> mind >>> >>> >> > giving an example of such a code chunk. unfortunately i dont k= now >>> >>> elisp >>> >>> >> though >>> >>> >> > as john recommended i will do my best this summer when the >>> semester >>> >>> ends >>> >>> >> to >>> >>> >> > try and pick it up :) >>> >>> >> >>> >>> >> Sure, here you go: >>> >>> >> >>> >>> >> #+BEGIN_SRC elisp >>> >>> >> ;; Define helm-search with predefined search expression: >>> >>> >> (defun helm-bibtex-my-publications () >>> >>> >> "Search BibTeX entries authored by Xebar Saram." >>> >>> >> (interactive) >>> >>> >> (helm :sources '(helm-source-bibtex) >>> >>> >> :full-frame t >>> >>> >> :input "xebar saram" >>> >>> >> :candidate-number-limit 500)) >>> >>> >> >>> >>> >> ;; Bind this search function to Ctrl-x p: >>> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >>> >>> >> #+END_SRC >>> >>> >> >>> >>> >> > i will definitely use your tag system as you recommended, soun= ds >>> >>> perfect >>> >>> >> > for me >>> >>> >> >>> >>> >> The tag system also comes in handy when generating publication l= ists >>> >>> for >>> >>> >> CVs and web pages because BibTeX does not distinguish between >>> >>> conference >>> >>> >> papers, posters, and talks. If you have tags for that, it=E2=80= =99s >>> relatively >>> >>> >> easy to create separate sections for these types of publications >>> using >>> >>> >> biblatex or bib2bib and bibtex2html in the case of web pages. >>> >>> >> >>> >>> >> > thanks again for your kind help and the amazing app ;-) >>> >>> >> >>> >>> >> You are welcome. >>> >>> >> >>> >>> >> Titus >>> >>> >> >>> >>> >> > >>> >>> >> > best >>> >>> >> > >>> >>> >> > Z >>> >>> >> > >>> >>> >> > >>> >>> >> > >>> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg < >>> >>> >> malsburg@posteo.de >>> >>> >> >> wrote: >>> >>> >> > >>> >>> >> >> >>> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >>> >>> >> >> > Hi Titus >>> >>> >> >> > >>> >>> >> >> > I have been exploring helm-bibtex a bit today and have some >>> >>> questions. >>> >>> >> >> btw >>> >>> >> >> > is this the preferred way to make requests/ask questions or= is >>> >>> >> >> > github preferred? >>> >>> >> >> >>> >>> >> >> Helm-bibtex is not part of org (although it tries to work well >>> with >>> >>> >> >> org). So I=E2=80=99m not sure whether this list is the best = place for >>> >>> >> >> discussing it. For now the issue tracker on Github might be a >>> >>> better >>> >>> >> >> option: >>> >>> >> >> >>> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >>> >>> >> >> >>> >>> >> >> > in any case i was wondering a few things: >>> >>> >> >> > >>> >>> >> >> > 1. is it possible to have custom sorting? i want all views = to >>> >>> sort by >>> >>> >> >> > Author, year, month >>> >>> >> >> >>> >>> >> >> I prefer to see the entries in the (inverse) order in which t= hey >>> >>> appear >>> >>> >> >> in the BibTeX file. This way, recent additions show up at the >>> >>> >> >> top. However, I agree that sorting would be useful (see issu= es >>> #5 >>> >>> and >>> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me. Pul= l requests >>> >>> welcome. >>> >>> >> >> >>> >>> >> >> > 2. i would really like a way to have stored smart groups (l= ike >>> the >>> >>> >> jabref >>> >>> >> >> > dynamic groups if your aware of that). that is for example >>> create >>> >>> a >>> >>> >> group >>> >>> >> >> > that auto selects all publications i have (by my first/last >>> name) >>> >>> and >>> >>> >> >> shows >>> >>> >> >> > the count (in numbers) of these publications. >>> >>> >> >> >>> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems that = all >>> >>> helm-bibtex is >>> >>> >> >> doing is giving you very flexible smart groups defined by your >>> >>> search >>> >>> >> >> expressions. For example, if you want a list of your >>> publications, >>> >>> you >>> >>> >> >> can simple enter your name. And if you want a list of your >>> >>> articles, >>> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If you = want all your >>> articles >>> >>> from >>> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D. And= so on. The number >>> of >>> >>> >> >> matches will be displayed in the mode line. If you don=E2=80= =99t want to >>> >>> type >>> >>> >> >> these search expressions, you could create a command that inv= okes >>> >>> >> >> helm-bibtex with a default search expression and that command >>> could >>> >>> be >>> >>> >> >> bound to a keyboard shortcut. >>> >>> >> >> >>> >>> >> >> > Another example is a group to keep track of all the papers = im >>> >>> working >>> >>> >> on >>> >>> >> >> or >>> >>> >> >> > invloved with by matching keyword author and prep/*other key >>> word >>> >>> >> >> >>> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywords=E2= =80=9D for keywords >>> >>> >> >> describing the content of the paper (as usual) and =E2=80=9Ct= ags=E2=80=9D for >>> meta >>> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80=9D, = =E2=80=9Cmanuscript=E2=80=9D, >>> =E2=80=9Cposter=E2=80=9D, >>> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of all = articles in progress, I >>> search >>> >>> for >>> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field is no= n-standard, it has >>> to >>> >>> be >>> >>> >> >> added to `helm-bibtex-additional-search-fields`. >>> >>> >> >> >>> >>> >> >> Another solution would be to use the pubstate field and to se= arch >>> >>> for >>> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstate to >>> >>> >> >> helm-bibtex-additional-search-fields for this to work). >>> >>> >> >> >>> >>> >> >> > 3.is it possible to ass an option to auto generate a bibkey >>> for a >>> >>> >> >> selected >>> >>> >> >> > citation based on user criteria such as >>> author(date)short-title? >>> >>> >> >> >>> >>> >> >> Maintaining the content of the BibTeX file not really in the >>> scope >>> >>> of >>> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand). >>> Perhaps >>> >>> >> >> org-ref or ebib can help here? Once you have a function that >>> >>> generates >>> >>> >> >> a new key and inserts it in the BibTeX file, you can easily a= dd >>> it >>> >>> to >>> >>> >> >> the list of actions in helm-bibtex. >>> >>> >> >> >>> >>> >> >> Hope that helps. >>> >>> >> >> >>> >>> >> >> Titus >>> >>> >> >> >>> >>> >> >> > thx so much in advance, you and john have given me confiden= ce >>> to >>> >>> >> finally >>> >>> >> >> > dive into the whole latex/bibteX world >>> >>> >> >> > >>> >>> >> >> > best >>> >>> >> >> > >>> >>> >> >> > Z >>> >>> >> >> >>> >>> >> >> >>> >>> >> >>> >>> >> >>> >>> >>> >>> >>> >> >>> >>> -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Sat, 27 Jun 2015 09:11:59 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01493b94feb7f4051979bb96 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8jLR-00061D-E7 for emacs-orgmode@gnu.org; Sat, 27 Jun 2015 02:12:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8jLN-0001zm-1L for emacs-orgmode@gnu.org; Sat, 27 Jun 2015 02:12:05 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:33030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8jLM-0001yg-BQ for emacs-orgmode@gnu.org; Sat, 27 Jun 2015 02:12:00 -0400 Received: by laar3 with SMTP id r3so14808457laa.0 for ; Fri, 26 Jun 2015 23:11:59 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: org mode --089e01493b94feb7f4051979bb96 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hmm strange still dosent work for me. here is the top section of my bib fil= e -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- @article{ackerman-1998-discr-clear, author =3D {Ackerman, {S.A.} and Strabala, {K.I.} and Menzel, {W.P.} and Frey, {R.A.} and Moeller, {C.C.} and Gumley, {L.E.}}, title =3D {Discriminating Clear Sky From Clouds With Modis}, journal =3D {Journal of Geophysical Research}, volume =3D 103, number =3D {D24}, pages =3D {32,141--32,157}, year =3D 1998, shorttitle =3D {Discriminating clear sky from clouds with {MODIS}}, } when i use the org ref clean i still get bibtex-format-entry: Mandatory field `journal' is missing also in the emacs menu the entry type is still bibtex. i tried restarting emacs and still no go. any clue? also do you prefer I continue this discussion on the github org-ref site? best! Z On Fri, Jun 26, 2015 at 5:28 PM, John Kitchin wrote: > > http://tex.stackexchange.com/questions/78455/does-emacs-support-editing-b= ibliography-files-for-biblatex > > I think you need this in your bibtex file: > > -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- > > > Xebar Saram writes: > > > thanks so much again John > > > > i did add this line > > (bibtex-set-dialect 'biblatex) > > in my init but that dosent seem to do much as i still get the "journal > > mandatory field missing" error. anything else i can try? > > > > best > > > > Z > > > > > > On Thu, Jun 25, 2015 at 2:09 PM, John Kitchin > > wrote: > > > >> I believe that is an emacs bibtex issue. You need some kind of line in > >> your bibtex file to specify it is the biblatex dialect. > >> > >> > >> On June 25, 2015, at 6:58 AM, Xebar Saram wrote: > >> > >> > >> Great, works well. one question though (and this may very well be due = to > >> my inexperience). the jabref export i had used 'journaltitle' instead = of > >> journal to be (to my understanding) compatible with the newer .bib fil= es > >> used by biblatex (and biber). when i ran org-ref clean it gave an erro= r > on" > >> journal mandatory field missing". i had to replace all 'journaltitle' > to > >> 'journal' to get it to work. > >> is this by design? does org-ref not support the new biblatex/biber .bi= b > >> file format? > >> > >> kind regards > >> > >> Itai > >> > >> On Thu, Jun 25, 2015 at 12:03 AM, John Kitchin > > >> wrote: > >> > >>> yes, there is a way ;) > >>> > >>> First. Make sure you have a backup of the references. I like to keep > >>> mine in a local git repo so you can undo any mistakes that get made. > >>> > >>> I suggest you run these first: > >>> %% (bibtex-validate-globally) ; checks for duplicate keys > >>> %% (bibtex-validate) > >>> > >>> I also recommend you run bibtex-sort (it is easier to spot duplicates > in > >>> a sorted list). > >>> > >>> and (org-ref-build-full-bibliography) <- makes a pdf of all reference= s. > >>> > >>> to make sure everything is compliant and functional. > >>> > >>> Then, put this next line at the top of your bibtex file. The t > argument to > >>> org-ref-clean-bibtex-entry will preserve your existing keys. > >>> > >>> % (bibtex-map-entries (lambda (key start end) > (org-ref-clean-bibtex-entry > >>> t))) > >>> > >>> Put your cursor at the end of that line, and type C-x C-e to run the > >>> function, and > >>> wait patiently. It took a few minutes on my 1300 entries, and I had t= o > >>> restart it once on some entry. > >>> > >>> when it is done, run (org-ref-build-full-bibliography) again to make > >>> sure it works and review the ~200 page pdf ;). fix errors and repeat > >>> until it builds ;) > >>> > >>> Note if you want to change title cases in all entries you can use > >>> > >>> % (bibtex-map-entries 'jmax-title-case-article) > >>> % (bibtex-map-entries 'jmax-sentence-case-article) > >>> > >>> I hope that helps! > >>> > >>> Xebar Saram writes: > >>> > >>> > John > >>> > > >>> > First of all thanks so much for the excellent > org-ref-clean-bibtex-entry > >>> > function i love it! > >>> > also your blog post on cleaning the bib file is a life saver > >>> > > >>> > i have 800 references, is there a way to auto > >>> > make org-ref-clean-bibtex-entry go thorough my whole bib file inste= ad > >>> of me > >>> > going and cleaning it 1 by 1? > >>> > > >>> > kind regards > >>> > > >>> > Z. > >>> > > >>> > On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg < > >>> malsburg@posteo.de> > >>> > wrote: > >>> > > >>> >> > >>> >> > >>> >> Here is my CV in org-mode: > >>> >> > >>> >> https://gist.github.com/tmalsburg/96084ba82281937c26b7 > >>> >> > >>> >> It=E2=80=99s a pretty straightforward org document except for one = thing: the > >>> key > >>> >> to making this work was biblatex which can be used to create sever= al > >>> >> lists of references filtered according to keywords, author, etc. > This > >>> >> allowed me to have separate sections for journal articles, > conference > >>> >> presentations, etc. I store the relevant keywords in the tags > field of > >>> >> the BibTeX entries and since biblatex doesn=E2=80=99t know this fi= eld, I > copy > >>> >> the tags on-the-fly to the keywords field (see DeclareSourcemap in > the > >>> >> LaTeX headers). > >>> >> > >>> >> Titus > >>> >> > >>> >> On 2015-06-22 Mon 07:28, Xebar Saram wrote: > >>> >> > Hi John > >>> >> > > >>> >> > a bit off topic, but do you also write your academic CV in > orgmode or > >>> >> > lateX? in anycase would you mind sharing your org/latex CV > template? > >>> it > >>> >> > would be helpful as a starting point for me if thats possible. > >>> >> > > >>> >> > kind regards and thanks so much in advance > >>> >> > > >>> >> > Z > >>> >> > > >>> >> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin < > >>> jkitchin@andrew.cmu.edu> > >>> >> > wrote: > >>> >> > > >>> >> >> sweet! I did not know you could do that! I will be refactoring > >>> org-ref > >>> >> >> soon to do that instead of redefining the commands! > >>> >> >> > >>> >> >> John > >>> >> >> > >>> >> >> ----------------------------------- > >>> >> >> 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 > >>> >> >> > >>> >> >> > >>> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < > >>> >> >> malsburg@posteo.de> wrote: > >>> >> >> > >>> >> >>> > >>> >> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: > >>> >> >>> > Hi again Titus > >>> >> >>> > > >>> >> >>> > 2 quick questions that arose from using helm-bitex today > >>> extensively: > >>> >> >>> > > >>> >> >>> > how does one exclude in the search items? for example i want > to > >>> >> search > >>> >> >>> for > >>> >> >>> > xebar without keyword "progress" (I want to exclude in > progress > >>> >> articles > >>> >> >>> > not published yet) > >>> >> >>> > > >>> >> >>> > is it possible to define default enter command in helm-bibte= x > ? > >>> >> >>> > >>> >> >>> Yes. Helm uses the first action as the default action. To > move an > >>> >> >>> action to the top of the list you can use the following code: > >>> >> >>> > >>> >> >>> (helm-delete-action-from-source "Insert BibTeX key" > >>> >> helm-source-bibtex) > >>> >> >>> (helm-add-action-to-source "Insert BibTeX key" > >>> >> 'helm-bibtex-insert-key > >>> >> >>> helm-source-bibtex 0) > >>> >> >>> > >>> >> >>> The second argument in the second line is the function that > >>> executes > >>> >> the > >>> >> >>> action. Here is a list of all actions and their functions: > >>> >> >>> > >>> >> >>> Open PDF file (if present): helm-bibtex-open-pdf > >>> >> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi > >>> >> >>> Insert citation: helm-bibtex-insert-citation > >>> >> >>> Insert reference: helm-bibtex-insert-reference > >>> >> >>> Insert BibTeX key: helm-bibtex-insert-key > >>> >> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex > >>> >> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment > >>> >> >>> Edit notes: helm-bibtex-edit-notes > >>> >> >>> Show entry: helm-bibtex-show-entry > >>> >> >>> > >>> >> >>> Best, > >>> >> >>> > >>> >> >>> Titus > >>> >> >>> > >>> >> >>> > > >>> >> >>> > best > >>> >> >>> > > >>> >> >>> > Z > >>> >> >>> > > >>> >> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < > >>> >> >>> malsburg@posteo.de> > >>> >> >>> > wrote: > >>> >> >>> > > >>> >> >>> >> > >>> >> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: > >>> >> >>> >> > Hi Titus and thx so much for the answers! > >>> >> >>> >> > > >>> >> >>> >> > i will in the future use the github page to make requests= . > >>> >> >>> >> > > >>> >> >>> >> > "The number of matches will be displayed in the mode line= . > " > >>> >> >>> >> > > >>> >> >>> >> > i see that now thx! :) the problem was(is) that its color= ed > >>> black > >>> >> on > >>> >> >>> my > >>> >> >>> >> > black modline BG which makes it invisible ;-) i assume > thats > >>> an > >>> >> helm > >>> >> >>> >> config > >>> >> >>> >> > i need to change > >>> >> >>> >> > > >>> >> >>> >> > > >>> >> >>> >> > "If you don=E2=80=99t want to type these search expressio= ns, you > could > >>> >> >>> create a > >>> >> >>> >> > command that invokes helm-bibtex with a default search > >>> expression > >>> >> and > >>> >> >>> >> that > >>> >> >>> >> > command could be bound to a keyboard shortcut." > >>> >> >>> >> > > >>> >> >>> >> > that would be prefect for me and a solution to my issue. > >>> would you > >>> >> >>> mind > >>> >> >>> >> > giving an example of such a code chunk. unfortunately i > dont > >>> know > >>> >> >>> elisp > >>> >> >>> >> though > >>> >> >>> >> > as john recommended i will do my best this summer when th= e > >>> >> semester > >>> >> >>> ends > >>> >> >>> >> to > >>> >> >>> >> > try and pick it up :) > >>> >> >>> >> > >>> >> >>> >> Sure, here you go: > >>> >> >>> >> > >>> >> >>> >> #+BEGIN_SRC elisp > >>> >> >>> >> ;; Define helm-search with predefined search expression: > >>> >> >>> >> (defun helm-bibtex-my-publications () > >>> >> >>> >> "Search BibTeX entries authored by Xebar Saram." > >>> >> >>> >> (interactive) > >>> >> >>> >> (helm :sources '(helm-source-bibtex) > >>> >> >>> >> :full-frame t > >>> >> >>> >> :input "xebar saram" > >>> >> >>> >> :candidate-number-limit 500)) > >>> >> >>> >> > >>> >> >>> >> ;; Bind this search function to Ctrl-x p: > >>> >> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) > >>> >> >>> >> #+END_SRC > >>> >> >>> >> > >>> >> >>> >> > i will definitely use your tag system as you recommended, > >>> sounds > >>> >> >>> perfect > >>> >> >>> >> > for me > >>> >> >>> >> > >>> >> >>> >> The tag system also comes in handy when generating > publication > >>> lists > >>> >> >>> for > >>> >> >>> >> CVs and web pages because BibTeX does not distinguish betwe= en > >>> >> >>> conference > >>> >> >>> >> papers, posters, and talks. If you have tags for that, it= =E2=80=99s > >>> >> relatively > >>> >> >>> >> easy to create separate sections for these types of > publications > >>> >> using > >>> >> >>> >> biblatex or bib2bib and bibtex2html in the case of web page= s. > >>> >> >>> >> > >>> >> >>> >> > thanks again for your kind help and the amazing app ;-) > >>> >> >>> >> > >>> >> >>> >> You are welcome. > >>> >> >>> >> > >>> >> >>> >> Titus > >>> >> >>> >> > >>> >> >>> >> > > >>> >> >>> >> > best > >>> >> >>> >> > > >>> >> >>> >> > Z > >>> >> >>> >> > > >>> >> >>> >> > > >>> >> >>> >> > > >>> >> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg = < > >>> >> >>> >> malsburg@posteo.de > >>> >> >>> >> >> wrote: > >>> >> >>> >> > > >>> >> >>> >> >> > >>> >> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: > >>> >> >>> >> >> > Hi Titus > >>> >> >>> >> >> > > >>> >> >>> >> >> > I have been exploring helm-bibtex a bit today and have > some > >>> >> >>> questions. > >>> >> >>> >> >> btw > >>> >> >>> >> >> > is this the preferred way to make requests/ask questio= ns > >>> or is > >>> >> >>> >> >> > github preferred? > >>> >> >>> >> >> > >>> >> >>> >> >> Helm-bibtex is not part of org (although it tries to wor= k > >>> well > >>> >> with > >>> >> >>> >> >> org). So I=E2=80=99m not sure whether this list is the = best place > >>> for > >>> >> >>> >> >> discussing it. For now the issue tracker on Github migh= t > be > >>> a > >>> >> >>> better > >>> >> >>> >> >> option: > >>> >> >>> >> >> > >>> >> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues > >>> >> >>> >> >> > >>> >> >>> >> >> > in any case i was wondering a few things: > >>> >> >>> >> >> > > >>> >> >>> >> >> > 1. is it possible to have custom sorting? i want all > views > >>> to > >>> >> >>> sort by > >>> >> >>> >> >> > Author, year, month > >>> >> >>> >> >> > >>> >> >>> >> >> I prefer to see the entries in the (inverse) order in > which > >>> they > >>> >> >>> appear > >>> >> >>> >> >> in the BibTeX file. This way, recent additions show up = at > >>> the > >>> >> >>> >> >> top. However, I agree that sorting would be useful (see > >>> issues > >>> >> #5 > >>> >> >>> and > >>> >> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me.= Pull > >>> requests > >>> >> >>> welcome. > >>> >> >>> >> >> > >>> >> >>> >> >> > 2. i would really like a way to have stored smart grou= ps > >>> (like > >>> >> the > >>> >> >>> >> jabref > >>> >> >>> >> >> > dynamic groups if your aware of that). that is for > example > >>> >> create > >>> >> >>> a > >>> >> >>> >> group > >>> >> >>> >> >> > that auto selects all publications i have (by my > first/last > >>> >> name) > >>> >> >>> and > >>> >> >>> >> >> shows > >>> >> >>> >> >> > the count (in numbers) of these publications. > >>> >> >>> >> >> > >>> >> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems = that all > >>> >> >>> helm-bibtex is > >>> >> >>> >> >> doing is giving you very flexible smart groups defined b= y > >>> your > >>> >> >>> search > >>> >> >>> >> >> expressions. For example, if you want a list of your > >>> >> publications, > >>> >> >>> you > >>> >> >>> >> >> can simple enter your name. And if you want a list of > your > >>> >> >>> articles, > >>> >> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. If= you want all your > >>> >> articles > >>> >> >>> from > >>> >> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D.= And so on. The > >>> number > >>> >> of > >>> >> >>> >> >> matches will be displayed in the mode line. If you don= =E2=80=99t > >>> want to > >>> >> >>> type > >>> >> >>> >> >> these search expressions, you could create a command tha= t > >>> invokes > >>> >> >>> >> >> helm-bibtex with a default search expression and that > command > >>> >> could > >>> >> >>> be > >>> >> >>> >> >> bound to a keyboard shortcut. > >>> >> >>> >> >> > >>> >> >>> >> >> > Another example is a group to keep track of all the > papers > >>> im > >>> >> >>> working > >>> >> >>> >> on > >>> >> >>> >> >> or > >>> >> >>> >> >> > invloved with by matching keyword author and prep/*oth= er > >>> key > >>> >> word > >>> >> >>> >> >> > >>> >> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeyword= s=E2=80=9D for > >>> keywords > >>> >> >>> >> >> describing the content of the paper (as usual) and =E2= =80=9Ctags=E2=80=9D > for > >>> >> meta > >>> >> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80= =9D, =E2=80=9Cmanuscript=E2=80=9D, > >>> >> =E2=80=9Cposter=E2=80=9D, > >>> >> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list of= all articles in > progress, I > >>> >> search > >>> >> >>> for > >>> >> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field = is non-standard, > it > >>> has > >>> >> to > >>> >> >>> be > >>> >> >>> >> >> added to `helm-bibtex-additional-search-fields`. > >>> >> >>> >> >> > >>> >> >>> >> >> Another solution would be to use the pubstate field and = to > >>> search > >>> >> >>> for > >>> >> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubstat= e to > >>> >> >>> >> >> helm-bibtex-additional-search-fields for this to work). > >>> >> >>> >> >> > >>> >> >>> >> >> > 3.is it possible to ass an option to auto generate a > >>> bibkey > >>> >> for a > >>> >> >>> >> >> selected > >>> >> >>> >> >> > citation based on user criteria such as > >>> >> author(date)short-title? > >>> >> >>> >> >> > >>> >> >>> >> >> Maintaining the content of the BibTeX file not really in > the > >>> >> scope > >>> >> >>> of > >>> >> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by hand= ). > >>> >> Perhaps > >>> >> >>> >> >> org-ref or ebib can help here? Once you have a function > that > >>> >> >>> generates > >>> >> >>> >> >> a new key and inserts it in the BibTeX file, you can > easily > >>> add > >>> >> it > >>> >> >>> to > >>> >> >>> >> >> the list of actions in helm-bibtex. > >>> >> >>> >> >> > >>> >> >>> >> >> Hope that helps. > >>> >> >>> >> >> > >>> >> >>> >> >> Titus > >>> >> >>> >> >> > >>> >> >>> >> >> > thx so much in advance, you and john have given me > >>> confidence > >>> >> to > >>> >> >>> >> finally > >>> >> >>> >> >> > dive into the whole latex/bibteX world > >>> >> >>> >> >> > > >>> >> >>> >> >> > best > >>> >> >>> >> >> > > >>> >> >>> >> >> > Z > >>> >> >>> >> >> > >>> >> >>> >> >> > >>> >> >>> >> > >>> >> >>> >> > >>> >> >>> > >>> >> >>> > >>> >> >> > >>> >> > >>> >> > >>> > >>> -- > >>> 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 > >>> > >> > >> > > -- > 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 > --089e01493b94feb7f4051979bb96 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hmm strange still dosent work for me. here is the top sect= ion of my bib file

-*- mode:bibtex; eval: (bibtex-s= et-dialect 'biblatex); -*-

@article{ackerm= an-1998-discr-clear,
=C2=A0 author =3D {Ackerman, {S.A.} and Strabala, {K.I.} and Menzel,=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {= W.P.} and Frey, {R.A.} and Moeller, {C.C.} and
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Gumley, {L.E.}},
= =C2=A0 title =3D {Discri= minating Clear Sky From Clouds With Modis},
=C2=A0 journal =3D {Journal of Geophysical Re= search},
=C2=A0 volume =3D 103,
=C2=A0 number =3D {D24},
=C2=A0 pages =3D {32,141--32,157},
=C2=A0 year =3D= 1998,
=C2=A0 = shorttitle =3D {Discrimi= nating clear sky from clouds with {MODIS}},
}

when i use the org ref clean i still get=C2=A0

bibtex-format-entry: Mandatory field `journal&= #39; is missing


also in the e= macs menu the entry type is still bibtex. i tried restarting emacs and stil= l no go.

any clue? also do you prefer I continue t= his discussion on the github org-ref site?

best!

Z


On Fri, Jun 26, 2015 at 5:28 PM, John Ki= tchin <jkitchin@andrew.cmu.edu> wrote:
http://tex.stackexchange.com/questions/78455/does-ema= cs-support-editing-bibliography-files-for-biblatex

I think you need this in your bibtex file:

-*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*-


Xebar Saram writes:

> thanks so much again John
>
> i did add this line
> (bibtex-set-dialect 'biblatex)
> in my init but that dosent seem to do much as i still get the "jo= urnal
> mandatory field missing" error. anything else i can try?
>
> best
>
> Z
>
>
> On Thu, Jun 25, 2015 at 2:09 PM, John Kitchin <johnrkitchin@gmail.com>
> wrote:
>
>> I believe that is an emacs bibtex issue. You need some kind of lin= e in
>> your bibtex file to specify it is the biblatex dialect.
>>
>>
>> On June 25, 2015, at 6:58 AM, Xebar Saram <zeltakc@gmail.com> wrote:
>>
>>
>> Great, works well. one question though (and this may very well be = due to
>> my inexperience). the jabref export i had used 'journaltitle&#= 39; instead of
>> journal to be (to my understanding) compatible with the newer .bib= files
>> used by biblatex (and biber). when i ran org-ref clean it gave an = error on"
>> journal mandatory field missing". i had to replace all 'j= ournaltitle'=C2=A0 to
>> 'journal' to get it to work.
>> is this by design? does org-ref not support the new biblatex/biber= .bib
>> file format?
>>
>> kind regards
>>
>> Itai
>>
>> On Thu, Jun 25, 2015 at 12:03 AM, John Kitchin <jkitchin@andrew.cmu.edu>
>> wrote:
>>
>>> yes, there is a way ;)
>>>
>>> First. Make sure you have a backup of the references. I like t= o keep
>>> mine in a local git repo so you can undo any mistakes that get= made.
>>>
>>> I suggest you run these first:
>>> %% (bibtex-validate-globally)=C2=A0 =C2=A0; checks for duplica= te keys
>>> %% (bibtex-validate)
>>>
>>> I also recommend you run bibtex-sort (it is easier to spot dup= licates in
>>> a sorted list).
>>>
>>> and (org-ref-build-full-bibliography) <- makes a pdf of all= references.
>>>
>>> to make sure everything is compliant and functional.
>>>
>>> Then, put this next line at the top of your bibtex file. The t= argument to
>>> org-ref-clean-bibtex-entry will preserve your existing keys. >>>
>>> % (bibtex-map-entries (lambda (key start end) (org-ref-clean-b= ibtex-entry
>>> t)))
>>>
>>> Put your cursor at the end of that line, and type C-x C-e to r= un the
>>> function, and
>>> wait patiently. It took a few minutes on my 1300 entries, and = I had to
>>> restart it once on some entry.
>>>
>>> when it is done, run (org-ref-build-full-bibliography) again t= o make
>>> sure it works and review the ~200 page pdf ;). fix errors and = repeat
>>> until it builds ;)
>>>
>>> Note if you want to change title cases in all entries you can = use
>>>
>>> % (bibtex-map-entries 'jmax-title-case-article)
>>> % (bibtex-map-entries 'jmax-sentence-case-article)
>>>
>>> I hope that helps!
>>>
>>> Xebar Saram writes:
>>>
>>> > John
>>> >
>>> > First of all thanks so much for the excellent org-ref-cle= an-bibtex-entry
>>> > function i love it!
>>> > also your blog post on cleaning the bib file is a life sa= ver
>>> >
>>> > i have 800 references, is there a way to auto
>>> > make org-ref-clean-bibtex-entry go thorough my whole bib = file instead
>>> of me
>>> > going and cleaning it 1 by 1?
>>> >
>>> > kind regards
>>> >
>>> > Z.
>>> >
>>> > On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg &= lt;
>>> malsburg@posteo.de&g= t;
>>> > wrote:
>>> >
>>> >>
>>> >>
>>> >> Here is my CV in org-mode:
>>> >>
>>> >>=C2=A0 =C2=A0https://gist= .github.com/tmalsburg/96084ba82281937c26b7
>>> >>
>>> >> It=E2=80=99s a pretty straightforward org document ex= cept for one thing: the
>>> key
>>> >> to making this work was biblatex which can be used to= create several
>>> >> lists of references filtered according to keywords, a= uthor, etc.=C2=A0 This
>>> >> allowed me to have separate sections for journal arti= cles, conference
>>> >> presentations, etc.=C2=A0 I store the relevant keywor= ds in the tags field of
>>> >> the BibTeX entries and since biblatex doesn=E2=80=99t= know this field, I copy
>>> >> the tags on-the-fly to the keywords field (see Declar= eSourcemap in the
>>> >> LaTeX headers).
>>> >>
>>> >>=C2=A0 =C2=A0Titus
>>> >>
>>> >> On 2015-06-22 Mon 07:28, Xebar Saram wrote:
>>> >> > Hi John
>>> >> >
>>> >> > a bit off topic, but do you also write your acad= emic CV in orgmode or
>>> >> > lateX? in anycase would you mind sharing your or= g/latex CV template?
>>> it
>>> >> > would be helpful as a starting point for me if t= hats possible.
>>> >> >
>>> >> > kind regards and thanks so much in advance
>>> >> >
>>> >> > Z
>>> >> >
>>> >> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin &l= t;
>>> jkitchin@andrew.cmu= .edu>
>>> >> > wrote:
>>> >> >
>>> >> >> sweet! I did not know you could do that! I w= ill be refactoring
>>> org-ref
>>> >> >> soon to do that instead of redefining the co= mmands!
>>> >> >>
>>> >> >> John
>>> >> >>
>>> >> >> -----------------------------------
>>> >> >> 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
>>> >> >>
>>> >> >>
>>> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von d= er Malsburg <
>>> >> >>
malsbu= rg@posteo.de> wrote:
>>> >> >>
>>> >> >>>
>>> >> >>> On 2015-06-19 Fri 03:56, Xebar Saram wro= te:
>>> >> >>> > Hi again Titus
>>> >> >>> >
>>> >> >>> > 2 quick questions that arose from u= sing helm-bitex today
>>> extensively:
>>> >> >>> >
>>> >> >>> > how does one exclude in the search = items? for example i want to
>>> >> search
>>> >> >>> for
>>> >> >>> > xebar without keyword "progres= s" (I want to exclude in progress
>>> >> articles
>>> >> >>> > not published yet)
>>> >> >>> >
>>> >> >>> > is it possible to define default en= ter command in helm-bibtex ?
>>> >> >>>
>>> >> >>> Yes.=C2=A0 Helm uses the first action as= the default action.=C2=A0 To move an
>>> >> >>> action to the top of the list you can us= e the following code:
>>> >> >>>
>>> >> >>>=C2=A0 =C2=A0(helm-delete-action-from-sou= rce "Insert BibTeX key"
>>> >> helm-source-bibtex)
>>> >> >>>=C2=A0 =C2=A0(helm-add-action-to-source &= quot;Insert BibTeX key"
>>> >> 'helm-bibtex-insert-key
>>> >> >>> helm-source-bibtex 0)
>>> >> >>>
>>> >> >>> The second argument in the second line i= s the function that
>>> executes
>>> >> the
>>> >> >>> action.=C2=A0 Here is a list of all acti= ons and their functions:
>>> >> >>>
>>> >> >>>=C2=A0 =C2=A0Open PDF file (if present): = helm-bibtex-open-pdf
>>> >> >>>=C2=A0 =C2=A0Open URL or DOI in browser: = helm-bibtex-open-url-or-doi
>>> >> >>>=C2=A0 =C2=A0Insert citation: helm-bibtex= -insert-citation
>>> >> >>>=C2=A0 =C2=A0Insert reference: helm-bibte= x-insert-reference
>>> >> >>>=C2=A0 =C2=A0Insert BibTeX key: helm-bibt= ex-insert-key
>>> >> >>>=C2=A0 =C2=A0Insert BibTeX entry: helm-bi= btex-insert-bibtex
>>> >> >>>=C2=A0 =C2=A0Attach PDF to email: helm-bi= btex-add-PDF-attachment
>>> >> >>>=C2=A0 =C2=A0Edit notes: helm-bibtex-edit= -notes
>>> >> >>>=C2=A0 =C2=A0Show entry: helm-bibtex-show= -entry
>>> >> >>>
>>> >> >>> Best,
>>> >> >>>
>>> >> >>>=C2=A0 =C2=A0Titus
>>> >> >>>
>>> >> >>> >
>>> >> >>> > best
>>> >> >>> >
>>> >> >>> > Z
>>> >> >>> >
>>> >> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Ti= tus von der Malsburg <
>>> >> >>> ma= lsburg@posteo.de>
>>> >> >>> > wrote:
>>> >> >>> >
>>> >> >>> >>
>>> >> >>> >> On 2015-06-18 Thu 04:32, Xebar = Saram wrote:
>>> >> >>> >> > Hi Titus and thx so much f= or the answers!
>>> >> >>> >> >
>>> >> >>> >> > i will in the future use t= he github page to make requests.
>>> >> >>> >> >
>>> >> >>> >> > "The number of matche= s will be displayed in the mode line. "
>>> >> >>> >> >
>>> >> >>> >> > i see that now thx! :) the= problem was(is) that its colored
>>> black
>>> >> on
>>> >> >>> my
>>> >> >>> >> > black modline BG which mak= es it invisible ;-) i assume thats
>>> an
>>> >> helm
>>> >> >>> >> config
>>> >> >>> >> > i need to change
>>> >> >>> >> >
>>> >> >>> >> >
>>> >> >>> >> > "If you don=E2=80=99t= want to type these search expressions, you could
>>> >> >>> create a
>>> >> >>> >> > command that invokes helm-= bibtex with a default search
>>> expression
>>> >> and
>>> >> >>> >> that
>>> >> >>> >> > command could be bound to = a keyboard shortcut."
>>> >> >>> >> >
>>> >> >>> >> > that would be prefect for = me and a solution to my issue.
>>> would you
>>> >> >>> mind
>>> >> >>> >> > giving an example of such = a code chunk. unfortunately i dont
>>> know
>>> >> >>> elisp
>>> >> >>> >> though
>>> >> >>> >> > as john recommended i will= do my best this summer when the
>>> >> semester
>>> >> >>> ends
>>> >> >>> >> to
>>> >> >>> >> > try and pick it up :)
>>> >> >>> >>
>>> >> >>> >> Sure, here you go:
>>> >> >>> >>
>>> >> >>> >> #+BEGIN_SRC elisp
>>> >> >>> >> ;; Define helm-search with pred= efined search expression:
>>> >> >>> >> (defun helm-bibtex-my-publicati= ons ()
>>> >> >>> >>=C2=A0 =C2=A0"Search BibTeX= entries authored by Xebar Saram."
>>> >> >>> >>=C2=A0 =C2=A0(interactive)
>>> >> >>> >>=C2=A0 =C2=A0(helm :sources '= ;(helm-source-bibtex)
>>> >> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0:full-frame t
>>> >> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0:input "xebar saram"
>>> >> >>> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0:candidate-number-limit 500))
>>> >> >>> >>
>>> >> >>> >> ;; Bind this search function to= Ctrl-x p:
>>> >> >>> >> (global-set-key (kbd "C-x = p") 'helm-bibtex-my-publications)
>>> >> >>> >> #+END_SRC
>>> >> >>> >>
>>> >> >>> >> > i will definitely use your= tag system as you recommended,
>>> sounds
>>> >> >>> perfect
>>> >> >>> >> > for me
>>> >> >>> >>
>>> >> >>> >> The tag system also comes in ha= ndy when generating publication
>>> lists
>>> >> >>> for
>>> >> >>> >> CVs and web pages because BibTe= X does not distinguish between
>>> >> >>> conference
>>> >> >>> >> papers, posters, and talks.=C2= =A0 If you have tags for that, it=E2=80=99s
>>> >> relatively
>>> >> >>> >> easy to create separate section= s for these types of publications
>>> >> using
>>> >> >>> >> biblatex or bib2bib and bibtex2= html in the case of web pages.
>>> >> >>> >>
>>> >> >>> >> > thanks again for your kind= help and the amazing app ;-)
>>> >> >>> >>
>>> >> >>> >> You are welcome.
>>> >> >>> >>
>>> >> >>> >>=C2=A0 =C2=A0Titus
>>> >> >>> >>
>>> >> >>> >> >
>>> >> >>> >> > best
>>> >> >>> >> >
>>> >> >>> >> > Z
>>> >> >>> >> >
>>> >> >>> >> >
>>> >> >>> >> >
>>> >> >>> >> > On Wed, Jun 17, 2015 at 11= :02 PM, Titus von der Malsburg <
>>> >> >>> >> malsburg@posteo.de
>>> >> >>> >> >> wrote:
>>> >> >>> >> >
>>> >> >>> >> >>
>>> >> >>> >> >> On 2015-06-17 Wed 11:0= 8, Xebar Saram wrote:
>>> >> >>> >> >> > Hi Titus
>>> >> >>> >> >> >
>>> >> >>> >> >> > I have been explo= ring helm-bibtex a bit today and have some
>>> >> >>> questions.
>>> >> >>> >> >> btw
>>> >> >>> >> >> > is this the prefe= rred way to make requests/ask questions
>>> or is
>>> >> >>> >> >> > github preferred?=
>>> >> >>> >> >>
>>> >> >>> >> >> Helm-bibtex is not par= t of org (although it tries to work
>>> well
>>> >> with
>>> >> >>> >> >> org).=C2=A0 So I=E2=80= =99m not sure whether this list is the best place
>>> for
>>> >> >>> >> >> discussing it.=C2=A0 F= or now the issue tracker on Github might be
>>> a
>>> >> >>> better
>>> >> >>> >> >> option:
>>> >> >>> >> >>
>>> >> >>> >> >>=C2=A0 =C2=A0https://github.com/tmalsburg/helm-bibtex/issues
>>> >> >>> >> >>
>>> >> >>> >> >> > in any case i was= wondering a few things:
>>> >> >>> >> >> >
>>> >> >>> >> >> > 1. is it possible= to have custom sorting? i want all views
>>> to
>>> >> >>> sort by
>>> >> >>> >> >> > Author, year, mon= th
>>> >> >>> >> >>
>>> >> >>> >> >> I prefer to see the en= tries in the (inverse) order in which
>>> they
>>> >> >>> appear
>>> >> >>> >> >> in the BibTeX file.=C2= =A0 This way, recent additions show up at
>>> the
>>> >> >>> >> >> top.=C2=A0 However, I = agree that sorting would be useful (see
>>> issues
>>> >> #5
>>> >> >>> and
>>> >> >>> >> >> #21); it just doesn=E2= =80=99t have high priority for me.=C2=A0 Pull
>>> requests
>>> >> >>> welcome.
>>> >> >>> >> >>
>>> >> >>> >> >> > 2. i would really= like a way to have stored smart groups
>>> (like
>>> >> the
>>> >> >>> >> jabref
>>> >> >>> >> >> > dynamic groups if= your aware of that). that is for example
>>> >> create
>>> >> >>> a
>>> >> >>> >> group
>>> >> >>> >> >> > that auto selects= all publications i have (by my first/last
>>> >> name)
>>> >> >>> and
>>> >> >>> >> >> shows
>>> >> >>> >> >> > the count (in num= bers) of these publications.
>>> >> >>> >> >>
>>> >> >>> >> >> I=E2=80=99m not famili= ar with smart groups but it seems that all
>>> >> >>> helm-bibtex is
>>> >> >>> >> >> doing is giving you ve= ry flexible smart groups defined by
>>> your
>>> >> >>> search
>>> >> >>> >> >> expressions.=C2=A0 For= example, if you want a list of your
>>> >> publications,
>>> >> >>> you
>>> >> >>> >> >> can simple enter your = name.=C2=A0 And if you want a list of your
>>> >> >>> articles,
>>> >> >>> >> >> you can enter your nam= e + =E2=80=9Carticle=E2=80=9D.=C2=A0 If you want all your
>>> >> articles
>>> >> >>> from
>>> >> >>> >> >> 2010, enter your name = + =E2=80=9Carticles 2010=E2=80=9D.=C2=A0 And so on.=C2=A0 The
>>> number
>>> >> of
>>> >> >>> >> >> matches will be displa= yed in the mode line.=C2=A0 If you don=E2=80=99t
>>> want to
>>> >> >>> type
>>> >> >>> >> >> these search expressio= ns, you could create a command that
>>> invokes
>>> >> >>> >> >> helm-bibtex with a def= ault search expression and that command
>>> >> could
>>> >> >>> be
>>> >> >>> >> >> bound to a keyboard sh= ortcut.
>>> >> >>> >> >>
>>> >> >>> >> >> > Another example i= s a group to keep track of all the papers
>>> im
>>> >> >>> working
>>> >> >>> >> on
>>> >> >>> >> >> or
>>> >> >>> >> >> > invloved with by = matching keyword author and prep/*other
>>> key
>>> >> word
>>> >> >>> >> >>
>>> >> >>> >> >> I use two BibTeX field= s to tag entries: =E2=80=9Ckeywords=E2=80=9D for
>>> keywords
>>> >> >>> >> >> describing the content= of the paper (as usual) and =E2=80=9Ctags=E2=80=9D for
>>> >> meta
>>> >> >>> >> >> data.=C2=A0 Values tha= t I use in tags are =E2=80=9Cown=E2=80=9D, =E2=80=9Cmanuscript=E2=80=9D, >>> >> =E2=80=9Cposter=E2=80=9D,
>>> >> >>> >> >> =E2=80=9Ctalk=E2=80=9D= , =E2=80=A6 So if I want a list of all articles in progress, I
>>> >> search
>>> >> >>> for
>>> >> >>> >> >> =E2=80=9Cown manuscrip= t=E2=80=9D.=C2=A0 Since the tags field is non-standard, it
>>> has
>>> >> to
>>> >> >>> be
>>> >> >>> >> >> added to `helm-bibtex-= additional-search-fields`.
>>> >> >>> >> >>
>>> >> >>> >> >> Another solution would= be to use the pubstate field and to
>>> search
>>> >> >>> for
>>> >> >>> >> >> your name and =E2=80= =9Cforthcoming=E2=80=9D (add pubstate to
>>> >> >>> >> >> helm-bibtex-additional= -search-fields for this to work).
>>> >> >>> >> >>
>>> >> >>> >> >> > 3.is it possible to ass an = option to auto generate a
>>> bibkey
>>> >> for a
>>> >> >>> >> >> selected
>>> >> >>> >> >> > citation based on= user criteria such as
>>> >> author(date)short-title?
>>> >> >>> >> >>
>>> >> >>> >> >> Maintaining the conten= t of the BibTeX file not really in the
>>> >> scope
>>> >> >>> of
>>> >> >>> >> >> helm-bibtex (I prefer = to write my BibTeX entries by hand).
>>> >> Perhaps
>>> >> >>> >> >> org-ref or ebib can he= lp here?=C2=A0 Once you have a function that
>>> >> >>> generates
>>> >> >>> >> >> a new key and inserts = it in the BibTeX file, you can easily
>>> add
>>> >> it
>>> >> >>> to
>>> >> >>> >> >> the list of actions in= helm-bibtex.
>>> >> >>> >> >>
>>> >> >>> >> >> Hope that helps.
>>> >> >>> >> >>
>>> >> >>> >> >>=C2=A0 =C2=A0Titus
>>> >> >>> >> >>
>>> >> >>> >> >> > thx so much in ad= vance, you and john have given me
>>> confidence
>>> >> to
>>> >> >>> >> finally
>>> >> >>> >> >> > dive into the who= le latex/bibteX world
>>> >> >>> >> >> >
>>> >> >>> >> >> > best
>>> >> >>> >> >> >
>>> >> >>> >> >> > Z
>>> >> >>> >> >>
>>> >> >>> >> >>
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>>
>>> >> >>>
>>> >> >>
>>> >>
>>> >>
>>>
>>> --
>>> Professor John Kitchin
>>> Doherty Hall A207F
>>> Department of Chemical Engineering
>>> Carnegie Mellon University
>>> Pittsburgh, PA 15213
>>> 412-268-78= 03
>>> @johnkitchin
>>> http://kitchingroup.cheme.cmu.edu
>>>
>>
>>

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

--089e01493b94feb7f4051979bb96-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Sat, 27 Jun 2015 07:44:24 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8oXA-0001Mj-3S for emacs-orgmode@gnu.org; Sat, 27 Jun 2015 07:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8oX6-0006F4-Oi for emacs-orgmode@gnu.org; Sat, 27 Jun 2015 07:44:32 -0400 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:33215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8oX6-0006F0-Hk for emacs-orgmode@gnu.org; Sat, 27 Jun 2015 07:44:28 -0400 Received: by qkhu186 with SMTP id u186so68949112qkh.0 for ; Sat, 27 Jun 2015 04:44:28 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode You need: % -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- You probably have to close and reopen the file, and you will probably be prompted for running local variables (or use C-x C-e after the command above it With this, it works fine for me. This isn't really an org-ref problem, it is happening in bibtex-clean-entry. it might be better to move it to github. I just noticed a similar issue already there: https://github.com/jkitchin/org-ref/issues/40 ;) Xebar Saram writes: > hmm strange still dosent work for me. here is the top section of my bib f= ile > > -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- > > @article{ackerman-1998-discr-clear, > author =3D {Ackerman, {S.A.} and Strabala, {K.I.} and Menzel, > {W.P.} and Frey, {R.A.} and Moeller, {C.C.} and > Gumley, {L.E.}}, > title =3D {Discriminating Clear Sky From Clouds With Modis}, > journal =3D {Journal of Geophysical Research}, > volume =3D 103, > number =3D {D24}, > pages =3D {32,141--32,157}, > year =3D 1998, > shorttitle =3D {Discriminating clear sky from clouds with {MODIS}}, > } > > > when i use the org ref clean i still get > > bibtex-format-entry: Mandatory field `journal' is missing > > > also in the emacs menu the entry type is still bibtex. i tried restarting > emacs and still no go. > > any clue? also do you prefer I continue this discussion on the github > org-ref site? > > best! > > Z > > > On Fri, Jun 26, 2015 at 5:28 PM, John Kitchin > wrote: > >> >> http://tex.stackexchange.com/questions/78455/does-emacs-support-editing-= bibliography-files-for-biblatex >> >> I think you need this in your bibtex file: >> >> -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- >> >> >> Xebar Saram writes: >> >> > thanks so much again John >> > >> > i did add this line >> > (bibtex-set-dialect 'biblatex) >> > in my init but that dosent seem to do much as i still get the "journal >> > mandatory field missing" error. anything else i can try? >> > >> > best >> > >> > Z >> > >> > >> > On Thu, Jun 25, 2015 at 2:09 PM, John Kitchin >> > wrote: >> > >> >> I believe that is an emacs bibtex issue. You need some kind of line in >> >> your bibtex file to specify it is the biblatex dialect. >> >> >> >> >> >> On June 25, 2015, at 6:58 AM, Xebar Saram wrote: >> >> >> >> >> >> Great, works well. one question though (and this may very well be due= to >> >> my inexperience). the jabref export i had used 'journaltitle' instead= of >> >> journal to be (to my understanding) compatible with the newer .bib fi= les >> >> used by biblatex (and biber). when i ran org-ref clean it gave an err= or >> on" >> >> journal mandatory field missing". i had to replace all 'journaltitle' >> to >> >> 'journal' to get it to work. >> >> is this by design? does org-ref not support the new biblatex/biber .b= ib >> >> file format? >> >> >> >> kind regards >> >> >> >> Itai >> >> >> >> On Thu, Jun 25, 2015 at 12:03 AM, John Kitchin > > >> >> wrote: >> >> >> >>> yes, there is a way ;) >> >>> >> >>> First. Make sure you have a backup of the references. I like to keep >> >>> mine in a local git repo so you can undo any mistakes that get made. >> >>> >> >>> I suggest you run these first: >> >>> %% (bibtex-validate-globally) ; checks for duplicate keys >> >>> %% (bibtex-validate) >> >>> >> >>> I also recommend you run bibtex-sort (it is easier to spot duplicates >> in >> >>> a sorted list). >> >>> >> >>> and (org-ref-build-full-bibliography) <- makes a pdf of all referenc= es. >> >>> >> >>> to make sure everything is compliant and functional. >> >>> >> >>> Then, put this next line at the top of your bibtex file. The t >> argument to >> >>> org-ref-clean-bibtex-entry will preserve your existing keys. >> >>> >> >>> % (bibtex-map-entries (lambda (key start end) >> (org-ref-clean-bibtex-entry >> >>> t))) >> >>> >> >>> Put your cursor at the end of that line, and type C-x C-e to run the >> >>> function, and >> >>> wait patiently. It took a few minutes on my 1300 entries, and I had = to >> >>> restart it once on some entry. >> >>> >> >>> when it is done, run (org-ref-build-full-bibliography) again to make >> >>> sure it works and review the ~200 page pdf ;). fix errors and repeat >> >>> until it builds ;) >> >>> >> >>> Note if you want to change title cases in all entries you can use >> >>> >> >>> % (bibtex-map-entries 'jmax-title-case-article) >> >>> % (bibtex-map-entries 'jmax-sentence-case-article) >> >>> >> >>> I hope that helps! >> >>> >> >>> Xebar Saram writes: >> >>> >> >>> > John >> >>> > >> >>> > First of all thanks so much for the excellent >> org-ref-clean-bibtex-entry >> >>> > function i love it! >> >>> > also your blog post on cleaning the bib file is a life saver >> >>> > >> >>> > i have 800 references, is there a way to auto >> >>> > make org-ref-clean-bibtex-entry go thorough my whole bib file inst= ead >> >>> of me >> >>> > going and cleaning it 1 by 1? >> >>> > >> >>> > kind regards >> >>> > >> >>> > Z. >> >>> > >> >>> > On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg < >> >>> malsburg@posteo.de> >> >>> > wrote: >> >>> > >> >>> >> >> >>> >> >> >>> >> Here is my CV in org-mode: >> >>> >> >> >>> >> https://gist.github.com/tmalsburg/96084ba82281937c26b7 >> >>> >> >> >>> >> It=E2=80=99s a pretty straightforward org document except for one= thing: the >> >>> key >> >>> >> to making this work was biblatex which can be used to create seve= ral >> >>> >> lists of references filtered according to keywords, author, etc. >> This >> >>> >> allowed me to have separate sections for journal articles, >> conference >> >>> >> presentations, etc. I store the relevant keywords in the tags >> field of >> >>> >> the BibTeX entries and since biblatex doesn=E2=80=99t know this f= ield, I >> copy >> >>> >> the tags on-the-fly to the keywords field (see DeclareSourcemap in >> the >> >>> >> LaTeX headers). >> >>> >> >> >>> >> Titus >> >>> >> >> >>> >> On 2015-06-22 Mon 07:28, Xebar Saram wrote: >> >>> >> > Hi John >> >>> >> > >> >>> >> > a bit off topic, but do you also write your academic CV in >> orgmode or >> >>> >> > lateX? in anycase would you mind sharing your org/latex CV >> template? >> >>> it >> >>> >> > would be helpful as a starting point for me if thats possible. >> >>> >> > >> >>> >> > kind regards and thanks so much in advance >> >>> >> > >> >>> >> > Z >> >>> >> > >> >>> >> > On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin < >> >>> jkitchin@andrew.cmu.edu> >> >>> >> > wrote: >> >>> >> > >> >>> >> >> sweet! I did not know you could do that! I will be refactoring >> >>> org-ref >> >>> >> >> soon to do that instead of redefining the commands! >> >>> >> >> >> >>> >> >> John >> >>> >> >> >> >>> >> >> ----------------------------------- >> >>> >> >> 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 >> >>> >> >> >> >>> >> >> >> >>> >> >> On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg < >> >>> >> >> malsburg@posteo.de> wrote: >> >>> >> >> >> >>> >> >>> >> >>> >> >>> On 2015-06-19 Fri 03:56, Xebar Saram wrote: >> >>> >> >>> > Hi again Titus >> >>> >> >>> > >> >>> >> >>> > 2 quick questions that arose from using helm-bitex today >> >>> extensively: >> >>> >> >>> > >> >>> >> >>> > how does one exclude in the search items? for example i want >> to >> >>> >> search >> >>> >> >>> for >> >>> >> >>> > xebar without keyword "progress" (I want to exclude in >> progress >> >>> >> articles >> >>> >> >>> > not published yet) >> >>> >> >>> > >> >>> >> >>> > is it possible to define default enter command in helm-bibt= ex >> ? >> >>> >> >>> >> >>> >> >>> Yes. Helm uses the first action as the default action. To >> move an >> >>> >> >>> action to the top of the list you can use the following code: >> >>> >> >>> >> >>> >> >>> (helm-delete-action-from-source "Insert BibTeX key" >> >>> >> helm-source-bibtex) >> >>> >> >>> (helm-add-action-to-source "Insert BibTeX key" >> >>> >> 'helm-bibtex-insert-key >> >>> >> >>> helm-source-bibtex 0) >> >>> >> >>> >> >>> >> >>> The second argument in the second line is the function that >> >>> executes >> >>> >> the >> >>> >> >>> action. Here is a list of all actions and their functions: >> >>> >> >>> >> >>> >> >>> Open PDF file (if present): helm-bibtex-open-pdf >> >>> >> >>> Open URL or DOI in browser: helm-bibtex-open-url-or-doi >> >>> >> >>> Insert citation: helm-bibtex-insert-citation >> >>> >> >>> Insert reference: helm-bibtex-insert-reference >> >>> >> >>> Insert BibTeX key: helm-bibtex-insert-key >> >>> >> >>> Insert BibTeX entry: helm-bibtex-insert-bibtex >> >>> >> >>> Attach PDF to email: helm-bibtex-add-PDF-attachment >> >>> >> >>> Edit notes: helm-bibtex-edit-notes >> >>> >> >>> Show entry: helm-bibtex-show-entry >> >>> >> >>> >> >>> >> >>> Best, >> >>> >> >>> >> >>> >> >>> Titus >> >>> >> >>> >> >>> >> >>> > >> >>> >> >>> > best >> >>> >> >>> > >> >>> >> >>> > Z >> >>> >> >>> > >> >>> >> >>> > On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg < >> >>> >> >>> malsburg@posteo.de> >> >>> >> >>> > wrote: >> >>> >> >>> > >> >>> >> >>> >> >> >>> >> >>> >> On 2015-06-18 Thu 04:32, Xebar Saram wrote: >> >>> >> >>> >> > Hi Titus and thx so much for the answers! >> >>> >> >>> >> > >> >>> >> >>> >> > i will in the future use the github page to make request= s. >> >>> >> >>> >> > >> >>> >> >>> >> > "The number of matches will be displayed in the mode lin= e. >> " >> >>> >> >>> >> > >> >>> >> >>> >> > i see that now thx! :) the problem was(is) that its colo= red >> >>> black >> >>> >> on >> >>> >> >>> my >> >>> >> >>> >> > black modline BG which makes it invisible ;-) i assume >> thats >> >>> an >> >>> >> helm >> >>> >> >>> >> config >> >>> >> >>> >> > i need to change >> >>> >> >>> >> > >> >>> >> >>> >> > >> >>> >> >>> >> > "If you don=E2=80=99t want to type these search expressi= ons, you >> could >> >>> >> >>> create a >> >>> >> >>> >> > command that invokes helm-bibtex with a default search >> >>> expression >> >>> >> and >> >>> >> >>> >> that >> >>> >> >>> >> > command could be bound to a keyboard shortcut." >> >>> >> >>> >> > >> >>> >> >>> >> > that would be prefect for me and a solution to my issue. >> >>> would you >> >>> >> >>> mind >> >>> >> >>> >> > giving an example of such a code chunk. unfortunately i >> dont >> >>> know >> >>> >> >>> elisp >> >>> >> >>> >> though >> >>> >> >>> >> > as john recommended i will do my best this summer when t= he >> >>> >> semester >> >>> >> >>> ends >> >>> >> >>> >> to >> >>> >> >>> >> > try and pick it up :) >> >>> >> >>> >> >> >>> >> >>> >> Sure, here you go: >> >>> >> >>> >> >> >>> >> >>> >> #+BEGIN_SRC elisp >> >>> >> >>> >> ;; Define helm-search with predefined search expression: >> >>> >> >>> >> (defun helm-bibtex-my-publications () >> >>> >> >>> >> "Search BibTeX entries authored by Xebar Saram." >> >>> >> >>> >> (interactive) >> >>> >> >>> >> (helm :sources '(helm-source-bibtex) >> >>> >> >>> >> :full-frame t >> >>> >> >>> >> :input "xebar saram" >> >>> >> >>> >> :candidate-number-limit 500)) >> >>> >> >>> >> >> >>> >> >>> >> ;; Bind this search function to Ctrl-x p: >> >>> >> >>> >> (global-set-key (kbd "C-x p") 'helm-bibtex-my-publications) >> >>> >> >>> >> #+END_SRC >> >>> >> >>> >> >> >>> >> >>> >> > i will definitely use your tag system as you recommended, >> >>> sounds >> >>> >> >>> perfect >> >>> >> >>> >> > for me >> >>> >> >>> >> >> >>> >> >>> >> The tag system also comes in handy when generating >> publication >> >>> lists >> >>> >> >>> for >> >>> >> >>> >> CVs and web pages because BibTeX does not distinguish betw= een >> >>> >> >>> conference >> >>> >> >>> >> papers, posters, and talks. If you have tags for that, it= =E2=80=99s >> >>> >> relatively >> >>> >> >>> >> easy to create separate sections for these types of >> publications >> >>> >> using >> >>> >> >>> >> biblatex or bib2bib and bibtex2html in the case of web pag= es. >> >>> >> >>> >> >> >>> >> >>> >> > thanks again for your kind help and the amazing app ;-) >> >>> >> >>> >> >> >>> >> >>> >> You are welcome. >> >>> >> >>> >> >> >>> >> >>> >> Titus >> >>> >> >>> >> >> >>> >> >>> >> > >> >>> >> >>> >> > best >> >>> >> >>> >> > >> >>> >> >>> >> > Z >> >>> >> >>> >> > >> >>> >> >>> >> > >> >>> >> >>> >> > >> >>> >> >>> >> > On Wed, Jun 17, 2015 at 11:02 PM, Titus von der Malsburg= < >> >>> >> >>> >> malsburg@posteo.de >> >>> >> >>> >> >> wrote: >> >>> >> >>> >> > >> >>> >> >>> >> >> >> >>> >> >>> >> >> On 2015-06-17 Wed 11:08, Xebar Saram wrote: >> >>> >> >>> >> >> > Hi Titus >> >>> >> >>> >> >> > >> >>> >> >>> >> >> > I have been exploring helm-bibtex a bit today and have >> some >> >>> >> >>> questions. >> >>> >> >>> >> >> btw >> >>> >> >>> >> >> > is this the preferred way to make requests/ask questi= ons >> >>> or is >> >>> >> >>> >> >> > github preferred? >> >>> >> >>> >> >> >> >>> >> >>> >> >> Helm-bibtex is not part of org (although it tries to wo= rk >> >>> well >> >>> >> with >> >>> >> >>> >> >> org). So I=E2=80=99m not sure whether this list is the= best place >> >>> for >> >>> >> >>> >> >> discussing it. For now the issue tracker on Github mig= ht >> be >> >>> a >> >>> >> >>> better >> >>> >> >>> >> >> option: >> >>> >> >>> >> >> >> >>> >> >>> >> >> https://github.com/tmalsburg/helm-bibtex/issues >> >>> >> >>> >> >> >> >>> >> >>> >> >> > in any case i was wondering a few things: >> >>> >> >>> >> >> > >> >>> >> >>> >> >> > 1. is it possible to have custom sorting? i want all >> views >> >>> to >> >>> >> >>> sort by >> >>> >> >>> >> >> > Author, year, month >> >>> >> >>> >> >> >> >>> >> >>> >> >> I prefer to see the entries in the (inverse) order in >> which >> >>> they >> >>> >> >>> appear >> >>> >> >>> >> >> in the BibTeX file. This way, recent additions show up= at >> >>> the >> >>> >> >>> >> >> top. However, I agree that sorting would be useful (see >> >>> issues >> >>> >> #5 >> >>> >> >>> and >> >>> >> >>> >> >> #21); it just doesn=E2=80=99t have high priority for me= . Pull >> >>> requests >> >>> >> >>> welcome. >> >>> >> >>> >> >> >> >>> >> >>> >> >> > 2. i would really like a way to have stored smart gro= ups >> >>> (like >> >>> >> the >> >>> >> >>> >> jabref >> >>> >> >>> >> >> > dynamic groups if your aware of that). that is for >> example >> >>> >> create >> >>> >> >>> a >> >>> >> >>> >> group >> >>> >> >>> >> >> > that auto selects all publications i have (by my >> first/last >> >>> >> name) >> >>> >> >>> and >> >>> >> >>> >> >> shows >> >>> >> >>> >> >> > the count (in numbers) of these publications. >> >>> >> >>> >> >> >> >>> >> >>> >> >> I=E2=80=99m not familiar with smart groups but it seems= that all >> >>> >> >>> helm-bibtex is >> >>> >> >>> >> >> doing is giving you very flexible smart groups defined = by >> >>> your >> >>> >> >>> search >> >>> >> >>> >> >> expressions. For example, if you want a list of your >> >>> >> publications, >> >>> >> >>> you >> >>> >> >>> >> >> can simple enter your name. And if you want a list of >> your >> >>> >> >>> articles, >> >>> >> >>> >> >> you can enter your name + =E2=80=9Carticle=E2=80=9D. I= f you want all your >> >>> >> articles >> >>> >> >>> from >> >>> >> >>> >> >> 2010, enter your name + =E2=80=9Carticles 2010=E2=80=9D= . And so on. The >> >>> number >> >>> >> of >> >>> >> >>> >> >> matches will be displayed in the mode line. If you don= =E2=80=99t >> >>> want to >> >>> >> >>> type >> >>> >> >>> >> >> these search expressions, you could create a command th= at >> >>> invokes >> >>> >> >>> >> >> helm-bibtex with a default search expression and that >> command >> >>> >> could >> >>> >> >>> be >> >>> >> >>> >> >> bound to a keyboard shortcut. >> >>> >> >>> >> >> >> >>> >> >>> >> >> > Another example is a group to keep track of all the >> papers >> >>> im >> >>> >> >>> working >> >>> >> >>> >> on >> >>> >> >>> >> >> or >> >>> >> >>> >> >> > invloved with by matching keyword author and prep/*ot= her >> >>> key >> >>> >> word >> >>> >> >>> >> >> >> >>> >> >>> >> >> I use two BibTeX fields to tag entries: =E2=80=9Ckeywor= ds=E2=80=9D for >> >>> keywords >> >>> >> >>> >> >> describing the content of the paper (as usual) and =E2= =80=9Ctags=E2=80=9D >> for >> >>> >> meta >> >>> >> >>> >> >> data. Values that I use in tags are =E2=80=9Cown=E2=80= =9D, =E2=80=9Cmanuscript=E2=80=9D, >> >>> >> =E2=80=9Cposter=E2=80=9D, >> >>> >> >>> >> >> =E2=80=9Ctalk=E2=80=9D, =E2=80=A6 So if I want a list o= f all articles in >> progress, I >> >>> >> search >> >>> >> >>> for >> >>> >> >>> >> >> =E2=80=9Cown manuscript=E2=80=9D. Since the tags field= is non-standard, >> it >> >>> has >> >>> >> to >> >>> >> >>> be >> >>> >> >>> >> >> added to `helm-bibtex-additional-search-fields`. >> >>> >> >>> >> >> >> >>> >> >>> >> >> Another solution would be to use the pubstate field and= to >> >>> search >> >>> >> >>> for >> >>> >> >>> >> >> your name and =E2=80=9Cforthcoming=E2=80=9D (add pubsta= te to >> >>> >> >>> >> >> helm-bibtex-additional-search-fields for this to work). >> >>> >> >>> >> >> >> >>> >> >>> >> >> > 3.is it possible to ass an option to auto generate a >> >>> bibkey >> >>> >> for a >> >>> >> >>> >> >> selected >> >>> >> >>> >> >> > citation based on user criteria such as >> >>> >> author(date)short-title? >> >>> >> >>> >> >> >> >>> >> >>> >> >> Maintaining the content of the BibTeX file not really in >> the >> >>> >> scope >> >>> >> >>> of >> >>> >> >>> >> >> helm-bibtex (I prefer to write my BibTeX entries by han= d). >> >>> >> Perhaps >> >>> >> >>> >> >> org-ref or ebib can help here? Once you have a function >> that >> >>> >> >>> generates >> >>> >> >>> >> >> a new key and inserts it in the BibTeX file, you can >> easily >> >>> add >> >>> >> it >> >>> >> >>> to >> >>> >> >>> >> >> the list of actions in helm-bibtex. >> >>> >> >>> >> >> >> >>> >> >>> >> >> Hope that helps. >> >>> >> >>> >> >> >> >>> >> >>> >> >> Titus >> >>> >> >>> >> >> >> >>> >> >>> >> >> > thx so much in advance, you and john have given me >> >>> confidence >> >>> >> to >> >>> >> >>> >> finally >> >>> >> >>> >> >> > dive into the whole latex/bibteX world >> >>> >> >>> >> >> > >> >>> >> >>> >> >> > best >> >>> >> >>> >> >> > >> >>> >> >>> >> >> > Z >> >>> >> >>> >> >> >> >>> >> >>> >> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >>> >> >>> >> >>> >> >> >> >>> >> >> >>> >> >> >>> >> >>> -- >> >>> 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 >> >>> >> >> >> >> >> >> -- >> 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 >> -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: helm-bibtex questions Date: Tue, 30 Jun 2015 10:15:51 +0100 Message-ID: <87d20dsgjc.fsf@pinto.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9re7-0005gV-UU for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 05:16:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9re3-0002eA-9Z for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 05:16:03 -0400 Received: from mail-db3on0116.outbound.protection.outlook.com ([157.55.234.116]:8352 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9re2-0002cZ-OB for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 05:15:59 -0400 In-Reply-To: (Xebar Saram's message of "Sat, 27 Jun 2015 09:11:59 +0300") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode , John Kitchin On Saturday, 27 Jun 2015 at 09:11, Xebar Saram wrote: > hmm strange still dosent work for me. here is the top section of my bib file > > -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- > > @article{ackerman-1998-discr-clear, > author = {Ackerman, {S.A.} and Strabala, {K.I.} and Menzel, > {W.P.} and Frey, {R.A.} and Moeller, {C.C.} and > Gumley, {L.E.}}, > title = {Discriminating Clear Sky From Clouds With Modis}, > journal = {Journal of Geophysical Research}, > volume = 103, > number = {D24}, > pages = {32,141--32,157}, > year = 1998, > shorttitle = {Discriminating clear sky from clouds with {MODIS}}, > } [...] Try removing the comma in the last entry. I've found that having this comma confuses bibtex and/or emacs at times... Just grasping at straws here for you :-) -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1229-ge900eb From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: helm-bibtex questions Date: Tue, 30 Jun 2015 09:19:12 -0400 Message-ID: References: <87d20dsgjc.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9vRb-0003Ia-3r for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 09:19:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9vRX-0002Jl-R4 for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 09:19:23 -0400 Received: from mail-qg0-x22a.google.com ([2607:f8b0:400d:c04::22a]:34334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9vRX-0002Gy-MH for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 09:19:19 -0400 Received: by qgii30 with SMTP id i30so3554927qgi.1 for ; Tue, 30 Jun 2015 06:19:17 -0700 (PDT) In-reply-to: <87d20dsgjc.fsf@pinto.chemeng.ucl.ac.uk> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: Xebar Saram , org mode I think you are also still missing a % sign at the beginning of the -*- line. What if you change the dialect from the bibtex Entry-types menu? also, what still doesn't work? Eric S Fraga writes: > On Saturday, 27 Jun 2015 at 09:11, Xebar Saram wrote: >> hmm strange still dosent work for me. here is the top section of my bib file >> >> -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- >> >> @article{ackerman-1998-discr-clear, >> author = {Ackerman, {S.A.} and Strabala, {K.I.} and Menzel, >> {W.P.} and Frey, {R.A.} and Moeller, {C.C.} and >> Gumley, {L.E.}}, >> title = {Discriminating Clear Sky From Clouds With Modis}, >> journal = {Journal of Geophysical Research}, >> volume = 103, >> number = {D24}, >> pages = {32,141--32,157}, >> year = 1998, >> shorttitle = {Discriminating clear sky from clouds with {MODIS}}, >> } > > [...] > > Try removing the comma in the last entry. I've found that having this > comma confuses bibtex and/or emacs at times... > > Just grasping at straws here for you :-) -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Tue, 30 Jun 2015 16:44:22 +0300 Message-ID: References: <87d20dsgjc.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e011823d0640b2c0519bc673e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9vpt-0006Q3-P9 for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 09:44:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9vpp-0007e2-JZ for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 09:44:29 -0400 Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:33913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9vpp-0007cj-50 for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 09:44:25 -0400 Received: by lagx9 with SMTP id x9so14113302lag.1 for ; Tue, 30 Jun 2015 06:44:22 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: org mode --089e011823d0640b2c0519bc673e Content-Type: text/plain; charset=UTF-8 Thanks guys it works now ! best z On Tue, Jun 30, 2015 at 4:19 PM, John Kitchin wrote: > I think you are also still missing a % sign at the beginning of the -*- > line. > > What if you change the dialect from the bibtex Entry-types menu? > > also, what still doesn't work? > > Eric S Fraga writes: > > > On Saturday, 27 Jun 2015 at 09:11, Xebar Saram wrote: > >> hmm strange still dosent work for me. here is the top section of my bib > file > >> > >> -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*- > >> > >> @article{ackerman-1998-discr-clear, > >> author = {Ackerman, {S.A.} and Strabala, {K.I.} and Menzel, > >> {W.P.} and Frey, {R.A.} and Moeller, {C.C.} and > >> Gumley, {L.E.}}, > >> title = {Discriminating Clear Sky From Clouds With Modis}, > >> journal = {Journal of Geophysical Research}, > >> volume = 103, > >> number = {D24}, > >> pages = {32,141--32,157}, > >> year = 1998, > >> shorttitle = {Discriminating clear sky from clouds with {MODIS}}, > >> } > > > > [...] > > > > Try removing the comma in the last entry. I've found that having this > > comma confuses bibtex and/or emacs at times... > > > > Just grasping at straws here for you :-) > > -- > 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 > --089e011823d0640b2c0519bc673e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks guys

it works now !
best

z



On= Tue, Jun 30, 2015 at 4:19 PM, John Kitchin <jkitchin@andrew.cmu.e= du> wrote:
I think you are = also still missing a % sign at the beginning of the -*-
line.

What if you change the dialect from the bibtex Entry-types=C2=A0 menu?

also, what still doesn't work?

Eric S Fraga writes:

> On Saturday, 27 Jun 2015 at 09:11, Xebar Saram wrote:
>> hmm strange still dosent work for me. here is the top section of m= y bib file
>>
>> -*- mode:bibtex; eval: (bibtex-set-dialect 'biblatex); -*-
>>
>> @article{ackerman-1998-discr-clear,
>>=C2=A0 =C2=A0author =3D {Ackerman, {S.A.} and Strabala, {K.I.} and = Menzel,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0{W.P.} and Frey, {R.A.} and Moeller, {C.C.} and
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Gumley, {L.E.}},
>>=C2=A0 =C2=A0title =3D {Discriminating Clear Sky From Clouds With M= odis},
>>=C2=A0 =C2=A0journal =3D {Journal of Geophysical Research},
>>=C2=A0 =C2=A0volume =3D 103,
>>=C2=A0 =C2=A0number =3D {D24},
>>=C2=A0 =C2=A0pages =3D {32,141--32,157},
>>=C2=A0 =C2=A0year =3D 1998,
>>=C2=A0 =C2=A0shorttitle =3D {Discriminating clear sky from clouds w= ith {MODIS}},
>> }
>
> [...]
>
> Try removing the comma in the last entry.=C2=A0 I've found that ha= ving this
> comma confuses bibtex and/or emacs at times...
>
> Just grasping at straws here for you :-)

--
Professor John Kitchin<= br> Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

--089e011823d0640b2c0519bc673e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: helm-bibtex questions Date: Tue, 30 Jun 2015 15:37:51 +0100 Message-ID: <87k2uli7nk.fsf@delle7240.chemeng.ucl.ac.uk> References: <87d20dsgjc.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1Mi-0005g4-V5 for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 15:38:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZA1Mf-0007dp-3i for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 15:38:44 -0400 Received: from mail-db3on0141.outbound.protection.outlook.com ([157.55.234.141]:55072 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1Me-0007bW-R6 for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 15:38:41 -0400 In-Reply-To: (Xebar Saram's message of "Tue, 30 Jun 2015 16:44:22 +0300") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode On Tuesday, 30 Jun 2015 at 16:44, Xebar Saram wrote: > Thanks guys > > it works now ! Which fix worked? The , or the %? Enquiring minds wish to know... Excellent news, in any case. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1261-g304f84 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: helm-bibtex questions Date: Wed, 1 Jul 2015 07:53:31 +0300 Message-ID: References: <87d20dsgjc.fsf@pinto.chemeng.ucl.ac.uk> <87k2uli7nk.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158b5e2c541980519c91adc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAA1d-0004Pw-Lf for emacs-orgmode@gnu.org; Wed, 01 Jul 2015 00:53:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAA1c-0002iY-QM for emacs-orgmode@gnu.org; Wed, 01 Jul 2015 00:53:33 -0400 Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:33583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAA1c-0002iO-IQ for emacs-orgmode@gnu.org; Wed, 01 Jul 2015 00:53:32 -0400 Received: by lbcui10 with SMTP id ui10so5706755lbc.0 for ; Tue, 30 Jun 2015 21:53:31 -0700 (PDT) In-Reply-To: <87k2uli7nk.fsf@delle7240.chemeng.ucl.ac.uk> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram , org mode --089e0158b5e2c541980519c91adc Content-Type: text/plain; charset=UTF-8 :) it was the % at the start thx again all best Z On Tue, Jun 30, 2015 at 5:37 PM, Eric S Fraga wrote: > On Tuesday, 30 Jun 2015 at 16:44, Xebar Saram wrote: > > Thanks guys > > > > it works now ! > > Which fix worked? The , or the %? Enquiring minds wish to know... > > Excellent news, in any case. > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1261-g304f84 > --089e0158b5e2c541980519c91adc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
:)

it was the % at the start
=
thx again all

best

Z

On Tue, Jun 30, 2015 at 5:37 PM, Eric S Fraga <e.fraga@ucl.ac.uk&= gt; wrote:
On Tue= sday, 30 Jun 2015 at 16:44, Xebar Saram wrote:
> Thanks guys
>
> it works now !

Which fix worked?=C2=A0 The , or the %?=C2=A0 Enquiring minds wish t= o know...

Excellent news, in any case.

--
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1261-g304f84=

--089e0158b5e2c541980519c91adc--