From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/5451 Path: news.gmane.org!not-for-mail From: Huashan Chen Newsgroups: gmane.text.pandoc Subject: Re: error on building the windows installer Date: Sun, 13 Jan 2013 00:45:20 +0800 Message-ID: References: <87sj8kxr1f.fsf@eeepc.nowhere.net> <20121108171447.GD94362@Johns-MacBook-Air-2.local> <87fw4kx899.fsf@eeepc.nowhere.net> <20121230033457.GA17954@Johns-MacBook-Pro.local> <20130102235536.GA19032@protagoras.phil.berkeley.edu> <20130110172629.GB67105@Johns-MacBook-Pro.local> <20130111154356.GA73415@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1358009121 15154 80.91.229.3 (12 Jan 2013 16:45:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2013 16:45:21 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDZLHEGVZMOBBIFGY2DQKGQEZ4C45XQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jan 12 17:45:39 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qc0-f192.google.com ([209.85.216.192]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tu4DC-0001Xn-F5 for gtp-pandoc-discuss@m.gmane.org; Sat, 12 Jan 2013 17:45:38 +0100 Original-Received: by mail-qc0-f192.google.com with SMTP id c21sf1500587qcs.29 for ; Sat, 12 Jan 2013 08:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:x-received:received-spf :mime-version:in-reply-to:references:date:message-id:subject:from:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type; bh=XxPcNVRHt+fj6ohxenysqzpIiXEJqZnPMsd756V+U0Q=; b=x+JA+69cEeqLcK9uXAH99HGdB5YoOsRhqX6XtaQUFtpq6BqQuG8k99vYnouDKH1Ugo zs04KwHjJ8IqTMOq5Db9F/wcK2KssxL19EMHApxuIuCpGL+za6+LVq64qcOLP8AKAV0M tnrfpfLhtvCr675VEqfcuj+6z9OslShTxKZoYt/xx/teJagZzLhccia/uxuRGdqoF/Wg Wrsi/K/3YYLeknRB6xYvao1aky82gLRj+d/5GF0Dfs+mmG/NXVNWoLKFlo1GLBL5qs90 P8HnETdKoUpgnWMVi8aIBb0CGugw3kvc+DTjquw5wT3nQb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:x-beenthere:x-received:x-received:received-spf :mime-version:in-reply-to:references:date:message-id:subject:from:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type; bh=XxPcNVRHt+fj6ohxenysqzpIiXEJqZnPMsd756V+U0Q=; b=KsW8pFcfrX9QpBbBcN/UCJBlBrPvOnckRGBWwK3a9bQQHIhKqu7WAIrRsX0EE28n3e ELxpJgTYa32gTiI9haeZ4Y+YxiB+pgQINZUK44Lg+43OndLCdiqCatSAL93ZRQzcsn7X OpR5quQxmnxVo9FVbyr62MEeiF5QEdSjJwwQ6AZGcgZndbXs+QpHBtnF1YYpRoRPajlh w/G8LUiHf2O4lyEsu8TvQnPnrKuMgP3mbKcOCl9Rt4sdiTb4zFusJzohcqSbYd34IGrD 9sUycGAVIYRA0LfTQ3MYMyZhlE0vhu18Sk74nq9Pny+NVhE7K3Y6j X-Received: by 10.49.116.135 with SMTP id jw7mr14760077qeb.10.1358009122004; Sat, 12 Jan 2013 08:45:22 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.49.71.115 with SMTP id t19ls2811049qeu.20.gmail; Sat, 12 Jan 2013 08:45:20 -0800 (PST) X-Received: by 10.224.178.204 with SMTP id bn12mr17230733qab.1.1358009120565; Sat, 12 Jan 2013 08:45:20 -0800 (PST) X-Received: by 10.224.178.204 with SMTP id bn12mr17230732qab.1.1358009120540; Sat, 12 Jan 2013 08:45:20 -0800 (PST) Original-Received: from mail-qa0-f45.google.com (mail-qa0-f45.google.com [209.85.216.45]) by gmr-mx.google.com with ESMTPS id r17si1144358qcp.1.2013.01.12.08.45.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Jan 2013 08:45:20 -0800 (PST) Received-SPF: pass (google.com: domain of chenhuashan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.216.45 as permitted sender) client-ip=209.85.216.45; Original-Received: by mail-qa0-f45.google.com with SMTP id j15so564851qaq.4 for ; Sat, 12 Jan 2013 08:45:20 -0800 (PST) Original-Received: by 10.224.58.66 with SMTP id f2mr65329304qah.11.1358009120381; Sat, 12 Jan 2013 08:45:20 -0800 (PST) Original-Received: by 10.49.121.170 with HTTP; Sat, 12 Jan 2013 08:45:20 -0800 (PST) In-Reply-To: <20130111154356.GA73415-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> X-Original-Sender: chenhuashan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of chenhuashan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.216.45 as permitted sender) smtp.mail=chenhuashan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@gmail.com 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: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:5451 Archived-At: Hi, John, Do you mean that I couldn't place my customized docx file in `data` directory and use --reference-docx=MYFILE --data-dir=DIR together? According to the manual, I'd thought that pandoc will look for MYFILE in DIR. Best, Chen, Huashan On Fri, Jan 11, 2013 at 11:43 PM, John MacFarlane wrote: > +++ Huashan Chen [Jan 11 13 21:39 ]: >> Oops, I forgot to post the error messages, here it is (for all the >> three commands mentioned above) >> >> pandoc: Duplicate link reference `[PHP markdown extra]' "source" (line >> 1519, column 1) > > This shows that you're not using the latest version, since the > README was fixed to avoid this duplicate reference. > >> pandoc: reference.docx: openBinaryFile: does not exist (No such file >> or directory) >> >> --reference-doc=PATH works fine though. However, in some >> circumstances, --data-dir is much convient. > > I still don't see any evidence of a change in functionality. > I think you are assuming that > > --reference-docx=FILE --data-dir=DIR > > will look for the reference-docx in DIR/FILE. I don't think > that was ever the case. You can either do > > --reference-docx=PATH > > or put reference.docx in DIR and do > > --data-dir=DIR > > (with --reference-docx). > > John > > -- > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >