public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* 3 step quick command ?
@ 2017-06-01  0:31 htory327-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <c6856ebd-b9f3-464d-9e7d-ee7a257d4b60-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: htory327-Re5JQEeQqe8AvxtiuMwx3w @ 2017-06-01  0:31 UTC (permalink / raw)
  To: pandoc-discuss


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

So I was wondering if it's possible to do a 3-step output

My current way is by writing in markdown -> converting to latex -> 
converting to PDF 
latex output looks much better so I use that, but is annoying to use two 
commands, anyone have a way to do all three in one command?

-- 
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/c6856ebd-b9f3-464d-9e7d-ee7a257d4b60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: 3 step quick command ?
       [not found] ` <c6856ebd-b9f3-464d-9e7d-ee7a257d4b60-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-06-01  0:39   ` iandol
       [not found]     ` <2bc67387-92a7-406e-b2b3-966ba5fe9291-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: iandol @ 2017-06-01  0:39 UTC (permalink / raw)
  To: pandoc-discuss


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

Why not specify --output=myfile.pdf to get pandoc to run the latex command 
for you? 

http://pandoc.org/MANUAL.html#creating-a-pdf

Pandocomatic also allows you to specify --to format as a pdf so you don't 
need to specify the output filename if that works better for you (plus 
pandocomatic supports multiple LaTeX templates depending on your needs):

https://heerdebeer.org/Software/markdown/pandocomatic/

Ian

On Thursday, 1 June 2017 08:31:26 UTC+8, htor...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>
> So I was wondering if it's possible to do a 3-step output
>
> My current way is by writing in markdown -> converting to latex -> 
> converting to PDF 
> latex output looks much better so I use that, but is annoying to use two 
> commands, anyone have a way to do all three in one command?
>

-- 
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/2bc67387-92a7-406e-b2b3-966ba5fe9291%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: 3 step quick command ?
       [not found]     ` <2bc67387-92a7-406e-b2b3-966ba5fe9291-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-06-04 20:07       ` htory327-Re5JQEeQqe8AvxtiuMwx3w
       [not found]         ` <4bb6a22b-0b63-4fee-b2a8-63e847848c2c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-06-09  7:30       ` Marc Chantreux
  1 sibling, 1 reply; 6+ messages in thread
From: htory327-Re5JQEeQqe8AvxtiuMwx3w @ 2017-06-04 20:07 UTC (permalink / raw)
  To: pandoc-discuss


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

think this is a little too complicated for me

Den torsdag 1 juni 2017 kl. 09:39:02 UTC+9 skrev iandol:
>
> Why not specify --output=myfile.pdf to get pandoc to run the latex command 
> for you? 
>
> http://pandoc.org/MANUAL.html#creating-a-pdf
>
> Pandocomatic also allows you to specify --to format as a pdf so you don't 
> need to specify the output filename if that works better for you (plus 
> pandocomatic supports multiple LaTeX templates depending on your needs):
>
> https://heerdebeer.org/Software/markdown/pandocomatic/
>
> Ian
>
> On Thursday, 1 June 2017 08:31:26 UTC+8, htor...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>>
>> So I was wondering if it's possible to do a 3-step output
>>
>> My current way is by writing in markdown -> converting to latex -> 
>> converting to PDF 
>> latex output looks much better so I use that, but is annoying to use two 
>> commands, anyone have a way to do all three in one command?
>>
>

-- 
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/4bb6a22b-0b63-4fee-b2a8-63e847848c2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: 3 step quick command ?
       [not found]         ` <4bb6a22b-0b63-4fee-b2a8-63e847848c2c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-06-04 20:35           ` John Muccigrosso
  0 siblings, 0 replies; 6+ messages in thread
From: John Muccigrosso @ 2017-06-04 20:35 UTC (permalink / raw)
  To: pandoc-discuss


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

On Sunday, June 4, 2017 at 4:07:07 PM UTC-4, htor...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>
> think this is a little too complicated for me
>

It's one fewer steps than you're using now, so it's less complicated.

pandoc inputfile.md -o outputfile.pdf

 

-- 
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/dc2bc543-64c3-473c-9468-4d1f074bb88b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: 3 step quick command ?
       [not found]     ` <2bc67387-92a7-406e-b2b3-966ba5fe9291-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-06-04 20:07       ` htory327-Re5JQEeQqe8AvxtiuMwx3w
@ 2017-06-09  7:30       ` Marc Chantreux
       [not found]         ` <20170609073056.GA9497-jogif5VZmyY91FlJP1ih0VAUjnlXr6A1@public.gmane.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Marc Chantreux @ 2017-06-09  7:30 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

hi,

On Wed, May 31, 2017 at 05:39:02PM -0700, iandol wrote:
> Pandocomatic also allows you to specify --to format as a pdf so you don't 
> need to specify the output filename if that works better for you (plus 
> pandocomatic supports multiple LaTeX templates depending on your needs):
> 
> https://heerdebeer.org/Software/markdown/pandocomatic/

is there a gain switching from make to pandocomatic ?

regards

-- 
Marc Chantreux (eiro on github and freenode)
http://eiro.github.com/
http://eiro.github.com/atom.xml
"Don't believe everything you read on the Internet"
    -- Abraham Lincoln


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

* Re: 3 step quick command ?
       [not found]         ` <20170609073056.GA9497-jogif5VZmyY91FlJP1ih0VAUjnlXr6A1@public.gmane.org>
@ 2017-06-09 11:41           ` iandol
  0 siblings, 0 replies; 6+ messages in thread
From: iandol @ 2017-06-09 11:41 UTC (permalink / raw)
  To: pandoc-discuss


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

On Friday, 9 June 2017 15:31:05 UTC+8, marc chantreux wrote:
>
> > https://heerdebeer.org/Software/markdown/pandocomatic/ 
>
> is there a gain switching from make to pandocomatic ? 
>

I personally prefer that with Pandocomatic (or Panzer), I use simple YAML 
metadata for templating. The syntax is clearly focussed on Pandoc so it is *very 
close/identical* to the Pandoc command-line settings/metadata. I like tools 
which are made for the job, and that have a very clearly specified 
interface (pre/postprocessors etc). 

For people who have never used make, then it is *much* easier to explain 
YAML metadata to them.

But if you look at something like Pandoc-Scholar[1], then you see an 
elegant makefile useable by non-experts can do what these specialised tools 
can do, and though the makefile is more verbose perhaps than pandocomatic, 
it is bound to be more flexible.

Ian

[1] https://pandoc-scholar.github.io

 

-- 
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/86d3ff10-0fa6-4221-bac6-fd931e8a1434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2017-06-09 11:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-01  0:31 3 step quick command ? htory327-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <c6856ebd-b9f3-464d-9e7d-ee7a257d4b60-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-01  0:39   ` iandol
     [not found]     ` <2bc67387-92a7-406e-b2b3-966ba5fe9291-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-04 20:07       ` htory327-Re5JQEeQqe8AvxtiuMwx3w
     [not found]         ` <4bb6a22b-0b63-4fee-b2a8-63e847848c2c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-04 20:35           ` John Muccigrosso
2017-06-09  7:30       ` Marc Chantreux
     [not found]         ` <20170609073056.GA9497-jogif5VZmyY91FlJP1ih0VAUjnlXr6A1@public.gmane.org>
2017-06-09 11:41           ` iandol

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