From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13405 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Where is the data directory on Mac OS X? Date: Thu, 6 Aug 2015 12:54:09 -0700 Message-ID: <20150806195409.GD4492@protagoras.berkeley.edu> References: <20131027195548.GB796@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=UTF-8; format=flowed X-Trace: ger.gmane.org 1438890878 12291 80.91.229.3 (6 Aug 2015 19:54:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 19:54:38 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB4XWR2XAKGQE5CLDCWY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Aug 06 21:54:29 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f64.google.com ([209.85.213.64]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZNRFD-00051T-9i for gtp-pandoc-discuss@m.gmane.org; Thu, 06 Aug 2015 21:54:27 +0200 Original-Received: by vkfi73 with SMTP id i73sf1349528vkf.0 for ; Thu, 06 Aug 2015 12:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :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:sender:list-subscribe:list-unsubscribe; bh=kYeuHeXN0hZ3tE32+yITCWLDFVTdKW6V6LxxFYpxnUY=; b=ZKS0NnEqQuZKp2zB97NvD8pjKc1zmKxTtzy8pXxy3O4HQJcL8ycXkAdKocGl2m976V sBCu6JHDBzYxU6icSkO0mOjqWYJkBe/LfSAkGQHd4IkqTGpEbe91y7RHfdAjaaYFgpR8 yIuYcfpZupNQhq36mxinBgufybNuagRPzRQ+nqp10tBb8YUqxih0p45y/Z6AgBKMsj4N KJPJOR8cTPQ7hBuZIK3KS3X0If29OLmv1C1NSfTEHKCqfnr/fyXiIupnFvlQZW8ImtOX +HyMmbT2u9xww1Popo8WKVJnsUTz3LZwK4hhTGGOZsCc824hu/5ikbY3GIM9aTR49SKH X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent: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:sender:list-subscribe :list-unsubscribe; bh=kYeuHeXN0hZ3tE32+yITCWLDFVTdKW6V6LxxFYpxnUY=; b=jPNJII0kD6EIKfWbUWX0om94SntOUkxOAtIbbdNclPmMLFuaVBAgVGjtdEnj/SD8a0 5W4D6P4kuLKI2ktVoP/eFzKDSPrEvZJSCa0QLYKVopxnU3zCigVxFlIMsSJEfiJwgVkC Q5bsgtVAiaK7JpbgXOk/cXhuBtnuAJFMOYoZctaIKPnlXWjKViruDxyn/gzzcAPK/Zql lD10OwzyhhELTHEtWWKqQpdXadvG8BI3fMbntkhlssRSSGqFUaoZ2wasnFSvi9JEkHGm Lx26eUov1mWCF6eoKVZd4hUmX9WW/x4bMBwxhmGhxWypmW X-Received: by 10.140.94.145 with SMTP id g17mr43220qge.13.1438890866630; Thu, 06 Aug 2015 12:54:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.40.42 with SMTP id w39ls1557595qgw.0.gmail; Thu, 06 Aug 2015 12:54:26 -0700 (PDT) X-Received: by 10.13.225.206 with SMTP id k197mr3069787ywe.40.1438890865997; Thu, 06 Aug 2015 12:54:25 -0700 (PDT) Original-Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com. [209.85.220.52]) by gmr-mx.google.com with ESMTPS id eq2si845532pbb.2.2015.08.06.12.54.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2015 12:54:25 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.52 as permitted sender) client-ip=209.85.220.52; Original-Received: by pabyb7 with SMTP id yb7so37721560pab.0 for ; Thu, 06 Aug 2015 12:54:25 -0700 (PDT) X-Gm-Message-State: ALoCoQlE1+UwC5OV50+7y49chQTVQCGcVRq6vBu6JLezlsE4mXjpXZtp4ypFQH0l12FNf8L1jdY+ X-Received: by 10.66.190.168 with SMTP id gr8mr6811447pac.22.1438890865773; Thu, 06 Aug 2015 12:54:25 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id ra10sm7510201pab.19.2015.08.06.12.54.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2015 12:54:22 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 077F4A30F; Thu, 6 Aug 2015 15:54:10 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.220.52 as permitted sender) smtp.mail=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:13405 Archived-At: I assume here that you don't have anything in ~/.pandoc/templates already. To get a copy of the default template and put it in your user data directory, mkdir ~/.pandoc/templates pandoc -D latex > ~/.pandoc/templates/default.latex Now you can edit ~/.pandoc/templates/default.latex with any text editor. You can use the default OSX editor, TextEdit, if you like. +++ Eduardo Flores [Jul 30 15 21:18 ]: > 5 hours and tons of searching in pandoc docs I find this... THANK YOU. > I'm sorry but i'm not too familiar with the terminal, how would I go > about changing the "default.latex" that pandoc uses to write a pdf (I'm > writing from R to PDF, and the knitr package relies on pandoc) and want > to change the layout... > On Sunday, October 27, 2013 at 2:09:29 PM UTC-6, Phil wrote: > > Thank you for the reply. I had just realized that was probably going on > (data files built into the binary) just before I got your post. I was > able to get the functionality I was wanting by creating a local > override as you suggested. > For anyone else who is interested, I had to create a hidden folder > ".pandoc" in my home folder. I did this with the command mkdir > ".pandoc". I was then able to drop a reference.docx file into that > folder that pandoc now uses when outputting to docx. Related, a nice > utility app that I discovered for showing hidden files and folders in > the Finder is called invisibliX. I know you can also do this with > command line but I'm still new to the shell and enjoy a user interface > when I can get one :-) > Thanks again! > Phil > On Sunday, October 27, 2013 3:55:48 PM UTC-4, fiddlosopher wrote: > > Starting with 1.12, all the data files are built into the binary. > This makes it possible to move the binary without breaking things. > You can use `--print-default-data-file` to print these to stdout. > You can also locally override them by putting files in ~/.pandoc. > +++ Phi [Oct 27 13 08:58 ]: > > More info in case it helps someone help me out. > > > > I have pandoc 1.11.1 installed on another Mac. It has the data > folder > > stored within usr/local/share/pandoc-1.11.1/data > > > > However, on the Mac with pandoc 1.12.1, the file path ends at > > usr/local/share. There is no pandoc-1.12.1 folder beyond that and > obviously > > no data folder within. What confuses me is that 1.12.1 does > produce a > > styled dock output, so there must be a reference.docx data file > somewhere. > > I just can't find it. > > > > If it is relevant, the 1.11.1 instance was initially installed > under OS X > > 10.8 (but now running in 10.9). The 1.12.1 instance was installed > under OS > > X 10.9. Maybe a bug in the installer package? > > > > Any insights into this would be greatly appreciated. > > > > Phil > > > > On Saturday, October 26, 2013 10:16:20 PM UTC-4, yi lu wrote: > > > > > > I have no idea, but normally you can try to create one directory > instead. > > > > > > > > > On Sun, Oct 27, 2013 at 6:59 AM, Phi >wrote: > > > > > >> I'm running Pandoc 1.12.1 on Mac. I am unable to find the data > directory > > >> folder for inserting a different docx template. The --version > command shows > > >> it as being in /Users/myname/.pandoc but I do not see it there > even > > >> after showing hidden files. Anyone able to provide some > guidance? > > >> > > >> Thanks you. > > >> Phil > > >> > > >> -- > > >> 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > >> To post to this group, send email to > pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > >> . > > >> To view this discussion on the web visit > > >> [1]https://groups.google.com/d/msgid/pandoc-discuss/b49a725c- > bf3d-4a5b-b356-b168d054d151%40googlegroups.com > > >> . > > >> For more options, visit [2]https://groups.google.com/ > groups/opt_out. > > >> > > > > > > > > > > -- > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/fe0e9ddd- > f288-402a-8142-5153fb17f89b%40googlegroups.com. > > For more options, visit [4]https://groups.google.com/ > groups/opt_out. > > -- > 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 [5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [6]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [7]https://groups.google.com/d/msgid/pandoc-discuss/c99c939c-90b9-472b- > b739-9eb61b30b108%40googlegroups.com. > For more options, visit [8]https://groups.google.com/d/optout. > >References > > 1. https://groups.google.com/d/msgid/pandoc-discuss/b49a725c-bf3d-4a5b-b356-b168d054d151-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. https://groups.google.com/groups/opt_out > 3. https://groups.google.com/d/msgid/pandoc-discuss/fe0e9ddd-f288-402a-8142-5153fb17f89b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 4. https://groups.google.com/groups/opt_out > 5. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 6. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 7. https://groups.google.com/d/msgid/pandoc-discuss/c99c939c-90b9-472b-b739-9eb61b30b108-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 8. https://groups.google.com/d/optout