From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28512 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Reagle Newsgroups: gmane.text.pandoc Subject: tip for paths that work locally and served? Date: Tue, 1 Jun 2021 11:08:18 -0400 Message-ID: <70fc8d18-e32d-1468-c860-3ec9005f4a00@reagle.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19050"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.0; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD65ZAVVYEKRB2E23GCQMGQE3TF436Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 01 17:08:29 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ua1-f55.google.com ([209.85.222.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lo60K-0004jI-Pa for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 01 Jun 2021 17:08:28 +0200 Original-Received: by mail-ua1-f55.google.com with SMTP id r4-20020ab070c40000b02902064b454facsf7815662ual.6 for ; Tue, 01 Jun 2021 08:08:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1622560107; cv=pass; d=google.com; s=arc-20160816; b=ICd0e/kPyfjyoNFBHStJarOPz8m/TM2xSL6UkNjyn4q9XL79+1tocpReN8St+1Dkl2 lsCpxiIvDnpMjXBf26PrS3G/Su3+yCzI9aLYW2ajzAyfSKxyjLK2oHjOYJkMF9LJrLJE AKOScr+yLBqrIuDTZH5FUSjgjGJsmbp9Xi3pjd5ePnmdIM8SxG5pCm2HZNGZfubw9PZY kdiHxceMo4hm7qYAjNgZk5FWQcFr0ucYeGihmeSPQiO/EFz8yLiDvHR0IzUzMR0GwWRe 39K6SQc5lM6Sb8hP4YOX6sAFhelu5px9nGUypStOwHfqWnpj9+i5UKuZEC0Ypmy26aev 7CzQ== 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-language :mime-version:user-agent:date:message-id:subject:from:to:sender :dkim-signature; bh=qptJxhg7lqYiBBjXmBXLEkK5hm2GbqQy4XkCmqHfpK0=; b=LM4KM0+hEXKu1ZK1BlXzJwThRqwker1wuAePg7TESybtSJ1E70gwRLbv7jk5QgVy72 EgC4so9LccooCi9FRmjqXwPVB6vqO8TW3g9U2jSxM1yg8guf1Vw4bY0WwzBCkhfbKfSg 3u5KNXjkmAVebggctRcdq3WlCQpxd5nB21iAMs23mxITYOIy1v1AzgXKVLJsV+VMLgU7 l0ANWjb1m0Ep+rviYu5DX4d/isr67gdER3cGFCL6Y0ibHvL56MSD/iMF3e2nxv3sptmA noqtrZGu4Ivgo0DcMuILWgUfRKT+PrRvffnp11EJLyU/2CxlgUsDsSDmHsBOGfkMor/x +mPA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=hB1To92J; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.14 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-language: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=qptJxhg7lqYiBBjXmBXLEkK5hm2GbqQy4XkCmqHfpK0=; b=WeYkReeFRjQul7SxLA41LwiaH6D837v0TCSnpsGhokD06cZkyt69237dwZ0cjIK1HB NQc2KPOPKI/LqZgjoGaUy5jyb/grEsbIERRPKUxWTmenXo2u0eOnGvOopyHW0e8InASU XWqRUhBgp5vj15lx9PM/dt9SgOH3d0wkXqWrrvjTrXGazyBnEEPx53uHd+LtZDfYe+AT SQJ4AWKMheKub/Tl9WUPWEeIMs9FoZPmFOzVky6AsNyIZPAnABbNKu++3JirkNXoaO4J rmsRnfF8kGey4M6Q+WE2B5dU7ZQ3S54S6WGYAtgmWuGdZMPNub3pCqetr4MgH7GVn5VS ebgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:to:from:subject:message-id:date :user-agent:mime-version:content-language: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=qptJxhg7lqYiBBjXmBXLEkK5hm2GbqQy4XkCmqHfpK0=; b=l9gXOrT8RrBpzqNnGxxAvr6yCniRjLaJZilKOFRhE3zSVgCyidznrG/CaNbZHv40F2 O/uJqBxVZ4pIEq290mkXorXmFIuvf65e9rLE83EZpOJ4GDfGop/CTTNTTf0FPcBj0zCj tUIS7ZglNhL5F9BFuoFfmEmtyIGEJWkvbMcDJNLgqLMgKkMNu3gBXBgkAsfOMfAzY5M4 +B5P2+9EzRH8FxNJXGibJvE6x5I393YW3p/e2MeCaSBjUuJQ/Hv6kIVb54kYYtx8XI2L xwogv08uT/jHUxYevv/fYppSxd0GDDaOYaM9sAKzCJYs2XpJw3d26/K45qhpVfruhUAQ 7p0g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531HEt21XGvzNXN5Lo2Car2j9lDXD2Nkv0Aks745D1h1wGq0lWaI vEw0DbXPDLmrXZdnufAzptk= X-Google-Smtp-Source: ABdhPJwwlEp0F0CihcLbLvBz97Apt332hQUS+m4E5eHYrDJZHv7eFkopi8ufbHX/14YiAFa43LQmmA== X-Received: by 2002:ab0:638e:: with SMTP id y14mr15205678uao.82.1622560107334; Tue, 01 Jun 2021 08:08:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6102:124b:: with SMTP id p11ls3446428vsg.8.gmail; Tue, 01 Jun 2021 08:08:23 -0700 (PDT) X-Received: by 2002:a05:6102:b0e:: with SMTP id b14mr19880275vst.30.1622560103880; Tue, 01 Jun 2021 08:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622560103; cv=none; d=google.com; s=arc-20160816; b=idD+iFi74lhd/SjFKqQBy5/CsJkG8/1FdgH4KYWLuAC28ocivPMcHHqNY2mwkPl4rk TkmHZR5HmSQuSc0E832og8JTR1ix6Ya0mEqPWylBdwKb4jxzmkDR8znslL0hA7jMLhtu CUSsrbo3jUjc593gsvB2ONRpRSmU4G5EXz6W+Ah9XinfKTbiSUJALBoCL8uI4hL3P8mR M7sWtUoX0YVNzaLbH6K+S4ZEFZOJjGfEizfZkvJMQW557Al6bcIlsPHTh+IksqGRvb2f kv6/iDto8Md61vUhwXyPt5BvHYfWMOQnS4euzdvRvtKYsTlw1Y9Yk0QVjsmyO6E+2kfD S3GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version:user-agent :date:message-id:subject:from:to:dkim-signature; bh=xh0gr6kgQ786T4SdWikenXxdLUiXsVbgW8KgDTn5YYo=; b=vjaRrQgt6aXKL9QDw4BzhAxZq7HcPhnveWls+TbGvhrtJYHUsFU4kBbydZRc59p2AV xG73JEXrqJNs5xw6vG9PfK3ZV69ORjYKrP0Gvw96kemBxvSXLkbku1vrHL1EIypxG3t8 vs7Ox274GEadsAPlIKdNlv6Al2bt6AvRo0b5SB1aOtj69XdzQUr9EVrg16ILtknpLDz2 7hpSRdeoudV9bTa5O5s2kE4A97FUxZQOB/9F8IzYpn5POurqiqEyyOR7FU0i2tWhgfde BNLmbYRm2A82J4zGgT9k8TrjVqyowsv3aJxuuCnbE2S+K+T/URPeosjNUlJxLf1Z7dPX CB9w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=hB1To92J; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.14 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from bee.birch.relay.mailchannels.net (bee.birch.relay.mailchannels.net. [23.83.209.14]) by gmr-mx.google.com with ESMTPS id k62si696609vkk.2.2021.06.01.08.08.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Jun 2021 08:08:23 -0700 (PDT) Received-SPF: pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.14 as permitted sender) client-ip=23.83.209.14; X-Sender-Id: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C15C4542E2B for ; Tue, 1 Jun 2021 15:08:20 +0000 (UTC) Original-Received: from az1-ss21.a2hosting.com (100-96-18-86.trex.outbound.svc.cluster.local [100.96.18.86]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id F06E8542ECA for ; Tue, 1 Jun 2021 15:08:19 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from az1-ss21.a2hosting.com (az1-ss21.a2hosting.com [68.66.224.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.18.86 (trex/6.2.1); Tue, 01 Jun 2021 15:08:20 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-MailChannels-Auth-Id: a2hosting X-Shade-Company: 6aa416655310a084_1622560100287_2632288416 X-MC-Loop-Signature: 1622560100286:403854703 X-MC-Ingress-Time: 1622560100286 Original-Received: from c-73-149-23-48.hsd1.ma.comcast.net ([73.149.23.48]:54536 helo=[192.168.0.50]) by az1-ss21.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lo60B-0006Et-7Y for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 01 Jun 2021 08:08:19 -0700 Content-Language: en-US X-AuthUser: joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-Original-Sender: joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=hB1To92J; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.209.14 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@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:28512 Archived-At: My webhost was just down for a bit and it broke even local access -- which is what I use 90% of the time -- because I use pandoc's `-c` argument to pass an absolute URL, yielding the following in my HTML. ` ` This has nagged at me for decades and I saw something about the "rebase_relative_paths " in the latest pandoc release and thought to investigate. After reading it a few times, I get that's not what I was looking for -- though I can see where it will be useful. And I appreciate this isn't really pandoc's concern. Nonetheless, I thought to ask, does anyone have a technique for generating HTML with references that work locally *and* when served? If tilda/`~` was interpreted in both contexts, then I might be able to achieve this as long as my local and webhost file structures were the same, but absent some fancy rewrites in .htaccess, I don't think I can...