From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18364 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Where is the data directory on Mac OS X? Date: Sat, 21 Oct 2017 09:01:16 -0700 Message-ID: <20171021160116.GB88234@Johns-MacBook-Pro.local> References: <0db5429a-ca80-4607-ae29-ed70aabb2f0b@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1508601695 17053 195.159.176.226 (21 Oct 2017 16:01:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Oct 2017 16:01:35 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBW66VXHQKGQEAKKTADA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Oct 21 18:01:31 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f64.google.com ([209.85.218.64]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5wDE-000386-Hg for gtp-pandoc-discuss@m.gmane.org; Sat, 21 Oct 2017 18:01:24 +0200 Original-Received: by mail-oi0-f64.google.com with SMTP id n82sf13876947oig.22 for ; Sat, 21 Oct 2017 09:01:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1508601691; cv=pass; d=google.com; s=arc-20160816; b=BhkUVuc1/3XJTvcr+uebAsUtHttooX54pGM9+PdpZpurbVnXombLq2xwWYF6gTIkkc MyqbvkxVVcKMiH+kNlWPdFlCJs9aHjGXu0zoqq0bEaTOr6GwEBp+OawqVCpFp/bmumcb VyO73s9NR2fNUmgoxZNsOdbmRIomvQbA8extQjNG0ueOxixYhPf+F2b1dvajP//npqiV 600n2Jtd2boXINQYDFAe++8SBlMAalMs8AI+60UygHem3yafFdNh/xSjklHgvMGvkH8N Uf327VkROBklNSAiC5aGwvIsUMsJLus+utVWF/fwOeNhegJBPRAz07sKKT4SQHRMQqpC SCXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=rxu1ywtIGW5/YFCYiFdCwE90M7MjFTZWQ/qAZVFsF+U=; b=Doq8H+kgVYYKSVC+LYkN7bt9xA8dxoGAWsjL38dwLHzSlWV0Ppj8/wfsvVy1gWAvUW Dk1oiu7l/GtNN54NVSgyGt2iFtRs142LfQZ5oB720KLeretwwm8k1jHDkaVdz/EwLY+M GU7RYzGMLff/wCIBYCcUDrVd5DhK66pS2l3TYPaomfm965Hbw7gqKT7ZeIu5NemdKoFn R1kbqiTucVtoSLqeSavQiv3ZjEWD6KvMNENENOKK9Y5AkCQU4vk9kIlur+FSN16p3RBZ qrBTJhiWeHz29IxZ5mVwgwgdW81n3AgSpYXM1lUmQPcf837foaJvGykjzqmubDyT2bvE ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=PY4X8UtV; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::232 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=rxu1ywtIGW5/YFCYiFdCwE90M7MjFTZWQ/qAZVFsF+U=; b=DAjS6c8oP0ra9gUlCwI0Y81Sv8YQtP11ev6dbBH7kAjxvd2KXvhVVoTPogHFMx5evi +RKxXt5pK1ijedUPQ8IRn8PiOlYAoTNt3Nextpisvtb4sB5PhIbtfGDyCUp281Mc7Aaf mVjRvcg7GuXJGuLBreiBRraQyqdp31c4nM3BzNercV2XWTSOflHZ2UmPADaRc+MIStAu g8bTJ81ScsmNmYFcj70+NH4qXRSeej6ttsy+yomDrXun6NLkACBjC7sl3/73Qwc1zKC1 tsj19c5L9rfzMi7Teya/aqEleDXC17anU5v4cvy88MOY+nfS5/GLhklxf/DIsHAhWXV/ uyVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version: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:list-subscribe:list-unsubscribe; bh=rxu1ywtIGW5/YFCYiFdCwE90M7MjFTZWQ/qAZVFsF+U=; b=PAWSW8Bk2E9c+RMTBQQiyi23fiyrGKsuhaK+coJspeQbAFXDhZ7ElYMG4Nw3zD1Mkv XfEmdHY45v+TMUpbQOkJRZNeGk9IvvRQ/sxpbY1v3LqRpjuEEdfz+kd6C08ZiCdpy7PU DlaG22QHCZm6AG6VcFZfgt1k1HgBgSq12cwQ4Znf0G8pV2vWbpT6b4zEjRAcoqkaW8G4 do2gNP0dmPQ3kf9Otr7wb/ajCCMqS3YSIAyCxbcBGe9o0s/KE9rGnbvEw4Ws6cQS2zmV q2vhru4a4Q5QhExA/ShGmXD3w36+44N+0f6aKDCOLWqXV7K1PldIKAp5dHj148E54IO/ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaVgODH2S2VP971Jno89r1LDNt0WmQeBnXp06a2lisC3Fm6HFe5t NTF8NdGtiZ54QdcV8MPe0qY= X-Google-Smtp-Source: ABhQp+R9G9Wek/CNawwu+K+x9q3KHvjhTN0vJS9c9EBj4qXzSMcmn8yRYRO5S6kUQx5w4gClZRmERA== X-Received: by 10.157.12.211 with SMTP id o19mr291091otd.0.1508601691829; Sat, 21 Oct 2017 09:01:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.72.171 with SMTP id d40ls3550804otf.11.gmail; Sat, 21 Oct 2017 09:01:31 -0700 (PDT) X-Received: by 10.202.236.17 with SMTP id k17mr3977570oih.20.1508601691035; Sat, 21 Oct 2017 09:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508601691; cv=none; d=google.com; s=arc-20160816; b=bvu0/LRS8DJ/SYBG9Wngj85+uE1Evqx4oNQH09icu/xypJ8ZYKi9h5EXiLJd/GrZF1 tYbTkj4oBAa874Razg8pQ61et5AEdlsqfAEaCAWRAvTAQ7rg0hyteWGL/HiRRiN6zDn4 8SFJ9cR+wMw81YRGxKF9Y1AQHEDrKqc8GCdkXe0EHkVwV6zrDQOTJmmeeIi9UomHo0GG 6eDjW4WQ8M4rYjhNxlZG6rDmuuYUoH4r7zwtRsTF4HLjsuLMjWgs5BdeFHFECVUOBBNL cNAUGbfIK7X9eTDVADcLmJ7Zzc5FsGMwJagR7RCjg1iamwQS4Wf0KizQp0XT18uWm2iz faZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=5L4V9NhzS5oLgT2Ci6TC7iZH/t/DJFlMx4XPj+s0jfQ=; b=Ba+0SJJf408zS4peC6fvLsZ1wpvSLaS32vqw/gJAxf3mU8YfvyhDDFWIOamOAYsNDj cxXQk3pskizQJaNS78mt1VJ5xt6QXTzoZ6yUNYl2awFSsz4KR5zbj9xUCUbZGSXwftb3 aQW7+m9V8L2gWdmBsQaqIp/EMm3sRj07FkTn6/V0r1EPGDY5TWndEiInPYUcPu14YxW5 3IalZy0nLu4/8GKoYqtFxSbR4p29aU0cXngyUjTTTq0UcGVY7vKxvqeNx46PgUcuvQhi l/980L7DNrgqhDLIrgLIbBcviPf9QWBbYBuz/QrY9xXkcaUNRzJkjO7oCVsM1a72PaiJ P5HQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=PY4X8UtV; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::232 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com. [2607:f8b0:400e:c00::232]) by gmr-mx.google.com with ESMTPS id i1si316911ote.0.2017.10.21.09.01.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Oct 2017 09:01:31 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::232 as permitted sender) client-ip=2607:f8b0:400e:c00::232; Original-Received: by mail-pf0-x232.google.com with SMTP id z11so14143749pfk.4 for ; Sat, 21 Oct 2017 09:01:31 -0700 (PDT) X-Received: by 10.159.214.139 with SMTP id n11mr6298001plp.289.1508601689735; Sat, 21 Oct 2017 09:01:29 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id z1sm5291734pge.45.2017.10.21.09.01.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Oct 2017 09:01:28 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B8800A1ED; Sat, 21 Oct 2017 12:01:17 -0400 (EDT) Content-Disposition: inline In-Reply-To: <0db5429a-ca80-4607-ae29-ed70aabb2f0b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=PY4X8UtV; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::232 as permitted sender) smtp.mailfrom=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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18364 Archived-At: 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