From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2GeADXXL316zbwAA0tVLHw (envelope-from ) for ; Tue, 09 Jun 2020 17:48:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +AViCXXL3179WgAA1q6Kng (envelope-from ) for ; Tue, 09 Jun 2020 17:48:37 +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 8D0359401D0 for ; Tue, 9 Jun 2020 17:48:36 +0000 (UTC) Received: from localhost ([::1]:33740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiiMU-0007HR-81 for larch@yhetil.org; Tue, 09 Jun 2020 13:48:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiiEZ-0007gM-Bf for emacs-orgmode@gnu.org; Tue, 09 Jun 2020 13:40:23 -0400 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]:41234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiiEY-0005Hs-2E for emacs-orgmode@gnu.org; Tue, 09 Jun 2020 13:40:22 -0400 Received: by mail-io1-xd2d.google.com with SMTP id o5so23676590iow.8 for ; Tue, 09 Jun 2020 10:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=d6wRDBd1a+PhODvcm4v3AjLfc7bR1Fu9YH1MNHnjVRI=; b=O+qO+DS//Tz14jfF/Ec0yUeywnbfNpcods+WzPyWcuUbdpI5Z4KyHj7hDhXcCj7tXF TIt1N25xdkiZ1pzWk3j34673Oz4507YGc2ylMjClvuaJyaBfqP1pvqQ3+vxvCkhDEfja avuimhGS+lXmAl3ST5a1I2j1NHWHnvd3BCh/GbfDoWO+UX6tCGfAYhbVaN5szQi07QgK Ac8j/A/noABDXSBGf8TZf9yXdwYA3Gs1XrT0JJEA2eTindky+3+a0jsEj1Qaf41xEK6g 2u1FMrTvO9vJ8GzNCBRatkAwBJ4UvkaMQNzggb2BZJBc72KuUU0vIo28kpyMTeByVEme p+zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=d6wRDBd1a+PhODvcm4v3AjLfc7bR1Fu9YH1MNHnjVRI=; b=AiNbTSnrvRX9it37cPNygfMfs7Ft8CZVb0FzOnZ4aRlo3OXNyusnVwG4d5vqOGQ9Is IPqsdnOlY/NOsRpTpywtXzeGFkTzL7ilWyylmKcSGBy4ZRa3BRBtoU1BPojPj3GYpXCO o1RVSLvJd7G4RRocZbvmCBubJNVL0vm3hgRIxAZgf4VX2yEG3jlHlRyxlSOllAvcO7R/ sMMAR5tyZY3idlQ3U1eXFACrXckdNFHDK+SFmfScp6QGb/tDsT3TL1yJh4sHyBY9CiEW qZNuKWRskpG/VhlHp7oTrcJbw3pDEYib/ChltfRTgVPzF8DpXjbKfcabRjglfgrJh93M EkdA== X-Gm-Message-State: AOAM532GsvUk9rn38Rs1qF6Cjl4HSx7MDc9XQDD0q9QYzJ/GBv+MmjTC mPE/atcRWvxM/rvshufBNZORgAk5qJn85g0MWL8= X-Google-Smtp-Source: ABdhPJyaOHmIM8aMN7+c2JhQdeBtw/QkUvhockgQvkfA3cdBIzSGfALEoUyLs394sbbsjAgylGS/yPBTA/t8pJg5EzA= X-Received: by 2002:a5e:a80f:: with SMTP id c15mr27834681ioa.71.1591724417713; Tue, 09 Jun 2020 10:40:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Tue, 9 Jun 2020 19:40:06 +0200 Message-ID: Subject: Re: org-ref for html and blog ? To: Joseph Vidal-Rosset Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::d2d; envelope-from=andras.simonyi@gmail.com; helo=mail-io1-xd2d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Cc: "Liste-emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=O+qO+DS/; 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-Spam-Score: 0.79 X-TUID: 6Oa7tUAUcrsm Dear Joseph, strangely enough, using the same Emacs version with no customisations, and only the packages you listed (and their dependencies) with exactly the same versions I still can't reproduce any problem with the standard Org html export (C-c C-e and "Export to HTML") after running citeproc-org-setup. The only suspicious thing I noticed was that ox-pandoc does not seem to play totally nicely with citeproc-org -- the references are not formatted correctly. Were you perhaps referring to ox-pandoc's html export? If not then I would still need a detailed minimal example I'm afraid. best regards, Andr=C3=A1s On Tue, 9 Jun 2020 at 15:36, Joseph Vidal-Rosset wrote: > > Dear Andras, > > I just made test with less packages and the problem is not linked at > all with org-export-head. In fact html export is no more possible with > my emacs as soon as > > M-x citeproc-org-setup > > is done. > > Here are the list of packages: > > Emacs 26.3 > org 9.1.9 built-in (but the problem is the > same with a more recent version of org). > org-bullets 20200317.1740 installed > org-context 20200418.1540 installed > org-mime 20200520.1100 installed > org-plus-contrib 20200608 installed > outorg 20190720.2002 installed > ox-pandoc 20180510.1338 installed > org-ref 20200606.1848 dependency > citeproc-org 0.2.2 installed > citeproc 20200305.2126 dependency > > Best wishes, > > Jo. > > Le lun. 8 juin 2020 =C3=A0 14:13, Andr=C3=A1s Simonyi a =C3=A9crit : > > > > Hi Joseph, > > > > this is rather mysterious. I tried to reproduce the bug: Downloaded > > the ieee-with-url.csl style you are using and cloned the > > org-export-head repository. Added some bibliographic references to the > > blog entries in the example blog.org file, and... the whole export > > with org-export-head ran without errors and the references and > > bibliographies were formatted properly in the resulting html files. > > > > So I guess first we should try to find a minimal working example for > > the bug that I can reproduce. Could you send an example where you add > > just a single citation to the example blog.org file without any other > > modifications and the org-export-head export hangs because of this? > > It'd be also helpful if you could send the corresponding BibTeX entry > > plus perhaps the Emacs and Org version numbers. Also, perhaps it'd be > > worth trying out whether switching to other csl styles (e.g., the > > Chicago style shipped with citeproc-org) make any difference. > > > > best regards, > > > > Andr=C3=A1s > > > > > > On Sun, 7 Jun 2020 at 16:23, Joseph Vidal-Rosset > > wrote: > > > > > > Hi again, > > > > > > I just discovered that my problem came from citeproc-org > > > > > > More exactly I had these lines in my init.el > > > > > > (require 'citeproc) > > > (require 'citeproc-org) > > > (citeproc-org-setup) > > > (setq citeproc-org-html-bib-header "

References

\n") > > > (setq citeproc-org-default-style-file "~/Dropbox/Orgzly/ieee-with-url= .csl") > > > > > > The function (citeproc-org-setup) is the responsible of this new prob= lem. > > > > > > Sorry Andras to bother you with this problem with your package. I hop= e > > > that you will have a solution. > > > > > > Best wishes, > > > > > > Jo. > > > > > > Le dim. 7 juin 2020 =C3=A0 15:12, Joseph Vidal-Rosset > > > a =C3=A9crit : > > > > > > > > Hi everybody, > > > > > > > > The package org-ref is a wonderful tool and I do not imagine worki= ng > > > > without its helps now (again many thanks to John Kitchin). > > > > > > > > But for some days now I meet a problem with bibliography html expor= t > > > > with org-ref and I cannot no more use org-export-head that I used f= or > > > > my blog (https://github.com/itf/org-export-head thanks again to Iva= n) > > > > : as soon as there is a bibliographical reference, emacs loops. > > > > > > > > I guess that the problem is very probably in my emacs setup but I d= o > > > > not find the solution. > > > > > > > > I would be happy to find help with html export with bibliographical > > > > references, and advices for the best solution for blogging with ema= cs > > > > (I've just tried Jekyll with org, but the problem with export > > > > bibliographical reference is the same, my emacs loops.) > > > > > > > > In advance, thanks for your help, because I am lost. > > > > > > > > Jo.