From 207fcf23c1330708746fdc8ea2f9af55114b0c3c Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Mon, 18 May 2015 10:36:15 -0400 Subject: [PATCH] ignore test files. Commit changes in abbreviations in jmax-bibtex.el, and fix a link in sci-id.el. --- .gitignore | 6 ++++++ jmax-bibtex.el | 4 +++- sci-id.el | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index deab7c4..db157c4 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,9 @@ /org-ref.ind /org-ref.lof /org-ref.lot +/test.bbl +/test.blg +/test.html +/test.org +/test.pdf +/test.tex diff --git a/jmax-bibtex.el b/jmax-bibtex.el index d9ab657..695cf87 100644 --- a/jmax-bibtex.el +++ b/jmax-bibtex.el @@ -101,6 +101,7 @@ I like \C-cj." ("CC" "Catalysis Communications" "Catal. Commun.") ("CST" "Catalysis Science & Technology" "Catal. Sci. Technol.") ("CT" "Catalysis Today" "Catal. Today") + ("ChC" "Chemical Communications" "Chem. Commun.") ("CPL" "Chemical Physics Letters" "Chem. Phys. Lett") ("CR" "Chemical Reviews" "Chem. Rev.") ("CSR" "Chemical Society Reviews" "Chem. Soc. Rev.") @@ -108,6 +109,7 @@ I like \C-cj." ("CM" "Chemistry of Materials" "Chem. Mater.") ("CSA" "Colloids and Surfaces, A: Physicochemical and Engineering Aspects" "Colloids Surf., A") + ("CF" "Combustion and Flame" "Combust. Flame") ("CPMS" "Computational Materials Science" "Comp. Mater. Sci.") ("CPC" "Computer Physics Communications" "Comput. Phys. Commun.") ("CSE" "Computing in Science \\& Engineering" "Comput. Sci. Eng.") @@ -245,7 +247,7 @@ START and END allow you to use this with `bibtex-map-entries'" (helm :sources `((name . "journal") (candidates . ,(mapcar (lambda (x) - (cons (nth 1 x) + (cons (format "%s | %s" (nth 1 x) (nth 2 x)) (car x))) jmax-bibtex-journal-abbreviations)) (action . (lambda (x) (identity x)))) diff --git a/sci-id.el b/sci-id.el index e29388c..f204c38 100644 --- a/sci-id.el +++ b/sci-id.el @@ -59,7 +59,7 @@ (lambda (keyword desc format) (cond ((eq format 'latex) - (format "\\href{http://www.scopus.com/authid/detail.url\\?origin=AuthorProfile&authorId=%s}{%s}" keyword desc)) + (format "\\href{http://www.scopus.com/authid/detail.url?origin=AuthorProfile&authorId=%s}{%s}" keyword (or desc keyword))) ((eq format 'html) (format "scopusid:%s" keyword keyword))))) -- 2.39.2