From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21204 Path: news.gmane.org!.POSTED!not-for-mail From: jiewuza Newsgroups: gmane.text.pandoc Subject: Re: Could --biblatex use autocite instead of autocites so as to support numeric-comp style? Date: Sat, 06 Oct 2018 21:37:47 +0800 Message-ID: References: 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 1538832941 7658 195.159.176.226 (6 Oct 2018 13:35:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2018 13:35:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDS4Z3WZ2UDRBK7V4LOQKGQE5PAMUMI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Oct 06 15:35:37 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-wr1-f61.google.com ([209.85.221.61]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8mk5-0001uA-Hm for gtp-pandoc-discuss@m.gmane.org; Sat, 06 Oct 2018 15:35:37 +0200 Original-Received: by mail-wr1-f61.google.com with SMTP id j90-v6sf2399422wrj.20 for ; Sat, 06 Oct 2018 06:37:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1538833068; cv=pass; d=google.com; s=arc-20160816; b=kZR+DEuADO32+eYnkbFq9nHzm/+v2Mzclg/sKOBThqeTnZIE6RNWJZah57GIbUFy8K 0+r4k8D/F+9yZdokENHneXuNRVbDQtlinf/xn6hrKGkvFKBQeivGequtBRE75CA+JUHk 3e6KRVJK64WfHW9ObUeO2KpefHeGpXXwg4THVYbDTH5B2DWvmeBnZZ6M2pWdq06aKceA eCibNOZhjm8rzfdKrR9ifdIIO+hUohaACOrTP3BtHfDzchWQGwuT0xfjmpnN7tGiURPF FWr6vE0y8V94svpM/8xJZUH4VkdZEesfMiEqyIqhWoLJEwPVAAO+CVgWfLmLbipHv8CT VfAA== 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:cancel-lock:user-agent :mime-version:references:message-id:lines:date:subject:from:to :sender:dkim-signature; bh=d4VIcbVzynwnKeTumCy9aBeanh1Qjs/UXA0alJoEXc0=; b=Ts6SgAt5WnG1z+B3CDrVNwQCo4LgkeF9PzucpWjSc9/hA3UBHoN5ZoerO/ZMk3CPkF Iud/4yl3p4yxtXiUFkKLje+EmJlEYpbMflbhA/gPttOgE4o8wFqnw35+sNdx4pszo4IY TINrvkBnhBnCfLp2Qz7Njo6+05w0wu0a7l5Y02nR/YdUECItGVmFk9DKTzNCw7PVl8Mo ETqjLS3LddHOmvHTGZd3WsSHiI1TqPSzPnMXiNVS9lb9JA5NP3RV9I1eGqDtl88CoZRq 1m9vQ/Rszws2GB8CUQ/Rozw16Xt7h0oRx4ZScAdniWypdJ/Us/9O346kMF3BVYiNrcj+ QpdA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) smtp.mailfrom=gtp-pandoc-discuss@m.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:to:from:subject:date:lines:message-id:references :mime-version:user-agent:cancel-lock: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=d4VIcbVzynwnKeTumCy9aBeanh1Qjs/UXA0alJoEXc0=; b=qVaUtJaCKVroC2E5iMrfM3qBVoriNJGebsxgRmx5YKMNVKo2KeTg+VAMKglDkKB9Jq XiGR/GfdnmYgpjtlOORXueNDUSi9Ozxax+5ouVvnm3P3T8WYugCOCSsKfJorMX9cuQSo AclQ1G1gm8icW77Kci2Bc3HJIfpkftlUC6dlicc8aVUAuCWVXdnB5W7kOXKaxvMw10mQ ZN7XpZFcWEdPhsqODEmG72Jgizjoh2CJji1UK1/MvgQzoZfZI6r6RX10ceaJ/NAd9N22 hLs8Pt9cfAPcJdL1oqzLzwQC31KZBcdJGWBmkUADx4CB+13UwX5qU0z01WSTjCmJ1NME t0Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:to:from:subject:date:lines:message-id :references:mime-version:user-agent:cancel-lock: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=d4VIcbVzynwnKeTumCy9aBeanh1Qjs/UXA0alJoEXc0=; b=MMqZEK49kFZlX1zo3Qb9eCzrCcb3kdWeBegAgGoHVYiovVJd8/MBKKc9ZCEfF/Subb qz6EJb8qqTCkE9cNU2Hy9TDdmqWFclaDOhtE9QiYL1lBX2RAnE/9DPKAawHJUuaPfJRt NKRgjS4f0EEnn1oGJM22e0qOWrl3yu5jatcK1oAf/8YXud+UdFMOssamA1o+TGs9fZhu K4GZs075NPix4emO36Uqq4AaVjBV6QOou7SC6Rl6mUvzImvBzxDVW1eDw9Svjnr/dsd0 xzZTMvTG/d9B3+apO0QklmHWx+RDBp22R3Vl7Z8Ry7lQi5MJq0rW/lAt+EyK55mZF2YR +I3A= Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABuFfohWv5/D434sNyuir0CAyHaBaM9S0bFzEaXuH0WP+4HQ680UmeME TpPaVCdrnLUPwW2ZEYoHBrg= X-Google-Smtp-Source: ACcGV635gU4l4jdxRWQaRhBU1y5J8Fz+q++5dAu0BIo6nAOJcZ1v4B0zPNpYQ4X3oSRguNvVkQ9mGg== X-Received: by 2002:adf:b3d1:: with SMTP id x17-v6mr205303wrd.5.1538833068434; Sat, 06 Oct 2018 06:37:48 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:9ab7:: with SMTP id a52-v6ls2140604wrc.23.gmail; Sat, 06 Oct 2018 06:37:47 -0700 (PDT) X-Received: by 2002:adf:ec4b:: with SMTP id w11-v6mr1542194wrn.20.1538833067601; Sat, 06 Oct 2018 06:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538833067; cv=none; d=google.com; s=arc-20160816; b=t2XgYGXNfiBUrFhrJTTjxBQS0ZnJ3pxGKIgcsjNqF/vaszuU06pX4Kyj0/vbIPadRK AHIcOVgncE7YP44pE7xFT8mL1Y2Nzw4FfySprcTj8FYUkDouAcv7Wpdi6tLzBv66eBEx IG82c1m1DNJbW5mahw3AQ7KdIGsaxm8EUEwntb6L6ZeLGNgTUC8aljhKLVuowZdSAxlI TlUyywaM7QwCJHIKSNFgU0KoVNG0UlqSdg92x+p2h0t1uk0YOpHB6qO/BHzfgLjI/C9B YADIGYkQ9Wqw4nxOkD/O1jLkOGZWpFHwsQVStP1EKHnTXhIlRa27dAKDTJwGI3I8WfGK esRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cancel-lock:user-agent:mime-version:references:message-id:lines :date:subject:from:to; bh=S0EDACwdPOipp+8n2l/Y9pQvOqzfbJe3srPZ204t/Ik=; b=EoQbzkLPJSXvMt8/g01p767u+AS4Ihh814fD8PLTuZ9vy+oKbtwtx0V02Ub29s0ibL En3YOUh1jLJFfP4DHNGBNmZzgrE045vqOq1Lcj3XVivqGI2KK0PS7QtVo8pUbvmcp9bm WcSoOUFKpOhmoiRAapp3Jq8NObes4fQMtjJhFJkWYjIkM4cW2VCbzSo8bqCsOolLM8c0 bh/1vsu4q3A2/iUO9FWW2nHFsusr1RrwEUKBNkUFA3UiVQ/gyO00LVJx6adFTtvzGIhK flU3BGBYbYUDFoS9VhDrv3+k5in18pMG7oycruIqbkEiWeLBfvc7LC0xCBQznI6MDQUV vrQw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) smtp.mailfrom=gtp-pandoc-discuss@m.gmane.org Original-Received: from blaine.gmane.org ([195.159.176.226]) by gmr-mx.google.com with ESMTPS id 204-v6si424478wmw.3.2018.10.06.06.37.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Oct 2018 06:37:47 -0700 (PDT) Received-SPF: neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) client-ip=195.159.176.226; Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1g8mk3-0001sa-79 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Sat, 06 Oct 2018 15:35:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 67 Original-X-Complaints-To: usenet-VEh2mgPqUsheXY1tMh2IBg@public.gmane.org Cancel-Lock: sha1:BcGVCzN+Vt8zeFA1tfwZ3gYcK9o= X-Original-Sender: gtp-pandoc-discuss@m.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of gtp-pandoc-discuss@m.gmane.org) smtp.mailfrom=gtp-pandoc-discuss@m.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:21204 Archived-At: What I have tried is I config autocite=superscript for biblatex ``` \usepackage[sorting=none, style=numeric-comp, autocite=superscript]{biblatex} ``` This will make autocite work as supercite, according to biblatx document. And then I copy the code from https://tex.stackexchange.com/questions/114987/biblatex-supercite-with-square-brackets-and-grouped ``` \DeclareCiteCommand{\supercite}[\mkbibsuperscript] {\usebibmacro{cite:init}% \let\multicitedelim=\supercitedelim \iffieldundef{prenote} {} {\BibliographyWarning{Ignoring prenote argument}}% \iffieldundef{postnote} {} {\BibliographyWarning{Ignoring postnote argument}} \bibopenbracket}% {\usebibmacro{citeindex}% \usebibmacro{cite:comp}} {} {\usebibmacro{cite:dump}\bibclosebracket} ``` But it does not compress the citations. John MacFarlane writes: > I'm reluctant to make that kind of change in the > defaults. But you can always create a custom template > that imports biblatex with this option and redefines > \autocites in a way that makes it behave like you want. > > jiewuza writes: > >> Or is it possible to make autocites support numeric-comp? >> So that we can get all the benefits. >> >> I found something at >> https://tex.stackexchange.com/questions/114987/biblatex-supercite-with-square-brackets-and-grouped >> but it is for supercite. >> >> John MacFarlane writes: >> >>> I believe we use autocites because in principle each >>> of the citations could have prefix, suffix, and >>> locator, and this would be impossible to represent >>> with autocite. Of course, in the case where there >>> are no prefix, suffix, or locator, autocite could >>> be used instead, and maybe it should. Does anyone >>> have opinions on this? >> >> -- >> 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/m2d0sp9crm.fsf%40163.com. >> For more options, visit https://groups.google.com/d/optout.