public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "'Martins Liberts' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: "pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org"
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: RE: reference-doc from HTTPS URL
Date: Mon, 9 Jan 2023 12:53:20 +0000	[thread overview]
Message-ID: <b17553f401904189bd512a3212a39028@bank.lv> (raw)
In-Reply-To: <CD274C68-EF52-428E-BBB0-699CF4923009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

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.


      parent reply	other threads:[~2023-01-09 12:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06  8:48 '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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b17553f401904189bd512a3212a39028@bank.lv \
    --to=pandoc-discuss-/jypxa39uh5tlh3mbocffw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).