public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pdf as output format
@ 2022-02-11 13:25 Joost
       [not found] ` <30b0d38f-9c1f-44dd-8adc-edc3d37685f2-jFIJ+Wc5/Vo7lZ9V/NTDHw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Joost @ 2022-02-11 13:25 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi,

The other day I noticed that `pdf` is listed as output format in the user manual. Is that a viable alternative to specifying an output file with a `.pdf` extension? It doesn't seem to be discussed any further in the manual, so I was wondering if it's equivalent.

TIA

-- 
Joost Kremers
Life has its moments

-- 
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/30b0d38f-9c1f-44dd-8adc-edc3d37685f2%40www.fastmail.com.


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

* AW: pdf as output format
       [not found] ` <30b0d38f-9c1f-44dd-8adc-edc3d37685f2-jFIJ+Wc5/Vo7lZ9V/NTDHw@public.gmane.org>
@ 2022-02-11 13:40   ` denis.maier-NSENcxR/0n0
       [not found]     ` <ea2a973f01064cb1add1e7f8ffaf1a72-NSENcxR/0n0@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2022-02-11 13:40 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Don't think so. Try this:

pandoc test.txt -t pdf

=> This gave me the result on stdout. So you'll have to specify the output filename anyway unless you want to use the pdf stream directly...

(I guess the logic is this:  `pandoc test.txt -o test.pdf` will implicitely add `-t pdf`.) 

Denis

> -----Ursprüngliche Nachricht-----
> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-
> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Joost
> Gesendet: Freitag, 11. Februar 2022 14:26
> An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: pdf as output format
> 
> Hi,
> 
> The other day I noticed that `pdf` is listed as output format in the user
> manual. Is that a viable alternative to specifying an output file with a `.pdf`
> extension? It doesn't seem to be discussed any further in the manual, so I
> was wondering if it's equivalent.
> 
> TIA
> 
> --
> Joost Kremers
> Life has its moments
> 
> --
> 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/30b0d38f-9c1f-44dd-
> 8adc-edc3d37685f2%40www.fastmail.com.

-- 
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/ea2a973f01064cb1add1e7f8ffaf1a72%40unibe.ch.


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

* AW: pdf as output format
       [not found]     ` <ea2a973f01064cb1add1e7f8ffaf1a72-NSENcxR/0n0@public.gmane.org>
@ 2022-02-11 13:43       ` denis.maier-NSENcxR/0n0
       [not found]         ` <1a463da22a9b4a3cafe7da513b20296f-NSENcxR/0n0@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2022-02-11 13:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Oh, I've just realized the manual says:
> Note that odt, docx, epub, and pdf output will not be directed to stdout unless forced with -o -.

`pandoc test.txt -t docx` gives me:
Cannot write docx output to terminal.
Specify an output file using the -o option, or use '-o -' to force output to stdout.

But the info in the manual regarding pdf seems not to be valid ATM.


> -----Ursprüngliche Nachricht-----
> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-
> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von denis.maier-NSENcxR/0n0@public.gmane.org
> Gesendet: Freitag, 11. Februar 2022 14:40
> An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: AW: pdf as output format
> 
> Don't think so. Try this:
> 
> pandoc test.txt -t pdf
> 
> => This gave me the result on stdout. So you'll have to specify the output
> filename anyway unless you want to use the pdf stream directly...
> 
> (I guess the logic is this:  `pandoc test.txt -o test.pdf` will implicitely add `-t
> pdf`.)
> 
> Denis
> 
> > -----Ursprüngliche Nachricht-----
> > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-
> > discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Joost
> > Gesendet: Freitag, 11. Februar 2022 14:26
> > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > Betreff: pdf as output format
> >
> > Hi,
> >
> > The other day I noticed that `pdf` is listed as output format in the
> > user manual. Is that a viable alternative to specifying an output file
> > with a `.pdf` extension? It doesn't seem to be discussed any further
> > in the manual, so I was wondering if it's equivalent.
> >
> > TIA
> >
> > --
> > Joost Kremers
> > Life has its moments
> >
> > --
> > 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/30b0d38f-9c1f-44dd-
> > 8adc-edc3d37685f2%40www.fastmail.com.
> 
> --
> 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/ea2a973f01064cb1add1e7f8ffaf1a72%40unibe.ch.

-- 
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/1a463da22a9b4a3cafe7da513b20296f%40unibe.ch.


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

* Re: AW: pdf as output format
       [not found]         ` <1a463da22a9b4a3cafe7da513b20296f-NSENcxR/0n0@public.gmane.org>
@ 2022-02-12  0:11           ` John MacFarlane
       [not found]             ` <yh480kbkzdj64x.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: John MacFarlane @ 2022-02-12  0:11 UTC (permalink / raw)
  To: denis.maier-NSENcxR/0n0, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

<denis.maier-NSENcxR/0n0@public.gmane.org> writes:

> But the info in the manual regarding pdf seems not to be valid ATM.

What, specifically, is inaccurate?


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

* AW: AW: pdf as output format
       [not found]             ` <yh480kbkzdj64x.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2022-02-12  7:30               ` denis.maier-NSENcxR/0n0
       [not found]                 ` <e3bcdafee76f4f18ac317542573f7e75-NSENcxR/0n0@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2022-02-12  7:30 UTC (permalink / raw)
  To: jgm-TVLZxgkOlNX2fBVCVOL8/A, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

the manual says:
> Note that odt, docx, epub, and pdf output will not be directed to stdout unless forced with -o -.

`pandoc test.txt -t docx` gives me:
Cannot write docx output to terminal.
Specify an output file using the -o option, or use '-o -' to force output to stdout.

So that is consistent with what the manual is says
`pandoc test.txt -t pdf` raise the same error message, but I see the pdf output on stdout (even though not being forced with  '-o -')



________________________________________
Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
Gesendet: Samstag, 12. Februar 2022 01:11:26
An: Maier, Denis Christian (UB); pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: Re: AW: pdf as output format

<denis.maier-NSENcxR/0n0@public.gmane.org> writes:

> But the info in the manual regarding pdf seems not to be valid ATM.

What, specifically, is inaccurate?


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

* Re: AW: AW: pdf as output format
       [not found]                 ` <e3bcdafee76f4f18ac317542573f7e75-NSENcxR/0n0@public.gmane.org>
@ 2022-02-13  7:47                   ` John MacFarlane
  0 siblings, 0 replies; 6+ messages in thread
From: John MacFarlane @ 2022-02-13  7:47 UTC (permalink / raw)
  To: denis.maier-NSENcxR/0n0, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


I see now.  I will fix this small inconsistency so that
`-t pdf` behaves the same as `-t docx` in a terminal.

<denis.maier-NSENcxR/0n0@public.gmane.org> writes:

> the manual says:
>> Note that odt, docx, epub, and pdf output will not be directed to stdout unless forced with -o -.
>
> `pandoc test.txt -t docx` gives me:
> Cannot write docx output to terminal.
> Specify an output file using the -o option, or use '-o -' to force output to stdout.
>
> So that is consistent with what the manual is says
> `pandoc test.txt -t pdf` raise the same error message, but I see the pdf output on stdout (even though not being forced with  '-o -')
>
>
>
> ________________________________________
> Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
> Gesendet: Samstag, 12. Februar 2022 01:11:26
> An: Maier, Denis Christian (UB); pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: Re: AW: pdf as output format
>
> <denis.maier-NSENcxR/0n0@public.gmane.org> writes:
>
>> But the info in the manual regarding pdf seems not to be valid ATM.
>
> What, specifically, is inaccurate?


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

end of thread, other threads:[~2022-02-13  7:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 13:25 pdf as output format Joost
     [not found] ` <30b0d38f-9c1f-44dd-8adc-edc3d37685f2-jFIJ+Wc5/Vo7lZ9V/NTDHw@public.gmane.org>
2022-02-11 13:40   ` AW: " denis.maier-NSENcxR/0n0
     [not found]     ` <ea2a973f01064cb1add1e7f8ffaf1a72-NSENcxR/0n0@public.gmane.org>
2022-02-11 13:43       ` denis.maier-NSENcxR/0n0
     [not found]         ` <1a463da22a9b4a3cafe7da513b20296f-NSENcxR/0n0@public.gmane.org>
2022-02-12  0:11           ` John MacFarlane
     [not found]             ` <yh480kbkzdj64x.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2022-02-12  7:30               ` AW: " denis.maier-NSENcxR/0n0
     [not found]                 ` <e3bcdafee76f4f18ac317542573f7e75-NSENcxR/0n0@public.gmane.org>
2022-02-13  7:47                   ` John MacFarlane

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