public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Converting to PDF with fillable form fields
@ 2021-11-11 21:33 Alan Welsh
       [not found] ` <c125a591-c068-4c94-b2cd-f473fd0ee5a2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Welsh @ 2021-11-11 21:33 UTC (permalink / raw)
  To: pandoc-discuss


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

Greetings,

Is there any way for Pandoc to convert HTML (or Markdown) into PDFs whose 
forms are fillable/editable?

The program *wkhtmltopdf* can do it from HTML when the command line option 
*--enable-forms* is passed.

Is there any way for Pandoc to do something like this?

Thanks

-- 
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/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com.

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

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

* Re: Converting to PDF with fillable form fields
       [not found] ` <c125a591-c068-4c94-b2cd-f473fd0ee5a2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-11-12  8:51   ` BPJ
       [not found]     ` <CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9=7XNwFDK6CaA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: BPJ @ 2021-11-12  8:51 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 1754 bytes --]

You can use wkhtmltopdf to produce PDF with pandoc with the options
--pdf-engine=wkhtmltopdf --to=html -o mydoc.pdf

https://pandoc.org/MANUAL.html#option--pdf-engine

https://pandoc.org/MANUAL.html#variables-for-wkhtmltopdf

The question is how well you would fare to get the forms source into the
Markdown source except with (huge) raw HTML blocks.

Den tors 11 nov. 2021 22:33Alan Welsh <itsallenergy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:

> Greetings,
>
> Is there any way for Pandoc to convert HTML (or Markdown) into PDFs whose
> forms are fillable/editable?
>
> The program *wkhtmltopdf* can do it from HTML when the command line
> option *--enable-forms* is passed.
>
> Is there any way for Pandoc to do something like this?
>
> Thanks
>
> --
> 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/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9%3D7XNwFDK6CaA%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 2926 bytes --]

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

* Re: Converting to PDF with fillable form fields
       [not found]     ` <CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9=7XNwFDK6CaA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2021-11-12  9:13       ` William Lupton
       [not found]         ` <CAEe_xxgRD_BZi8Q-W8Kq6vBahE+qajrOc9DMF0zheOxDe+5uvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: William Lupton @ 2021-11-12  9:13 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 2616 bytes --]

Wouldn't this additionally need this pandoc option to pass --enable-forms
to wkhtmltopdf?

--pdf-engine-opt="--enable-forms"

On Fri, 12 Nov 2021 at 08:51, BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> You can use wkhtmltopdf to produce PDF with pandoc with the options
> --pdf-engine=wkhtmltopdf --to=html -o mydoc.pdf
>
> https://pandoc.org/MANUAL.html#option--pdf-engine
>
> https://pandoc.org/MANUAL.html#variables-for-wkhtmltopdf
>
> The question is how well you would fare to get the forms source into the
> Markdown source except with (huge) raw HTML blocks.
>
> Den tors 11 nov. 2021 22:33Alan Welsh <itsallenergy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
>
>> Greetings,
>>
>> Is there any way for Pandoc to convert HTML (or Markdown) into PDFs whose
>> forms are fillable/editable?
>>
>> The program *wkhtmltopdf* can do it from HTML when the command line
>> option *--enable-forms* is passed.
>>
>> Is there any way for Pandoc to do something like this?
>>
>> Thanks
>>
>> --
>> 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/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9%3D7XNwFDK6CaA%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9%3D7XNwFDK6CaA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAEe_xxgRD_BZi8Q-W8Kq6vBahE%2BqajrOc9DMF0zheOxDe%2B5uvA%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 4264 bytes --]

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

* Re: Converting to PDF with fillable form fields
       [not found]         ` <CAEe_xxgRD_BZi8Q-W8Kq6vBahE+qajrOc9DMF0zheOxDe+5uvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2021-11-12 18:23           ` BPJ
  2021-11-12 18:30           ` John MacFarlane
  1 sibling, 0 replies; 5+ messages in thread
From: BPJ @ 2021-11-12 18:23 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 3423 bytes --]

If you say so! I didn't know that.

Den fre 12 nov. 2021 10:14William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org>
skrev:

> Wouldn't this additionally need this pandoc option to pass --enable-forms
> to wkhtmltopdf?
>
> --pdf-engine-opt="--enable-forms"
>
> On Fri, 12 Nov 2021 at 08:51, BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> You can use wkhtmltopdf to produce PDF with pandoc with the options
>> --pdf-engine=wkhtmltopdf --to=html -o mydoc.pdf
>>
>> https://pandoc.org/MANUAL.html#option--pdf-engine
>>
>> https://pandoc.org/MANUAL.html#variables-for-wkhtmltopdf
>>
>> The question is how well you would fare to get the forms source into the
>> Markdown source except with (huge) raw HTML blocks.
>>
>> Den tors 11 nov. 2021 22:33Alan Welsh <itsallenergy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
>>
>>> Greetings,
>>>
>>> Is there any way for Pandoc to convert HTML (or Markdown) into PDFs
>>> whose forms are fillable/editable?
>>>
>>> The program *wkhtmltopdf* can do it from HTML when the command line
>>> option *--enable-forms* is passed.
>>>
>>> Is there any way for Pandoc to do something like this?
>>>
>>> Thanks
>>>
>>> --
>>> 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/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/pandoc-discuss/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9%3D7XNwFDK6CaA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9%3D7XNwFDK6CaA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAEe_xxgRD_BZi8Q-W8Kq6vBahE%2BqajrOc9DMF0zheOxDe%2B5uvA%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxgRD_BZi8Q-W8Kq6vBahE%2BqajrOc9DMF0zheOxDe%2B5uvA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADAJKhDq%2BKCVSLuKnw6BCtdEV2kCpW%2BhRPFT8g5X7tLYf7Q%3Deg%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 5692 bytes --]

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

* Re: Converting to PDF with fillable form fields
       [not found]         ` <CAEe_xxgRD_BZi8Q-W8Kq6vBahE+qajrOc9DMF0zheOxDe+5uvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2021-11-12 18:23           ` BPJ
@ 2021-11-12 18:30           ` John MacFarlane
  1 sibling, 0 replies; 5+ messages in thread
From: John MacFarlane @ 2021-11-12 18:30 UTC (permalink / raw)
  To: William Lupton, pandoc-discuss


--pdf-engine-opt=--enable-forms
should do this

William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> writes:

> Wouldn't this additionally need this pandoc option to pass --enable-forms
> to wkhtmltopdf?
>
> --pdf-engine-opt="--enable-forms"
>
> On Fri, 12 Nov 2021 at 08:51, BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> You can use wkhtmltopdf to produce PDF with pandoc with the options
>> --pdf-engine=wkhtmltopdf --to=html -o mydoc.pdf
>>
>> https://pandoc.org/MANUAL.html#option--pdf-engine
>>
>> https://pandoc.org/MANUAL.html#variables-for-wkhtmltopdf
>>
>> The question is how well you would fare to get the forms source into the
>> Markdown source except with (huge) raw HTML blocks.
>>
>> Den tors 11 nov. 2021 22:33Alan Welsh <itsallenergy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
>>
>>> Greetings,
>>>
>>> Is there any way for Pandoc to convert HTML (or Markdown) into PDFs whose
>>> forms are fillable/editable?
>>>
>>> The program *wkhtmltopdf* can do it from HTML when the command line
>>> option *--enable-forms* is passed.
>>>
>>> Is there any way for Pandoc to do something like this?
>>>
>>> Thanks
>>>
>>> --
>>> 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/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/pandoc-discuss/c125a591-c068-4c94-b2cd-f473fd0ee5a2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9%3D7XNwFDK6CaA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9%3D7XNwFDK6CaA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> -- 
> 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/CAEe_xxgRD_BZi8Q-W8Kq6vBahE%2BqajrOc9DMF0zheOxDe%2B5uvA%40mail.gmail.com.


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

end of thread, other threads:[~2021-11-12 18:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 21:33 Converting to PDF with fillable form fields Alan Welsh
     [not found] ` <c125a591-c068-4c94-b2cd-f473fd0ee5a2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-11-12  8:51   ` BPJ
     [not found]     ` <CADAJKhDZRKKBDNb-M_n2_dcc0JXX7Kkr61HxT9=7XNwFDK6CaA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-11-12  9:13       ` William Lupton
     [not found]         ` <CAEe_xxgRD_BZi8Q-W8Kq6vBahE+qajrOc9DMF0zheOxDe+5uvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-11-12 18:23           ` BPJ
2021-11-12 18:30           ` 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).