From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28259 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Specifying resource paths relative to current user (MD->EPUB, Ubuntu) Date: Fri, 30 Apr 2021 08:24:14 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36951"; mail-complaints-to="usenet@ciao.gmane.io" To: "tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBK6CWCCAMGQESJI65LI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 30 17:24:30 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-vk1-f191.google.com ([209.85.221.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lcV0H-0009UT-WD for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 30 Apr 2021 17:24:30 +0200 Original-Received: by mail-vk1-f191.google.com with SMTP id g2-20020ac5c8420000b02901e9bd14cbd6sf3383860vkm.22 for ; Fri, 30 Apr 2021 08:24:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619796269; cv=pass; d=google.com; s=arc-20160816; b=xplwMsEQFCVa+5JByl6+45FgW+3bzAJM7gti0rFJm2lPEqrr75vLKlZfXlQMBf9TQm Kmea+d7/m1yFZLQAKuXzKge6jWLscw7nOtR3A62guAhw+D6oYIVDp4aKmER8NAl1QS64 DnxS3+68pj9ZyRLi8j3ae1g8NyyS//ZGPmHtB7cBz7AijoConExiJTGPYoDWcmmuTy4x Gb55T1uDSxr3/7VBfcoOEgQOMNL8HJ38K/DkPSgi0UT5slyrMCZnKF7jXX3BbmcMecaJ ti3MWqIn18M5JaDVg4NFxC/3TJUFmsh/NBasb/5GHhlv54gaXCZtm63dKUsbus8KjyiB rv2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=0fdHKMbVGI6SzIDQIjz+2ljEzSYhmcUxXDlDi79IxTg=; b=jfkfqW2w8ZBEKJXx6dBtXrveS+t2G35KcNg6HTOXKE1baBUAfB+ffoNsfRfKcZv0sJ OmxiF/pmYAmQ5p7WnmotqsnFsdGE4nuwDJK5mCUCufcgXMFvghwumpb89Xoia+G2dMym eQsQzr75BKNXspnMrjNQK712NoScL3sX0G3rxvcGksIINWCn9+9VxVlxIraLjxGeReRu lmo58saJ+MvhTPdx7cLfPCOhH75kw3W2gWqQ4baZpTRnsW57rCiwE9HxO9M1AgjHR71C YZg/USAhzs2rMRJ99fvxsEm0z+0KUQCjysTxmktG/f701pDhqLd5pKNX58c6LML6qR7/ gmYQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IvyYdZ5f; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=0fdHKMbVGI6SzIDQIjz+2ljEzSYhmcUxXDlDi79IxTg=; b=jcczTEbTeJqz3b6HmixxGSFfaFvwaWargSXJk/xSHpsmbH+ALqbRM6mvFacUbbyzFz w202dFBws88wpaENevQObD+I8oNNqzFGAXzj9tcCADM90X9UTUJo+TG4nG8V0HEPXcmw 19POiAMIV2yonMPSHAeaSdQU8kI18aUYsHplXIcNmSjMvOE/30f0pLjInHLnSPVEieW9 7hOAcJpCZ7Te7sxqcTMfn/sofPLTm977hNx3Pvf+l3X6kxQAjJ//UKP3Rx69FAYVHlhd cUfvfsAzWThtfzIuNjadRai3JiG64fxpVymZ3a2r/ya+dfHsmd8rEJ2wgBnIB30+iMTi xSJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=0fdHKMbVGI6SzIDQIjz+2ljEzSYhmcUxXDlDi79IxTg=; b=Cp/04OnlZGE/AOhJjuUKSCJnD1ZK1YwT6OWmPJz25jZE0I1F95kDWjPwzbFKTC+o8a fbE++dDLTuPnzAqMW37GsU5lIOUXPWLPiaFCzqMNUpwP8It+lP63BlRqEJRGDyqRyWFI B4mvRC36+kKGmEXGIMRkJCa7oBtw29YS8XVrZqHoZA+dtaVwhXUWe2L0dQEfYa7tZtqY CvLFe7AXt15NBxS0R3QUNYQdZ4wIibFHrHaZl3DuXAWtmxspQgmksVlPxAC7F/Yn99W+ jpjSCGbnYP4q9+6bZfLxh+V1DGXHaXvI8ykYg5W6XdDCvXgk/yzFm1EotklkYaoKe3ty Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533g50Ngi7N9tpKDkqtTsgTojp7S2QruhMOXA4KlBea1iozURU6Y 7uJ6N/6ma8GbH1FWz15D/Qk= X-Google-Smtp-Source: ABdhPJwuweqThA71untmZXcdDLtY0AeOM3oY7+HB3l+pUVAnoZP0kIov02fCSR5xBzx8IzXpSTDEuw== X-Received: by 2002:a05:6102:a0b:: with SMTP id t11mr7033580vsa.24.1619796269100; Fri, 30 Apr 2021 08:24:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a67:f301:: with SMTP id p1ls1320749vsf.10.gmail; Fri, 30 Apr 2021 08:24:27 -0700 (PDT) X-Received: by 2002:a67:f146:: with SMTP id t6mr4683855vsm.22.1619796267491; Fri, 30 Apr 2021 08:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619796267; cv=none; d=google.com; s=arc-20160816; b=iX0T8GXsfd607X8ym9KeXvL2zRkiUZXv3Hf9QIlE1kbKTbrCfChSb2rj8YdAsFqZzX a1uSzogoNxn5SRyApD258LmZ7fHG+bYymwubXjktO/FnTbYEqnqljEEttZNl+Q+3sqHJ IWyZU6mwB+8PB4afcKQj9q5n1GkCiIDt/4pWFeZxpKIBJGxBuSmTd81WQRhEnw1fyfvU JyLybXSI6orPPRQg0GQF+tO86z/2hnFnal7wng0NSe0rH27HUTPZNjKuUo9ypxj/ERtQ QKSISK6mVCkg/U76WcZFl6NdvVT6TjO1APZlRzrr6Svhc+X5FqvAKgv1JFTc0fxMozPV g8AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=fnhMUpmaQRu/pkZoQbMSzFiupNXG1Odug8XUk8ol1s0=; b=kKMu9ypCrY8VhvVvRMH4EKrhBCVLAoenX83dURzdUrd7wESJuBcMay2VWSXYf9b4E9 lmcDp38hYN4hxUpmd5J1S7v3quXS9IX+ZSksw0t63qWwqMaJWdsVqtkOrjcpgYnGCIi7 KEoR2CKhU114MIT8lYOymaGr719FRzyruhenJz+hJOU7hnr4MXayv7G/jWnxN0e0txmg d1GhwoIKoZu19O5a0iyTUD3lb4+hO8B1Cy8L89RBHvOyTNZ8LheGPr7eSlGfZobJ2JIf JrT7wW5LVXt1dwhYPnLkdRfIjTih/i2hUGr5qe2f9XhRka4v6LesuuccatU+XHuchFck TuZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IvyYdZ5f; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com. [2607:f8b0:4864:20::632]) by gmr-mx.google.com with ESMTPS id x24si750010vsr.1.2021.04.30.08.24.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Apr 2021 08:24:27 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) client-ip=2607:f8b0:4864:20::632; Original-Received: by mail-pl1-x632.google.com with SMTP id y2so2524984plr.5 for ; Fri, 30 Apr 2021 08:24:27 -0700 (PDT) X-Received: by 2002:a17:902:b08f:b029:ec:c8f6:9f16 with SMTP id p15-20020a170902b08fb02900ecc8f69f16mr5716324plr.11.1619796266870; Fri, 30 Apr 2021 08:24:26 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id k10sm2358281pff.140.2021.04.30.08.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 08:24:25 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 95E39A231; Fri, 30 Apr 2021 11:24:14 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IvyYdZ5f; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:28259 Archived-At: IN the most recent versions of pandoc, you can use ${HOME} in a defaults file, e.g. csl: ${HOME}/mycsldir/special.csl See the manual under "Default Files." "tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" writes: > 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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/fdf81229-ee39-4747-a4a6-9dbbecd6ec2dn%40googlegroups.com. --=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/m2lf8z6bj5.fsf%40MacBook-Pro.hsd1.ca.comcast.net.