From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28255 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Specifying resource paths relative to current user (MD->EPUB, Ubuntu) Date: Fri, 30 Apr 2021 05:59:45 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_896_1919203623.1619787585354" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7256"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD4N5VPWTMERBQX6V6CAMGQEGZ46SSA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 30 14:59:49 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lcSkG-0001nn-Mf for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 30 Apr 2021 14:59:48 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id f5-20020a9d6c050000b02902a56874df41sf2437220otq.10 for ; Fri, 30 Apr 2021 05:59:48 -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=5p+kRg/s3Vw9mdqw3hTyXeASLWSlAceYqxopPlJrMPU=; b=b50DqCoXZERi6RIvVkb3xDDI7hHjcLWHifYod8EohS8EP/l/EyYcoLmCulsdKayh+/ vbMZBQZpTC+zq4ZxQgiRSBQqhAdaDkLO4UFOYbQObHhTTC8czGuQzauuP4K3/PjxRFML 5i7tFnx3/VirHCPV/HUqrl26TV6wA6uabW0sflTNSrHm2DdiHuat7FX0h83D94QJ9rh3 NYPDVaysJz4Km4rJKn7lo3FXzSs94Z43uL5TUSGHHZqXIRsiaRouYOOhI7Qr/Xo6/WdV Ae8CHFpBAUZdQIvQ4fSMdjGxbs4ejO5rlH8k0dR3MpUD3945O2sM4fOXsB0Yjk+5207o P7Hg== 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=5p+kRg/s3Vw9mdqw3hTyXeASLWSlAceYqxopPlJrMPU=; b=fAdpXydTdXithW2vJmfjChJP0K/e9U69za+0aW5+x/LeZodySd7x+82OXVOs2ienJ7 pyp1gJDGV8oQSpTXCBvBVwC2Za3c05Ztt2/48T8TUNxSzE9I/tpturOrBRjkevtWa2np Mq7XAFNZupcEnzyMzPLms5D1QJ0lTlpyjcT+7a5SCqZmUxTOebIxJKEEPL4elh41DLPK ECbzZPU0hDDIa4iI0I+uzaQGRTjvPPKhl1ieMWtJkQA4vX0u94RR9SgGAkR3wYxAE61G KCZ1sGEpdWVdyCJqhXRd9a98oUrq1zYs0Op38yMWWyIMYeFjHuzxJqLNC9wKYPrNXf8f u3+Q== 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=5p+kRg/s3Vw9mdqw3hTyXeASLWSlAceYqxopPlJrMPU=; b=BLNSLwaRpomW7a3Ifmv8Rppx/gguzfRderau9TMwrNrPEzbeciBs9yRMSok3G1YSEn B4zNJ7IT1NhKFmh01vufmMHz0S9elwlUQ1HYFjYTt6gQEPEJFqDk1pm2LNdlk8xcNfFx h9lGD4LOM1PxZKa1hqvtmfUffCqWFzImVHZDle0FS7hQmfbCfT4hsiPjxRsbryi2tdmF 6JyS6ax2jmg1n91PRr9BGpHNtdnGZMzeDZwcZy6+wEUdhhW6hL3IzU1M6sDfCOEXUD7/ JPUuA2CG4F4ZoBY/1kn6c97XR5Cb/ZNvE0BvwG7z5WXApk5lXVQz6gYjcnsLckIZsqMC 02ZA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5311ExuG/mBo8LG6RypaFQOsZ1sSaWKaV5ks+Ac+KAl6TlUZq0cs pi7IIIQB8G5n27h57JSezKE= X-Google-Smtp-Source: ABdhPJxCFpOTmnDIa6I533Npb4H2bxcL5pTBYdLu0Hg2FAwwZ0VosriIBYyQ9x6mp5SAknmGJT6Vvw== X-Received: by 2002:a9d:7982:: with SMTP id h2mr1629048otm.163.1619787587762; Fri, 30 Apr 2021 05:59:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:13d0:: with SMTP id d16ls1813918oiw.10.gmail; Fri, 30 Apr 2021 05:59:46 -0700 (PDT) X-Received: by 2002:a05:6808:1482:: with SMTP id e2mr11154548oiw.138.1619787585924; Fri, 30 Apr 2021 05:59:45 -0700 (PDT) X-Original-Sender: tridral-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.io gmane.text.pandoc:28255 Archived-At: ------=_Part_896_1919203623.1619787585354 Content-Type: multipart/alternative; boundary="----=_Part_897_1034794510.1619787585354" ------=_Part_897_1034794510.1619787585354 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm processing MD files to EPUB on Linux Ubuntu I have a situation where the same file is found differently by different=20 users, each sees it as: /home//path/to/resource So *usera* has /home/*usera/*path/to/resource and *userb* has /home/*userb*/path/to/resource I have tried specifying the resource location as *$HOME*/path/to/resource and *~*/path/to/resource but neither of these seem to work when specified in an MD file (the image= =20 in question does not appear in the EPUB file), although they work at the=20 command prompt. I need to work with this file structure as it is. Could anyone advise me on= =20 the best solution? Many thanks=20 '=C3=B6-Dzin --=20 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 e= mail 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/fdf81229-ee39-4747-a4a6-9dbbecd6ec2dn%40googlegroups.com. ------=_Part_897_1034794510.1619787585354 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm processing MD files to EPUB on Linux Ubuntu

I have a situation where the same file is found differently by different= users, each sees it as:

/home/<user>/path/t= o/resource

So usera has  /home/user= a/path/to/resource
and userb has /home/userb/pa= th/to/resource

I have tried specifying the resourc= e location as
$HOME/path/to/resource
and
~/path/to/resource

but neither of these = seem to work when specified in an MD file (the image in question does not a= ppear in the EPUB file), although they work at the command prompt.

I need to work with this file structure as it is. Could an= yone advise me on the best solution?

Many thanks <= br>

'=C3=B6-Dzin


=

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/fdf81229-ee39-4747-a4a6-9dbbecd6ec2dn%40googlegroups.= com.
------=_Part_897_1034794510.1619787585354-- ------=_Part_896_1919203623.1619787585354--