From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ZRAiNDTG2WA0FAAAgWs5BA (envelope-from ) for ; Mon, 28 Jun 2021 14:53:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +ENELzTG2WAWOAAA1q6Kng (envelope-from ) for ; Mon, 28 Jun 2021 12:53:08 +0000 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 9D33EA55A for ; Mon, 28 Jun 2021 14:53:07 +0200 (CEST) Received: from localhost ([::1]:36236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxql7-0001dC-KQ for larch@yhetil.org; Mon, 28 Jun 2021 08:53:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxqax-00028z-4Z for emacs-orgmode@gnu.org; Mon, 28 Jun 2021 08:42:35 -0400 Received: from mail-db8eur05on2097.outbound.protection.outlook.com ([40.107.20.97]:17600 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxqat-0006Tt-3b for emacs-orgmode@gnu.org; Mon, 28 Jun 2021 08:42:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YgFekCDVQigeReXYKcEoRliDzNPD/8UBBiPHy6PUb9yEqUgQuLO9oizob/EpIJnXTrL4hqKc2QblZVaCjqP1JreecrcQYNO1JgpECcm8YJw2rf/T9htmgDJd/y/GXRDXvOVqHGt0ed5OvkMZuCg7kZOahteFmCvp134INei/pUIvyjmkIAGgfDQh4aXO6PEi1BE2qxP+UNCVesw70mVgvJPmhaSfDBpxkiL2kPGkRBNXqw6W9hgDCXK4+Y+oUKf8jjfnbp5erJVGYqhosNlt031QLrcyzLsbdK7Lfud+qE3GgxD/MdyB5PT9SGhGpJHFw58PJNxX2N3x2kr1SydvvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M7hDTZNksvYzp9Sidt3U2yAM3INBCS3a5qHVn1vFQHE=; b=RLO87kYVJZDsXop0SiT6A5UV6X1Mb0EhW61Pggtixk/0GW0Zc5jAxVXA6Q5QS2eXYzP5ENI3SJWYZXpjKt44WX3euPVnAVsj2zcY+g56fuIwG+5c5DjQe7IQsBq9OsXS/MmTvJ/2JYr/O90UrgRiqEnLzhvLFL8xIed4dectWp6cptnZJEzNxKFd0919B/CZ/pY1qaA9JLczuJJb7cdD0IJ0zHAJq4hdO+JFizQ/08WQv9XP3qCfMYN7IlkFaB48ZK9ySPNu+rGWiCCyBV16dS6Xsfv3YovtLjyrsFZc9CEswpsOxMVaYva5lwQkTNUeTUtRlLqDjY8s3aibJijDpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M7hDTZNksvYzp9Sidt3U2yAM3INBCS3a5qHVn1vFQHE=; b=gmUAOfJLFgo42KbxkZChgwNPs6gqyEw8dWE62BYxDr0SaG6UEM7UxhUl6oAvKZ9zgeqTaQhM7npBtssatv77pb2Ck5T7LWMlxRENPOWP8sOgS07caQZmE6SF5T6ssvMz7LVOE1x57VHs7g8+Bz0pxyBe7HtuEyC/dJs9qCpma88= Received: from PAXPR01MB8415.eurprd01.prod.exchangelabs.com (2603:10a6:102:21e::16) by PR3PR01MB8129.eurprd01.prod.exchangelabs.com (2603:10a6:102:178::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Mon, 28 Jun 2021 12:42:27 +0000 Received: from PAXPR01MB8415.eurprd01.prod.exchangelabs.com ([fe80::fd73:420d:4389:77b1]) by PAXPR01MB8415.eurprd01.prod.exchangelabs.com ([fe80::fd73:420d:4389:77b1%4]) with mapi id 15.20.4264.026; Mon, 28 Jun 2021 12:42:27 +0000 From: Eric S Fraga To: Emacs Org mode mailing list Subject: [patch] add :url and :doi optional entries for export to BiBTeX Organization: On the Interweb somewhere X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Mon, 28 Jun 2021 13:42:26 +0100 Message-ID: <87tuli17pp.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-Originating-IP: [2.29.174.230] X-ClientProxiedBy: LO2P265CA0345.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:d::21) To PAXPR01MB8415.eurprd01.prod.exchangelabs.com (2603:10a6:102:21e::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (2.29.174.230) by LO2P265CA0345.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18 via Frontend Transport; Mon, 28 Jun 2021 12:42:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 298d7de0-1d63-4646-513e-08d93a322fa8 X-MS-TrafficTypeDiagnostic: PR3PR01MB8129: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GZFcg+kIRBgY2pXwnmLBOrx5+l60KTUXnlUIf2e845PXgK76JJh7xZ68jj7Th0Vt92U40mri6o8bSU3AfPDyFZFE4aeXCrQQE85FIgq3px3+MBKOHhSRaH0uWwfgsLv3PKPx4BIWu7Q1bSUDNGmOEoYDUpxBhjzTwWJoMTOe9LV2NpMD5VYeT8M+gcFiSCFnidd2plLlrqxjqrdLKnhPbPi/OADECSCalbH+I7HSaFkoLFGUAe4dhUwOKKXxKuBbNeygEoldnEXDDp8FK2ehGA6xl5cTHs0z9ROTUA7CMuVT/ZxmAr3Jur/SRt/0QgXps/0Bz5hOxAkcBsv6/g5Vd43EKwPkDwzAGoDSrcVGwqfRyOZJFBeqHpy5X3EPmLzL7cB4f3Ag8ZoOejPyVER5WeNEBU2U+HTjEH2i/AO23Kykcf5HeWGca3drCHtJh15y5o1ukNyFZ0wZan137stZOZ2hZF+Hxiuym+6zIvkPcz4BxLwk+gfe1medF1meXpOpRgdJ8C4HnNW37zhRjI3hAx9BxtV6edvRA9VO5huqOcs0EzlD7iWFiFh0bIK+rMoV4PjJFIx8SeYC7LwKh39GG3YeqC4dyjPPqRfprsNxrEXVd+R0cXEQj/OQBIPMep9bpX/XHNV5BxMsGENbhz72mL0rJZsnkEuvvx/NYkTJcgeQr4d7SFaSEFS+49DW9mC/B7oLnDbPcw/VRAKgBZ0oxuTh8xRf2B/ohGSlzNhDVodInqTQ7jxtGY9SFOAZ6hYcJkT7/JHsNz+Vevze99LIwvNsGZI+1H6jYjMGUDXcYo2JdGdCe1u26ip8JvPJTCw3emFmlD7n9PqyYs1DQ08WLw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR01MB8415.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(39840400004)(136003)(376002)(366004)(396003)(346002)(6496006)(5660300002)(86362001)(26005)(4743002)(786003)(8676002)(235185007)(6486002)(316002)(2616005)(8936002)(956004)(36756003)(2906002)(66946007)(66476007)(66556008)(66616009)(36916002)(478600001)(52116002)(6916009)(966005)(186003)(16526019)(38350700002)(38100700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vcx1GH1DQdcAf4IPY118VIoWHFji/4JeZ5bESHBUGO3aX2fkk5GRJAwbfzBS?= =?us-ascii?Q?Lo0cK1rqVb/tZotGkM8EhfQJ4SWWoaz8pfDvMrgjJ2vLK3NLJJSIYRyIJrd2?= =?us-ascii?Q?CPeU2+4tIe1t4hIv0hznT5vjqstL9ons7AlvlWQ2EQyhs/z32QnFzoHvljPs?= =?us-ascii?Q?MRl8XF14oKHgRJYhhggDiaPT2Bqfen29aTXlpRb0vUSizAuGJq83qwnx8fWF?= =?us-ascii?Q?XXbiFd7PNpYXu6yPmzETQRSIBMKFjlYwKli6jDNqSzL0UqhQa45L6vKX3XqG?= =?us-ascii?Q?XcJ50LBtCxR1RqD3QbzaEtmpZsSMgypsIANAfjq9Sb2GwO/nj9tOK0VQ9zHi?= =?us-ascii?Q?K5zw4kYomoU1s8ZKKdbrlFXxSYdadZsMl+uHf2WtugCjx6+SWGAWkTic03t7?= =?us-ascii?Q?qw3Ts+aK+r7x3SdtaBKFUMaDTy2QUBtQvURNgmU4OwwNZLck0wRCp6/FNhpU?= =?us-ascii?Q?04kjR8mB07/LmsR+A7Je5GMrpKEJx3jkJX3EruXsTEAdIXpLO1iHdGPlBOVo?= =?us-ascii?Q?7Y3BkvLj6bk4J/XPHoURjYCWUr9D7GvnxWMBlGy5Lj6jm5GCj/Kmu03YSUFs?= =?us-ascii?Q?AatVPG2GmFmUADUx53XQbAzNZFMc1qRPe9Yjj3KZK2g79hP2hvyBInHhtfpJ?= =?us-ascii?Q?VcDFtQ17zh6IUHrQCEXMMDT5Taj3rf3ABjc0HtQ0sMLHhcUiFnh8eQs1FpV2?= =?us-ascii?Q?ucQvq4tQSAvj7B3g8AFdBKjESnLY22H7y1F2aO3/cPhucW2qRZXXaitoJWz+?= =?us-ascii?Q?F1Z7rEANYdTpElCaxOm5mfhxySQH75g+ZGAK9Td2xXNAW07oVwWtM+24XqeB?= =?us-ascii?Q?3BiIPoUOc3xuz+04kcZrVNSACGVd1SWp6q5EoKwPxG25mGjB11E/PJEJfaEC?= =?us-ascii?Q?9RmZGRQRGar5Ayp+EUL4FEgIVomWlef4KqN8D2f+tPT10+9OP+a7ZzG7Jk4d?= =?us-ascii?Q?BX0Ss0G+6HOaQZqePYmvHJN86u27oyML+33eET0xOk0xhuhxIxTgXQm5Flbt?= =?us-ascii?Q?DIV8CpggWPWYJN1/VfcwbjJiqQo0HciYdAhf8Bhw9UtxwFnAsK3bq5n3oHIJ?= =?us-ascii?Q?8grISDA0MtM54N81jyP5X77ToWZfameRgF/7iFzUUXRzcfqnfDbGW488H07p?= =?us-ascii?Q?jd5GVgxA5+ZRVtIVmscwBIuNJ87suZc8738lNYzoa8+JO8Ud1wathcYxIR/v?= =?us-ascii?Q?OZQUZyPAt9Lv+tFuTGJd9a6mkuk7vWy6T3B55/FGzASmhoT0lTPPE6Xyxr0P?= =?us-ascii?Q?y9N9NaoWNLkMVx2VJiDPxwpivK0idciIJs57d8tABpXzReWDDALGBXmIy09W?= =?us-ascii?Q?ruQdyDXO0ZsqFdsCRSenVUt5?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 298d7de0-1d63-4646-513e-08d93a322fa8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR01MB8415.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2021 12:42:27.3375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JqarLVPae/j9NMiNSTOZQMXV1xEKFv9V3YWpdwJ9iFM9/hhLynoph5BPt8X7w+oZcj35Qo2RX5CLbcgWuq1z4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR01MB8129 Received-SPF: pass client-ip=40.107.20.97; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-DB8-obe.outbound.protection.outlook.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624884787; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=M7hDTZNksvYzp9Sidt3U2yAM3INBCS3a5qHVn1vFQHE=; b=m9XQJld4WtvwhnShY1ifaFePnG/IFaOjjyjNz9kCcxQXGyW3tFlSBgYJRwub2LHgUNACgU Hakh7+kVdDfaK3w+xVOUF/GP5d72ITg3ZA5/uVm6g+qbRRqTPeeQS6JGkcenQrU3Xywi1o aX2np/7k5aIV9W1aTgKP2HSbkknWqbOEqavB2DQ5Rlry+F5TdlktKpmKhCAJIDc2ja9XVd qV6DIsJ74Lkb65VV/rshiG7DgXJBgqkxUo7wuN97Px+K/fbDHXl+8k642t61Vr745vIQgT BrXrId/wWPKZi8XYc5uuKXO7e6DGmLsbQdqA4IqhyLghuq5GAbTiqp5dUKkH/A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1624884787; a=rsa-sha256; cv=pass; b=IEYmGSihKRIjxq1JjN4KsPI3py8y2oKXHoOTKNtD7gqwEBze8eDvYBYhHOiG59XAK9icG3 /ErAhEgdLs2FqMW+Z9rmjUZoXu9/Qgsh/42giX/elLUpTh+f1iFnZ6Wb+DolckYxOIRNbw 5PFZGhdi1RV38buJ7BhBYaGtiR2bD/VjazTnUXgajgaKZaL6rKT3p+GOv6z5Dirs7tMdwr YFhDUOW147dkefPLwmfGdaTkvhVDwjbAVrASjcnDRmcK2LJmweqVFx+FwVa0VZPbeUJO0k E8GNbkuBXVbxOcqyST6KKUipJxXSXGCJ0onz4+HSc4YXX962g8ti1GYkKhEoow== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=gmUAOfJL; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=gmUAOfJL; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9D33EA55A X-Spam-Score: -3.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0hFQcGJSGuoh --=-=-= Content-Type: text/plain Hello all, increasingly, I need URL and DOI BiBTeX entries to cite particular types of publications. Some BiBTeX styles now recognise these but the current BiBTeX exporter in org does not export these. I have added :url and :doi entries to the list of optional entries to export when present to a selection of the publication types. I think this is not a breaking change but who knows... -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-571-gc591be : Latest paper written in org: https://arxiv.org/abs/2106.05096 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-ol-bibtex-Added-url-and-doi-as-optional-entries-for-.patch Content-Transfer-Encoding: quoted-printable >From ddad85139bd508a06db6e98ddef0131f7cc9946e Mon Sep 17 00:00:00 2001 From: Eric S Fraga Date: Mon, 28 Jun 2021 13:35:34 +0100 Subject: [PATCH] ol-bibtex: Added url and doi as optional entries for BiBTe= X export * lisp/ol-bibtex.el: :doi and :url entries added to optional list of entries to export to BiBTeX when present in the properties. * etc/ORG-NEWS: added news item noting this change. --- etc/ORG-NEWS | 3 +++ lisp/ol-bibtex.el | 31 +++++++++++++++++-------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 956f1cf19..3f3971961 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -349,6 +349,9 @@ argument is present. You can also set =3D:async no=3D = to force it off Async evaluation is disabled during export. =20 ** Miscellaneous +*** =3Dorg-bibtex=3D includes =3Ddoi=3D and =3Durl=3D entries when exporti= ng to BiBTeX +=3Ddoi=3D and =3Durl=3D entries have been made optional for some publicati= on +types and will be exported if present for those types. *** Missing or empty placeholders in "eval" macros are now =3Dnil=3D They used to be the empty string. *** =3Dorg-goto-first-child=3D now works before first heading diff --git a/lisp/ol-bibtex.el b/lisp/ol-bibtex.el index 57b240d92..bad4c7e54 100644 --- a/lisp/ol-bibtex.el +++ b/lisp/ol-bibtex.el @@ -145,59 +145,59 @@ '((:article (:description . "An article from a journal or magazine") (:required :author :title :journal :year) - (:optional :volume :number :pages :month :note)) + (:optional :volume :number :pages :month :note :doi)) (:book (:description . "A book with an explicit publisher") (:required (:editor :author) :title :publisher :year) - (:optional (:volume :number) :series :address :edition :month :note)) + (:optional (:volume :number) :series :address :edition :month :note := doi)) (:booklet (:description . "A work that is printed and bound, but without a name= d publisher or sponsoring institution.") (:required :title) - (:optional :author :howpublished :address :month :year :note)) + (:optional :author :howpublished :address :month :year :note :doi :ur= l)) (:conference (:description . "") (:required :author :title :booktitle :year) - (:optional :editor :pages :organization :publisher :address :month :n= ote)) + (:optional :editor :pages :organization :publisher :address :month :n= ote :doi :url)) (:inbook (:description . "A part of a book, which may be a chapter (or section= or whatever) and/or a range of pages.") (:required (:author :editor) :title (:chapter :pages) :publisher :yea= r) - (:optional :crossref (:volume :number) :series :type :address :editio= n :month :note)) + (:optional :crossref (:volume :number) :series :type :address :editio= n :month :note :doi)) (:incollection (:description . "A part of a book having its own title.") (:required :author :title :booktitle :publisher :year) - (:optional :crossref :editor (:volume :number) :series :type :chapter= :pages :address :edition :month :note)) + (:optional :crossref :editor (:volume :number) :series :type :chapter= :pages :address :edition :month :note :doi)) (:inproceedings (:description . "An article in a conference proceedings") (:required :author :title :booktitle :year) - (:optional :crossref :editor (:volume :number) :series :pages :addres= s :month :organization :publisher :note)) + (:optional :crossref :editor (:volume :number) :series :pages :addres= s :month :organization :publisher :note :doi)) (:manual (:description . "Technical documentation.") (:required :title) - (:optional :author :organization :address :edition :month :year :note= )) + (:optional :author :organization :address :edition :month :year :note= :doi :url)) (:mastersthesis (:description . "A Master=E2=80=99s thesis.") (:required :author :title :school :year) - (:optional :type :address :month :note)) + (:optional :type :address :month :note :doi :url)) (:misc (:description . "Use this type when nothing else fits.") (:required) - (:optional :author :title :howpublished :month :year :note)) + (:optional :author :title :howpublished :month :year :note :doi :url)= ) (:phdthesis (:description . "A PhD thesis.") (:required :author :title :school :year) - (:optional :type :address :month :note)) + (:optional :type :address :month :note :doi :url)) (:proceedings (:description . "The proceedings of a conference.") (:required :title :year) - (:optional :editor (:volume :number) :series :address :month :organiz= ation :publisher :note)) + (:optional :editor (:volume :number) :series :address :month :organiz= ation :publisher :note :doi)) (:techreport (:description . "A report published by a school or other institution.= ") (:required :author :title :institution :year) - (:optional :type :address :month :note)) + (:optional :type :address :month :note :doi :url)) (:unpublished (:description . "A document having an author and title, but not forma= lly published.") (:required :author :title :note) - (:optional :month :year))) + (:optional :month :yeae :doi :url))) "Bibtex entry types with required and optional parameters.") =20 (defvar org-bibtex-fields @@ -207,6 +207,7 @@ (:booktitle . "Title of a book, part of which is being cited. See = the LaTeX book for how to type titles. For book entries, use the title fie= ld instead.") (:chapter . "A chapter (or section or whatever) number.") (:crossref . "The database key of the entry being cross referenced= .") + (:doi . "The digital object identifier.") (:edition . "The edition of a book for example, 'Second'. This s= hould be an ordinal, and should have the first letter capitalized, as shown= here; the standard styles convert to lower case when necessary.") (:editor . "Name(s) of editor(s), typed as indicated in the LaTe= X book. If there is also an author field, then the editor field gives the = editor of the book or collection in which the reference appears.") (:howpublished . "How something strange has been published. The first= word should be capitalized.") @@ -223,6 +224,7 @@ (:series . "The name of a series or set of books. When citing a= n entire book, the title field gives its title and an optional series field= gives the name of a series or multi-volume set in which the book is publis= hed.") (:title . "The work=E2=80=99s title, typed as explained in the = LaTeX book.") (:type . "The type of a technical report for example, 'Researc= h Note'.") + (: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, su= ch as 1984, although the standard styles can handle any year whose last fou= r nonpunctuation characters are numerals, such as '(about 1984)'")) "Bibtex fields with descriptions.") @@ -507,6 +509,7 @@ ARG, when non-nil, is a universal prefix argument. See (org-link-store-props :key (cdr (assoc "=3Dkey=3D" entry)) :author (or (cdr (assoc "author" entry)) "[no author]") + :doi (or (cdr (assoc "doi" entry)) "[no doi]") :editor (or (cdr (assoc "editor" entry)) "[no editor]") :title (or (cdr (assoc "title" entry)) "[no title]") :booktitle (or (cdr (assoc "booktitle" entry)) "[no booktitle]") --=20 2.29.2 --=-=-=--