From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29913 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: pandoc and revealjs r-fit-text and r-stretch? Date: Thu, 06 Jan 2022 15:14:03 -0800 Message-ID: References: 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="35886"; mail-complaints-to="usenet@ciao.gmane.io" To: Joseph Reagle , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBTXP3WHAMGQEBFB6OIY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 07 00:14:25 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f183.google.com ([209.85.166.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n5bxh-00098e-Fq for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 07 Jan 2022 00:14:25 +0100 Original-Received: by mail-il1-f183.google.com with SMTP id w1-20020a056e021c8100b002b545cce322sf2592173ill.17 for ; Thu, 06 Jan 2022 15:14:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641510864; cv=pass; d=google.com; s=arc-20160816; b=OzDoM6dR16eN3B7Datw5I0udoh36Kfw2F7uoV/FurO0bdZxWj0X7ENfMsrRUH2oLor Aj07HXVtRwFkMIFki/TJuBVUfa8eR2Ru+l7jFks2RazDPRig8vvoRRkhBd4s3CTucbKQ +cft9XsrR3TaVKU2wF8gEA5HYIsJAi9230HBBauI/MnxEj/sWijF/detZaILIIqUBv06 HdXzcZgTR/4/BNhaBQk9j08WYym1IK0wPLRtF0EnuUslwTLpfnTpdOjf3ys++rufeBYv le8YBjEqE5oEe1hBNP06Vqs7kUc0siRMLXgC3hy0lke0HFrw+A27fJfJqRvZSFBSMvC4 rvmQ== 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=/8v9r6m4ixF5X5/iAERFIK5lNDS41nWV360+UT77UX4=; b=zN0JJUZWYfMq3COhONroDiZMphHkEBVPxbyQIAn09MWeJ9alzoju2YlQpsRE89cAUl nFp8uoq7BSXObZq5L+2qf0OEL6lnwx60oz/sLtqBstOUccDMYRn253C37YF0Yg6s4epG KNS0pr9pJo6DUtwIWGp1tU376JvTLNQuRNCjCKfi32JZVrpEIUaA9u28+OxhHkOkH7M5 k0xU+rexKk5ip9b6cVNN4nq28tN9OZvzcJIC0X1V3/VhVm2oExLb8Od7FAoAV4ODuJMh 2bZL7ZmFtMmZf+DoeD7njqEOfAgXwwkM+dXar0Wi51mU+5I+kJM+2RSQfR0KvTyOBwSP +lLw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=MrSviV4X; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 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=/8v9r6m4ixF5X5/iAERFIK5lNDS41nWV360+UT77UX4=; b=AV1Q77tDkkyvuLai3L3rzbQqdW3ox56UO1hhYvUE6gray0SvdhnBjpZAgYSI5vU0Yw lyAcF0d3V13cPjYYM0p7na6e2qsk/DAqV6zyG8FROuK311UnqYMpA6y+msEN2aB0RUYp j/As35Dg8DpPt51UMehkBZ08mzcCFBKx5NQriZl7wgNKGV8Pbh4QF+AcsYgUQXr2ozEj 1KdrrnFFls0cNUnh5I0Ci9LNFPTqThJGuCH8P3UIOa02nWOZ7yA9r3hvrsNXUjPrIaVw fq3aOAVS05qoajREUQixNgE6vcCwojKwxS5Mdrsc3IAauWHfADZWQyrwovgqdm+/jeJ3 WtFA== 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=/8v9r6m4ixF5X5/iAERFIK5lNDS41nWV360+UT77UX4=; b=GStBxQCmbr67L0l7P43aI++Dyg8Vg/TbZFb/mtV+F2KZb0eQgctkBKelPsIg4499NU pDlgm+jZKUQu4O83dkKUSxKKIelYRVX0s6Xn3h/l7WhmcnsIiJlhIdQUZbTS27Ki+IlX O3UGSMQM1vl3+DmK4HebBD48NDXsdUQkhiEzDrJo85LQD8wl7QpJFEdj26GJ1BYnmrDI lRFAzxCl9qRYCUUZgm5b2qbvwR+pr1Cd1iGXHzzXLrU39tknF9Hc99DOXeK0GviYhqNJ SpiM34p7O9icpZIatLsb9mRxNZOnZL0pOUm2sH0sUDFpE0bbLONEXEc67L3QZ5iEFZ1m bhpA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5333adS8ze3NVvqWFXCtD7BzDfwvSxjbs/3aA5hBx287HNtNtHRV DavAQomjM9cIsVdJ72PnhDo= X-Google-Smtp-Source: ABdhPJxPy9THRwLffyjZ6rYUM8HDyBmOnWBMOTT6pS+xnGCoOB9Z0axKLZJh4em457akiErG7ah+wQ== X-Received: by 2002:a05:6638:2186:: with SMTP id s6mr28887820jaj.19.1641510863920; Thu, 06 Jan 2022 15:14:23 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6638:1343:: with SMTP id u3ls572721jad.4.gmail; Thu, 06 Jan 2022 15:14:22 -0800 (PST) X-Received: by 2002:a05:6638:183:: with SMTP id a3mr26282035jaq.51.1641510862565; Thu, 06 Jan 2022 15:14:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641510862; cv=none; d=google.com; s=arc-20160816; b=dlX7xzbu2D43F0bDJGh9fR8OqkmSY65Nwm9dAoatRmbNwCtrGe3DY2eom1heTpsy9Y 8Qomowwikc8K+1o5f76Z+fe3W3Bt14gG/w7oQC6sY4V9vwHr6o3DGmw2ROnVPYpl8oJs ipjezuFCvAVD9dkU7r81npE8usArBB26nYhHK2UB7fuRQf58zWPK6kItYQgp/0yeYFAy bH9gTXcSDGK42s1zVuTiwZ1cma4fK9mrDxrHVE5glFJbPQGh7w/VYyBR7THvWSKNLVxm bQHHR5Qxb147Z/ZtESqPxme3/SgvJAW4Wp3DPtKkq5XdwszWrjtAYbvTreTUYZEffvyc gu6g== 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=h0rdcyKdDQ6zWBgaWvWlvhkNeQiUSbgDofz7lLf2lkY=; b=jKnjvQZ7wH4uvduciIa3VfucMolH2Nf4xriikGgUJmztFaINm6J8ISX478eMdDTb5Z PK2ymqy190BkNUroyeZhdJksN4a2GxOKA7QKFFUcNUz1SZIXsY5sun5n05KlksRKToxJ sVyd4yJ1fOG4dieWMvYzClFkwwPnfJP5TyTTKTHLzn1s7PIZu9y+EK6WJmYua/xCp3MO TJWL++lXkqfBSWFUnoq0O1SNf49hmuOCnkexsa2VcwJRrHahWtWfd7a8H1EmQZ8m3x/S ZLVh9O9BbYInCVU3RWbuMNZt3RZBrEEL3jE3fA/SPX3gMMR4K0lTjd08rMpg/Y6S29c4 QMMQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=MrSviV4X; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com. [2607:f8b0:4864:20::1034]) by gmr-mx.google.com with ESMTPS id o10si244099ilu.3.2022.01.06.15.14.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jan 2022 15:14:22 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 as permitted sender) client-ip=2607:f8b0:4864:20::1034; Original-Received: by mail-pj1-x1034.google.com with SMTP id ie13so3706732pjb.1 for ; Thu, 06 Jan 2022 15:14:22 -0800 (PST) X-Received: by 2002:a17:90a:de8b:: with SMTP id n11mr12716557pjv.98.1641510861321; Thu, 06 Jan 2022 15:14:21 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 13sm3703511pfm.161.2022.01.06.15.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 15:14:20 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 21BC7A29D; Thu, 6 Jan 2022 18:14:10 -0500 (EST) 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.20210112.gappssmtp.com header.s=20210112 header.b=MrSviV4X; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 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:29913 Archived-At: These have now been fixed in master. Joseph Reagle writes: > I'd love to use revealjs's `r-fit-text` and `r-stretch` [1] in the new year, but they don't work with decks generated by pandoc. > > `r-fit-text` doesn't work because pandoc applies the class to both the heading and the section, and so the element gets a double dose of movement [2]. > > And an `img.r-stretch` must be a child of the section, and pandoc typically puts img in another element (e.g., `p`). > > Does anyone have any hacks for using these? Or, if this pandoc generated structure isn't likely to change, perhaps we should put a request in to Hakim to accommodate the pandoc structure? > > [1]: https://revealjs.com/layout/#fit-text > [2]: https://github.com/jgm/pandoc/issues/5965#issuecomment-862314880 > > -- > 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/dffcab84-b283-2864-da6d-787851b6a3c3%40reagle.org.