From 20e11bdcb97bfa956d2855c8f161a1a8846fde74 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 9 Jul 2022 18:54:34 +0100 Subject: Add a license --- static/docs/ebib-papers.el/index.html | 45 +++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/static/docs/ebib-papers.el/index.html b/static/docs/ebib-papers.el/index.html index 8e72015..41fbb49 100644 --- a/static/docs/ebib-papers.el/index.html +++ b/static/docs/ebib-papers.el/index.html @@ -10,6 +10,14 @@ color: #000000; background-color: #fffff8; } + .comment { + /* font-lock-comment-face */ + color: #505050; + } + .comment-delimiter { + /* font-lock-comment-delimiter-face */ + color: #505050; + } .doc { /* font-lock-doc-face */ color: #2a486a; @@ -22,6 +30,10 @@ /* highlight-numbers-number */ color: #0000c0; } + .hl-line { + /* hl-line */ + background-color: #f2eff3; + } .keyword { /* font-lock-keyword-face */ color: #5317ac; @@ -69,23 +81,46 @@
+;; Copyright © 2022  Yann Herklotz
+;;
+;; Permission is hereby granted, free of charge, to any person
+;; obtaining a copy of this software and associated documentation
+;; files (the “Software”), to deal in the Software without
+;; restriction, including without limitation the rights to use,
+;; copy, modify, merge, publish, distribute, sublicense, and/or sell
+;; copies of the Software, and to permit persons to whom the
+;; Software is furnished to do so, subject to the following
+;; conditions:
+;;
+;; The above copyright notice and this permission notice shall be
+;; included in all copies or substantial portions of the Software.
+;;
+;; THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
+;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+;; OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+;; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+;; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+;; OTHER DEALINGS IN THE SOFTWARE.
+
 (defun acm-pdf-url (doi)
   "Retrieve a DOI pdf from the ACM."
-  (concat "https://dl.acm.org/doi/pdf/" doi))
+  (concat "https://dl.acm.org/doi/pdf/" doi))
 
 (defun ieee-pdf-url (doi)
   "Retrieve a DOI pdf from the IEEE."
   (when (string-match "\\.\\([0-9]*\\)$" doi)
     (let ((doi-bit (match-string 1 doi)))
-      (concat "https://ieeexplore.ieee.org/stampPDF/getPDF.jsp?tp=&arnumber=" doi-bit "&ref="))))
+      (concat "https://ieeexplore.ieee.org/stampPDF/getPDF.jsp?tp=&arnumber=" doi-bit "&ref="))))
 
 (defun springer-pdf-url (doi)
   "Retrieve a DOI pdf from the Springer."
-  (concat "https://link.springer.com/content/pdf/" doi ".pdf"))
+  (concat "https://link.springer.com/content/pdf/" doi ".pdf"))
 
 (defun arxiv-pdf-url (eprint)
   "Download an arXiv pdf based on it's EPRINT number."
-  (concat "https://arxiv.org/pdf/" eprint ".pdf"))
+  (concat "https://arxiv.org/pdf/" eprint ".pdf"))
 
 (defun download-pdf-from-doi (key &optional doi publisher eprint journal organization url)
   "Download pdf from DOI with KEY name."
@@ -121,7 +156,7 @@
 (defun get-bib-from-doi (doi)
   "Get the bibtex from DOI."
   (shell-command (concat "curl -L -H \"Accept: application/x-bibtex; charset=utf-8\" "
-                         "https://doi.org/" doi)))
+                         "https://doi.org/" doi)))
 
 (defun ebib-download-pdf-from-doi ()
   "Download a PDF for the current entry."
-- 
cgit