public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* looking for advices: markdown => latex => base64 pdf  conversion
@ 2019-11-01 10:20 Elia Camposilvan
       [not found] ` <601f1834-a30a-43e2-9537-13b0868e939a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Elia Camposilvan @ 2019-11-01 10:20 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi, I'm looking for help because I have no clue on how to convert from 
markdown to latex to pdf (specifically in base 64).
In particular I don't understand wheter the pandoc cli is built to only 
generate pdf files or is also able to return in stdout the pdf in base 64 
without generating any additional file

-- 
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/601f1834-a30a-43e2-9537-13b0868e939a%40googlegroups.com.

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

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

* Re: looking for advices: markdown => latex => base64 pdf  conversion
       [not found] ` <601f1834-a30a-43e2-9537-13b0868e939a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-11-01 16:50   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2019-11-01 16:50 UTC (permalink / raw)
  To: Elia Camposilvan, pandoc-discuss


I am understanding that

1. You want the PDF to stdout
2. You want it in base64 encoding.

There currently isn't a clean way to do 1, though there's an
open issue for this.
https://github.com/jgm/pandoc/issues/5751

For base64, just pipe through base64.

So this should work:

ln -s /dev/stdout stdout.pdf
pandoc myfile.md -o stdout.pdf | base64


Elia Camposilvan <eliacamposilvan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi, I'm looking for help because I have no clue on how to convert from 
> markdown to latex to pdf (specifically in base 64).
> In particular I don't understand wheter the pandoc cli is built to only 
> generate pdf files or is also able to return in stdout the pdf in base 64 
> without generating any additional file
>
> -- 
> 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/601f1834-a30a-43e2-9537-13b0868e939a%40googlegroups.com.


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

end of thread, other threads:[~2019-11-01 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-01 10:20 looking for advices: markdown => latex => base64 pdf conversion Elia Camposilvan
     [not found] ` <601f1834-a30a-43e2-9537-13b0868e939a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-11-01 16:50   ` 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).