From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32360 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Julien Dutant Newsgroups: gmane.text.pandoc Subject: Re: Is there this option to convert to slide and document? Date: Mon, 20 Mar 2023 09:49:41 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7575_922853513.1679330981617" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2152"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC5Y3356IYIKNHPCUADBUBHBUL5H2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Mar 20 17:49:46 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1peIhd-0000JX-Se for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 20 Mar 2023 17:49:45 +0100 Original-Received: by mail-oi1-f187.google.com with SMTP id q127-20020acaf285000000b00386dec7a02bsf3057210oih.0 for ; Mon, 20 Mar 2023 09:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1679330984; 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=pdoUylLIoNLygillIIgS+tS0jLtQOwgZb+tqjExnt/Y=; b=gSe+yMhA9/MOY3Wu08pAmUfQFOzd9kPT2UK61+l9v8ku21eHTwdiZfWYx/TSEgxYHr oFDvZEJtOm1ZekRVWTZBYn+D+/5Tvxi/KgwFMlZna5TQSyZzLYiDafN8E2NMxWLhiqvf Z/zKX41xjTNVZOSwdQE4IQ6IfdnQBnJIW7Q/bjegviuRiBX6bBsIBXBJK19We4sXZUqx wpWzSMuYAnZbDrBeBY4PGWgNZm78s+nCyXSM+nb71sECKyngKsTdmKkbo+Zm2zvGRThr eti+vuTppQTrsnYJYB5k3dAX/tE5xyL0JFV1Lj+6TDXIASLwvU6+JnFf6rK9zBUiMSBg AABQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679330984; 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=pdoUylLIoNLygillIIgS+tS0jLtQOwgZb+tqjExnt/Y=; b=Lll1N4aQ75XBKNg11gpnZEV0JYkq17fUVWw0Kpjh7qQOCKnZ4JP60SenQlv4H5FZhr 2uWzq5ci5z0L3ulq4i69P7G24M/BNrsNc7WpZtxOXX2YvGstU401ZnFXXxDoqBy5ReLi d0ci+LfmvRyFvN6sDRdKDHL+HQfXIthz41b4MlIhi6qm7uaPBpWto6mfoOOZop7EcHFb 563FLNICFAOmeof1MvAzarqyQkpA80ze7iV+I1nwnsYxL1dYMRzUCQwqvutRpb4gdkv/ l0yO3f8PASK5+ALUgTJxxyAPJ2rusvcIRnw2U7dYMjW031k1meBuHAq2aBl7lP8udMJI yMRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679330984; 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=pdoUylLIoNLygillIIgS+tS0jLtQOwgZb+tqjExnt/Y=; b=kyfGuQ7qSVd3VFjN1HzA9ELG2CU1siHzxeFq3DtOl0xKEZPcTXtMw+kZoJ1nn3RIzd HX8LoSN9lXuXK61/FDC6KMlEKMjIPz7O24IhzqkMTCi1ZBJ/lZKnrTJgTlRtOclzj2zw uiUWeXwwwezEWVHieOI6Y5y77K/+o4IUI2mahfEU2OpNCran12FJoTsHGnRsWIEH+1K5 RYDgCYUa29VrWr0f1NvPbQgWZGgDKqlOjkKjkaoGkbdYPRtUphT8jQ+VInhOHufHBYbb y/JPY149fR4cWRQy+ZxdCURMfwkc+D8FQPp/8YUTYTLXdeMhlP5nLsFNiHNjqswUlx4K Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKVElJF+4uS6WFq8TF1r32IMOc3iVrxysRVcT+5S7nUsoLZtAdG+ h3EtUvosFQYN9LWE/4tITK0= X-Google-Smtp-Source: AK7set8+fLEjYs/pyB3foeeXnaVTvE1LhDHMqxrgnJYp3D3ZC6VyQfEm5Lseh9SDOd4ISVdnlAYW9g== X-Received: by 2002:a05:6870:bf98:b0:177:9150:e7ba with SMTP id av24-20020a056870bf9800b001779150e7bamr2726453oac.3.1679330984809; Mon, 20 Mar 2023 09:49:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6053:0:b0:690:d969:257b with SMTP id v19-20020a9d6053000000b00690d969257bls2290578otj.4.-pod-prod-gmail; Mon, 20 Mar 2023 09:49:42 -0700 (PDT) X-Received: by 2002:a9d:7505:0:b0:698:f988:7c3f with SMTP id r5-20020a9d7505000000b00698f9887c3fmr218452otk.6.1679330982170; Mon, 20 Mar 2023 09:49:42 -0700 (PDT) In-Reply-To: X-Original-Sender: julien.dutant-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:32360 Archived-At: ------=_Part_7575_922853513.1679330981617 Content-Type: multipart/alternative; boundary="----=_Part_7576_1866890924.1679330981617" ------=_Part_7576_1866890924.1679330981617 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If I understand well, the idea is to convert the following into two=20 different outputs, depending on whether the output format is revealjs/pptx= =20 vs pdf? =20 ``` markdown =20 Text text !!important claim here!! text text text text text text text text text text text text text text text text text text text text =20 * Point 1 text text text text * Point 2 text text text text =20 ``` =20 Would remain the same in pdf (or other document format) output, except that= =20 the `!! ... !!` content would be highlighted, while in slide output formats= =20 it would be converted to the following: =20 Would be converted to the following in slide ouputs: =20 ``` markdown important claim here =20 * Point 1 text text text text * Point 2 text text text text =20 ::: notes Text text important claim here text text text text text text text text text text text text text text text text text text text text ::: ``` =20 You'd have to write a Pandoc filter to do that (=20 https://pandoc.org/lua-filters.html ). It would make your work easier to=20 use Span and Div markup rather than !! ... !!: =20 Text text [important claim here]{.imp} text text text text text text text text text text text text text text text text text text text text =20 For the document, there's only highlighting to be done, that's fairly easy.= =20 For the slides, you need some restructuring of content, that's less trivial= =20 (replace the paragraphs with their important bits, saving the paragraphs=20 along, and placing them at the end of the slide in a notes Div) but it can= =20 be done. =20 What's not clear to me is whether many people would use it. It seems pretty= =20 rigid: keep all the lists, remove all the paragraphs unless marked, the=20 slide text must be verbatim in the document text (instead of summarizing=20 it, for instance. =20 Best,=20 Julien On Monday, March 20, 2023 at 1:08:28=E2=80=AFPM UTC Amy de Buitl=C3=A9ir wr= ote: > Pandoc supports speaker's notes, if that's what you're looking for. See= =20 > https://pandoc.org/MANUAL.html#speaker-notes > > On Sunday, 19 March 2023 at 13:19:57 UTC Aldo =E2=80=9CScias=E2=80=9D wro= te: > >> =C2=BFExiste esta opci=C3=B3n para convertir a diapositiva y documento? >> >> *Markdown with markup for relevant parts within a paragraph. !!Text!!* >> Markdown con marcado para partes relevantes dentro de un p=C3=A1rrafo.= =20 >> !!Texto!! >> [image: import.png] >> >> Slide with the important parts and the containing paragraph as speaker= =20 >> notes. >> Diapositiva con las partes importantes y el p=C3=A1rrafo contenedor como= notas=20 >> del orador.[image: presentation.png] >> Text document with the document and the important parts without=20 >> modifications. >> Documento de texto con el documento y las partes importantes sin=20 >> modificaciones. >> [image: document.png] >> Benefit: >> One markdown for two documents. >> Another option is to create options to convert the entire document or fo= r=20 >> the summary or important parts of the content. >> >> Beneficio: >> Un markdown para dos documentos. >> Otra opcion es crear opciones para convertir el documento entero o para= =20 >> el resumen o partes importantes del contenido.=20 >> >> --=20 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 e= mail 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/aa04e960-f938-40d0-9fd6-13a39cb2cb2an%40googlegroups.com. ------=_Part_7576_1866890924.1679330981617 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If I understand well, the idea is to convert the following into two differe= nt outputs, depending on whether the output format is revealjs/pptx vs pdf?=
=C2=A0
``` markdown
=C2=A0
Text text !!important claim= here!! text text text text text
text text text text text text text te= xt text text
text text text text text
=C2=A0
* Point 1 text = text text text
* Point 2 text text text text
=C2=A0
```
=C2=A0
Would remain the same in pdf (or other document format) output= , except that the `!! ... !!` content would be highlighted, while in slide = output formats it would be converted to the following:
=C2=A0
Wou= ld be converted to the following in slide ouputs:
=C2=A0
``` mark= down
important claim here
=C2=A0
* Point 1 text text text te= xt
* Point 2 text text text text
=C2=A0
::: notes
Text = text important claim here text text text text text
text text text text= text text text text text text
text text text text text
:::
= ```
=C2=A0
You'd have to write a Pandoc filter to do that ( https= ://pandoc.org/lua-filters.html ). It would make your work easier to use Spa= n and Div markup rather than !! ... !!:
=C2=A0
Text text [importa= nt claim here]{.imp} text text text text text
text text text text text= text text text text text
text text text text text
=C2=A0
Fo= r the document, there's only highlighting to be done, that's fairly easy. F= or the slides, you need some restructuring of content, that's less trivial = (replace the paragraphs with their important bits, saving the paragraphs al= ong, and placing them at the end of the slide in a notes Div) but it can be= done.
=C2=A0
What's not clear to me is whether many people would= use it. It seems pretty rigid: keep all the lists, remove all the paragrap= hs unless marked, the slide text must be verbatim in the document text (ins= tead of summarizing it, for instance.
=C2=A0
Best,

Julien

On Monday, March 20, 2023 at 1:08:2= 8=E2=80=AFPM UTC Amy de Buitl=C3=A9ir wrote:
Pandoc supports speaker's notes, if tha= t's what you're looking for. See https://pandoc.org/MANUAL.html#speaker-not= es

On Sunday, 19 March 2023 at 13:19:57 UTC Aldo =E2=80=9CScias=E2=80=9D = wrote:
=C2=BFExiste es= ta opci=C3=B3n para convertir a diapositiva y documento?

Markdown with markup for relevant parts with= in a paragraph. !!Text!!
Markdown con marcado para partes rel= evantes dentro de un p=C3=A1rrafo. !!Texto!!
3D"import.png"

Sl= ide with the important parts and the containing paragraph as speaker notes.=
Diapositiva con las partes importantes y el p=C3=A1rrafo con= tenedor como notas del orador.3D"presentation.png"
= Text document with the document and the important parts without modificatio= ns.
Documento de texto con el documento y las partes importan= tes sin modificaciones.
3D"document.png"
Benefit:
One markdown for two documents.
Another option i= s to create options to convert the entire document or for the summary or im= portant parts of the content.

Beneficio:
Un= markdown para dos documentos.
Otra opcion es crear opciones para conver= tir el documento entero o para el resumen o partes importantes del contenid= o.=C2=A0

--
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/aa04e960-f938-40d0-9fd6-13a39cb2cb2an%40googlegroups.= com.
------=_Part_7576_1866890924.1679330981617-- ------=_Part_7575_922853513.1679330981617--