From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oFAaJ/TI2WBZFgAAgWs5BA (envelope-from ) for ; Mon, 28 Jun 2021 15:04:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qDDIIvTI2WClXwAAB5/wlQ (envelope-from ) for ; Mon, 28 Jun 2021 13:04:52 +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 735A6A96A for ; Mon, 28 Jun 2021 15:04:51 +0200 (CEST) Received: from localhost ([::1]:60094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxqwT-0001Bz-GC for larch@yhetil.org; Mon, 28 Jun 2021 09:04:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxqrn-00046C-0t for emacs-orgmode@gnu.org; Mon, 28 Jun 2021 08:59:59 -0400 Received: from mail-eopbgr60139.outbound.protection.outlook.com ([40.107.6.139]:9220 helo=EUR04-DB3-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 1lxqrj-0004Fp-Cg for emacs-orgmode@gnu.org; Mon, 28 Jun 2021 08:59:58 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l4by6miQvsSFS8cptX4taGg7+o7N+mSCHU3NRZft64TKIlauvmkQP903kJCDx1UEei2imHz4DtstrrJxyJ672z0pecnIce3p0ZJcoIXD/Cc2ojznzoDmCUIVhbDgnyoLahOWgTmcU3AsgpiIt0QT+mX0fHI2ESe9MMQaiMd5kRV6IaswKJZTPjFndqQaaB044/F2WCDPrPMSQr6Iv/mnzCldoQzaF7LWCaSPfZk4QnWGUi8ZsSShehGhQMR7RR9HI7xxfJK6bk/wx/baFnVqUJ/70DTY666sOnAxOm5kKHO+T0CTlEoba83kWp0kD8eCxs0v5aTe9jOYCi/Wk8HjZw== 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=yj03/x/rmpS9+kMOQ0JJyYYzbsfA7Arnty58OmGXb5I=; b=TYBWiRbxJz2DugkESut0gEwFBc+jAP6GWqmUl6Rx2yxkFejJhUPo/zUoRqD5B4Rt1XaTB3zu3YkGZKnpO9exdX9tfwqodS4xaOKlWK41XqUBuUEtdqJgddnKTGZjI4GFPc0aU2pJ5PpGTpy+Vqf9PnO9BsGE/e6NS4hU9TYJDnXKAASZ/J88t+sXxL0IFPRZbWTy/FjdJtWZPbQ2LfmKkke+xXLaNjc27pjB+TshLmphVpgCHhXlGpfIhG1R0IqDeemrGJFGpvW0U7tAYl9fHqzBAHxlFQJWvloD/SUdCH6olBRO+f3gDRpww76JKsZ4wdrrgmCaGC2XWUK9cM7hTw== 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=yj03/x/rmpS9+kMOQ0JJyYYzbsfA7Arnty58OmGXb5I=; b=J1Jh/FJeIUcWkXS53t5iyIjKXMDn1oUk0i6wno8UvtC1V7zQ+rCR6N3DyVNFLsug80M30ljCX965fb+dd1Kijt9Jv4xSuqnJUzCelxTpaQfSqXL+cVpFrd1wSeRkFZDNrksifdz+Fa6WoLdxpU6t1PPWy4EtATSvwuFtC3ch1Ws= Received: from PAXPR01MB8415.eurprd01.prod.exchangelabs.com (2603:10a6:102:21e::16) by PAXPR01MB8317.eurprd01.prod.exchangelabs.com (2603:10a6:102:214::21) 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:59:53 +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:59:53 +0000 From: Eric S Fraga To: Org Mode List Subject: Re: [patch] add :url and :doi optional entries for export to BiBTeX Organization: On the Interweb somewhere References: <87tuli17pp.fsf@ucl.ac.uk> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Mon, 28 Jun 2021 13:59:51 +0100 In-Reply-To: <87tuli17pp.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 28 Jun 2021 13:42:26 +0100") Message-ID: <87lf6u16wo.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: LNXP123CA0007.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::19) 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 LNXP123CA0007.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::19) 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:59:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6cd8847d-3258-497e-7012-08d93a349eea X-MS-TrafficTypeDiagnostic: PAXPR01MB8317: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QQ80Qisl0K/DItk1/flZMj0sGEPK0gQmffjEA9hg1rC8ZvuHIz4Si8Fb2Zd2gnnNRZ+wXclwCirkbLO2YKwi18WktN2tH/s6jPMdnVej5EwkHJHBZiAvhWU3IoMDIxI77kr2IeB9LnM3LkrHt3Fi4LN3kLcXgoiRYP5VZlBrQnHlQBwyyQOeFB3h3l6qgRz7PSED5pO6LHhc6ThtRFW+zQuLrJ5NgKdtt3baoAKNRXADU/Uqm1UZqyCH9ngFmAugl3NFY0595UyoWEfU2P/K8DaQQjjZjKmLta676vqvgfVk7b5jFWXbdjnB1hPn/Wku5pRGWcY1ABYZAzmBPgcYJuhfyUMX3Oal7eIQft9GY7FebifVQOWFjenx4VVjhmuwj5TbPlYDDq6r9Dp+NszWPuLUJ7zgvywkytBP4Ae4KMO/jD8c/aOoiyi+G65VJGP36m2dmllGXof1yUrGGmQUs/yTayZKZtQaNOLP2mpa3nDX/3FNzCrfKiokAncZzr4eZYrQgbw60gryzkHIlp8fJZRI68YC3mHzVPIZNe0HTz2G6PJp7bM0GPM7mJn9Gu/KnHEF4rquBBZKkgklSdelxmYtJsooFSw9CjXCzIc7Y+AtllUBYK/oU+BlaTmHHv0A/IpWgk7uNKXH2ASU1AukRI/d2iFN2w18EfS0eXLBKhcbALpSTCnomBBvuhsxxXaW3bFSCMdp4uqzzKdbybkZuovpehhM9NsyDOggVb8uRbL+xFj4xBc+l1zjS/CQOa3ZPnk19fj0zaPcGc9uy6bmJoNoO23IcbVgU5M/n++lFhOMtlPqn8cz+/1w64h2qGGL2qnW4k8NBb7JjP5DsPwSeA== 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)(39850400004)(366004)(346002)(396003)(136003)(376002)(5660300002)(36916002)(38100700002)(38350700002)(2616005)(52116002)(6486002)(235185007)(6916009)(6496006)(26005)(66946007)(8676002)(86362001)(186003)(8936002)(316002)(786003)(2906002)(66616009)(956004)(36756003)(478600001)(966005)(66556008)(66476007)(16526019)(564344004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?yKn7L2JfKkR/43ydWnEaQSdx94S8/+Xc9Ycl3HIwSU7aAbQTFAnrhQfcVra+?= =?us-ascii?Q?qxqW6lNklhnXMkCHQMGt8IkWVcE9uFv3wExVC9INNr8WM8TTQPatJzg51Rmq?= =?us-ascii?Q?gNbOrHkMZf3e03v0blqvRS23uFx60jCsKzSchFO7NPpgdRghbeDwbEgGxBHD?= =?us-ascii?Q?wKrVF22Sh0Li8yOeKpeGhIdXJqnZCZxG+VwY+3zLk/v0VbYoizj2U1umEiTq?= =?us-ascii?Q?2AHoWkwS3ejxxPp5gra760GzGGhdQfE1uuk+uJt8/uewnno0KK8FlyalGmMM?= =?us-ascii?Q?ocKBFHKDgxa70mW0swlCIWOztfD9M7QliMwt4EoD6yBtEfQ2SPa/5/sLmHVN?= =?us-ascii?Q?pWsDuxqpAsr6TEH5np17km32WKaILvWtCY7MzFV7w1i/SBOWth/uWxFmgaDh?= =?us-ascii?Q?0f74kO85Cp90IbHfrAu9TSa14WyWRp1ByR2MS8HdNVJ7yuuogBVRa/nkOUs5?= =?us-ascii?Q?jgeqnGGsceYbe03vvzcepSt72mLnFyDnwpOlC/mHfAEuy6vSvwAIqgLmHzjR?= =?us-ascii?Q?weYdgn5sLiq2KmCmxkV6jmdq5GdZgJtIvtbN2Fuy7Mzry5kMCLkv1LZecF/u?= =?us-ascii?Q?eWWWsrirjro2UUMG8NXfuQ8SEPAIUQq+TmOOPRAcsq35Ju4CouzevdB2uH1I?= =?us-ascii?Q?BELQKSRNfBIA9T1syTpQQPTF44JKykAezzNv8AzJboU3+vUrxcLVuqBG3o9J?= =?us-ascii?Q?zwR8LZEevcTvGq5bI77/f1v6IX2ok3p0YPhHrJ2woL/JMMbsKRGf6Gzy83yl?= =?us-ascii?Q?n9APBmp/3RsfIYBtTyHaBb9y+re/0mig7TIkq3a7nq4FtFlhFpZuBlwHOc0I?= =?us-ascii?Q?2eGrmFO1+AjrUWMBbb/e7WnOJ7f4EOg0bN024UV6Umr0MepkWFnAAiFe6yI7?= =?us-ascii?Q?7yfBm+Kmk7mWdozMVLsMUQU96F/872SCiRpCLkuNVfpRqEa8spx5Jjw6JvT3?= =?us-ascii?Q?Nq3S0Wjf3ajNGZG806bcH5H74DobgWHtGQd2klY8x5ufYrngunIyBR+6l/9C?= =?us-ascii?Q?SLiAvrOmxv6iuAdDvL3MCi7t+PV8siUGljLqTw425HdXiyUpdqnL45+nVU+8?= =?us-ascii?Q?dHKDOr3rlsuQSdt83kO8/tR0N9WhfgwaMCMd6U/PF/KeiUcRxLiF2E3PMtO8?= =?us-ascii?Q?8NdF9otd1zfKW/u+J4+uRW5fYA8hoqO58kbAo0uj6vl88JbYJpJ8DpQj2bbL?= =?us-ascii?Q?Axus265MEL07AlwZeKDOBFll7UNZlOLlGczuFxZNaK/IIjm8omcsGYxbgWAb?= =?us-ascii?Q?1TsF7fuxwt6lcs2omZfqr3l+4YXW0dsTDt9rakg6r9csNCnXCaZlxnsSvU1o?= =?us-ascii?Q?AvUv5aJJYn1JXil7Oxt2ibJp?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 6cd8847d-3258-497e-7012-08d93a349eea 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:59:53.0342 (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: FSwigqPzNvT14TnKyHu4XNE//idKEdX8KEmeoAZY1kPlQDAVQgO4afWRLWK3tYxA8czJ/wB3+7FhysY2gbU3+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR01MB8317 Received-SPF: pass client-ip=40.107.6.139; envelope-from=e.fraga@ucl.ac.uk; helo=EUR04-DB3-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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=1624885491; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yj03/x/rmpS9+kMOQ0JJyYYzbsfA7Arnty58OmGXb5I=; b=kX3moDKKG3EcKU6prs9bl7fN1MaiGroa1Ga+CChb5T2jdQ24mW/uXNLeaSmQdQQIqk44oH f/9wgADmswRCtuDuX3eREBBV3+TmdRVeUtELrnNA8FGcfSfZmKiUSiy2HI0VCgSi2zkzaJ 7rQTrl3LQL1uXe+69aDn3/HJqudJJG2hFQEPel/xcOjBmeXHZwaM0y/f4E/PrXnHnV0nTS O54BYX8jFpc36EK2D8E851X5AtcAl5x8DWovxz7uuzvYIBhpAOPGlC6g23dtzuqRZT9KPt /Onm7AZxTxeaTmdCZ//1IxotxUmiHGGp6c8Db+shpEGG3wWL13s0TgFLUavg7w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1624885491; a=rsa-sha256; cv=pass; b=pS7Zz6fK/ZNNeaCnZygOjZejqs1Ikqw2U34fl64YCi72qfBP3uzX6xhb4+G+IbE900Oc2N 1DS7dBahq92ooK5F1K6S/tGG6by9PRDMyr0CeFSe2atBNUQvGDHw6aMBWyy06lA9EdExq3 GhNPDdmVxKYQaub6dQqAHhDMTjSg8MzqYoSRHd7UWnCBnhDHGHzHIZdpRsfyoXoKFd+re+ XWe8vhC//wyKAXGgu8deCwhLFbjrku/nRl/pvzXokS1GM91+PBoOfibjHTS7EMDFMv/oL2 D7ZRpNcl79nmQs421v8A/UfPSgdBe65E/eEANV4m86R/IoP6w5mEUHRVMFL3JA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b="J1Jh/FJe"; 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-Spam-Score: -4.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b="J1Jh/FJe"; 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: 735A6A96A X-Spam-Score: -4.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: C8Lvt+ntCreW --=-=-= Content-Type: text/plain I introduced an error in the previous patch. Please use this one. Thank you, eric -- : 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 :year :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 --=-=-=--