From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gOCtMhX2e2IP4gAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 19:44:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iI2KMhX2e2IXPAEA9RJhRA (envelope-from ) for ; Wed, 11 May 2022 19:44:53 +0200 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 715223153A for ; Wed, 11 May 2022 19:44:53 +0200 (CEST) Received: from localhost ([::1]:44888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noqOJ-0004jK-JK for larch@yhetil.org; Wed, 11 May 2022 13:44:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noqLP-0004Yk-W4 for emacs-orgmode@gnu.org; Wed, 11 May 2022 13:41:52 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:42788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noqLN-00032a-Jc for emacs-orgmode@gnu.org; Wed, 11 May 2022 13:41:51 -0400 Received: by mail-ej1-x62c.google.com with SMTP id i27so5504327ejd.9 for ; Wed, 11 May 2022 10:41:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=cbuUxyItSes20x6lyfGJ67MyrmKUtFYxX9GcbPUsyIg=; b=YutVJD7fCHD8Dc9eEjW1ohpkJEYwozUYrn/iINd2kf0B1SLGRoIf7KbRbDUoc3y073 1jWyfF3yG7IrzMX1TSFCL3pmO0pZi/5XZyrbiwcEkN78lIZeudrpyXkFYYIxVz+WsjkV D0oPQ0RrTplhZeWerh0VZoZ961tVW5JOjLRu2xo7wOH4k34xYMe0BWjM8lliTRa0TRHz NTrjR1bVEK9PDiymH3n1c2afTiDt7P+YVVX3QFI1KbOu1g0NyPFtR6Ttn3VhhcatWAq3 4fQQ6vrprfPQaVCbzsqgVDyoUka2r/nwViXjaafujkPrcuE95vy91zgRHJfNn6GuuF25 LAfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=cbuUxyItSes20x6lyfGJ67MyrmKUtFYxX9GcbPUsyIg=; b=dUDlgIIlZqtR5I88tYiIt+oE8mi7oHFF7WANDPoO6aITXhdy5VmQycNuOyXfw4R9wm UFHKea1li92LOxBLiUqOg/dxOb6T3b8d0dXsPRWr2fnzxPTb9Z0DBp1gqyWh1I/MkVQO /Bsx0G1ozNcxot1WOLnqbT3sfVXwg/pS+4Kxya3iiJPtUXIaeNjAWn/sCLjqkZraSPp6 GIEL72baeDfonKPFJ/HeyisF7wYlhYqzKmLIXzdRhIFcuwbN+H603tIkoIP6hITWFWaN l2/mi4u+GueGZRR7XnnT8ArSan4LkObP5oruKyGfhqaHM6rA7kNbSBBIAHRUvXxASCE9 CAOw== X-Gm-Message-State: AOAM532CLbhuNUSUZDT1mhRyVAYW4CdwWpxGRKy/aoJaXuDBjFm12J5M 9r3XzwMQzv/ukAoE08leQ7V+siBgR7j+bQ== X-Google-Smtp-Source: ABdhPJw15OQNRr/pMiplzvQaGt7UthB2l7/hSwQ9Rd3ELH0tX1K5OsA7Y+skL+F9dad9Z86f/YHPzA== X-Received: by 2002:a17:907:7b89:b0:6f4:9b92:c2ac with SMTP id ne9-20020a1709077b8900b006f49b92c2acmr25597323ejc.409.1652290908221; Wed, 11 May 2022 10:41:48 -0700 (PDT) Received: from commodoroII (2-235-154-9.ip228.fastwebnet.it. [2.235.154.9]) by smtp.gmail.com with ESMTPSA id q20-20020a170906941400b006f3ef214dd1sm1232908ejx.55.2022.05.11.10.41.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 10:41:47 -0700 (PDT) From: Alessandro Bertulli To: emacs-orgmode@gnu.org Subject: Org-ref not working when exporting to LaTeX Date: Wed, 11 May 2022 19:41:42 +0200 Message-ID: <871qx0dl0p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652291093; 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=cbuUxyItSes20x6lyfGJ67MyrmKUtFYxX9GcbPUsyIg=; b=QXBKEXYo0q/q6t5vMuA1X1KvFjGOKths1pOTo3kRSS+i4JLoOSCBOiThdpCGxu/8Xd2vvQ 5aD8QcVodSZZ0yT0+R52BLH1L6DJ9yGx0g2vIGSXLcbgRSUqZ7sU2vvJUULtI6WfvqYKVs JPOsiO96IG5/IVy63m7cpM4Zs0UIJLPJtGLqyIbe2644tXuPOPjPYk02/z37Mb2Pib6aqx shNTaEvqcmj54wsqknOIFy2meAnto9UNoXfSStVj9wtal14jJxtAhZadYXxsSCEQVK3bXV oVvoJXoffn1qZYLYFXYSMeMD09SfHPFbIutDA4vy2IfbkRob+VB1d4f3FDVffQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652291093; a=rsa-sha256; cv=none; b=QmlayJWNnochhHtht40zTC8TgeH2Uwly90SLAtO77Op637UY43+erqQS7ZtrHIXtJIJmQO 5fACo48ud+Ao7MPvcbFHsE+fP9QROdYHfbgr26pyKdH5v8oHH9GSkA3vShwcGUF2yKm904 B2SLkwgM8EMJvShqfx4Ffb6glo7aEBEGqfwB9H/coJCyxPi5sw2lvOSiD4ki7FRBt0y1id mDFlUqp5naoBsqiwVO+xSrECmYuaKEt5K603CMLDCGFO/6/W9ZhnD4/Dc2yvFMXIy4bFNw wi7U7GqE87m2M2LQxxEBQzkKMr2x+Aa7H5iZJXtZk2v3EPebqta8A3APeiGgfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YutVJD7f; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YutVJD7f; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 715223153A X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: NGbG+kQu85cc Hi all! I'm trying to set up an academic workflow, and being unsure about which framework to use, I gave org-ref a try. However, I can't make it produce a correct LaTeX PDF file. I'm going to post my setup in a minute. The point is: when exporting the org file to LaTeX (C-c C-e l o), a PDF file gets produced, but it doesn't process the citation keys. For example, in my file (see below), I got the key "acm:code" literally printed on the PDF file, in a bold font. What am I doing wrong? This is my setup: init.el ------------------------ (require 'org-ref) (setq bibtex-completion-bibliography '("~/Library/debug.bib")) (require 'org-ref-ivy) (define-key org-mode-map (kbd "C-c ]") 'org-ref-insert-link-hydra/body) (setq org-latex-pdf-process (list "latexmk -shell-escape -bibtex -f -pdf %f")) (setq org-ref-insert-link-function 'org-ref-insert-link-hydra/body org-ref-insert-cite-function 'org-ref-cite-insert-ivy org-ref-insert-label-function 'org-ref-insert-label-link org-ref-insert-ref-function 'org-ref-insert-ref-link org-ref-cite-onclick-function (lambda (_) (org-ref-citation-hydra/body))) org-ref-test-file.org ---------------------------- #+title: Org-ref test file #+bibliography:~/Library/debug.bib #+latex_header: \usepackage[citestyle=authoryear-icomp,bibstyle=authoryear, hyperref=true,backref=true,maxcitenames=3,url=true,backend=biber,natbib=true] {biblatex} #+latex_header: \addbibresource{~/Library/debug.bib} * Introduction Lorem ipsum dolor sit amet [[cite:&acm:code]], consectetur adipisci elit, sed do eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrum exercitationem ullamco laboriosam, nisi ut aliquid ex ea commodi consequatur. Duis aute irure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ~/Library/debug.bib ------------------------ @book{acm:code, title = {{{ACM}} Code of Ethics and Professional Conduct. {{Affirming}} Our Obbligation to Use Our Skills to Benefit Society}, editor = {{Association for Computing Machinery}}, date = {2018}, doi = {10.1145/3274591}, url = {https://www.acm.org/binaries/content/assets/about/acm-code-of-ethics-booklet.pdf}, shorteditor = {ACM} } @article{acm:teachingethics, title = {How to Teach Computer Ethics through Science Fiction}, author = {Burton, Emanuelle and Goldsmith, Judy and Mattei, Nicholas}, date = {2018-07}, journaltitle = {Communications of The Acm}, shortjournal = {Commun. ACM}, volume = {61}, number = {8}, pages = {54--64}, publisher = {{Association for Computing Machinery}}, location = {{New York, NY, USA}}, issn = {0001-0782}, doi = {10.1145/3154485}, url = {https://doi.org/10.1145/3154485}, abstract = {Science fiction in particular offers students a way to cultivate their capacity for moral imagination.}, issue_date = {August 2018}, pagetotal = {11} } --------------------------------- Thanks for your patience, Alessandro Bertulli