From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30146 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: long urls in biblio, how to break Date: Mon, 07 Feb 2022 13:16:45 -0800 Message-ID: References: <73c2f227-7945-4410-bccf-e264ea5a8b03n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16074"; mail-complaints-to="usenet@ciao.gmane.io" To: Antonio Piccolboni , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB3UYQ2IAMGQEXTQA4GA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Feb 07 22:17:40 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f57.google.com ([209.85.216.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nHBOF-00040x-GU for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 07 Feb 2022 22:17:39 +0100 Original-Received: by mail-pj1-f57.google.com with SMTP id n4-20020a17090ade8400b001b8bb511c3bsf3265004pjv.7 for ; Mon, 07 Feb 2022 13:17:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644268658; cv=pass; d=google.com; s=arc-20160816; b=qHWkxsXCZgmjf/YnndwHt+XSaQQlyMekRkbbCPJy9gX17bEjh94M47lZhZRNES6Vfz 6vRwVZHnnCIiplCfEQtQ/tMaY6dja2e1QXKcXJ9sXBzGCq/PnZnj0PeDd45xiKZp7p0B OrjK83YpnTjO+v1uBXA7v7PvWZaBsLlRHc0KXV2fDSUj6SLDCetfhl2zzd9uzVvEI/kt 3hngSpTmkSe+uiKDgIwCU1QqhTo8iuzjL466ByO4fOgWnBMZXLzWPzjPwsTJr4pbG3Yi W5S17BKlMPYaY3XUYoCQ544m+f3/UNJbURXWtm+uagCHRNm7GO4H5imKcouclt47t15l Fy7Q== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=iQy3kLeCUlKC+AN397e3VGQPbMcCH5x2HdiBVQ7PP/8=; b=iDn3QqxG8V83vu3C4YJqkFoIE4TbnsJtuqfUpFbmNXWJ4KINRZ1phXx90A+SGzEmXv guqSgWLsiyxlGJxxNRqlQIq3WahZw9BrcfbCf+ehZtQar86wdFPKLRY2Pg+2OAtwjZG0 AzpdjSmSEi7mGCDjnfJjfyYNyrGo7nMexvV0uBqJ4/72GZSBq7/ob8E390YmuNBwLDE2 DaDP6PSIvGCdezfYnZNIc9zC2EnDGSoKxy2ExX5pVKjtxxo+jsthVD+/oM2nG+fyOXN3 1EW9lX0p62beTsH8GHe3+G2KqWK8j7C2dL3gaJNXmWlCiP2IBhLyecxR58Zhnm0nCtXX cpUg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b="tGLcpU/q"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42f 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=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=iQy3kLeCUlKC+AN397e3VGQPbMcCH5x2HdiBVQ7PP/8=; b=C2y6MbkfkIq/qieY2PqSxHgaX4B/aKIl/u/0QqKXOGjkDB6MpePb1uRUQOlwQtlhii 2J/8l9XepKG586BGAwFUPgkmHOdillrnpd2K5A/GtoRpikgHDRHaeNcNLv5rEgKKiAi0 CVEaLIGXmHDc31Rcod2UwKTDqegjlNmN0U2utdLAFBgqC+4ZWlQ0li3IyOA4cSpR3vSK m65aMUMiqBY/fy4MfgjKLYqfGQC0YpwfIMgqXohlTkGp8rvdWZ1Uty3Dtv/eW7JK1a1e 3KfF1M9DpWfhwwOp4eqpD+qdVw7ooKSffrzbltmqlwWqSXFYWsfYxs3A7RfRibrftqgj QvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=iQy3kLeCUlKC+AN397e3VGQPbMcCH5x2HdiBVQ7PP/8=; b=RnFHokiUkrgxqpcVoQLFRmkmiNQDn6xvcfBs9wfzKr8xP/sY1pTMimjhtpP9Qeu0Cj E00Igkw7ltvrdyVOhjjLVNwKeFxwj5YJnWBl7df/57UNR34KiZL8TTiP2R0gwPDgNXND Hglt8wCsAjVJ1nBhBGdhPM+FBCLk3q57LQ7K2zSk0tkH168z8vR7a2toPs1bVqzbuZbl p7696SuIBDzRBiSx4St5QN+ZeRq4lrkz80OBN7nD5nngTKIE75JvXH51PF+b8xIlB46h 3/xGZ7mtPqqZlQyOOJSmTmm6nz8RvUs2YQMA+FHGDOHNlYy5geFciXgy/ttvfJzI2hsD 3+zA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530FixbCyu/ziejFX8vQA6x0B29TFt91obNya1PY4rDTAn+VARzY v7eN/LQqzC2QVfWUNP8ToZg= X-Google-Smtp-Source: ABdhPJy2r00kVvJg+O+ypXQ+MXCz9h1bDGoo/23julPdJJhC2sSAXSaKh2UL6Bicgkl7S3i2ynbtJQ== X-Received: by 2002:a05:6a00:b96:: with SMTP id g22mr1365677pfj.31.1644268658072; Mon, 07 Feb 2022 13:17:38 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6a00:1a46:: with SMTP id h6ls1650959pfv.4.gmail; Mon, 07 Feb 2022 13:17:34 -0800 (PST) X-Received: by 2002:a05:6a00:228c:: with SMTP id f12mr1243902pfe.34.1644268654038; Mon, 07 Feb 2022 13:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644268654; cv=none; d=google.com; s=arc-20160816; b=wyT60L030Nj04AvLYdbsNXpOXwZ4PxBcbHRVGtjPiYe05cZg74txVQ23WR8tl/v+DP pSDtTglhtC3q+8JYZmP5dUzy7Y0DKF7kPLdEub62PMGTnKdHOP/IGapS3rZvVNg3DXyd koz+D59ubc1kf9JMTits+qQRwqswK70T9lsg68AQdPs/hc+SWUYG4Wkc6dD92mWLp4JJ 7KR4UbC1pHV8UnLMVZF8o/ab4XfPn4SMosTvhewMB9mrWyrkHWioKIYsqetK9ef4gddY 86MJeFalvnp2+PSyxntVsP8zxYoqW/72ITJBmz+MmVzoNi97TZIAv4G98RV1oRXsUroo NmfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=zKmLCtFQhVZo5+JP/Udjr1j2uq02OuyTSd9557MmEDk=; b=ZK43VdOYuxJN/l0Us27AlOF40hg0zH4O1Lzltri430uOEAPC5QSj12T1BZheclfR6G 8izFbh7GjaUUn44iq7yHCit65Cdx9ps/XDn5pFhpfJ7EjZGmkPlgb9JR1fhRrIkNmwvI a6EdrNJ6Bdv3LQvrRFySJK2/lmyu1ysQ+lRm/HZh5TiDtZagRG92ief5WvieKHpuCU5P h1UwbExv1IDMpSR/v5uvXNOH/1a9ndNNx67DDGheA/u6CgE/Yd8EMbYyjo078kjgVzpM nzBW0bzgaa3kOnhMPdHP8kFxEeQ9yMT2fGdsUf6m9yLwzty87ObhJYQcodGVnihJDKEP XuZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b="tGLcpU/q"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com. [2607:f8b0:4864:20::42f]) by gmr-mx.google.com with ESMTPS id e7si241780plh.2.2022.02.07.13.17.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Feb 2022 13:17:34 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42f as permitted sender) client-ip=2607:f8b0:4864:20::42f; Original-Received: by mail-pf1-x42f.google.com with SMTP id i30so15188054pfk.8 for ; Mon, 07 Feb 2022 13:17:34 -0800 (PST) X-Received: by 2002:a05:6a00:ad5:: with SMTP id c21mr1178349pfl.61.1644268653392; Mon, 07 Feb 2022 13:17:33 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id t2sm12944374pfj.211.2022.02.07.13.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 13:17:32 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id C85DDA298; Mon, 7 Feb 2022 16:16:51 -0500 (EST) In-Reply-To: <73c2f227-7945-4410-bccf-e264ea5a8b03n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b="tGLcpU/q"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42f 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:30146 Archived-At: Take a look at the native output. If these links have some distinguishing feature like a `uri` class, then you could try adding the CSS .uri { word-break: break-all; } More here: https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ If the links don't have a distinguishing feature (I suppose it would have been added by citeproc), then you could use a Lua filter to identify links to URLs and add the uri class. Antonio Piccolboni writes: > Hi, > I am writing a document in markdown with the bibliography in biblatex, with > a target of generating epub, html and pdf. I have many bibliographical > entries containing long urls that display poorly in epub because they are > not broken over several lines with sufficient flexibility, for instance at > "/" or other separators. I thought of inserting or zero width spaces > with a filter, but they all display verbatim in epub. Suggestions? Thanks > > > Antonio > > -- > 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/73c2f227-7945-4410-bccf-e264ea5a8b03n%40googlegroups.com.