public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Templates
@ 2023-05-07 18:41 Mark Pinsley
       [not found] ` <ddf4e9b7-390b-4475-9e06-c689e95b1658n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Pinsley @ 2023-05-07 18:41 UTC (permalink / raw)
  To: pandoc-discuss


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

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 
existing template

If I have a .md file. How can I get it to physically look good and what 
tools are available

1. How do I create a template for  the 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 templates 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 that
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.  I haven't found too many Pandoc videos

Thanks
Mark

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ddf4e9b7-390b-4475-9e06-c689e95b1658n%40googlegroups.com.

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

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

* Re: Templates
       [not found] ` <ddf4e9b7-390b-4475-9e06-c689e95b1658n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-05-08 12:09   ` Ian Cornelius
       [not found]     ` <55ba4c16-2d9f-4ce5-9960-8fd656cec4bfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Cornelius @ 2023-05-08 12:09 UTC (permalink / raw)
  To: pandoc-discuss


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

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 PM 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 
> existing template
>
> If I have a .md file. How can I get it to physically look good and what 
> tools are available
>
> 1. How do I create a template for  the 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 templates 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 that
> 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.  I haven't found too many Pandoc videos
>
> Thanks
> Mark
>
>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/55ba4c16-2d9f-4ce5-9960-8fd656cec4bfn%40googlegroups.com.

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

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

* Re: Templates
       [not found]     ` <55ba4c16-2d9f-4ce5-9960-8fd656cec4bfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-05-09 10:27       ` Stephan Meijer
  0 siblings, 0 replies; 3+ messages in thread
From: Stephan Meijer @ 2023-05-09 10:27 UTC (permalink / raw)
  To: pandoc-discuss


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

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=docx --to=html --template=/path/to/template.html 
/path/to/input.docx*

the *-s* is very important as it activates standalone use (it might be 
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 PM 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 
>> existing template
>>
>> If I have a .md file. How can I get it to physically look good and what 
>> tools are available
>>
>> 1. How do I create a template for  the 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 templates 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 that
>> 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.  I haven't found too many Pandoc videos
>>
>> Thanks
>> Mark
>>
>>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/124b5669-9443-441f-84e2-633e3d8ff9bdn%40googlegroups.com.

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

[-- Attachment #2: template.html --]
[-- Type: text/html, Size: 1473 bytes --]

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

end of thread, other threads:[~2023-05-09 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-07 18:41 Templates Mark Pinsley
     [not found] ` <ddf4e9b7-390b-4475-9e06-c689e95b1658n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-08 12:09   ` Templates Ian Cornelius
     [not found]     ` <55ba4c16-2d9f-4ce5-9960-8fd656cec4bfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-09 10:27       ` Templates Stephan Meijer

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).