public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Where is the data directory on Mac OS X?
@ 2013-10-26 22:59 Phi
       [not found] ` <b49a725c-bf3d-4a5b-b356-b168d054d151-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Phi @ 2013-10-26 22:59 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

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-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/b49a725c-bf3d-4a5b-b356-b168d054d151%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[-- Attachment #2: Type: text/html, Size: 1490 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found] ` <b49a725c-bf3d-4a5b-b356-b168d054d151-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2013-10-27  2:16   ` yi lu
       [not found]     ` <CAKcmqqwCXGDmRujyev=suTcY0S0ox5AaGzKp9DTjHQCwcaObbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2016-06-16 16:00   ` Florian Dierickx
  2017-10-21  9:08   ` Zhang Kungang
  2 siblings, 1 reply; 13+ messages in thread
From: yi lu @ 2013-10-27  2:16 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

I have no idea, but normally you can try to create one directory instead.


On Sun, Oct 27, 2013 at 6:59 AM, Phi <phillipruppert-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-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/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-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/CAKcmqqwCXGDmRujyev%3DsuTcY0S0ox5AaGzKp9DTjHQCwcaObbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

[-- Attachment #2: Type: text/html, Size: 3053 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]     ` <CAKcmqqwCXGDmRujyev=suTcY0S0ox5AaGzKp9DTjHQCwcaObbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-10-27 15:58       ` Phi
       [not found]         ` <fe0e9ddd-f288-402a-8142-5153fb17f89b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Phi @ 2013-10-27 15:58 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2521 bytes --]

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 <phillip...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>>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 <javascript:>.
>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:>
>> .
>> 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-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/fe0e9ddd-f288-402a-8142-5153fb17f89b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[-- Attachment #2: Type: text/html, Size: 3991 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]         ` <fe0e9ddd-f288-402a-8142-5153fb17f89b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2013-10-27 19:55           ` John MacFarlane
       [not found]             ` <20131027195548.GB796-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: John MacFarlane @ 2013-10-27 19:55 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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 <phillip...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>>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 <javascript:>.
> >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:>
> >> .
> >> 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-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/fe0e9ddd-f288-402a-8142-5153fb17f89b%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]             ` <20131027195548.GB796-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
@ 2013-10-27 20:09               ` Phi
       [not found]                 ` <b626f74b-ebe5-448d-a024-4c8389fba64e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Phi @ 2013-10-27 20:09 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 4535 bytes --]

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 <phillip...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org<javascript:>>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 <javascript:>. 
> > >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:> 
>
> > >> . 
> > >> 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 <javascript:>. 
> > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:>. 
>
> > 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.

[-- Attachment #2: Type: text/html, Size: 5945 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]                 ` <b626f74b-ebe5-448d-a024-4c8389fba64e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-07-31  4:18                   ` Eduardo Flores
       [not found]                     ` <c99c939c-90b9-472b-b739-9eb61b30b108-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Eduardo Flores @ 2015-07-31  4:18 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: phillipruppert-Re5JQEeQqe8AvxtiuMwx3w


[-- Attachment #1.1: Type: text/plain, Size: 5014 bytes --]

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 <phillip...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
>> <javascript:>>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 <javascript:>. 
>> > >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:> 
>>
>> > >> . 
>> > >> 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/c99c939c-90b9-472b-b739-9eb61b30b108%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 7596 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]                     ` <c99c939c-90b9-472b-b739-9eb61b30b108-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-07-31 16:34                       ` Phil
  2015-08-06 19:54                       ` John MacFarlane
  1 sibling, 0 replies; 13+ messages in thread
From: Phil @ 2015-07-31 16:34 UTC (permalink / raw)
  To: pandoc-discuss
  Cc: phillipruppert-Re5JQEeQqe8AvxtiuMwx3w, eduardo-wKVUSyMwCkyX6QiC4yPwbg


[-- Attachment #1.1: Type: text/plain, Size: 5285 bytes --]

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 <phillip...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
>>> <javascript:>>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 <javascript:>. 
>>> > >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:> 
>>>
>>> > >> . 
>>> > >> 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.

[-- Attachment #1.2: Type: text/html, Size: 7902 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]                     ` <c99c939c-90b9-472b-b739-9eb61b30b108-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2015-07-31 16:34                       ` Phil
@ 2015-08-06 19:54                       ` John MacFarlane
  1 sibling, 0 replies; 13+ messages in thread
From: John MacFarlane @ 2015-08-06 19:54 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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 <phillip...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>     <javascript:>>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 <javascript:>.
>     > >> To post to this group, send email to
>     pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:>
>     > >> .
>     > >> 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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found] ` <b49a725c-bf3d-4a5b-b356-b168d054d151-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2013-10-27  2:16   ` yi lu
@ 2016-06-16 16:00   ` Florian Dierickx
       [not found]     ` <b669bc45-278f-460e-8905-79a727e72a98-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-10-21  9:08   ` Zhang Kungang
  2 siblings, 1 reply; 13+ messages in thread
From: Florian Dierickx @ 2016-06-16 16:00 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1157 bytes --]

In my case (pandoc 1.17.1, recently installed), the files can be found in  

/usr/local/Cellar/pandoc/1.17.1/share/x86_64-osx-ghc-8.0.1/pandoc-1.17.1/data/. 
Hope this helps for those in an endless quest! :)

On Sunday, 27 October 2013 00:59:41 UTC+2, Phil 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-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/b669bc45-278f-460e-8905-79a727e72a98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2109 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]     ` <b669bc45-278f-460e-8905-79a727e72a98-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-06-17  5:00       ` John MacFarlane
  0 siblings, 0 replies; 13+ messages in thread
From: John MacFarlane @ 2016-06-17  5:00 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Note that if you installed pandoc via the OSX package we
provide, the version there has its data files baked
into the executable, so you won't find them on the file
system.

To see their contents or get copies, use pandoc with the
`--print-default-data-file=FILE` option.  For templates,
you can use `-D FORMAT`, e.g. `-D latex`.

You can have pandoc use a modified template instead of its
default either by explicitly specifying it using
`--template` on the command line or by putting the
modified template in your ~/.pandoc/templates directory
(which you may need to create).  The template should
be named default.FORMAT.


+++ Florian Dierickx [Jun 16 16 09:00 ]:
>   In my case (pandoc 1.17.1, recently installed), the files can be found
>   in
>
>   /usr/local/Cellar/pandoc/1.17.1/share/x86_64-osx-ghc-8.0.1/pandoc-1.17.
>   1/data/. Hope this helps for those in an endless quest! :)
>   On Sunday, 27 October 2013 00:59:41 UTC+2, Phil 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/b669bc45-278f-460e-
>   8905-79a727e72a98%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/b669bc45-278f-460e-8905-79a727e72a98-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found] ` <b49a725c-bf3d-4a5b-b356-b168d054d151-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2013-10-27  2:16   ` yi lu
  2016-06-16 16:00   ` Florian Dierickx
@ 2017-10-21  9:08   ` Zhang Kungang
       [not found]     ` <0db5429a-ca80-4607-ae29-ed70aabb2f0b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2 siblings, 1 reply; 13+ messages in thread
From: Zhang Kungang @ 2017-10-21  9:08 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1271 bytes --]

Hi,

I wonder if I have a webpage, and I want to extract a template from that 
webpage and apply the obtained template to override default html template, 
how should I do that? I guess I have known where to put my template. So 
right now the question is how to extract template from an existing webpages.

Thanks!

On Saturday, October 26, 2013 at 5:59:41 PM UTC-5, Phil 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-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/0db5429a-ca80-4607-ae29-ed70aabb2f0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2206 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]     ` <0db5429a-ca80-4607-ae29-ed70aabb2f0b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-10-21 16:01       ` John MacFarlane
  2017-10-21 21:32       ` Roland Hieber
  1 sibling, 0 replies; 13+ messages in thread
From: John MacFarlane @ 2017-10-21 16:01 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

There's no automatic way to do this, but you can take an
existing HTML file and replace parts of it with variables
to get a template.  For example, strip out the body of the
page and replace it with $body$.

+++ Zhang Kungang [Oct 21 17 02:08 ]:
>   Hi,
>   I wonder if I have a webpage, and I want to extract a template from
>   that webpage and apply the obtained template to override default html
>   template, how should I do that? I guess I have known where to put my
>   template. So right now the question is how to extract template from an
>   existing webpages.
>   Thanks!
>   On Saturday, October 26, 2013 at 5:59:41 PM UTC-5, Phil 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/0db5429a-ca80-4607-
>   ae29-ed70aabb2f0b%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/0db5429a-ca80-4607-ae29-ed70aabb2f0b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Where is the data directory on Mac OS X?
       [not found]     ` <0db5429a-ca80-4607-ae29-ed70aabb2f0b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-10-21 16:01       ` John MacFarlane
@ 2017-10-21 21:32       ` Roland Hieber
  1 sibling, 0 replies; 13+ messages in thread
From: Roland Hieber @ 2017-10-21 21:32 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

As for your other question, you can put your custom template anywhere,
and you can use it by specifing the filename for the template with
pandoc's --template=... option.

For example, if I have a template make-everything-nice.html in the same
folder where I call pandoc from, I can do pandoc -t html
--template=make-everything-nice inputfile.

 - Roland

On 21.10.2017 11:08, Zhang Kungang wrote:
> Hi,
> 
> I wonder if I have a webpage, and I want to extract a template from that
> webpage and apply the obtained template to override default html
> template, how should I do that? I guess I have known where to put my
> template. So right now the question is how to extract template from an
> existing webpages.
> 
> Thanks!


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-10-21 21:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-26 22:59 Where is the data directory on Mac OS X? Phi
     [not found] ` <b49a725c-bf3d-4a5b-b356-b168d054d151-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-10-27  2:16   ` yi lu
     [not found]     ` <CAKcmqqwCXGDmRujyev=suTcY0S0ox5AaGzKp9DTjHQCwcaObbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-27 15:58       ` Phi
     [not found]         ` <fe0e9ddd-f288-402a-8142-5153fb17f89b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-10-27 19:55           ` John MacFarlane
     [not found]             ` <20131027195548.GB796-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-10-27 20:09               ` Phi
     [not found]                 ` <b626f74b-ebe5-448d-a024-4c8389fba64e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-07-31  4:18                   ` Eduardo Flores
     [not found]                     ` <c99c939c-90b9-472b-b739-9eb61b30b108-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-07-31 16:34                       ` Phil
2015-08-06 19:54                       ` John MacFarlane
2016-06-16 16:00   ` Florian Dierickx
     [not found]     ` <b669bc45-278f-460e-8905-79a727e72a98-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-06-17  5:00       ` John MacFarlane
2017-10-21  9:08   ` Zhang Kungang
     [not found]     ` <0db5429a-ca80-4607-ae29-ed70aabb2f0b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-21 16:01       ` John MacFarlane
2017-10-21 21:32       ` Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).