From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32562 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephan Meijer Newsgroups: gmane.text.pandoc Subject: Re: Templates Date: Tue, 9 May 2023 03:27:11 -0700 (PDT) Message-ID: <124b5669-9443-441f-84e2-633e3d8ff9bdn@googlegroups.com> References: <55ba4c16-2d9f-4ce5-9960-8fd656cec4bfn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_996_74902034.1683628031179" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31345"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCYOPL5A34MBBAGA5CRAMGQEA6VGN2Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 09 12:27:15 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pwKYt-0007ye-D6 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 09 May 2023 12:27:15 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id 46e09a7af769-6ab1468f792sf557396a34.1 for ; Tue, 09 May 2023 03:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1683628034; x=1686220034; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=ssOHJhgMtE0qi6t+EbpjhPtEj/Gqd5sKOgaiBRvTQNE=; b=H8n2Occ4UbxlwRqmb9XLK8NNvU+zUfCqf743HvuMK8s+kz+QoZZaICUxRd81nTH1Hk ZPPcbTxa/TmhDip3n9ui9QS1iPcrNhd6H2d4EgRMAvZDwTPlYUx2kHp/86aMNkZF6E1t Lp76j55smYn3ZhnNrLW06qLsrq0jzJLDvhFa617+ud1Y0HpJA5qZb/86ymYLwqmIN7kk UkBq8obP35DiYjwzGtaQ0yeJE20jH8DNLWTn+jDlQP1BrAVD0+RsdHmIwuvoFBTGOUKJ LCK/6OtxrcyRdCHBVZ60POXHH7wL1H80VI/AheezOpZGuXavNfQc+rpMD+/q2pJ9mn7l HVsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stephanmeijer-com.20221208.gappssmtp.com; s=20221208; t=1683628034; x=1686220034; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=ssOHJhgMtE0qi6t+EbpjhPtEj/Gqd5sKOgaiBRvTQNE=; b=5N4RkuvsCU8fXwjBsVytExlEsK3bOaOVco4eBh/qBVZtXgfnXKFgZRRMGP9cGBcBdT YG2KghQ0OfU4DsB8vC3VEmTYKK4Nv4qCOGRnIQu8IcghysjIgjRqctKBbDa83KHpi+Lg yVbqzHrkGb+FY+ddDqdCu43d1NXRxz+FpLwqQNergkU1Hd4UeinSdvE+WQ9oXW3E5QE5 sRH9vVZIZrinlXWNSpMi2dUwhbdykV3Vz5+FCiAzfUG0Sg9jw4V72eWyPPAafeBrrbkG UJN6FWpP1sqm5yZSRIP7M8SJvNnFB0180gB5TrNwzKiS7mGkK2PGjVJET//R4OtMImg+ 19Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683628034; x=1686220034; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=ssOHJhgMtE0qi6t+EbpjhPtEj/Gqd5sKOgaiBRvTQNE=; b=JyM1IlKMwkV9AcYn3zmhuUAWFOhcWkehXs0FgRylh3AbYAX8qS0bSloahG/j6L95e+ yu9rt6xMsHP5TF0tyNqZv0NxuJ+yRlaLh+CNE8G1YHYspj7daCp86KdWny40q6ayhu5Z wRSGiPTtb8AOgUYuPOiczh+1x9AWSYCabq+8BI+005bJ2dfp6vKXt2h5woiuN5N8SEDq fU2ESTSl4IJT6f66u+Nj5ZZrMOjUaKfOUCFwLxyStZpV1O6ueAWpvnpyoYFY4eV4p3yF F/5Kn2PGk/iUkEuJ1qGKm+KPu/1kNpoBHO9FIBLljMivTcwqmx Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDwNmjCMibxDCeB/efKyy1pTwT7fDOOSS3YVGCYLHhSgUNAA3gRM 7V9Woglu8kmCIMAEqqaMwkc= X-Google-Smtp-Source: ACHHUZ71D26NLvJBB7SkR/ZpMzd/JtNQNnBBcX89KnmkBSwFktmgo70Jcj2FqhCdAmtn1spTFIZWlg== X-Received: by 2002:a05:6870:d8b:b0:196:2a88:5d1c with SMTP id mj11-20020a0568700d8b00b001962a885d1cmr923049oab.10.1683628034231; Tue, 09 May 2023 03:27:14 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6871:4e4a:b0:192:c1d4:e4da with SMTP id uj10-20020a0568714e4a00b00192c1d4e4dals4262141oab.4.-pod-prod-gmail; Tue, 09 May 2023 03:27:12 -0700 (PDT) X-Received: by 2002:a05:6870:d998:b0:195:9f02:3036 with SMTP id gn24-20020a056870d99800b001959f023036mr4770305oab.6.1683628031812; Tue, 09 May 2023 03:27:11 -0700 (PDT) In-Reply-To: <55ba4c16-2d9f-4ce5-9960-8fd656cec4bfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: me-nPKYAObcRdo6Blr+0TYHagC/G2K4zDHf@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.io gmane.text.pandoc:32562 Archived-At: ------=_Part_996_74902034.1683628031179 Content-Type: multipart/alternative; boundary="----=_Part_997_150995384.1683628031179" ------=_Part_997_150995384.1683628031179 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I tried sending this earlier but I failed Pandoc default templates can be exported, e.g.: *$ pandoc -D html* *$ pandoc -D markdown* See also https://github.com/jgm/pandoc/tree/main/data/templates Pandoc templates can be included in pandoc calles, e.g: *$ pandoc -s --from=3Ddocx --to=3Dhtml --template=3D/path/to/template.html= =20 /path/to/input.docx* the *-s* is very important as it activates standalone use (it might be=20 automatically activated by using *--template*). See attachment of an example template (I use for Docx) Hope I was of any help. Stephan. On Monday, 8 May 2023 at 14:09:34 UTC+2 Ian Cornelius wrote: > Start with > https://pandoc.org/MANUAL.html#option--reference-doc > and > https://pandoc.org/MANUAL.html#templates > > On Sunday, May 7, 2023 at 1:41:22=E2=80=AFPM UTC-5 Mark Pinsley wrote: > >> How do I create visually good looking output from a file. >> >> I have attached two documents a .docx and .ppt >> >> To create these, all I did was hit new document and choose one of the=20 >> existing template >> >> If I have a .md file. How can I get it to physically look good and what= =20 >> tools are available >> >> 1. How do I create a template for the output file being a .docx, a ppt,= =20 >> a pdf using templates >> 2. How do I create the templates >> 3. I am on a PC do I have to put the templates somwhere specific on my= =20 >> drive >> 4. Is there a place to see existing templates >> 5. What is the command I need to use to do that >> 6. Same question for HTML >> >> If there is a video I should watch let me know. once again I am new to= =20 >> this and not a programmer. I haven't found too many Pandoc videos >> >> Thanks >> Mark >> >> --=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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/124b5669-9443-441f-84e2-633e3d8ff9bdn%40googlegroups.com. ------=_Part_997_150995384.1683628031179 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I tried sending this earlier but I failed
Pandoc default templates can be exported, e.g.:

$ = pandoc -D html
$ pandoc -D markdown

S= ee also=C2=A0https://github.com/jgm/pandoc/tree/main/data/templates

Pandoc templates can be included in pandoc calles, e.g:=

= $ pandoc -s --from=3Ddocx --to=3Dhtml --template=3D/path/to/template= .html /path/to/input.docx

the -s is very important as it activates stan= dalone use (it might be automatically activated by using --template).

S= ee attachment of an example template (I use for Docx)

Hope I was of any help.

Stephan.

O= n Monday, 8 May 2023 at 14:09:34 UTC+2 Ian Cornelius wrote:
Start with
and=

On Sunday, May 7, 2= 023 at 1:41:22=E2=80=AFPM UTC-5 Mark Pinsley wrote:
How do I create visually good looking output = from a file.

I have attached two documents a .docx and .= ppt

To create these, all I did was hit new documen= t and choose one of the existing template

If I hav= e a .md file. How can I get it to physically look good and what tools are a= vailable

1. How do I create a template for=C2=A0 t= he output file being a .docx, a ppt, a pdf using templates
2. How= do I create the templates
3. I am on a PC do I have to put the t= emplates somwhere specific on my drive
4. Is there a place to see= existing templates
5. What is the command I need to use to do th= at
6. Same question for HTML

If there is= a video I should watch let me know. once again I am new to this and not a = programmer.=C2=A0 I haven't found too many Pandoc videos

=
Thanks
Mark

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/124b5669-9443-441f-84e2-633e3d8ff9bdn%40googlegroups.= com.
------=_Part_997_150995384.1683628031179-- ------=_Part_996_74902034.1683628031179 Content-Type: text/html; charset=US-ASCII; name=template.html Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=template.html X-Attachment-Id: a6246093-196c-4f0d-88b4-433a94bf4f3e Content-ID: $for(author-meta)$ $endfor$ $if(date-meta)$ $endif$ $if(keywords)$ $for(keywords)$ $endfor$ $endif$ $if(description-meta)$ $endif$ $if(title-prefix)$ $endif$ $if(pagetitle)$ $pagetitle$ $elseif(title)$ $title$ $else$ nldoc:null $endif$ $if(subtitle)$ $endif$ $if(abstract-title)$ $endif$ $if(abstract)$ $endif$ $if(subject)$ $endif$ $if(category)$ $endif$ $if(lang)$ $endif$ $if(dir)$ $endif$ $body$ ------=_Part_996_74902034.1683628031179--