From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20362 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pandoc doesn't define references in PDF output with --biblatex (or --natbib) Date: Wed, 13 Jun 2018 10:28:12 -0700 Message-ID: References: <20180612145052.GA8444@mailbox.org> <20180612214644.GB8444@mailbox.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1528910789 21654 195.159.176.226 (13 Jun 2018 17:26:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2018 17:26:29 +0000 (UTC) To: per.review-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBONIQXMQKGQE22TRDEY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 13 19:26:25 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f190.google.com ([209.85.223.190]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fT9XD-00058Y-KD for gtp-pandoc-discuss@m.gmane.org; Wed, 13 Jun 2018 19:26:15 +0200 Original-Received: by mail-io0-f190.google.com with SMTP id v4-v6sf2691850iol.8 for ; Wed, 13 Jun 2018 10:28:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1528910906; cv=pass; d=google.com; s=arc-20160816; b=a0rRYmS5p7Llk87mcLtk85NFVczQ8skkjh6+Avuw/SwVo5qerWHoqZvrq23aYPfe24 xLpG8c83VHCMEC52JQOlIj/Mpn5ATEalQIQPPct/CfZVoiC8cFXz1TalQWH7C2KAOUyx cPLjQRpMnEEH3i1L+vsdmeiu/llNIXzrBDGnnlp0AQ3TFCibhlpK+KpEB/FuAEioBzml 95QcDSkkT7rzbN3vusApuxZ0LpQWQ/cmQcdrbWrlXXf2fKG4D8Zo0SII8dFHfepVeIzb QNhIy2h8iAt6vdmcYUhTT7UGj8hDJQ+FKspiZmemJG71ZFHf0mipHD+z9VqQX7Y0EehF ZfUg== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=E1/Ms7kBv9Em/5T3Ei0mI0OnJphnUz/1N3lvTfywQ/k=; b=qQgN5TaEMdeWtkFxIBLBvDw5qUh2npDrKpPjZe+CXhM1QY/iTsVPskuiEfbpibOnx4 ck69bZqmtnkf0fBiUSIfcC1abMO2/reaqFfTNZS1rSkq9LGP/0Q0zhjF1LLj221+pb4K lys70pH7HDCI69ZWqKZTjvw3/9C2Id6i6ECd3oljSsMrqVilkAbHzVr5te6bHWsqRFqp 46TCdrSy1rzAPw+IwHdwy3Ku5PaNNG5RxJYd8lq40oVof8D9BbsMkCJqlOyux0COZAh7 JFHA2bYK5vOFQr9QgRTvBhvpelXp5o1wy8tIYRrXE8MvUa/grd1yPk9DmcImriGgaxBb iw9Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=0vnHNjHQ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::234 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=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=E1/Ms7kBv9Em/5T3Ei0mI0OnJphnUz/1N3lvTfywQ/k=; b=oWulb01JjSiMaU9Svhr6UqhkyJWsp1JroAnnAT8xzmdu5Acshvbm1B0V0yGGcO899N JDxkgeOycRSGkcQQXv1UKKNbPPtwTv6WRu2V/p5siku1Ukq67ea9og7AjRVC6R6Hqbsh 0wTE7mH9QneBOXLYiRqk52vZtUjJ0wtGSUdf6fOP2Y9Mf8q+K1qT1qDHmFwJywz2zudF B5BrKJUFjm/j2VCrKDXn5lHSb9yWFvytwmxkPwvzMuZlQ1uZj3hqLFXErUKHQaPPYhhw 5Br86V5k7v+VYzRUupUUz7fBHXvw9QFeMLrHngBdqLk59Optl/QUyPIGanBg+vgOIKbt Y1EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=E1/Ms7kBv9Em/5T3Ei0mI0OnJphnUz/1N3lvTfywQ/k=; b=mK5KdDzXie6EOk33u1rLdPwSBqYNtESZ53eZ3/X+oTBvw2GfxTr1boL6zxRFS0GcB7 6qJwKSPRpFgODxyW57HJbb+LhITScjAhSTcOoxhll2d9NYEX1ll2SSn4+TwyNNvILrvR bwM20W6oKNpRG/DdD+jmxBcfHgp1okU4+luQf3vZvBabnF991KFOOZZU4vHJTWBHk19G +IUbqPjXaXudkE7jfirZAIQZwpzUvBHuPdD9q6LEfqsrpklwi5MBgu/2rXMOgJ1uUtv1 UtOXIuPQj9jm/hCbitZ4broZqWNDbQMFV8ZU9vZJKIBqMPaBcGpPcYLosb/tCkPjf7tv hHUA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APt69E1nMXbi6dTDTomx5t+n221Ybe0KivfYpgdBZctHY/VI9zN3eYs4 4Ux4+QLkV8OBDUUGtzXCuhc= X-Google-Smtp-Source: ADUXVKKL27cZsaqrl0UDNpRWAx+zqCR7iZSDxhKXvxmUDj4PlpZy7XnNLJO7TnBuC6lhKkKPbbKM1A== X-Received: by 2002:a24:b304:: with SMTP id e4-v6mr9803itf.2.1528910906667; Wed, 13 Jun 2018 10:28:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a6b:821c:: with SMTP id e28-v6ls887381iod.10.gmail; Wed, 13 Jun 2018 10:28:25 -0700 (PDT) X-Received: by 2002:a6b:ea0d:: with SMTP id m13-v6mr2441336ioc.123.1528910905641; Wed, 13 Jun 2018 10:28:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528910905; cv=none; d=google.com; s=arc-20160816; b=L7uRoR0fGd+rTYyosDEywbtud+kyFU0Mrosa7ppo/i/nqPBkJHj6XM85yiT4VGGHbN ejWRBWxYdHCJU/t7Dz9oLBP/AUlkZYNUUPEe/sUyLRoyyimnjoYXrbDaYCJq1Y/4OBdx 2oAR1igrTumYhhK4QZOdz5TmGLcryJIuMhirjgOedyJB6N2K6HXtZ5ZZJnEWVzVEVa3v Twkr+PA0BbcHyaha0cvr+9gNuhIftmkOheSMJ6VDS5s6aLGkDZWH2BSplZBe2h+oL+Hu jGeCb8NGoQj/DJGJQZk2XvZWr61D6VhFpRjLMtmr9d5jTW0KS1a69PovNPIahMgeGu5p FASg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature:arc-authentication-results; bh=gNJrxoFQXlOi9MeaSIOXaPArxecbdcZwzH1/TnrfXQQ=; b=e7tH3uYJ3HG0jYrv8N5wAzPZWrBWXIZ6Tcgf0QjwmxALRR4U071xMp0Af9jNaAyQfz 9Z6A6KVWWSjBZBLJzNvCeKqnlGye0SoFxbqW/1RxPC1Es7pbW+inf3zO5V2+4ovIX5eD ieLbraRHEiJlwJnX6CtBraauQCbWzW7QPjqFYQJmm1174Ej9yx19UUN3LiJVv0iCcoSu KJNq/AlFh+WdojETD+9YsY9fvKdOUt00P6uAbAsWKlTfoeyffuDHyBCcTFob188c2YmN VQf4rFJAKxs3fZvXn7ZuFX4/45tGqyFz3rgdsoN6mKR1hX5YAjY0VpgIGMEup7Et8gwK qpvQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=0vnHNjHQ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::234 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl0-x234.google.com (mail-pl0-x234.google.com. [2607:f8b0:400e:c01::234]) by gmr-mx.google.com with ESMTPS id q23-v6si203755iog.3.2018.06.13.10.28.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jun 2018 10:28:25 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::234 as permitted sender) client-ip=2607:f8b0:400e:c01::234; Original-Received: by mail-pl0-x234.google.com with SMTP id 30-v6so1912628pld.13 for ; Wed, 13 Jun 2018 10:28:25 -0700 (PDT) X-Received: by 2002:a17:902:988f:: with SMTP id s15-v6mr1216862plp.95.1528910905001; Wed, 13 Jun 2018 10:28:25 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id g4-v6sm5994539pfg.38.2018.06.13.10.28.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 10:28:23 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 9BE9EA17C; Wed, 13 Jun 2018 13:28:12 -0400 (EDT) In-Reply-To: <20180612214644.GB8444-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=0vnHNjHQ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::234 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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20362 Archived-At: pandoc-citeproc wraps the whole bibliography in a Div element with class "references." This is currently just ignored by the LaTeX writer, but you can use a lua filter to insert a custom environment or some custom commands. We might think about having the LaTeX writer do something here by default. But what? The most flexible thing would be inserting the whole thing into a special environment, but then we'd need to add something to the default template to make sure this environment is defined. per.review-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org writes: > John MacFarlane [2018-06-12 18:02 +0200]: >> Pandoc doesn't run bibtex/biber for you when producing >> a PDF. If you use pandoc-citeproc, you can get a nice >> bibliography in PDF output (and maybe that's what you >> were doing when it worked before), but if you want to use >> native biblatex, you'll have to produce a .tex file >> and run latex and biber yourself. >> >> Note: it's helpful to search closed issues before >> submitting a report. You would have found #4105, >> #1193, #681, #2795, ... > > Thanks for the quick answer! I saw the explanation of the --biblatex > option in the manual, but was so certain I could remember Pandoc doing > this. Turns my usage of rmarkdown/knitr, which *does* handle this, had > contaminated my memory (and led me to only look for recent issues). > > However, Pandoc(-citeproc)'s implementation of CSL styles still has a > long way to go in terms of customisation and styling. If the PDF output > has indented paragraphs, bibliography entries will be styled the same > way. I've posted a hack to deal with this: > https://github.com/jgm/pandoc/issues/335#issuecomment-396739093 I don't > know what you think about including anything like in the LaTeX template? > > (I understand that better support for CSL attributes are not a priority, > but I think it's a problem when something as simple a paragraph > indentation breaks the styling.) > > -- > Per > > -- > 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 email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20180612214644.GB8444%40mailbox.org. > For more options, visit https://groups.google.com/d/optout.