public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Where is the data directory on Mac OS X?
Date: Sat, 21 Oct 2017 09:01:16 -0700	[thread overview]
Message-ID: <20171021160116.GB88234@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <0db5429a-ca80-4607-ae29-ed70aabb2f0b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

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


  parent reply	other threads:[~2017-10-21 16:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-26 22:59 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 [this message]
2017-10-21 21:32       ` Roland Hieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171021160116.GB88234@Johns-MacBook-Pro.local \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).