From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cOtqIBX/BGTbFAEAbAwnHQ (envelope-from ) for ; Sun, 05 Mar 2023 21:44:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gE5hIBX/BGTIyAAAauVa8A (envelope-from ) for ; Sun, 05 Mar 2023 21:44:05 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3BA2E1989C for ; Sun, 5 Mar 2023 21:44:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYvCQ-0005Cj-Mn; Sun, 05 Mar 2023 15:43:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYvCO-00059K-JO for emacs-orgmode@gnu.org; Sun, 05 Mar 2023 15:43:16 -0500 Received: from ci74p00im-qukt09090301.me.com ([17.57.156.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYvCL-0005nY-SB for emacs-orgmode@gnu.org; Sun, 05 Mar 2023 15:43:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1678048992; bh=7yFECINNQSlmN8lTcR+P/Kl2nshMlyG2ayYOjxJnD9Q=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=sy/DnY6t+Qv/nJsWVaWZmpkMYxCp5v3fFsDd/6vKCENqaGtXC1oJp/Uo5uT3BYCVf wjZhGA1bQHWZ4dcPSWA3jUUBYSoJWJo99ErLlKySYaBthlURjA4FI+fqHolA4azw4A dE8WHm0ETqibhKVSorocUGnkvDYs1B6RWkEr7oKPOF93Lb2e7GgroPlGf7VNeeKsNx m4soo6aXJawjEpUulrIKiE2N0vNlV9463k5F0uW9QZu1/WKFUnRKSKc8OiQW3Df34Z PMcJrM4Idj4URMRazCyN/7a7eztEaRnVvbcB4pl9EH2I734SCQmGJ6vMIr/sZCOXBd 5ZNG3cTxeqNyw== Received: from localhost.localdomain (ci77p00im-dlb-asmtp-mailmevip.me.com [17.57.156.26]) by ci74p00im-qukt09090301.me.com (Postfix) with ESMTPSA id C13E01120616; Sun, 5 Mar 2023 20:43:11 +0000 (UTC) From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Cc: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Subject: [PATCH] Fix BibTeX spelled as Bibtex Date: Sun, 5 Mar 2023 21:43:02 +0100 Message-Id: <20230305204302.92471-1-salutis@me.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: pXepn89VMM9v12uof8SrDhqhy-kReh1_ X-Proofpoint-ORIG-GUID: pXepn89VMM9v12uof8SrDhqhy-kReh1_ X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 adultscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 bulkscore=0 clxscore=1015 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2303050182 Received-SPF: pass client-ip=17.57.156.20; envelope-from=salutis@me.com; helo=ci74p00im-qukt09090301.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678049045; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mZQIeRocy7JoOgkNDSVeZIQ6qdmDoIemBjd6UBX/VRI=; b=s6CsgXMdoqdPB38pRJw2sbicR9mDznpida9nD0rirAMemT0Yx6z9opvYHM8imhMMH+0Cf2 fmA0uQfFCJGbReMAvRRmH5pGljBQT18Dzi6U2PuGdgd11yPh5sPHB0y+A9L2EiJmd8thTK 6iI7WFcTSNh7WeyBaG0vHQkZ9UbUrN5OC12pGMmjIt+xXgJem0G51DneLnS2NWliz0iAhu PsQGGdIrKMsSxbWshdYBrV485gJpPSZIAc81UfFyUE85QV3bEJBEyNW9dFbnzWV1LRz8JT 0+fgIMV32ePi9I7JhyZY6dd+jP3KNyQFmyQdMZIUWn1sCeizsfIj5bvchwSosg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=me.com header.s=1a1hai header.b="sy/DnY6t"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=me.com (policy=quarantine) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678049045; a=rsa-sha256; cv=none; b=QfhC4gc4vJE6QEuHjmj/23/D+wnQ0rcv4bCWonnNSWP1Jnlkrw57AiRYvh5FYlw3MeTsPy uVyYF+PBd3vpSXWU0pfG7tgafoqvAlHZ9qQGudcCtGzUnUSsL2nPmh5ib6wRlW7CZPcw20 gn9OLdLCzaGaJtFZeopEeuXPwIMxdOBK0RXEwrJ2+my2oApeztvqCaVhb+EqTe859/VOOh tqKP695ywXExdt7yEUNG9+vdcYNqERIhza3hAMvtTZ9s21M5ku8fLPs/y12HK8uY5JIO/n zhRofUtVB1BTW5Lc7rR33mZXnYMSMgsa7eFvN4MaVPMTKElWRQOTpelcObe8lA== X-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 6.00 X-Spam-Score: 6.00 X-Migadu-Queue-Id: 3BA2E1989C X-Migadu-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=me.com header.s=1a1hai header.b="sy/DnY6t"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=me.com (policy=quarantine) X-TUID: UOrekOcFXqQ+ * lisp/ol-bibtex.el: Spell BibTeX correctly * etc/ORG-NEWS (Org-BibTeX -- major improvements): Spell BibTeX correctly --- etc/ORG-NEWS | 2 +- lisp/ol-bibtex.el | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 988dfea93..fcb4d2af0 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -6644,7 +6644,7 @@ that Calc formulas can operate on them. *** Hyperlinks -**** Org-Bibtex -- major improvements +**** Org-BibTeX -- major improvements Provides support for managing bibtex bibliographical references data in headline properties. Each headline corresponds to a diff --git a/lisp/ol-bibtex.el b/lisp/ol-bibtex.el index 7d6ed8534..fd9517233 100644 --- a/lisp/ol-bibtex.el +++ b/lisp/ol-bibtex.el @@ -86,8 +86,8 @@ ;; the active region, then call `org-bibtex-write' in a .org file to ;; insert a heading for the read bibtex entry ;; -;; - All Bibtex information is taken from the document compiled by -;; Andrew Roberts from the Bibtex manual, available at +;; - All BibTeX information is taken from the document compiled by +;; Andrew Roberts from the BibTeX manual, available at ;; https://www.andy-roberts.net/res/writing/latex/bibentries.pdf ;; ;;; History: @@ -99,7 +99,7 @@ ;; and then implemented by Bastien Guerry. ;; ;; Eric Schulte eventually added the functions for translating between -;; Org headlines and Bibtex entries, and for fleshing out the Bibtex +;; Org headlines and BibTeX entries, and for fleshing out the BibTeX ;; fields of existing Org headlines. ;; ;; Org mode loads this module by default - if this is not what you want, @@ -144,7 +144,7 @@ (declare-function org-search-view "org-agenda" (&optional todo-only string edit-at)) -;;; Bibtex data +;;; BibTeX data (defvar org-bibtex-types '((:article (:description . "An article from a journal or magazine") @@ -202,7 +202,7 @@ (:description . "A document having an author and title, but not formally published.") (:required :author :title :note) (:optional :month :year :doi :url))) - "Bibtex entry types with required and optional parameters.") + "BibTeX entry types with required and optional parameters.") (defvar org-bibtex-fields '((:address . "Usually the address of the publisher or other type of institution. For major publishing houses, van Leunen recommends omitting the information entirely. For small publishers, on the other hand, you can help the reader by giving the complete address.") @@ -231,7 +231,7 @@ (:url . "Uniform resource locator.") (:volume . "The volume of a journal or multi-volume book.") (:year . "The year of publication or, for an unpublished work, the year it was written. Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as '(about 1984)'")) - "Bibtex fields with descriptions.") + "BibTeX fields with descriptions.") (defvar org-bibtex-entries nil "List to hold parsed bibtex entries.") @@ -439,7 +439,7 @@ at point." (error "Field:%s is not known" field)) (save-window-excursion (let* ((name (substring (symbol-name field) 1)) - (buf-name (format "*Bibtex Help %s*" name))) + (buf-name (format "*BibTeX Help %s*" name))) (with-output-to-temp-buffer buf-name (princ (cdr (assoc field org-bibtex-fields)))) (with-current-buffer buf-name (visual-line-mode 1)) @@ -496,7 +496,7 @@ With optional argument OPTIONAL, also prompt for optional fields." (org-bibtex-autokey))) -;;; Bibtex link functions +;;; BibTeX link functions (org-link-set-parameters "bibtex" :follow #'org-bibtex-open :store #'org-bibtex-store-link) @@ -593,13 +593,13 @@ ARG, when non-nil, is a universal prefix argument. See (add-hook 'org-execute-file-search-functions 'org-execute-file-search-in-bibtex) -;;; Bibtex <-> Org headline translation functions +;;; BibTeX <-> Org headline translation functions (defun org-bibtex (filename) "Export each headline in the current file to a bibtex entry. Headlines are exported using `org-bibtex-headline'." (interactive (list (read-file-name - "Bibtex file: " nil nil nil + "BibTeX file: " nil nil nil (let ((file (buffer-file-name (buffer-base-buffer)))) (and file (file-name-nondirectory @@ -619,7 +619,7 @@ Headlines are exported using `org-bibtex-headline'." nil)))) (when error-point (goto-char error-point) - (message "Bibtex error at %S" (nth 4 (org-heading-components)))))) + (message "BibTeX error at %S" (nth 4 (org-heading-components)))))) (defun org-bibtex-check (&optional optional) "Check the current headline for required fields. -- 2.39.2