From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31651 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bernhard Donaubauer Newsgroups: gmane.text.pandoc Subject: Re: enlargeable/clickable images Date: Tue, 25 Oct 2022 23:31:38 -0700 (PDT) Message-ID: References: <483ED290-642E-47B9-894C-D9D5F8B1F4F7@gmail.com> <5a016172-91df-4b07-96c2-ffa0e4081402n@googlegroups.com> <768C4D9D-FBFC-41C1-AB1D-C16859CDACBD@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_969_1460832035.1666765898461" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19788"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCFYTVF7RYARBS5I4ONAMGQEOAYL5ZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 26 08:31:43 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1onZx1-0004y7-1w for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 26 Oct 2022 08:31:43 +0200 Original-Received: by mail-ot1-f55.google.com with SMTP id v23-20020a9d7d17000000b006622e45ddf9sf6829709otn.18 for ; Tue, 25 Oct 2022 23:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=2CUm5atfKnEStx8PrshXz/zsEh2RLso82941T2rdcx8=; b=d4Kgqln18SHL1/ft3dASzEqniV5aZJYrbvnVY+Yhdzfu5EtzwDsm9/6xtbExhzec9X YJ0orySKNr5/O3L6A1CW3Zqlg4SQ1SCaNMLoH0C5OFBwA+SPN6jqol0Ii/9xyMnJ+8Lu Jpm35NnuI503UKsOYj8mcduGD+jO9hOCioc/7kgE2sRScbs+9EkMaGG1ZtQ5ZUvsEZSj l7/XKdaxvCJkyBK7IAFIphUzupIE9kep+UAEbHExCScVSSdReZW3nXdUcwdSAI6v+rMn 5FhohDwy+mOr/L3kjR1tt+b6y7VA1A6yQDUfd97hgBFATKAA7Vdg/4IHLxGSV0pSxMpe alIA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=2CUm5atfKnEStx8PrshXz/zsEh2RLso82941T2rdcx8=; b=hWtTebE5CPJU1i19h6qSo0jp0BCSyQ/2C06/3JqZgl3d1evnW1knt3ZI1PA65peCWj vCuEoLJArRQCEWmhVIJcBnEEuFDb74CJ+W3WJQU8qc3uOJWp7pG8QaBs8kJtWRgcnZEX nqqnnfc43dQ0PdXQbMB51tQWIhKaLcK1kEp/3MfmlC9NJPyPOmBO0kdvBmUPpGqFSS15 xOScmIYMXsKb/9UEJn6LkLnB8ETqVr5VF4IOiQ/5Yxyk0FuZN6yEZL8GrzPFFa6kyqBb K9QTFFhs9ZZgOE3tiD+stdidVQ9ay33iqpQ0TikJFOqIYtpu9SC4s7253MDFCtR+MPhZ Zg5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=2CUm5atfKnEStx8PrshXz/zsEh2RLso82941T2rdcx8=; b=ir+SgbBn4XwmSTjXbSYscDASbCJFBIJT73vLXcUEWcS2grYflqsLO5M/Pc0fAbSTcv VVTE8FXIg7X+PowtY36vundBFVom6vvLYAgGKDBx2/fUATZ2PYUKGKOoRsEKGCzgcjtg MchoJpmGIDtfQmfrZSUpN9669TvQJId9Jzn+dSizYxF2Oh541+4YhYRMOSLQBhXY9Tcs yxNVrzKLpqJBYwZhKoUywgBDex4eKPRI0KifC8ooiv5swjZW+KlG72ueM03wOz+6BjUe Kc8ymLD+Lit1r1opAiDF0nWAT7FINK6kTOross8W5rDYqAEaQBF8XnwR8USFX7/K/mnk 7EMA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf3b/35kK96FFwqmgiALfEifo2uGGFZ5cv5BAtT6skfl9HBAEQrl H6vyD/2b7FEzJ+R1pxW6Cto= X-Google-Smtp-Source: AMsMyM6IvTwwC2y1hrgTQNFt4/iNJoa2V03sKIqWZ+6u8mpGs+HhLidtffdGc5CpbXesnj/ONAgnHg== X-Received: by 2002:a9d:74c8:0:b0:661:d66e:c2c0 with SMTP id a8-20020a9d74c8000000b00661d66ec2c0mr20838772otl.117.1666765901921; Tue, 25 Oct 2022 23:31:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:93d1:b0:131:8180:91a with SMTP id c17-20020a05687093d100b001318180091als4633240oal.8.-pod-prod-gmail; Tue, 25 Oct 2022 23:31:39 -0700 (PDT) X-Received: by 2002:a05:6870:d683:b0:136:38c4:9e6b with SMTP id z3-20020a056870d68300b0013638c49e6bmr1289129oap.10.1666765899343; Tue, 25 Oct 2022 23:31:39 -0700 (PDT) In-Reply-To: <768C4D9D-FBFC-41C1-AB1D-C16859CDACBD-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: bdonauba-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:31651 Archived-At: ------=_Part_969_1460832035.1666765898461 Content-Type: multipart/alternative; boundary="----=_Part_970_742436115.1666765898461" ------=_Part_970_742436115.1666765898461 Content-Type: text/plain; charset="UTF-8" > These are links, not embedded resources. --self-contained is for embedding resources. I don't consider it a bug. Yes these are links but links to local resources. Image files that are in the same directory as my MD file. As far as I know the current browser generation has support for DATA URI in the href attribute, so it's technically feasible. > If your document links to an external website, should we be including it, too, in a self-contained HTML page? How would we even do that, since a page is a page, not multiple pages? Links to external web sites and resources shouldn't be changed of course. But In my opinion one should here differentiate between: href="images/mypic.png" and href="https://www.wikipedia.de" In the meantime I was able to implement this feature with the help of a javascript library, so I won't argue but I would have preferred a pure markdown solution. Regards, Bernhard -- 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/bda51ec7-0ccb-40a7-83d0-58242476a483n%40googlegroups.com. ------=_Part_970_742436115.1666765898461 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> These are links, not embedded resources. --self-contained is = for embedding resources. I don't consider it a bug.

Yes these are li= nks but links to local resources. Image files that are in the same director= y as my MD file.
As far as I know the current browser generation has sup= port for DATA URI in the href attribute, so it's
technically feasible.<= br>
 
> If your document links to an external website, should= we be including it, too, in a self-contained HTML page? How would we even = do that, since a page is a page, not multiple pages?

Links to exter= nal web sites and resources shouldn't be changed of course. But In my opini= on one should here differentiate between:

  href=3D"images/mypi= c.png"

and

  href=3D"https://www.wikipedia.de"

In the meantime I was able to implement this feature with the help of a j= avascript library, so I won't argue but I would have preferred a pure markd= own solution.

Regards,
Bernhard



--
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/bda51ec7-0ccb-40a7-83d0-58242476a483n%40googlegroups.= com.
------=_Part_970_742436115.1666765898461-- ------=_Part_969_1460832035.1666765898461--