From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13396 Path: news.gmane.org!not-for-mail From: Phil Newsgroups: gmane.text.pandoc Subject: Re: Where is the data directory on Mac OS X? Date: Fri, 31 Jul 2015 09:34:07 -0700 (PDT) Message-ID: <6deff9f0-d8a3-4d61-ab1a-d6fb84ad6c11@googlegroups.com> 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/mixed; boundary="----=_Part_34_1229454639.1438360447132" X-Trace: ger.gmane.org 1438360456 12883 80.91.229.3 (31 Jul 2015 16:34:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2015 16:34:16 +0000 (UTC) Cc: phillipruppert-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, eduardo-wKVUSyMwCkyX6QiC4yPwbg@public.gmane.org To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCO53TH53QNBBAGH52WQKGQE7EX745Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jul 31 18:34:12 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vn0-f58.google.com ([209.85.216.58]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZLDG5-0005iE-7u for gtp-pandoc-discuss@m.gmane.org; Fri, 31 Jul 2015 18:34:09 +0200 Original-Received: by vnav141 with SMTP id v141sf17990590vna.1 for ; Fri, 31 Jul 2015 09:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=jKtnhf4VyeUWKwkOiwyyJBsxMjhbUwLQWBYblNjiztQ=; b=iMyBT82Wo3IPcFkfyDA+Jq8pUgTn/FP1jmteNJ+fC79xrvsT0swWGjIKQQuL0M04O4 syuKCYHkP0T5KTYZz9YbjAFik9qKHI7IdO6z93NzjshtYgYPa08+DRGexOX7JG8p0urk 4n9eSIl+oejwjxaoRytrDuvL78S+n3FKkllI4ZgL7c/lhSM7FZWaLCuM7xBQCJaJt/LX zhQbEZRlPLxUy7l74YNl65Ea9DQvyefncqVCtjWG4pASoRqbwx62X097vkGq6Muo1f8u NQ22CcD8g7rx6EP0sdS1y/Q+lz8GwK6sGnKZr8kvUbMsuKLXXswY8VH09dcf3HE6k06d ULOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=jKtnhf4VyeUWKwkOiwyyJBsxMjhbUwLQWBYblNjiztQ=; b=QrvMfkKDV5LDq1iL6nlQiU9AQgiQz67Uoml6Ky/g+jUIxG5/6rQHhPNejL0rY45xK9 xvcxKVIzlKXxG4ls9k1yB5BDvsYfndAgOn5in6zqM5QUpY07ca4oNHMZsvZb5gTc9pN4 C3xIy+lBlMN31MoQkFtr8RMgjkKAxA5gpuUajDNaW3ALFxljCxn7Gj2mtHT/RZySF1EF qEN0CNh56YQfKSMaJXsygdyoUuSbS7wS8WJE0m+IdHHkcej9wdYmbcLHwOrq09KP85WK K9TnkJODNT1KSMIsCB1cWheLHP+Tce0NL8BipRfNfxP8yrT+YuOn+f+E6Hl29gj1g2tS dRXw== X-Received: by 10.182.130.164 with SMTP id of4mr19075obb.42.1438360448448; Fri, 31 Jul 2015 09:34:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.122.233 with SMTP id lv9ls504344obb.7.gmail; Fri, 31 Jul 2015 09:34:07 -0700 (PDT) X-Received: by 10.182.209.6 with SMTP id mi6mr20058obc.27.1438360447896; Fri, 31 Jul 2015 09:34:07 -0700 (PDT) In-Reply-To: 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-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:13396 Archived-At: ------=_Part_34_1229454639.1438360447132 Content-Type: multipart/alternative; boundary="----=_Part_35_365233524.1438360447132" ------=_Part_35_365233524.1438360447132 Content-Type: text/plain; charset=UTF-8 I'm not familiar with latex customization. Sorry, I do not know how to do that. On Thursday, July 30, 2015 at 11:18:02 PM UTC-5, Eduardo Flores wrote: > > 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 >>> > >> >>> 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...-/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 >>> 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/6deff9f0-d8a3-4d61-ab1a-d6fb84ad6c11%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_35_365233524.1438360447132 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm not familiar with latex customization. Sorry, I do= not know how to do that.

On Thursday, July 30, 2015 at 11:18:02 PM = UTC-5, Eduardo Flores wrote:
5 hours and tons of searching in pandoc docs I find this... = THANK YOU.

I'm sorry but i'm not too familiar wi= th 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 k= nitr package relies on pandoc) and want to change the layout...
<= br>
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 bi= nary) just before I got your post. I was able to get the functionality I wa= s 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 ".pa= ndoc". 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 t= hat I discovered for showing hidden files and folders in the Finder is call= ed invisibliX. I know you can also do this with command line but I'm st= ill 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.
>=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
> >> =C2=A0
> >> --=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-d= iscuss/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-...-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
> To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/fe0e9ddd-f288-402a-8142-5153fb1= 7f89b%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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/6deff9f0-d8a3-4d61-ab1a-d6fb84ad6c11%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_35_365233524.1438360447132-- ------=_Part_34_1229454639.1438360447132--