From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31704 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Erik Rask Newsgroups: gmane.text.pandoc Subject: Behaviour change in docbook reader Date: Mon, 7 Nov 2022 08:43:23 +0100 Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a19d5105ecdc9467" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19198"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCE2T2EC5ADBBJ7OUKNQMGQEQO7GSJI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Nov 07 08:43:41 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f187.google.com ([209.85.208.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1orwnE-0004pm-S5 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 07 Nov 2022 08:43:40 +0100 Original-Received: by mail-lj1-f187.google.com with SMTP id c15-20020a2ebf0f000000b0026e5ee94251sf3690301ljr.10 for ; Sun, 06 Nov 2022 23:43:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667807020; cv=pass; d=google.com; s=arc-20160816; b=Fgd265dVdxry8if+5TZhtb7iyyxvD1eDCqgyfWsIRww5ghgmJ5f9LPzAUovKtrRSCI 4dLUZqiK/xbHCYBJxBJjINSbwm9jokwU8xwTK16dxGLMa+JUnGAAAahJREPfOy1jomcj pqwe+eLZkz6521Oh8zDzjrxJLTiLy0oPbsAQSZ2IUH6Y5KsgALiSlYRVwl/TPpUqMMC7 8V4cm8PGgrei20mWOiHbxqBQWli0w7LpK2oQHtFG1q9i1nhtoFmipwJsDAQkZki7UAiw C8BjzRbW23DTKJQjVdN+QBPnmS+V/ZJhkXE8jNxRupeOwXOPX8Tl9Ck5qn7vo+dyw3FX hyMw== 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:to:subject:message-id:date :from:mime-version:sender:dkim-signature:dkim-signature; bh=l13vPG621Z4TfKmRn12xjrVxUtAsbQRD1IBsc7DnSsw=; b=ImVLawxWjemjU2PS/MVoUeykF9PougItjO6Tpq4nMDMPR6BPE8WOSr6BZgV5PkxxBg 0xQsoJssrXqIGJd5jps+dbDCI9faZIp5raApuERaaWD0s6TN4eTo7HwBLD3Bo01cyMJs OYDsAL4gpGuM58FZ9QbqZJ8hWqZzm9nFbh8eH2gmdw8HZdSq6LpYhEX9ghRixqKCpmwN nOS7i3nudacUGFgO+VE6e6vFjblPWsBqvZ+o2K0Io3ljPwG2zdyVQX4/tWVvrTjwukpG j26aOeIRnYNcLZJ6gtDLOx1AiK/NVVZKMsDOP01MnUk0vVC+Fq6MahB+K2xOAmstu9zA b35Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aXqST7Wq; spf=pass (google.com: domain of lifeunleaded-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=lifeunleaded-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:to:subject :message-id:date:from:mime-version:sender:from:to:cc:subject:date :message-id:reply-to; bh=l13vPG621Z4TfKmRn12xjrVxUtAsbQRD1IBsc7DnSsw=; b=Z/smq2+O9QrQFyeGE54CY/sTrIg4HbS0YXqEnd6UYRyAXlVqYMxB/tcke8swGLi4w3 aGTGNqu1aS4jgM7EahINgcgjivEI0Fai0KxP9Z5oo98ibBRUguNZIp5UBNPcBJy4IxX8 M+3ahz7gN3SyKGHetEFQsY2db4/4JgAVvCInevap0D0GcsQs3N9v2Bv8lUGjY+mQu33K 3AUkAlfsfkdAiGaBxk/xgPgM6slbMR/khA+/UPbkv8+Nq1BC857lMv9oPfB2DzPd1q/o /cjxFoFpatadyOl7UvTBHRYSOAuTamCkip6+OqyHp8HoEcgpek/yVS28iv9lw7yDekZx gR/g== 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:to:subject :message-id:date:from:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=l13vPG621Z4TfKmRn12xjrVxUtAsbQRD1IBsc7DnSsw=; b=i4Qwjcai4votRT2Fwx1d4RjKyz+XqgP8pgcJ91D3VD3SuqKZBf/ExLp3QzYYoCWNlg P2O4Ewslobhl0nm9gGOrzezmEcfP7eMT50wp43YCTKTuIlvrIV++wR3gEV8bddmAe0xf XQkYgc3+aQrXr8XpMkxlz4lJkrL6HSli+WIFBMIkuQ29k+c04sCliYmABhO7gLgSF/67 AdoqEGMsLx15dLKklFD7ixn7elZWn39AFupOMmE90kX8fWPu6wm09/BOaoIsjzZ1ZTNp b1RZ5rnMU99lUeNACK/Np3IOKXujjl2z48zvECC0tFZXLdABznwpHd/5euTdA6CyIqTf Bykg== 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:to:subject :message-id:date:from:mime-version:x-gm-message-state:sender:from:to :cc:subject:date:message-id:reply-to; bh=l13vPG621Z4TfKmRn12xjrVxUtAsbQRD1IBsc7DnSsw=; b=uNNNUVNAMajIN+5TDBkO2Bc22lfRM6pHRscB9+qgG4oKN0CuVh4rxBBahs/fTytTsY s1CkKv3pKiyHFiEheaR7HUaG/Ox9bBcxpu7pqUuw9cqIc/A0MiOJjZ2FMFAx+MGDP1tE vT5zcixUVTo/UYEC+H6w5vRZPptQJo2RN/T5QwCT+BuVfa2fhAbAQwl/ehwTzUoqhhNP BqSC1owm3Ac/JsZxhF3s0I+EmEpPQyaD7jS4OfF9cqfXcr8OebQxYrrYmCX2lYiphBhn C8znh1vcL7Ee18+leWcR/NA9oEu0f1a6BBTlTmIo/w54hA+vpP6Z/6QH00SA51+oUIav O Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf1S629/AGd5FnTdjo/9gjIpQLKmZr0ayBFG7Ee5ki/FuY826I40 kGI/4ESDMW8KDZWm/WMNTB4= X-Google-Smtp-Source: AMsMyM6qwLOD3yvOEZnEFKs7eNLaSQ5BJmj8nYL14HzUlTu44uTZGqwGdCHsDAiwZwxlKDdqwHvCyQ== X-Received: by 2002:ac2:5691:0:b0:4b1:7f37:6e6e with SMTP id 17-20020ac25691000000b004b17f376e6emr7703340lfr.20.1667807020063; Sun, 06 Nov 2022 23:43:40 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac2:58f3:0:b0:49a:b814:856d with SMTP id v19-20020ac258f3000000b0049ab814856dls6064560lfo.1.-pod-prod-gmail; Sun, 06 Nov 2022 23:43:34 -0800 (PST) X-Received: by 2002:a05:6512:3122:b0:4b0:91a1:8eac with SMTP id p2-20020a056512312200b004b091a18eacmr16846467lfd.356.1667807014750; Sun, 06 Nov 2022 23:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667807014; cv=none; d=google.com; s=arc-20160816; b=aX2FALUh648Rr/KjE3+dVmI2pgSd26vezo+p067BKECcNFzF6D22eXPBynSy8kKDSb fjJJf+2wPZTUm/VkdZLDcCfttnjjy3+PcON8CIxeqvwT9Y9yxwn2JpvM/v5OT6OoEvAV J0DElULbnFeTWN04/Vjh7lrqISdzgqXN2myWgu76LAgxbZoXWkF8tMGIJ2vIGbR6mgAz S8R0u42kVhp+qJKImvQcvroISvdlk4yOOG/fRsOXuHfaySgFFPjz2Y3MQXkuTdnDDMly S6/3BnNO5y9UIcKkiJEByjPF8xSH6pJziiCIzZg4UIfecZWbcDKpWAZPfpOyhkJcmKW4 Czbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=Pd5hqgDdU0QJb5HKBGwxY9cnEeZSBQ/7wgAOooKTufw=; b=Otxqm0svyOMbaaMUr5CnVwMsumu3QKMYSC7rNPYQaYr5Dik5TvJcN+uJ6OEpGXi3LF TYZHvTx9Rf/sv2Ey9Mo/y6HHTlsRvJqQKcWPeuxWbbQGkL2zzLwPph/tJvIs2VL8glAg xEi+B+KuxL29BXT+tKXoZh/WvR5IGUhFmNMaxDnONGnoenJUnvFcy5M2elOo/1UQ/Qwd vmZEgX1rKauUJSKuLMTnZdSGzi7CF/NRkJABx97jcVNiXHp4rPqXuUFLEOFsCgj7AOgb wyGci+r4/JNim+1W+Spm9MAVwF0uQSjnaAtQ3sBCXvn8wBAJ4GaHo/AnT423BFRi4avI 6REg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aXqST7Wq; spf=pass (google.com: domain of lifeunleaded-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=lifeunleaded-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com. [2a00:1450:4864:20::529]) by gmr-mx.google.com with ESMTPS id o22-20020a05651205d600b004b01b303713si208328lfo.8.2022.11.06.23.43.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Nov 2022 23:43:34 -0800 (PST) Received-SPF: pass (google.com: domain of lifeunleaded-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) client-ip=2a00:1450:4864:20::529; Original-Received: by mail-ed1-x529.google.com with SMTP id z18so16131937edb.9 for ; Sun, 06 Nov 2022 23:43:34 -0800 (PST) X-Received: by 2002:a50:a406:0:b0:463:4fe5:67d1 with SMTP id u6-20020a50a406000000b004634fe567d1mr40345416edb.151.1667807014131; Sun, 06 Nov 2022 23:43:34 -0800 (PST) X-Original-Sender: lifeunleaded-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aXqST7Wq; spf=pass (google.com: domain of lifeunleaded-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=lifeunleaded-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:31704 Archived-At: --000000000000a19d5105ecdc9467 Content-Type: text/plain; charset="UTF-8" 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 conversion 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 seems to occur in the docbook reader: A element was previously put into a blockquote pandoc object, now it is a div with an identifying class. I am trawling the changelogs for the releases between those two, but would 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? docbook: Here is a note without a title Pandoc (-t native) 2.7.3: BlockQuote [Para [Strong [Str "Note"]] ,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "note",Space,Str "without",Space,Str "a",Space,Str "title"]] 2.19.2: Div ( "" , [ "note" ] , [] ) [ Para [ Str "Here", Space, Str "is", Space, Str "a", Space, Str "note", Space, Str "without", Space , Str "a", Space, Str "title" ] ] Regards, Erik Rask -- Hurrying will get you nowhere faster. -- 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/CAMXDC9%2Bw_75mDebPvJ-RyuUyJkd7x0QTbqUe7ZT1mwuWj_wZqA%40mail.gmail.com. --000000000000a19d5105ecdc9467 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I went ahead and upgraded parts of the toolchai= n since the pandoc version there was too old (all the way from 2.7.3 to 2.1= 9.2). After that, the conversion results from docbook to docx were differen= t (granted, I am aware it's a huge=C2=A0version change). Tracing this, = I found one tangible example that seems to occur in the docbook reader: A &= lt;note> element was previously put into a blockquote pandoc object, now= it is a div with an identifying class.

I am trawl= ing the changelogs for the releases between those two, but would like to as= k the community if you recognize the change offhand and know of an extensio= n or parameter that lets me revert to the old behaviour while I identify al= l those changes and put together some Lua to address it?

docbook:
<note><para>= Here is a note without a title</para></note>
<= br>
Pandoc (-t native) 2.7.3:
= BlockQuote
=C2=A0[Para [Strong [Str "Note"]]
=C2=A0,Para [S= tr "Here",Space,Str "is",Space,Str "a",Space,= Str "note",Space,Str "without",Space,Str "a",= Space,Str "title"]]


2= .19.2:
Div
=C2=A0 =C2=A0 ( "&quo= t; , [ "note" ] , [] )
=C2=A0 =C2=A0 [ Para=C2=A0[ Str "H= ere", Space, Str "is", Space, Str "a", Space, Str = "note", Space, Str "without", Space
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 , Str "a", Space, Str "title"
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 ]
=C2=A0 =C2=A0 ]


Regards,
Erik Rask
--
Hurryi= ng will get you nowhere faster.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAMXDC9%2Bw_75mDebPvJ-RyuUyJkd7x0QTbqUe= 7ZT1mwuWj_wZqA%40mail.gmail.com.
--000000000000a19d5105ecdc9467--