From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qMf0E15PZ2EFowAAgWs5BA (envelope-from ) for ; Wed, 13 Oct 2021 23:27:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qPacD15PZ2HqDgAAbx9fmQ (envelope-from ) for ; Wed, 13 Oct 2021 21:27:58 +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 7BAB4330BB for ; Wed, 13 Oct 2021 23:27:57 +0200 (CEST) Received: from localhost ([::1]:51988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maln2-0004b3-9y for larch@yhetil.org; Wed, 13 Oct 2021 17:27:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maljQ-0007sQ-7m for emacs-orgmode@gnu.org; Wed, 13 Oct 2021 17:24:12 -0400 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]:36806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maljO-0001TW-I8 for emacs-orgmode@gnu.org; Wed, 13 Oct 2021 17:24:11 -0400 Received: by mail-il1-x135.google.com with SMTP id h10so1245572ilq.3 for ; Wed, 13 Oct 2021 14:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=X38LSXKGh7rUfIaN78Slg1AwMYuL4jCwSTUXnq3iPuA=; b=f1ybqX/sqcZjiE+H5oCZfxW/m/vYc3UT1LjyooCzso9OoZdlAwTwQIox3VoyIvfauz H75qcrZ+jWDTfD1kD36prowGL2zsi2heZJ7zwwkS9N/cs0Db4R0Z0/y4kquC3VklwDp9 q+pPyt+N13NKcO6tfKJAFEtaZ3WE1Zq3fpkWGP4sjgTshGt+tMCUMSlcORSV/zjRUtdK kcLDNmarcUBiTS9Mf+vCEbxyLciF6jQ3cS3UbNNuffY++8XgBlBIY53qn0E5hRKcqaUg hhJD1W1NEgUBbl/YAQITg3CkBqxfmZSJG0gV5Wouts6q68dAcpMh6q5UvTX/dqpxdBow mMRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=X38LSXKGh7rUfIaN78Slg1AwMYuL4jCwSTUXnq3iPuA=; b=BWz9QmBSIzPKmYYG8HM0jNIAqSzgk9tmmvzB/TtGPPcOuEjzpPyLXfeFLkZ9uOqe1K rIzIxwN505DPzfzKeynU50hKtlQyS8gnpPwuepjgjL/8npeUQ8td7Az9jO8a7MFbtsci msY+rOdOqAUkFVoEJH4Fnubk242BcBgfPj6i+A4AAq6lnhwodrkZN68RJbPPVsxCj1m3 wB0J/OWWZz+zGhBxJnnGHg8W/Se00a274qglEHBC7/idrhVtKYrDA/rpi0Z/mZp+OVO+ kbjadW5TaptJb6Empn2Uk9nokh3haWOBC3yCvwgAUzOT4DoizxFM1a/bSPYFVP/k0pyt I8YA== X-Gm-Message-State: AOAM5304Ac1AF40IQo8X5qBHy/+BsCx412W/h2Z8s33VAnOUI9l28pIb o2gS3zN70SJ80k7pQqU+9GcMDyezQ1Iv+WX6G+OFdtluSv4= X-Google-Smtp-Source: ABdhPJx94vaCTJKJKFYym2N4UhCJ/08xOKTPn11Z7XIiCnq0BFNGzL/VjN/I2HUYKC3XvhMDWWnHzunDO+waFIyog7c= X-Received: by 2002:a92:3642:: with SMTP id d2mr1221511ilf.234.1634160249409; Wed, 13 Oct 2021 14:24:09 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Leszek_Wro=C5=84ski?= Date: Wed, 13 Oct 2021 23:23:58 +0200 Message-ID: Subject: New user experience ct'd: exporting citations into LaTeX (9.5) To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::135; envelope-from=elwro1@gmail.com; helo=mail-il1-x135.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634160477; 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=X38LSXKGh7rUfIaN78Slg1AwMYuL4jCwSTUXnq3iPuA=; b=mik2C3ws4NOSBBZ9szFIJwSqXOugXfI6w7fWmiQNNANIPvajD3bKkAfl5WC6tqOd7DblWt TZiRsKNMw9ogeAUJ6HwbDpyYP8rhT73NJwi8hex+FAQuqz0iBXmKf8S+EQbulqdY2YOxrh 8dsdsUnG9FGOwjOCISPbDnFOh/yctODC1Hxl6Ve/84zTGzPNIiORezqzSPu+eI+FXEGZM4 dwYuWahTlfFjw+tcco5pP3UhVQly0UvLP4smvrDJ7JcrnhSoxZYUZKqPMT3QFerXA3yN1P 3fWheWSNLuFkMF6/cLVs0+gtbbsHfbE1aLYRq2X9adJfjGnitJZnRicQOEfLPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634160477; a=rsa-sha256; cv=none; b=XSRuQoV4NhdvPowOk3he/PuQSe9OLTjXLJjjmaZt/5eQU/AZInplRsMYfGrnqIbyYomKjF E9gfrelLOo3NRX1DhOq3qE5eceJhwP9f7/2g7FuR3v9MH6+UIdaPQBMKy0UQNqs/wNJCik wfCofuc7uQBTGvYh3WNTseYuJqcoEAyaZFMHVzdMprxe4FhQR7QCjwYjspKUSC7O9yIyg7 yeEkh5pyMQRr7adDUi4qfEU/tMJ2bjbs2Vh+MuW0rYT8sC295gTEewuphw/7JOlYwYsyUW it67JM97w/cJribjaJsblbz93wN3+CDTl+BlXR9EyzZx90R5lE/PBOsJb+284w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="f1ybqX/s"; dmarc=pass (policy=none) header.from=gmail.com; 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.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="f1ybqX/s"; dmarc=pass (policy=none) header.from=gmail.com; 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: 7BAB4330BB X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: BRb2pQFu/5aY Guys, thank you very much for your responses to my previous query. (I will study the ebib package more closely; as of now it does not seem to work with the file fields in my Mendeley-created .bib file. (Yes, I promise will stop using Mendeley.)) I wanted to try the two LaTeX export processors mentioned in the 15.2 section of the manual: natbib and biblatex. My .org file has a #+bibliography line specifying my .bib (which is correct, since inserting citations is now working). I put both (use-package oc-natbib) and (use-package oc-biblatex) in my .emacs . (I've used natbib for years when writing .tex documents; I don't know biblatex.) The situation is as follows: -- if I put #+cite_export: natbib at the beginning of my .org file, then C-c C-e l L gives me a LaTeX file which does *not* specify the .bib file; it has \citep{} commands where they should be, but of course bibtex doesn't know what to do with them; -- if I use #+cite_export: biblatex instead, then the resulting .tex file does contain the \addbibresource{} line pointing to my .bib , and \autocite{} commands where citations should be; however, I simply cannot get this to work: Biber works alright, but eventually pdflatex gives me the following error: -------------- ERROR: LaTeX3 Error: Mismatched LaTeX support files detected. --- TeX said --- (LaTeX3) Loading 'l3backend-pdftex.def' aborted! (LaTeX3) (LaTeX3) The L3 programming layer in the LaTeX format (LaTeX3) is dated 2021-01-09, but in your TeX tree the files require (LaTeX3) at least 2021-02-18. --------------- which I'm unable to get rid of. (This is of course not a question for this group but if anyone had similar problems I'd be grateful for pointers ;-); fmtutil-sys --all and fmtutil-user --all did nothing to alleviate this) So: I'd really like to keep using natbib and make it somehow insert the information about the .bib file into the .tex when exporting. How do I do that? Thank you again for your help! Best regards, Leszek.