public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* reference-doc from HTTPS URL
@ 2023-01-06  8:48 'Mārtiņš Liberts' via pandoc-discuss
       [not found] ` <cead828a-d49f-4010-9bdf-956e5fab497bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: 'Mārtiņš Liberts' via pandoc-discuss @ 2023-01-06  8:48 UTC (permalink / raw)
  To: pandoc-discuss


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

Dear all,

Is it true the pandoc can not obtain a reference document from a HTTPS URL? 
If I run something like this

> pandoc -o file.docx file.md 
--reference-doc=https://pub.dom/reference-doc.docx

I am getting an error message:

> pandoc: https://pub.dom/reference-doc.docx: openBinaryFile: invalid 
argument (Invalid argument)

Is it an expected behaviour?

Thanks,
Martins

-- 
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/cead828a-d49f-4010-9bdf-956e5fab497bn%40googlegroups.com.

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

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

* Re: reference-doc from HTTPS URL
       [not found] ` <cead828a-d49f-4010-9bdf-956e5fab497bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-01-06 16:57   ` John MacFarlane
       [not found]     ` <CD274C68-EF52-428E-BBB0-699CF4923009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2023-01-06 16:57 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Pandoc can retrieve from HTTPS, in general.  In this case when I try to retrieve that resource I get "can't find server."

> On Jan 6, 2023, at 12:48 AM, 'Mārtiņš Liberts' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
> 
> Dear all,
> 
> Is it true the pandoc can not obtain a reference document from a HTTPS URL? If I run something like this
> 
> > pandoc -o file.docx file.md --reference-doc=https://pub.dom/reference-doc.docx
> 
> I am getting an error message:
> 
> > pandoc: https://pub.dom/reference-doc.docx: openBinaryFile: invalid argument (Invalid argument)
> 
> Is it an expected behaviour?
> 
> Thanks,
> Martins
> 
> -- 
> 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/cead828a-d49f-4010-9bdf-956e5fab497bn%40googlegroups.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/CD274C68-EF52-428E-BBB0-699CF4923009%40gmail.com.


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

* RE: reference-doc from HTTPS URL
       [not found]     ` <CD274C68-EF52-428E-BBB0-699CF4923009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-01-09 12:53       ` 'Martins Liberts' via pandoc-discuss
  0 siblings, 0 replies; 3+ messages in thread
From: 'Martins Liberts' via pandoc-discuss @ 2023-01-09 12:53 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Dear John,

Thank you for the reply. However I am still unable to use HTTPS for the `--reference-doc` option. For example, I have used files from the 34th pandoc demo (https://pandoc.org/demos.html). It looks HTTPS is OK for the FILE but not for the `--reference-doc` option.

HTTPS for the FILE works:
> pandoc https://pandoc.org/demo/MANUAL.txt --reference-doc twocolumns.docx -o UsersGuide.docx

However, HTTPS for the `--reference-doc` is failing with an error "openBinaryFile: does not exist (No such file or directory)":
> pandoc https://pandoc.org/demo/MANUAL.txt --reference-doc https://pandoc.org/demo/twocolumns.docx -o UsersGuide.docx

Output:
> pandoc: https://pandoc.org/demo/twocolumns.docx: openBinaryFile: does not exist (No such file or directory)


Martins


--
Dr. math. Mārtiņš Liberts

-----Original Message-----
From: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> On Behalf Of John MacFarlane
Sent: Friday, January 6, 2023 6:57 PM
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: reference-doc from HTTPS URL

UZMANĪBU! Šis e-pasts ir saņemts no ārēja sūtītāja!


Pandoc can retrieve from HTTPS, in general.  In this case when I try to retrieve that resource I get "can't find server."

> On Jan 6, 2023, at 12:48 AM, 'Mārtiņš Liberts' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
>
> Dear all,
>
> Is it true the pandoc can not obtain a reference document from a HTTPS URL? If I run something like this
>
> > pandoc -o file.docx file.md --reference-doc=https://pub.dom/reference-doc.docx
>
> I am getting an error message:
>
> > pandoc: https://pub.dom/reference-doc.docx: openBinaryFile: invalid argument (Invalid argument)
>
> Is it an expected behaviour?
>
> Thanks,
> Martins
>
> --
> 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/cead828a-d49f-4010-9bdf-956e5fab497bn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/edKwhWC3-y0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CD274C68-EF52-428E-BBB0-699CF4923009%40gmail.com.

________________________________



This e-mail is intended for the addressee(s) named above. It may contain confidential information, and any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system.


Please consider the environment before printing this e-mail or its attachments!

-- 
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/b17553f401904189bd512a3212a39028%40bank.lv.


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

end of thread, other threads:[~2023-01-09 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06  8:48 reference-doc from HTTPS URL 'Mārtiņš Liberts' via pandoc-discuss
     [not found] ` <cead828a-d49f-4010-9bdf-956e5fab497bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-01-06 16:57   ` John MacFarlane
     [not found]     ` <CD274C68-EF52-428E-BBB0-699CF4923009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-01-09 12:53       ` 'Martins Liberts' via pandoc-discuss

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