From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 +KYJAnn612KcDAAAbAwnHQ (envelope-from ) for ; Wed, 20 Jul 2022 14:52:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8HrZAXn612JEGwEAauVa8A (envelope-from ) for ; Wed, 20 Jul 2022 14:52:09 +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 75C803FC70 for ; Wed, 20 Jul 2022 14:52:08 +0200 (CEST) Received: from localhost ([::1]:55262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE9BP-0007F1-GL for larch@yhetil.org; Wed, 20 Jul 2022 08:52:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE9Av-0007E9-Ar for emacs-orgmode@gnu.org; Wed, 20 Jul 2022 08:51:37 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:22921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE9Aq-0002bd-SN for emacs-orgmode@gnu.org; Wed, 20 Jul 2022 08:51:36 -0400 Date: Wed, 20 Jul 2022 12:51:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vidal-rosset.net; s=protonmail; t=1658321488; x=1658580688; bh=NRn0k2D6DhtSw2zqy3xXWzxEBjFc6/x2aWzFcYw9gOY=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=ZI2VuyZ6AX0BzWNQEzqxXTzh8jYUhzKVwBOHx05woqhG4G4htsAtH4IxdksAZc+S/ +T9fHnYN76FPUldaFb7I0PouJ5XCe+/yVFzKvvge4qMs1ec8oNLRK9P1ChYEm+NP1n iTUrZZwRDBkh3vMAeErozzLP0Oi8Qj29gaIo+fumfzSlvoVJewDO6rV3vggsJ13nY/ NFkjjEDykzm3EXXjJdoGE0/rrTCwM+tPMX0KtbaxRx03CvddJpgfEWJ1qIcrWOkxKU YZzGRepYaSdWMf70/tFzsfy00Lj6EN5qMgqEQiymuTaXn40ewDaY0+ZLdgDTU6QywX tWa2j+u/YmhkQ== To: John Kitchin From: Joseph Vidal-Rosset Cc: org-mode-email Subject: Re: org-ref 3 setup Message-ID: In-Reply-To: References: Feedback-ID: 26501956:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=joseph@vidal-rosset.net; helo=mail-4323.proton.ch 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, RCVD_IN_MSPIKE_H2=-0.001, 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: , Reply-To: Joseph Vidal-Rosset 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=1658321528; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NRn0k2D6DhtSw2zqy3xXWzxEBjFc6/x2aWzFcYw9gOY=; b=GCuvKUk2vG4zuJ4ec5NKJPikgrIUXLsXyg0TX5p3R8kfPskH92AJwsqUiLQk5kNQwXvYQY G/EHKOJtx+SuSUcAKuw1aHzdVitz65kaOrgQtMYgk5GEAPFlfcTx4r2TCXLVrnjftI8YQ6 FVEYRl67SMXQYLpT0PuxnmRUsbuehYPLUdfNtIR+0FgUnpEi1xAgYAgsmjBwGSHuAi5rjo T0/MnL+GiWMtXqpwyXnBaD5pQ5OIH59p/4+1aXhhsjzQYRXp4d2NF0Bo7yiYnW8Zq5wpLD YHSCCSEoJ8mapBS9CEPhOv8LHIl/HzBqzvHuB1PTGsvLJQHnBmig28dcxRir0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658321528; a=rsa-sha256; cv=none; b=WPGwwEfS0F6KzPPGngaFY9RTudgNrgaLWuNL1KGZitEEkpV5K3YJPWAJM3q7mScZ5BIcMS 0DzbnUlgm2f+J+Dxttmzx7+cGNg2SrIelGrRB4OU2TC83rKlryjiYW2TmWqF0iIwKHDdba E92TjlaOUI6mxrHhr/AxQNALExmTaUdmPHMid/lM5EunJEaFU0FYc6iiwrJCs6JF+auYsW BP+aDOf/PsDNRStNI3VUkEP81EwCgyiwpYQfJ/HgjYyb+t3FvnvgcnJopmkjbTlDG24bpn 0qhFPEmWi4hSnrGf5CcgD6ev3zkDw4cvV6AoWwtIzooWvb660gAjmu3jWNH1MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vidal-rosset.net header.s=protonmail header.b=ZI2VuyZ6; dmarc=pass (policy=none) header.from=vidal-rosset.net; 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: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vidal-rosset.net header.s=protonmail header.b=ZI2VuyZ6; dmarc=pass (policy=none) header.from=vidal-rosset.net; 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: 75C803FC70 X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: ULm+PD3EbB/n Le 20/07/2022 =C3=A0 14:15, John Kitchin a =C3=A9crit=C2=A0: > I assume you are trying something new here? Not really; my setup worked to export to pdf via latex with org-ref, but it is no longer the case, and I do not know why. > the problem is that block is executed and it should not be. That is a > temporary bit of code for export within an org-file. the error comes > from it trying to export an elisp file to pdf. > > The only correct thing you could do is this: > > (setq org-export-with-broken-links t > =C2=A0 =C2=A0 =C2=A0 org-latex-pdf-process > =C2=A0 =C2=A0 =C2=A0 =C2=A0 '("pdflatex -interaction nonstopmode -shell-= escape > -output-directory %o %f" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"bibtex %b" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"makeindex %b" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"pdflatex -interaction nonstopmode -sh= ell-escape > -output-directory %o %f" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"pdflatex -interaction nonstopmode -sh= ell-escape > -output-directory %o > %f")) Thanks ! now emacs --deamon works smoothly, but unfortunately I get this message when I try to export my org file via pdflatex: > Wrote /home/joseph/Dropbox/Mes_articles_soumis/jvr-bivalence-futurs-conti= ngents-intuitionnisme-smfart-fr.tex > Processing LaTeX file jvr-bivalence-futurs-contingents-intuitionnisme-smf= art-fr.tex... > This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (pr= eloaded format=3Dpdflatex) > \write18 enabled. > ** > ! End of file on the terminal... why? > /bin/bash: ligne 2: -output-directory : commande introuvable > This is BibTeX, Version 0.99d (TeX Live 2020/Debian) > The top-level auxiliary file: jvr-bivalence-futurs-contingents-intuitionn= isme-smfart-fr.aux > The style file: smfplain.bst > I found no \citation commands---while reading file jvr-bivalence-futurs-c= ontingents-intuitionnisme-smfart-fr.aux > I found no \bibdata command---while reading file jvr-bivalence-futurs-con= tingents-intuitionnisme-smfart-fr.aux > (There were 2 error messages) > Couldn't find input index file jvr-bivalence-futurs-contingents-intuition= nisme-smfart-fr nor jvr-bivalence-futurs-contingents-intuitionnisme-smfart-= fr.idx. > Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 id= x1 ...] > PDF file produced with errors. The pdf file indeed is not what that could be expected. :( If I come back to (let ((org-export-with-broken-links t) (org-latex-pdf-process '("pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f" =09 "bibtex %b" =09 "makeindex %b" =09 "pdflatex -interaction nonstopmode -shell-escape -output-directory %o %= f" =09 "pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f"))) (org-open-file (org-latex-export-to-pdf))) in ~/.emacs.d/personal/myorgexport.el then emacs --daemon protests, but the export works correctly... All the best, Jo.