From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/7977 Path: news.gmane.org!not-for-mail From: Phi Newsgroups: gmane.text.pandoc Subject: Re: Where is the data directory on Mac OS X? Date: Sun, 27 Oct 2013 13:09:29 -0700 (PDT) Message-ID: 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: multipart/alternative; boundary="----=_Part_2242_2307020.1382904569279" X-Trace: ger.gmane.org 1382904566 1807 80.91.229.3 (27 Oct 2013 20:09:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2013 20:09:26 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCO53TH53QNBB6PFWWJQKGQEIQCQIUQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 27 21:09:31 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qe0-f62.google.com ([209.85.128.62]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VaWeQ-0007hu-TP for gtp-pandoc-discuss@m.gmane.org; Sun, 27 Oct 2013 21:09:31 +0100 Original-Received: by mail-qe0-f62.google.com with SMTP id x7sf1312468qeu.17 for ; Sun, 27 Oct 2013 13:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=Yp84rC8EwIqwPcWIKncbkhkU7Lp1jNlMt+rnSay3JT4=; b=qeIl/hEHECuC2d7QhrfxKUFrXifX7vXSLU4Exkux9ZR/CXCovtdAPxFn37Uiv/Xu/f aWwzxe/ovtzHfGQ3tlBsVg5D2BrccnqNguPaWGCp8fObfCn2f9ZVGr+9Me5zLrTkakZ6 Fd4bnOchfX1xs18G4Q2yxAZ0wpXM61WB/dL1THLA4FGWca/DF8FgpJSdkGEzunJ35di0 +NzTKW944jU2QEQ3HmGtN7E43zfQ0+lMEuXRG60wE0ehZAlcDMOdDRFMHtU8rq/77bQq IB1rG19+vl1kvw6SJ5nmV7Lg4iLvsGuDDBn+hzNfETSdJyoI6/dNOzYx+L3RvWZlixVs Khgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=Yp84rC8EwIqwPcWIKncbkhkU7Lp1jNlMt+rnSay3JT4=; b=mqAzQat8MSzWHrysgVLVW9ip3ichL2bxsdFkLip8GEiSGoTBrj3CFBE+0S4X3ttsjY 6Nha+XAACqNs9hQ9XvRR9vJiTDgW+FrNgYz8mSy960mZUoA9I2WBI64+UI0HjUniXm02 oumXv/IB51a5gUfwrUhOJhNChmDq2ZzIJNlI2Rejp7Ep7FT/95XVLyN9XF3E0qV+M6Ye sBo3vrMXsgvSjceXMAkN4Cses9zVQgczrXrHs19n0urP40yE/623EehtfPcuNgOr3MEI qez1SKNmo+GSOv524P36V7QkMb7Bhxe/3P+AKWTObNerv8fDwURVBWsGBzaXX3zqb+8l p9Jw== X-Received: by 10.182.213.41 with SMTP id np9mr101468obc.3.1382904570100; Sun, 27 Oct 2013 13:09:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.118.163 with SMTP id kn3ls1031044obb.37.gmail; Sun, 27 Oct 2013 13:09:29 -0700 (PDT) X-Received: by 10.182.84.199 with SMTP id b7mr103333obz.13.1382904569685; Sun, 27 Oct 2013 13:09:29 -0700 (PDT) In-Reply-To: <20131027195548.GB796-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> X-Original-Sender: phillipruppert-Re5JQEeQqe8AvxtiuMwx3w@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-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:7977 Archived-At: ------=_Part_2242_2307020.1382904569279 Content-Type: text/plain; charset=ISO-8859-1 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 > > >> > https://groups.google.com/d/msgid/pandoc-discuss/b49a725c-bf3d-4a5b-b356-b168d054d151%40googlegroups.com > > >> . > > >> For more options, visit 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...-/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 > https://groups.google.com/d/msgid/pandoc-discuss/fe0e9ddd-f288-402a-8142-5153fb17f89b%40googlegroups.com. > > > For more options, visit 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-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/b626f74b-ebe5-448d-a024-4c8389fba64e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. ------=_Part_2242_2307020.1382904569279 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you for the reply. I had just realized that was prob= ably going on (data files built into the binary) just before I got your pos= t. I was able to get the functionality I was wanting by creating a local ov= erride as you suggested.

For anyone else who is interest= ed, 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. Relate= d, a nice utility app that I discovered for showing hidden files and folder= s in the Finder is called invisibliX. I know you can also do this with comm= and line but I'm still new to the shell and enjoy a user interface when I c= an get one :-)

Thanks again!

<= div>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.
>=20
> I have pandoc 1.11.1 installed on another Mac. It has the data fol= der=20
> stored within usr/local/share/pandoc-1.11.1/data
>=20
> However, on the Mac with pandoc 1.12.1, the file path ends at=20
> usr/local/share. There is no pandoc-1.12.1 folder beyond that and = obviously=20
> no data folder within. What confuses me is that 1.12.1 does produc= e a=20
> styled dock output, so there must be a reference.docx data file so= mewhere.=20
> I just can't find it.=20
>=20
> If it is relevant, the 1.11.1 instance was initially installed und= er OS X=20
> 10.8 (but now running in 10.9). The 1.12.1 instance was installed = under OS=20
> X 10.9. Maybe a bug in the installer package?
>=20
> Any insights into this would be greatly appreciated.
>=20
> Phil
>=20
> 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 direct= ory instead.
> >
> >
> > On Sun, Oct 27, 2013 at 6:59 AM, Phi <phillip...@gmail.= com <javascript:>>wrote:
> >
> >> I'm running Pandoc 1.12.1 on Mac. I am unable to find the= data directory=20
> >> folder for inserting a different docx template. The --ver= sion command shows=20
> >> it as being in /Users/myname/.pandoc but I do not see it = there even=20
> >> after showing hidden files. Anyone able to provide some g= uidance?
> >>
> >> Thanks you.
> >> Phil
> >>  
> >> --=20
> >> You received this message because you are subscribed to t= he Google Groups=20
> >> "pandoc-discuss" group.
> >> To unsubscribe from this group and stop receiving emails = from it, send an=20
> >> email to pandoc-discus...@googlegroups.com &l= t;javascript:>.
> >> To post to this group, send email to pandoc-...@google= groups.com<javascript:>
> >> .
> >> To view this discussion on the web visit=20
> >> https://groups.google.com/d/msgid/pandoc-discuss/b49a725c-bf3d= -4a5b-b356-b168d054d151%40googlegroups.com
> >> .
> >> For more options, visit https://groups.google.com/groups= /opt_out.
> >>
> >
> >
>=20
> --=20
> 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...@googlegroups.com.
> To post to this group, send email to pandoc-...@googlegroups= .com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/fe0e9ddd-f288-402a-8142-5153fb17f89b%40googlegroups= .com.
> For more options, visit https://groups.google.com/groups/opt_out<= /a>.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail 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/b626f74b-ebe5-448d= -a024-4c8389fba64e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
------=_Part_2242_2307020.1382904569279--