From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31716 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Behaviour change in docbook reader Date: Tue, 8 Nov 2022 15:17:26 -0800 Message-ID: <726624CC-60E4-49C4-A1BC-42158C90145C@gmail.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21991"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBEGHVONQMGQEWFA3LFI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 09 00:17:40 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f62.google.com ([209.85.161.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1osXqe-0005ZF-4Z for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 09 Nov 2022 00:17:40 +0100 Original-Received: by mail-oo1-f62.google.com with SMTP id a29-20020a4a9b1d000000b00480db71d44bsf4231944ook.7 for ; Tue, 08 Nov 2022 15:17:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667949459; cv=pass; d=google.com; s=arc-20160816; b=eW19FXWsu2KAfoVYK9wrcuOOVqPGvVykCgyPLApoVoBQaal+Et7pkH7xqOQN9Ymww2 +1S7uaAHDNh72p5wz20HI2GNOUuyIz/BFFZ1n+4SE5Rdb8sn/p6Y9EDAbPev51HT+yLS dk8b6t1cfYn+kZZcvCQgVBXNWQe6Jt12PdIa9cljVTlarJSFSqUgpDI3Erp+dif2QWOv CtLHvlcaoDtZDN3uQ64FYpQQZUiozTm6yA7DfTO1+TZ3B+hahpPktT4dMkbi7J2idmcp ZhKmpuTkEmJf1RWoCrmSdZ2OVG5XEjFmKtXMFuDU+3NQ1PR0diiG2GEzWGtoKWxLrb/I Jm9Q== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=FaGus1Xs/fzlIAl/i4TVXv5Q8K/9aRHe8OGIDulbrcA=; b=vZ84vPe0aWAY+QTMuWoNH9ZPIKuhxbMi6F8n0nM4jYkbTgKyyKkfZqgjSpB94+M6d9 z5uio4G+eCN34tof+BuHG6uw3NnQPr0Q9nBpF4p2WfKhaF5ecpMi7k+GoWF6Rm70cQAd VUb21LzODuDXkt6dcXBGlgAK2JjBMqZOopJJ9V0zOlTUNxA08SIe5UNQCqYSnbVkCdhN xi9tV+1FQs5CQvsVG/HmHzy17IK3HGqCoD0Iekwv5g7RbCjP25LzFB1kuD7ZNUL7BlmX 8rSfPxxu/3dTAsZLavXi0zN5QyTyyMU8yTu3Kb56RB9kzpS8fKo2QnpGkx5XuxXxEte1 mWvw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SohV6Pdj; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=FaGus1Xs/fzlIAl/i4TVXv5Q8K/9aRHe8OGIDulbrcA=; b=pJ0/M8LYXD52IZznWnLBvwIOGedtRiKB7c1uciHZsP9yOVkhd0e1qNSlwRUxruRFFc BxLTxjK6mT7pXdcFK2QSGCW99xyYOBp42l2e5IQ0s2Sv85hCRpaAfW0w6N5oF9bWwNLW WwnN4jmwPtBYkGTL7Bk7o9TA2PQgBh6Tv4lfN4kWcN3EtMpSNmHy81SeKtf78saCA29u jh6kScnMSORb4+kztHj+AuXR8BgSL0i/BWgf4RUxTV6Y0U0GOIFCmPd85zEk3TFcxayh 1A6RErPFG61IPj8uWKU0hUfya4ANj0MOb9N57j/Z7ToN1iKx9xmTowtV89zlVZ+39 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=FaGus1Xs/fzlIAl/i4TVXv5Q8K/9aRHe8OGIDulbrcA=; b=qhrfssMuIcY//Tb0NgQTN8J0ePz8nrXXXCtw4Qx/osjMvnr4x8fpVc8UFtwaU1ItLM L9S7p5d/n4/sxlHLbuNTVIC/rAGGuF+6kdnI5jNLxmvml87En+lVJmmL6M+AmB8HkLvP DKysdcIiVJKNnktwB1x55QBymyicOvsSNnU71fGlYH0N4jdtbf1pE2geiq3NhgS2ilkj 0dDEfftGiL4odFGDJp/rv2oOtUzAiHlXcLqao76yqSse5Fm5/YUefQzKbRI/Pcq40I7W vaHkTCtZo89QhF2kLWC4BK2cZ+HXMEWYAb2TxVGYZCRDNUb6ptZsBktKDJx3kkpK8+5V O 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=FaGus1Xs/fzlIAl/i4TVXv5Q8K/9aRHe8OGIDulbrcA=; b=5cu6i3q7qVSSI8fbcYBpMIMawiO5a9o4bFbPZSWnH7MEU/1lc1CWgjvtlgcCmdpgjY /TI2hGuynNVinIEexLfsT+4T3kaIJGQI0MFkY3tNZZ6p9g01APwLpRFVkGE8ZJC1WwHd s7T8537PW65wVQ8ct8usdnywZTdAMlwM/yyg1UqAwAGDZprKXae0h26q4MVYG+k3FCW8 E/FAC6QmMPj/78wl39pqowf+i0WXV+9aqYEPC+yQ0y0PYFXdU5CTzB64b9e2bVuAuBGn dYQm/3Xrn+lNmPhfjrgv Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf2ZOHoVbMAwmX+nw/rR/M9Era9vQX4Hh+26m5UXZ4ooKkVxHulA QYO70f3u1EC8+8NXingxS1k= X-Google-Smtp-Source: AMsMyM776Am+SG3cpRIBhwOjDyyOQKKcU01teatunGWjiC4GZhVcipYm/x/vexCchxpEGXN1m4fKDA== X-Received: by 2002:a05:6808:220f:b0:359:b188:b2f2 with SMTP id bd15-20020a056808220f00b00359b188b2f2mr30216093oib.241.1667949459104; Tue, 08 Nov 2022 15:17:39 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6389:0:b0:65a:941:6199 with SMTP id w9-20020a9d6389000000b0065a09416199ls2742093otk.5.-pod-prod-gmail; Tue, 08 Nov 2022 15:17:36 -0800 (PST) X-Received: by 2002:a9d:4703:0:b0:66c:52bf:3300 with SMTP id a3-20020a9d4703000000b0066c52bf3300mr24318045otf.73.1667949456158; Tue, 08 Nov 2022 15:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667949456; cv=none; d=google.com; s=arc-20160816; b=mZ4EkZVarO2MLAzniyB85pKyS1bftcg6Vqus6ApFyp2JpRC89nV4Q8VPdbZP6/008M SJau/sLikOX6756LyOskVSFhNUZGLiRIOeKjPilBrRFJLzQ4AHFh7MkIiTEYP1zfxco1 aL07hdP4K7nsYtoZFCC9uN0zig03K4ynF7aAWTvv2bp08AKzH4Wy2JO+a2WRfIL8xhzP VYVi5OHAjTmCnVf++nzaReFIE0hgj3O61VB5zFvVtELIiPHHUrcRgLReOSkuaY++c9nj kQxMxvTZMTpSgjFAqnRbu/GrbzotQGnehprMEouB4i4/QJo+Dm5l/BomSwratuwcIX6T zJ9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=FYZ1j2wPJNcetwQe5CNraABwdKbzdc3OBQiDjiIimCk=; b=dHEgH0bb6E6+koIqacKYu8j28lh5VW+lYpIaNga67JW/p7bRqzlbGpRdYvGNgq5ujN oAhz2BeIcpZTqqLs7ono4sS1Mp7SzRM1XWqKWFJLYcwuty22XTfrFCtQwP5FhZJF7z7Q aCM+WPIy+mv9QgPL8goHUs6s1KYkBe3f/FI8WFFZB5uildOQwCkbWQazB3BYWvVcTmdQ 3147Dol/XtAsxMkk4cBccg/pwO4r4+jxZb9YTnjnuoRHcgcCqPU0AYRe/iVD0jDxQN3u b48aPE/PO/HfeJotouIiaVva6jCMCNgDLffL62sPQvf0uLKNz1g+SVWwHj8ggd8tt4yF n72g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SohV6Pdj; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com. [2607:f8b0:4864:20::1031]) by gmr-mx.google.com with ESMTPS id g81-20020a9d12d7000000b0066c34c88dc2si619461otg.4.2022.11.08.15.17.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Nov 2022 15:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 as permitted sender) client-ip=2607:f8b0:4864:20::1031; Original-Received: by mail-pj1-x1031.google.com with SMTP id d13-20020a17090a3b0d00b00213519dfe4aso281148pjc.2 for ; Tue, 08 Nov 2022 15:17:36 -0800 (PST) X-Received: by 2002:a17:902:b591:b0:178:4f50:673e with SMTP id a17-20020a170902b59100b001784f50673emr1085806pls.126.1667949455106; Tue, 08 Nov 2022 15:17:35 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id l16-20020a170903245000b001885041d7b8sm7482881pls.293.2022.11.08.15.17.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Nov 2022 15:17:34 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SohV6Pdj; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:31716 Archived-At: With the changelog getting to be book-sized, it=E2=80=99s a big undertaking= to look at all the docbook changes since then. A cleaner approach would be to do a git diff on src/Text/Pandoc/Readers/Doc= Book.hs from 2.7.3 tag to 2.19.2. Anyway, a Lua filter to change the 2.19.2 result to the 2.7.3 result should= be quite trivial to write (3-4 lines). > On Nov 6, 2022, at 11:43 PM, Erik Rask wrote: >=20 > Hello, > I went ahead and upgraded parts of the toolchain since the pandoc version= there was too old (all the way from 2.7.3 to 2.19.2). After that, the conv= ersion results from docbook to docx were different (granted, I am aware it'= s a huge version change). Tracing this, I found one tangible example that s= eems to occur in the docbook reader: A element was previously put in= to a blockquote pandoc object, now it is a div with an identifying class. >=20 > I am trawling the changelogs for the releases between those two, but woul= d like to ask the community if you recognize the change offhand and know of= an extension or parameter that lets me revert to the old behaviour while I= identify all those changes and put together some Lua to address it? >=20 > docbook: > Here is a note without a title >=20 > Pandoc (-t native) 2.7.3: > BlockQuote > [Para [Strong [Str "Note"]] > ,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "note",Space,St= r "without",Space,Str "a",Space,Str "title"]] >=20 > 2.19.2: > Div > ( "" , [ "note" ] , [] ) > [ Para [ Str "Here", Space, Str "is", Space, Str "a", Space, Str "not= e", Space, Str "without", Space > , Str "a", Space, Str "title" > ] > ] >=20 > Regards, > Erik Rask > --=20 > Hurrying will get you nowhere faster. >=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/CAMXDC9%2Bw_75mDebPvJ-RyuUyJkd7x0QTbqUe7ZT1mwuWj_wZqA%40ma= il.gmail.com. --=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/726624CC-60E4-49C4-A1BC-42158C90145C%40gmail.com.