From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/480 Path: news.gmane.org!not-for-mail From: Tillmann Rendel Newsgroups: gmane.text.pandoc Subject: Re: pandoc/citeproc issues: multiple bibliographies, nocite, citeonly Date: Mon, 22 Nov 2010 00:26:51 +0100 Message-ID: <4CE9AABB.1070705@informatik.uni-marburg.de> References: <20101121193229.GB25657@protagoras.phil.berkeley.edu> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Trace: dough.gmane.org 1290382030 10845 80.91.229.12 (21 Nov 2010 23:27:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 23:27:10 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCKuQ3tcmEMHVpucEGgS30Jr4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Nov 22 00:27:06 2010 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-fx0-f58.google.com ([209.85.161.58]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKJJI-0001MF-UW for gtp-pandoc-discuss@m.gmane.org; Mon, 22 Nov 2010 00:27:05 +0100 Original-Received: by fxm11 with SMTP id 11sf1103325fxm.3 for ; Sun, 21 Nov 2010 15:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to:x-greylist :x-virus-scanned:x-virus-status:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=NZgJr7HSNaT/Ri8y/YGXnoyg8JyFi1v8KOY5euw3VUA=; b=Yjs6YL8RXUbJw9Ez9w1NPhEmf3YRXTbvikZZ8KPCsJrke+5tvuowrVFjYvpJaEcTIg +DHOkkgl1ddU7/HJKJsfBbtjyan0lnFCwRvdb51kbz/5HxgILbpj7G6BD9XVyLja4IHK +UqNcz5r7dVpNyWydYJxQcaUFsmqXfjRw34Ag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to:x-greylist :x-virus-scanned:x-virus-status:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=nErzCKrwkwpFC8mPINnkmtzej/Jinlv2j7OL3vvJLb7oZLhAiJuNS1Gya8kI8cbHNc qmw7pSmV5X1/dVgzLEYTSqn1Hrig0Fu2i92dQHjgopYsnkQ5fdQDhrYaXq/J8gQfEzuC A+/h/VuCwu/6BZfUhF7vmxDpPMM7g06Nt7AGI= Original-Received: by 10.223.79.68 with SMTP id o4mr267476fak.7.1290382017886; Sun, 21 Nov 2010 15:26:57 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.223.99.152 with SMTP id u24ls82175fan.0.p; Sun, 21 Nov 2010 15:26:56 -0800 (PST) Original-Received: by 10.223.70.136 with SMTP id d8mr388986faj.9.1290382016420; Sun, 21 Nov 2010 15:26:56 -0800 (PST) Original-Received: by 10.223.70.136 with SMTP id d8mr388985faj.9.1290382016402; Sun, 21 Nov 2010 15:26:56 -0800 (PST) Original-Received: from siwa.Mathematik.Uni-Marburg.de (pc12772.Mathematik.Uni-Marburg.DE [137.248.123.123]) by gmr-mx.google.com with ESMTP id 9si345375fax.13.2010.11.21.15.26.56; Sun, 21 Nov 2010 15:26:56 -0800 (PST) Received-SPF: pass (google.com: domain of rendel-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org designates 137.248.123.123 as permitted sender) client-ip=137.248.123.123; Original-Received: from [192.168.178.20] (dslb-088-069-151-255.pools.arcor-ip.net [88.69.151.255]) (authenticated bits=0) by siwa.Mathematik.Uni-Marburg.de (8.13.8/8.13.8) with ESMTP id oALNQtmg025736 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 22 Nov 2010 00:26:56 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: <20101121193229.GB25657-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (siwa.Mathematik.Uni-Marburg.de [137.248.123.123]); Mon, 22 Nov 2010 00:26:56 +0100 (CET) X-Virus-Scanned: clamav-milter 0.96.2 at siwa X-Virus-Status: Clean X-Original-Sender: rendel-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of rendel-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org designates 137.248.123.123 as permitted sender) smtp.mail=rendel-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:480 Archived-At: John MacFarlane wrote: > There's a proposal at > > http://gitit.net/PandocCitationGrammar > > that would address (2-4) by requiring the user to put an explicit > > > > tag where the bibliography goes;[...] I like the idea of explicitly specifying where the bibliography goes. I don't like that syntax too much, however, because (a) it is HTML-focused, so it might look awkward in LaTeX-target markdown files with lots of literal LaTeX code (b) it looks like literal HTML, but is actually (pandoc extended) markdown, which might be confusing I had a similar problem in my use of pandoc. I want to insert system-generated content, such as a table of contents, at a specific point in the document. So I decided to write a script which replaces a whole section (or subsection etc.) with system-generated content, based on the name of the section. So for example, the snippet: Table of Contents ================= It doesn't matter what you write here Introduction ============ would get translated to something like: \tableofcontents \section{Introduction} I think this would work well for references, too. The main benefit is that one can use the input format's syntax for headings to specify "special sections" like table of contents or references. The input document therefore looks natural. (One could even have one's editor and pandoc automatically fill in the section content with a textual version of the system-generated data, for some kind of semi-WYSIWYG effect). The main drawback is that the name of the section is relevant, so this introduces a language dependency. For my scripts, I just have a command-line flag for the various special sections: "--toc=Table of Contents" Of course, I can easily extend my script to translate a "References"-section into a "" marker, so I don't the mind the concrete syntax too much. Just wanted to share my thoughts. Tillmann