From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29918 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Re: pandoc and revealjs r-fit-text and r-stretch? Date: Fri, 7 Jan 2022 07:32:16 -0800 (PST) Message-ID: <96ebec32-6e13-49f2-9fe9-bbcfbb74f47bn@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1806_972612618.1641569536507" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34531"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCX7HCFDXYLRBAN24GHAMGQE7FHIUQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 07 16:32:21 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f60.google.com ([209.85.161.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n5rE4-0008mq-LB for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 07 Jan 2022 16:32:20 +0100 Original-Received: by mail-oo1-f60.google.com with SMTP id w25-20020a4a6d59000000b002daaed72624sf3732900oof.23 for ; Fri, 07 Jan 2022 07:32:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=BuDPkjK5kem4j8Ob4dzWz9bhw3BC7ZXgFK3VRHALO88=; b=GCzG7gFrTR5IpR8nCFtD15yp4XtQuNNBy01dm0E53OXUqnWS17Wh41kb0tPL7G/d/V ftbommJadIk6uMimQkp5wO4qOWZ/zsfU4q7e6zI05GtV9bW2mzRE6C9YZwJLNyJCOdNx z7TqOlA0qi3QKm8Pkvim/PBruQsFazC3OU5G8M5mkdxOroCJuKvgyoDUaqvyDDbV1wB4 Okjs6qKCv3/vBvCGL6FjNP9BM7vdk9pX6ebfUArk30O/zrkeYy8rhrZ12PVQzMettuC9 dvZuWs67t8t/tdz/ULnBkun4hebkYsmZpxbdvKSRoVZe8muFGWMts/kmQy0ErrvAjG0w vKnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=BuDPkjK5kem4j8Ob4dzWz9bhw3BC7ZXgFK3VRHALO88=; b=Mnrw9vBbsDLfh1c1DBWrQ6iHZ3YYUmumMp3GdnkZiBNHVIECfA9hLCxq0Y+7VCC3CU Sz645zCudHuGZlsKfDGYUDcEG5m53XU4yjTpq2XWMK4r6nUTxmOeqaIQdwPFUUbX/aX4 cawPGgJ1NC0awhEJA9QkoFqTzHjh1idwDlz4aHIzU2rMHyp/BCs0O6CjMePPdcOg2U3W tAHIuY2QVUJVpeNPXogO8vuP8ScKGLMiDOAp7jb4nLXxkqDSZUwl9Iuf1YSSt+DmDUXH 6jBbqD2asnnZxzwain5S7zQjoVzJTmg375vZi7SEKglzl9aVaviOqzgALQ733tQSmf+V K5hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=BuDPkjK5kem4j8Ob4dzWz9bhw3BC7ZXgFK3VRHALO88=; b=y1tRA8I7iWa0RRqLWm18cP8xNHQF7SgrbCUory7iw2VomYK0Uvq3RMINZg+d6icDZ/ 2rRB99N4KhSaEUbCOOwJCHg6IF404i8x5P7P4KMliqTIvZ60g9gtDMj5U078Zc6DOfPZ Skx6ZSkh4xQVfFTVy/Bohu+l8ESCA39Vf2xaWh+UKBPNuWJ4CJmBjsiGIhDED2LWqXFH nb91fk0k5TztbmgERuuUOJHLslgry2pxaJwfMmCLl9/yyG9kRmcQjKkkYk40fNo7Mpll QBRU9ZuPkIxBXQE4zvqTBTB4Rt5LDfEQ3lhBmhjBfPHG3o6yPOUv8HHFya7r8CQa44mQ w6sw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530z+tULJtxQvkvJSz6+SIm3peshiwpg0Q7FR+9IDnSPGiJ4HwjB IqgjzOnkBIovRsLjG5UTxZ4= X-Google-Smtp-Source: ABdhPJznMIV5cy7IjVsvkvYh9mS3udskBQL8CX94SjWflD8yCMVLHY5VPqukbFKDQr0k5a1g8D8gVQ== X-Received: by 2002:a05:6808:1709:: with SMTP id bc9mr10379445oib.130.1641569538997; Fri, 07 Jan 2022 07:32:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:168a:: with SMTP id bb10ls1340751oib.7.gmail; Fri, 07 Jan 2022 07:32:17 -0800 (PST) X-Received: by 2002:a05:6808:48a:: with SMTP id z10mr2719284oid.137.1641569536997; Fri, 07 Jan 2022 07:32:16 -0800 (PST) In-Reply-To: X-Original-Sender: jmuccigr-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:29918 Archived-At: ------=_Part_1806_972612618.1641569536507 Content-Type: multipart/alternative; boundary="----=_Part_1807_723274545.1641569536507" ------=_Part_1807_723274545.1641569536507 Content-Type: text/plain; charset="UTF-8" Thanks for bringing this up. I have a long-running battle with reveal to get images to display how I want them too (mainly taking up as much space as possible without being distorted since I use it for lecture slides). Going to play with this a bit. On Wednesday, 5 January 2022 at 16:06:26 UTC-5 Joseph wrote: > 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/96ebec32-6e13-49f2-9fe9-bbcfbb74f47bn%40googlegroups.com. ------=_Part_1807_723274545.1641569536507 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for bringing this up. I have a long-running battle with reveal to ge= t images to display how I want them too (mainly taking up as much space as = possible without being distorted since I use it for lecture slides). Going = to play with this a bit.

On Wednesday, 5 January 2022 at 16:06:26 UTC-5 Josep= h wrote:
I= 9;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 movem= ent [2].

And an `img.r-stretch` must be a child of the section, and pandoc typic= ally puts img in another element (e.g., `p`).

Does anyone have any hacks for using these? Or, if this pandoc generate= d structure isn't likely to change, perhaps we should put a request in = to Hakim to accommodate the pandoc structure?

[1]: http= s://revealjs.com/layout/#fit-text
[2]: https://github.com/jgm/pa= ndoc/issues/5965#issuecomment-862314880

--
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/96ebec32-6e13-49f2-9fe9-bbcfbb74f47bn%40googlegroups.= com.
------=_Part_1807_723274545.1641569536507-- ------=_Part_1806_972612618.1641569536507--