From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29416 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Citing inside latex block with citeproc Date: Fri, 29 Oct 2021 16:23:13 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To: =?utf-8?Q?Cl=C3=A9ment?= Aubert Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBDMF6KFQMGQEVBCTPLQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Oct 30 01:23:59 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f189.google.com ([209.85.219.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mgbE7-0009ZO-I4 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 30 Oct 2021 01:23:59 +0200 Original-Received: by mail-yb1-f189.google.com with SMTP id d8-20020a253608000000b005c202405f52sf5092840yba.7 for ; Fri, 29 Oct 2021 16:23:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635549838; cv=pass; d=google.com; s=arc-20160816; b=fggm/G5zrSh7d/udGjVHXIDhiHfzxfZjrL1nHPFF/J9wRAKtwv7GdTreQ2U88sYBeW KG8XnGnnBgFeiDkruvytCE+5KSQ6Ll04RQ+yMNCnXz0PGqbtb4CesLUcSOy7NeLcHpdB pid0Y7AkxsURElZf2kPMduqSaqnwM4tqLQSnuw2rmyQpRX4bRNOnT1Fa6AzLf8e10ibA cd0ruHTVdRy6tbKw1/3MyUFQqd8ygoXKqhWDoQKhHZbHyaYI4KR5iu376zXMYt8D2k6W aG7eVHENogQPZyhrlboMTfEkLJgIWVWc+uYwJeroRaLUxL68smMGhNtgpK/ZYcDs0rV2 WF2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:sender:dkim-signature; bh=BsMXEfyumgCACygvipRi29gasIfzci/WcHpisCrBMnw=; b=v1frqgqV42ts55Wx76qtRDh+vWS/ePvELy8CFU7DvvYXSpyZDYihPaVpFfLw4xkI6i h/5Pv4a26BO30P1c8fFm50pQ8gGtoYvk66YyFHLFP2XwO5kpsU2mhveXByNMzN2GwVy6 502pdMxGlnKvYvOHL53y2MBXVEx8WmJLsU5uFQ9BiqnhaZAzizDQ8k+kBikE2bljS928 LWNXm0Zn7cvGkvUY4vpzx8xcW0BREUfu2i69HZYo09YzWpehiZklu10y9FiMhM4Ncc0I y2fmvB3l92N71c2ye8dUOC6VqW6YLNwQ3xNF6TomSmTrWLPOrBWfNc/j57R5OlbU+6tg FX3Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=HFMuCltG; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1036 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=BsMXEfyumgCACygvipRi29gasIfzci/WcHpisCrBMnw=; b=ADauROlf6ZLivr7i9/NYPW85LC0WVfv3jCWoZtuomM9/qK7+VGKCUTea2q7IDBVe8S kzjPdE58hj1dMJeFttzKkHXGUXL7jM3QD9IOoNkrDGVJJhYxv9mIFT5eJ/hkd9jpGiN5 2OoQugwOQ+QMGQtaAXVwF7BOMwTAxLnTxd0eMHVXzi+FLxviBwvHhfzcK4i9Ytc5jRIy 2JcHkZ4rNooKsxG86HEw0xTv8pIRKsRzkxauJCI4xn10HhrMz64RQwI6PBMLTCBGi6GM +XM+rfQlvC4oAsU4TBUpMtGjBquErhIKT1fci5G8GKkSU0pMpgHL0e0+xeFapfX2Yrik UdHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=BsMXEfyumgCACygvipRi29gasIfzci/WcHpisCrBMnw=; b=cI5kT0dPK/8SceHZJqj9MV9YYL96SAw7bhSAHXUZxLjEjIysWzJsECujk1RmEcXs5g Ox4MBf8t/QgNK4iJvRnxsfEl2grEI9jyK+4oLrIMYzE6WJAVTlCLRuV3Tj6/Y9KxwCNy D91+fCzZdE+qyowq7Xubk3ltv9mkAF9p/8/DDlRPDPULPLQMqZME9y1Au2lvrBUFzIDK ZFNgyz8NsNKJ6QRr0iDtj9vLFkNCzhQArE2jm++jcmHg4HutaVkuk/jj2YDjo47MJZN3 r9CZ3DlUhfLQVPRpxotngcpituoTHBoixTGmxpN0IKCUZ3jUfcDPJGW8kUzqvPYqSp0s Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533ExZT2vMaUVymbEpPz/IPAHxeARzqy/oGZg/jXcJC1OwzVzlRu 7AuXSJGLx3S2q19JOSqlSrw= X-Google-Smtp-Source: ABdhPJyz61MHXnWqsVFuInrfq9RLOo7WQgB0GxqkHsd5ptgxf3b0EkmHTwsa8QrHlvaKEjGK8rfQAA== X-Received: by 2002:a25:2e0a:: with SMTP id u10mr13989053ybu.484.1635549838598; Fri, 29 Oct 2021 16:23:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:e64a:: with SMTP id d71ls2459902ybh.7.gmail; Fri, 29 Oct 2021 16:23:56 -0700 (PDT) X-Received: by 2002:a25:e016:: with SMTP id x22mr14996829ybg.534.1635549836831; Fri, 29 Oct 2021 16:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635549836; cv=none; d=google.com; s=arc-20160816; b=PBKFgmBCH+K0YwGMnIOJ2Bl6lmTfy1BqQqxwWo7u95dl+4OBE3Dih4jCobzlXLB/BW zspFSPxdg6ZKCKHoXyjl2rHlWUbEfy/qYelOkJ+2vz8FlSzek2uOhhaHibBiVSmVMoqd JSQby1eGmVSiBt9ZRAQbh3K8d85FnqWLj27iZNdkwG/ITx9y0JNDGOMY4UeKQRyEfA2p 2BlJsOGMSYdnPJsq+WdC67pwo3n0ehKH1Ji1RKQYFfiOSm18rPcpNiel9R9bTyatDmxs ChtrW+bPQ7Ss4vJLXMT7OhfO/x1hnL+Rlgt3qzNJWUDKX4H2soKknA9toogwDIRM5ZT7 Qrpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=knYAYwwmJTqouFSE6ee20wO3xVfkHUKXAt72igFz/qE=; b=ifw3pEeYWt4NLNYvVbXN9qgsCvzv6yjiKgrKgc5olsrBo31sREA1IfFXddSFSUuUJt 3kYoAr6uo7hguGQb6NC/MpWY4tpJ8p5WDcI4GUsStmY1h62nVRiHuA0zCWg2su+bJr+o MO3v8TqEeMVF0SCLNewIRSF+G4EBzJSdZP6kB3xqCtsgmUJO+bxIp/293/ke68g8WV1Z WDyLRWd/Rp4COfo0a7pG4+ApJ6MYcvBdPRhDvn2hz3n8kx0mmUTb2CiM/vDtxG1reJJ4 44ycWF+CtZx5aJVk9uPF1zd4mKWtyikIfmhBiFPwHdATws5WDyXU8vX/A41gimIH+MPm 6lsA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=HFMuCltG; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1036 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com. [2607:f8b0:4864:20::1036]) by gmr-mx.google.com with ESMTPS id k1si75606ybp.1.2021.10.29.16.23.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Oct 2021 16:23:56 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1036 as permitted sender) client-ip=2607:f8b0:4864:20::1036; Original-Received: by mail-pj1-x1036.google.com with SMTP id y14-20020a17090a2b4e00b001a5824f4918so4917201pjc.4 for ; Fri, 29 Oct 2021 16:23:56 -0700 (PDT) X-Received: by 2002:a17:90b:38c1:: with SMTP id nn1mr23350208pjb.83.1635549835559; Fri, 29 Oct 2021 16:23:55 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id p1sm8572639pfo.143.2021.10.29.16.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 16:23:54 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id BDA7CA24D; Fri, 29 Oct 2021 19:23:13 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=HFMuCltG; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1036 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29416 Archived-At: The manual is a bit misleading on this. Before we added the latexmk option for --pdf-engine, there was indeed no way to use --biblatex with direct output to pdf, because pandoc doesn't run bibtex/biber in producing a pdf. But latexmk will do this automatically, so it should work in that way. Cl=C3=A9ment Aubert writes: > Ok, now I'm confused. > The documentation reads (my emphasis): > >> Use biblatex for citations in LaTeX >> output. This option is not for use with the --citeproc >> option *or with PDF >> output*. It is intended for use in producing a LaTeX file that can be >> processed with bibtex or biber >> . >> > How does that align with the command > > pandoc test.md --biblatex -o test.pdf --pdf-engine=3Dlatexmk > > ? > > > Le ven. 29 oct. 2021 =C3=A0 13:03, John MacFarlane a = =C3=A9crit : > >> Cl=C3=A9ment Aubert writes: >> >> > Ok, thanks a lot. >> > >> > A "reasonable" pipe-line would be >> > pandoc test.md -t latex --biblatex | pandoc --pdf-engine=3Dlatexmk -o >> test.pdf >> >> No, not like that. Either >> >> pandoc test.md -t latex -s --biblatex -o test.tex >> pdflatex test >> biber test >> pdflatex test >> pdflatex test >> >> Or, easier >> >> pandoc test.md --biblatex -o test.pdf --pdf-engine=3Dlatexmk >> >> (which should run biber for you, if I'm not mistaken.) >> --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/yh480kh7cz4dr2.fsf%40johnmacfarlane.net.