From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18313 Path: news.gmane.org!.POSTED!not-for-mail From: Rajko Albrecht Newsgroups: gmane.text.pandoc Subject: Pandoc - gitlab - authentication token Date: Sat, 14 Oct 2017 00:59:11 -0700 (PDT) Message-ID: <8994b4ee-2b9c-4b53-b6cd-109bfae40189@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7310_846247050.1507967951876" X-Trace: blaine.gmane.org 1507967957 28451 195.159.176.226 (14 Oct 2017 07:59:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2017 07:59:17 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDTLTCNM3YLRBUEHQ7HQKGQE37H46VA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Oct 14 09:59:12 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f63.google.com ([209.85.218.63]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3HLd-00062R-Pt for gtp-pandoc-discuss@m.gmane.org; Sat, 14 Oct 2017 09:59:05 +0200 Original-Received: by mail-oi0-f63.google.com with SMTP id g125sf7691620oib.13 for ; Sat, 14 Oct 2017 00:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=oTFETogmlM1h8XHWXXd7vhGKMUEjtA1mEH7tSShM930=; b=kJeqhEci1NIPBy3RTTh7T6npm1IR/eEZFWVgZ+du6tfCzNsrnBAtGyhNs3Gh3o5OGC GNs704qlKRDC5+tox5zBud9JThvW8PEzMhqahLXeb2vSPf99aY280e3J7pAxCKk5au8a +r7TLmsUgJbvqa+aA9p4zFQiOroPeXj2ubz2WQH47oPf50ORgVnugxqaM11gnri0P0qQ ax/i4LWNHRHjaoRUhHb2sXD11AY+hm4SfhFwMyKbVJLq6f8hPXxHXxWUeyTJ8CEUK8pB WsjPyNw0SnQKVeTixlgTWO/TMnx39vScftew1bCha0CX7ot6wSbVQhcgGmeHS7OF1Mh8 eTPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=oTFETogmlM1h8XHWXXd7vhGKMUEjtA1mEH7tSShM930=; b=WIXnXsn74Z4XTzMVT0gUOaK7BGyiXzACyJeFH729zoztXQWDNtY1WYrXxvMA/2OcSL a/KRambT2pI/vQ3k86m5NqV3TLq4g21QanTYWxyS6MJK5e69vHGBka/uJkfsoT2ZIjve IRDnXf8fb0zMed2nsKKj5K4jWtnpF7Z8AadJ32PEkMYfk3dqCS3qs591DOqSsRrx2eIx ub1SuxQzDVbiANV3Ikiru4GMJnC5kPbT7EInVvvsOxSESyshFU7CrLo7SsCgf56EwlYF DEiGnQBMYdhuZ/ojC4GPakYliVXvxcH0MeGYgkQnEdstEn9l5mIuqkLe0xh4JWm7vOII bo4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=oTFETogmlM1h8XHWXXd7vhGKMUEjtA1mEH7tSShM930=; b=nDDG5AyVbo+9QRfDzAapU1y1/HkPaCiXAh+nwefwLtQxEKfQ+iZuqzdDqAvt33qEIt fSF6YP34BDCrrF8E+EkSQL0ayJxbE9gH9lO9bgk9ayvkqEgyuZsmRB96COllDrKPPh/a iwbj6uZWYl10nI71Z8MUqtZpKkI2QBiIR7Wv/lbuPQ7sbJNcJPMooT6YnTJ//HPnV+v0 HHTrTS1DPzqjpVv+eJpRej2LVMb0aZAU5bQBpiwgq2TGiBur48pzKt2TptzmlMdB6fHE ckblo2xoc1htd/2vWVF20a6bwvYKFgp/yn5WuRvquVQ4J6yxmV2/2TXo8zQTnW4a1Bum Sq4A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaWVHAciGxOcsz6sMdV59w65byaVO1mqSN1seHGo1utjoErVmEXP cRNnENfqkzw+a+4h6QiEoag= X-Google-Smtp-Source: ABhQp+SoO7l8r5Z0s6r25cFPAoWxfDyYjvouauX18/6ro42AarvIdiTeRaDIcjwloJBM98sA8jAtjg== X-Received: by 10.157.88.135 with SMTP id x7mr126943otg.13.1507967953039; Sat, 14 Oct 2017 00:59:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.56.195 with SMTP id k3ls2673328ote.22.gmail; Sat, 14 Oct 2017 00:59:12 -0700 (PDT) X-Received: by 10.157.20.173 with SMTP id d42mr101939ote.3.1507967952266; Sat, 14 Oct 2017 00:59:12 -0700 (PDT) X-Original-Sender: elektritter-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18313 Archived-At: ------=_Part_7310_846247050.1507967951876 Content-Type: multipart/alternative; boundary="----=_Part_7311_1760092131.1507967951876" ------=_Part_7311_1760092131.1507967951876 Content-Type: text/plain; charset="UTF-8" Hi, I searched for days and didn't found a solution. I generate pdf from a gitlab project wiki. The markdown files are localy checked out, so no problem using pandoc wiki/home.md -t latex -o example.pdf But the problem starts when the md has images insight which are rendered by gitlab on access (pipline status etc.). Then I just get the error [pandoc warning] Could not find image 'https://gitlab.xxxx/coverage.svg', skipping .... I tried various variants giving the authentication information to pandoc, .netrc isn't read (and not usefull), gitlab requires a header "PRIVATE-TOKEN: XXXXXXXXX" for download. With curl I can set it and it works. Using wrapper script eg pipline does not work 'cause wiki pages are stored inside a git. So - is there any solution giving pandoc authorisation tokens on commandline for retrieving remote content? I didn't found something in any documentation... Bye -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8994b4ee-2b9c-4b53-b6cd-109bfae40189%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_7311_1760092131.1507967951876 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, I searched for days and didn't found a solution.
I generate pdf from a gitlab project wiki. The markdown f= iles are localy checked out, so no problem using

<= font face=3D"courier new, monospace">pandoc wiki/home.md -t latex -o exampl= e.pdf=C2=A0

But the problem starts when = the md has images insight which are rendered by gitlab on access (pipline s= tatus etc.). Then I just get the error=C2=A0

[pandoc warning] Could not find i= mage 'https://gitlab.xxxx/coverage.svg', skipping ....

I tried various variants giving the= authentication information to pandoc, .netrc isn't read (and not usefu= ll), gitlab requires a=C2=A0=C2=A0header "PRIVATE-TOKEN: XXXXXXXXX" fo= r download. With curl I can set it and it works. Using wrapper script eg pi= pline does not work 'cause wiki pages are stored inside a git.

So - is there any solution giving pandoc= authorisation tokens on commandline for retrieving remote content? I didn&= #39;t found something in any documentation...=C2=A0

=
Bye

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/8994b4ee-2b9c-4b53-b6cd-109bfae40189%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_7311_1760092131.1507967951876-- ------=_Part_7310_846247050.1507967951876--