From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 7JAyD3RE/2OfBAEAbAwnHQ (envelope-from ) for ; Wed, 01 Mar 2023 13:26:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yHhHDnRE/2N/0gAAauVa8A (envelope-from ) for ; Wed, 01 Mar 2023 13:26:28 +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 947DE3A7F for ; Wed, 1 Mar 2023 13:26:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXLWf-0004mk-5U; Wed, 01 Mar 2023 07:25:41 -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 1pXLWc-0004jN-8o for emacs-orgmode@gnu.org; Wed, 01 Mar 2023 07:25:38 -0500 Received: from mailgw301.it.ntnu.no ([2001:700:300:3::179]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXLWZ-0007cA-Ih for emacs-orgmode@gnu.org; Wed, 01 Mar 2023 07:25:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntnu.no; i=@ntnu.no; q=dns/txt; s=s1-1909-ntnu; t=1677673522; h=date : from : to : subject : message-id : references : content-type : in-reply-to : mime-version : from; bh=Z6bpw7ToEOiFVd5EPue+7E/e9atPh3S12gS60DTGV5w=; b=F5Knn/MYjKmcD+elvBU7rwOYL3qGe7ifUw1ZEcXR4Z2Qu0n2yBFDN/wQZHApuOkcPtvWv QPkjqK4M9x4pNhvXepeCsoYgW+0t544WzoEadBERVf1ctdLfb+XxMWMm8RrNoF03P0d2yL+ 3+jKgVX3vToix9jU6Hw7qP85MGLlNMKCNUi4dTyhiTDSB3L4vKFjnciTI4Ic1RZPZ3h+3jD wcittZcp+nbD8Qa2os3b46I+GcO/jPhore0C6X/3nncN7e2hFkw9/Sx77CAuXaNUVO0VOi9 x2WK2IzO0LEw69toDI5UVnnEZBSBmU/tWjMnlhOWaPO+CC1a3qzIzt9MGu/A== Received: from localhost (localhost [127.0.0.1]) by mailgw301.it.ntnu.no (Postfix) with ESMTP id 134EA6809E5 for ; Wed, 1 Mar 2023 13:25:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw301.it.ntnu.no Received: from mailgw301.it.ntnu.no ([127.0.0.1]) by localhost (mailgw301.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PiK92OGv1QUa for ; Wed, 1 Mar 2023 13:25:21 +0100 (CET) Received: from NOR01-OL1-obe.outbound.protection.outlook.com (mail-ol1nor01lp20204.outbound.protection.outlook.com [IPv6:2a01:111:f400:ff0b::204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw301.it.ntnu.no (Postfix) with ESMTPS id 7010F6803CA for ; Wed, 1 Mar 2023 13:25:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gZHGp36S1TuLJUCSvIrulHf4ZLOLQpMeqyG7WJf7j7sYPrSVPbhrP1YT9UW0IxhcnwzHoS9j0CkpbR1zEn0WDQuIIVSDIo3wHiz+tXCvrue8bWQvHWYsVzXfreiioMdWO1VMBmTdLHjG1m+3wz5SV5+9OBY7ox+HuE2lEYDyeVzM44IN0Y7NcI1zkubpcWNb0I0w32V1WiOVOmHLnXfWibmLyCSBxYfI3pIjV6OVpZQy34SfOeC4CEjjAbG+3ik4i5WGaq8n1+G61EMFhw+eYA2sWIe7SgAmpJKDVJXsKw6xzn74NrcVGX/n7rn9USvHmH2edUA1OXQbXnl6se7ZNA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5dpasoB8AGoeEdJa3gpqRk0PPBTOnbSeVMt06BRjQ5o=; b=VXwe24w0+iMMXyz7wTeQ/pR69a+kyF7mwjTCIkqwKTE5aHKyX7iy22uxX3lGD+WvUJBWJKBadiZe4oqrw3eEMm/aK5DkfU8gUUbbtnbeVafJPreoacjIKTfJ5YXmg+o636j2T1t8bUDGq0eLT3BFrtTH2aG1Z7xMz9nZ+irg88UCiPTd7x7+QSJ+v7sav6ACQMD5onlatYbUIQSXsC2R9ImD2ZyEngEEZgFUxzm2+6RXyXGraOM6Aj2/Y0gL+DRwtvvOfRjyxeqyrmK8MuirX8xSQRDlZvpcmEdS7KQiUhC8edVMs+OpfNGY60YJ7R3tR7J2GVhJYDdKyn7z8CfuVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ntnu.no; dmarc=pass action=none header.from=ntnu.no; dkim=pass header.d=ntnu.no; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studntnu.onmicrosoft.com; s=selector1-studntnu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5dpasoB8AGoeEdJa3gpqRk0PPBTOnbSeVMt06BRjQ5o=; b=Va8K+bI4UtqmbnGMiBxTntMjvyVI7Snr8nfsq38hVyGeWIM7ua/h9gfQFEsceV8r0MyYWMnpIBPKPm275EUxBYd4INVWvuMktSHpv2QjOv0QUJ6QTqqAEDEWrfdxd8t0m2FqTtXjiBfqvXxf45Kk5++7j668wiL/wBCK1zI/EJQuQhrrRqovTZuqYhDemrINm7C8X6ewIQrgrx4AQvEeWxh3SPSDgKr97rTw1lfBQivAmSlYW8KKSiREfP78tiiSuyy7jilXhCcwg/NzREpxH7Bhzipt7Csqj+GnfDZXYqT7oOqT2VGLmdRbkRU/lNlof/7HgOHSB09PM586Xw+3IA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ntnu.no; Received: from SVAP279MB0493.NORP279.PROD.OUTLOOK.COM (2603:10a6:f10:17::13) by OL1P279MB0002.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:10::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18; Wed, 1 Mar 2023 12:25:20 +0000 Received: from SVAP279MB0493.NORP279.PROD.OUTLOOK.COM ([fe80::620f:ed54:cbce:f940]) by SVAP279MB0493.NORP279.PROD.OUTLOOK.COM ([fe80::620f:ed54:cbce:f940%3]) with mapi id 15.20.6156.017; Wed, 1 Mar 2023 12:25:20 +0000 Date: Wed, 1 Mar 2023 13:25:17 +0100 From: Sven Bretfeld To: Emacs Orgmode Subject: Re: How to produce an org-ref citation from ivy-bibtex Message-ID: References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: OS6P279CA0076.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:3e::20) To SVAP279MB0493.NORP279.PROD.OUTLOOK.COM (2603:10a6:f10:17::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SVAP279MB0493:EE_|OL1P279MB0002:EE_ X-MS-Office365-Filtering-Correlation-Id: bb609a78-d85f-4c3d-5937-08db1a5005b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NUPN/S2bV25KcyrSK1igK/qY7RbC79N3olPSJ/ykrh+JJeA3zU/lQvwLPFdGk2Qkp32wY6hYlpG1oAARretbx3RfWQHqBkWE5sKxBC9Lhr27bJ5E9JmzR03NQMA7zjYSebQoJ0gXku2d/vWKoUuG0YXaAzPX375K2vmeCrqc6oricqZpHvj6xEyF+ELgRrVVZLcIlLcKv3lEAgDmeQoZWZb2aFPpae/up5/kH7Wlm2hQALcGxj3emQf2ukOsxDw9Fx3BHmZ4cE9X9W0Qwe23lVBZ6iHa7e6zEkk7T1wt3sgGU2k4rXO2KAKZ1iUnWbWbPOeml0sg8Cq4z18h/DfA/aN6dYYzYz68LO8Cf+wXSWaLsIt93taiiPv9gmRFRYweh1hy2v0QqE3tiT7CfozaEuDNPjZnYde/J7GClmaGsLQjLVB0MEGttVmIX4JY3Y/aVvYUJYkXEc3xdUPUDd1ER+8puKQ1WfYI6G5rn+qj8RwqtXVNvcOHjKie6IxWllnX54Bdrsiv4b9JhDQKyUXgGNKny92iOhO1O1hpZ/NRuMPKBrl/xoKAdIreoK5UbbuJiVTEmq8QkgwvWVLV931N2iB45JKsm/Yi59o2gCFqMfqR3N3UA0od34JM/bxK3QAhC40viOa8hX22qDYSB1/LYg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SVAP279MB0493.NORP279.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230025)(7916004)(4636009)(39850400004)(396003)(136003)(366004)(346002)(376002)(451199018)(86362001)(38100700002)(33716001)(83380400001)(6486002)(316002)(786003)(2906002)(53546011)(6506007)(6666004)(6512007)(41320700001)(9686003)(478600001)(186003)(8936002)(44832011)(41300700001)(5660300002)(66946007)(66556008)(26005)(66476007)(8676002)(6916009); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Ts2t9alugW/g9OM1DiRU7ydv5APMqtPiy+REx298bMu32Vf6acdTd6NRnOww?= =?us-ascii?Q?rvyOT7So0qw8oSa6PIhOAjPfeTZIsW/vtph7c4UvJt1Zu3o3cQ2BQYqcXxho?= =?us-ascii?Q?7eG5zUyU683hsD9gjR6ZP/YQptP5nNpEhmQ4mZLNYdwOla7Ne9oYjEyP52bm?= =?us-ascii?Q?ICM0z7kNaZ5IYvJgDJ6jmguZXqj1q3K53M5C+1fyeeVceTWVaEz3Oi+LXq0k?= =?us-ascii?Q?gtnHxxF+UkR1s04g+5qz/ThGoNXNggrpZk+rNgiAQFVpH5vuyziT03wrxHpV?= =?us-ascii?Q?Bh8F529t5PyrvFnnEP7moyMTipUiy38olM+fl/nNey4xrkuN+DdSOHxWpVcU?= =?us-ascii?Q?DK/J3yIDFD3ivdae62pDeuFtJFH8qiuzFKVcvRHVCXzxRSRbENf+kpSAldfZ?= =?us-ascii?Q?JnKCtamK9Xujd1gakNdVOwgYR0t68y1Pw+2bM+MGEAUSd2anclLc1sEmKlxI?= =?us-ascii?Q?FR8RYmw1VVWV9hT7DDYkzQ8d0Y1Hui4pBlE3HwPbUwMVI7IeLAvNSn7uhEte?= =?us-ascii?Q?/Jrf/x1BlmU1qBy9QaJIWBiMrpxVznMlJj80Sw1fr/4ZnbZVxKp5lLdJpwTu?= =?us-ascii?Q?2wVOvaSYrdXNSS7mLRdsj+wnkcz+iaZmKRoiKG9pgwAVhieoH4tNywfBP698?= =?us-ascii?Q?dePIlVhefAtJfdxXurJed3t8osMsLqgP/GdOybG5oWTpicf+5kTLQQD5rEA6?= =?us-ascii?Q?fTsVUDq7GBaWqtR91tnuG6sPv71W3CdEjYqsyDGBWOz5b7LRPhZJWlHxW4Bs?= =?us-ascii?Q?4Btu7+5D7N4R4FNS3MOl3nYeN4ShlvyzFRLu/807PbY3d7KODqYiqJMA8AV+?= =?us-ascii?Q?vUVuDD2RopqgPe+6eXWsYXd20mIIeAK4vRCnD/4yYHNGSdaKZN778F8obMsT?= =?us-ascii?Q?oVdh01lsdFKF8Dt0LGd8xfk5+LFHmoUbJVrrGzvPfk7prQUqOzbmez6+p4Ng?= =?us-ascii?Q?zy7yg7IyUkMOnM4LKgO6zQorO9qqXoQ+h4KZaH2RJ28IgzA00MJa1/S5qRlg?= =?us-ascii?Q?akim/a0hHfiyA4Hm+a9H05JYh6Uq7g8jFLJp62Dnkb6nHValATtMEcnXtNnl?= =?us-ascii?Q?gKBtw7RBHLCLh923TflD1gDlObHRHgXNDDwkyS2aqSOYY+1/GWFup0VQq66D?= =?us-ascii?Q?4xl93V0RoTglPv7d3V6w63x9fhOMZ1k53+1mtQzIYCica5MzaszzDZincYKE?= =?us-ascii?Q?qpLWHBXtwvqTyoHkXugDzgn/FD9dlbxbVykF9hswod2FzXPlfqV4StsBmgIE?= =?us-ascii?Q?a5zHmccAzj6wcBWesYgnvdwFzomzUJ5vn75nlFXn/sycgMoWq145Vi4iJfZj?= =?us-ascii?Q?14OLFMMCaDESRNYeXCa7tceKCsYaacIpBg628QJvtK0S1SkHVeJpwb6ISgUA?= =?us-ascii?Q?jmDdIc7KYRjleGjBv1Qb0EpUj38n0w/VxLXjQigTzL7aN54vfJnWN3+4SWIT?= =?us-ascii?Q?rlxCXJDNBXgPkSX3W1kHR/kDLECPi0TcSyVRC45K1A0msl1nbj4VnoUqyJ9Y?= =?us-ascii?Q?lf46sirFjGa3Bjar+V1QlisQ/46WkkKPfZJLfDZjZ9YAhO73fgsX/iTSk5K6?= =?us-ascii?Q?TJ2FKX2VncWkRirVFmZnPG39ePfmv7tOYweEuDZD?= X-OriginatorOrg: ntnu.no X-MS-Exchange-CrossTenant-Network-Message-Id: bb609a78-d85f-4c3d-5937-08db1a5005b9 X-MS-Exchange-CrossTenant-AuthSource: SVAP279MB0493.NORP279.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 12:25:19.9733 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 09a10672-822f-4467-a5ba-5bb375967c05 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XGwCwCNq0+byTej7i+bZaUnx81CwCP/ytLHErdQ6wSs1rJFCDawDorJMFEsShDE+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: OL1P279MB0002 Received-SPF: pass client-ip=2001:700:300:3::179; envelope-from=sven.bretfeld@ntnu.no; helo=mailgw301.it.ntnu.no X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1677673587; a=rsa-sha256; cv=pass; b=FFbmMXyLGx2cZI2cTFZW7+WLf5XWtqfM6OsC2eTBM4+SbTHZygVyLTl0hMaLUgOzbPBlAF couFqfMi+7xHn0ilyg7P43Wgod3ru5yLJEapwjtHgtTohzMA5w+4LTAUtuDoLFUqcQZ19z JBEy806VKDwbBZTh4TFmaZjyVfvaKoVXr/b2YwNS9zGWNocE7by/TlFHlM5FZ+cmFn7LgS aDb7ww9ky4MedrFd054/iz3Bz1AP7WYAjw6DJBJXdVUUOiZV0dJOc1FTEyMaqojNVf6+Jr B6VboeMFygmA7FYmlmdTiaCt5rsIjXkFSEkq0JivtmUqa0C1ZOUP7oKtyycA3w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ntnu.no header.s=s1-1909-ntnu header.b="F5Knn/MY"; dkim=pass header.d=studntnu.onmicrosoft.com header.s=selector1-studntnu-onmicrosoft-com header.b=Va8K+bI4; 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=none; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677673587; 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=5dpasoB8AGoeEdJa3gpqRk0PPBTOnbSeVMt06BRjQ5o=; b=AqnWXg0thySYLPMRzPHyb0RGFQzMrWFisjIf1AbvjuMekVwl6zcLm9/pWb50OUfycTFp8F odwb5gNPSA1zA9blyiuwgqrSxW5h3COnMXs3ee1Yo9JnryPFNEbEt/0GMsMmfzzr5JPQZ9 uCixn0D7nu5+Cu5TIcjjpMBF6Pl1V1mqsoxSFJXvYweHEXe8sVLw7rPKwPldThlSI/xwQc L/EG1xRotb6Ks0BJ2olmKLOhthY1uXImvl9aR7LLKg5Ku6HC/lAH5hOT7tIwQ3uy4JHFuT RyvnYWukSRtC5aMVnqP+dj876w7UXxZxAloI6pDB2q8SJDJ+quQUyBMdWaKh5g== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.76 X-Spam-Score: -6.76 X-Migadu-Queue-Id: 947DE3A7F Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ntnu.no header.s=s1-1909-ntnu header.b="F5Knn/MY"; dkim=pass header.d=studntnu.onmicrosoft.com header.s=selector1-studntnu-onmicrosoft-com header.b=Va8K+bI4; 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=none; arc=pass ("microsoft.com:s=arcselector9901:i=1") X-TUID: Y9gBm7Kt57dp Hi John Thank you very much again. Elegant solution, and it works. I just wonder why I seem to be the only one on the list who had that problem. Am I so out of fashion to use org-ref and ivy/helm-bibtex together? I have been doing that for surely 10 years but had to stick with an old version of org-ref until recently (because of a completely different problem that I will post in another thread). Have a nice day, Sven Am Tue, Feb 28, 2023 at 12:07:35PM -0500 schrieb John Kitchin: > You can try something like this > > #+BEGIN_SRC emacs-lisp > (setq bibtex-completion-format-citation-functions > '((org-mode . (lambda (keys) (org-ref-insert-cite-keys keys) "")) > (latex-mode . bibtex-completion-format-citation-cite) > (markdown-mode . bibtex-completion-format-citation-pandoc-citeproc) > (default . bibtex-completion-format-citation-default))) > #+END_SRC > > it seems like ivy-bibtex at least expects some kind of string to be returned, > but org-ref-insert-cite-keys does the insertion for you. > > On Sun, Feb 26, 2023 at 11:19 AM Sven Bretfeld <[1]sven.bretfeld@ntnu.no> > wrote: > > Hi everybody > > Is it at all possible to produce a correct org-ref citation format > from ivy-bibtex (or helm-bibtex, I tried both)? What I mean by > "correct" is the format: [[cite:&citekey]]. > > The problem seems to come down to the question what has to be inserted > in the 2nd line here: > > (setq bibtex-completion-format-citation-functions > '((org-mode . ??????) > (latex-mode . bibtex-completion-format-citation-cite) > (markdown-mode . bibtex-completion-format-citation-pandoc-citeproc) > (default . bibtex-completion-format-citation-default))) > > (A) Not setting the variable at all, defaults to producing an ebib > link which is of no use to me at all. > > (B) Putting org-ref-helm-bibtex-insert-citation here (as found on > reddit) does not work, since the function does not seem to exist > anymore. > > (C) Putting org-ref-insert-cite-link here is obviously wrong. Choosing > that from the list of ivy-bibtex-actions, just calls the function > interactively, you have to search for the bib-entry again and the > resulting link looks like: [[cite:&citekey]]^&. The terminating '^&' > obviously makes subsequent LaTeX-exports fall. > > (D) Putting "bibtex-completion-format-citation-org-cite" here, > produces standard org-links: [cite:@citekey]. These are not correctly > exported to a tex file when the org-ref package is loaded. > > The only working solution I have found is to use org-ref's own cite > function org-ref-insert-cite-link. I know that ivy-bibtex can be set > as backend (require 'org-ref-ivy). But in this way ivy-bibtex's other > actions (like opening an associated PDF or note file) are lost. > > It would be nice to be able to use a SINGLE key-binding to select a > bib-entry and then decide what to do with it (insert org reference, > insert tex reference, open pdf, etc.). This was possible earlier (I > did that for years with older versions of org-ref-helm) but is > apparently no longer possible now. > > Many thanks for help and suggestions, > > Sven > > > > References: > > [1] mailto:sven.bretfeld@ntnu.no