From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29848 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'russurquhart1' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Pandoc removes substitution references rst files when converting to asciidoc Date: Mon, 27 Dec 2021 09:40:52 -0800 (PST) Message-ID: <6cc83169-d98f-41d1-92d4-1e7f53840c1en@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_39282_2045043248.1640626852503" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17810"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCRKH45OXUEBBJPVU6HAMGQEW7GNWHY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Dec 27 18:40:56 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n1tzU-0004Sp-8h for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 27 Dec 2021 18:40:56 +0100 Original-Received: by mail-oo1-f57.google.com with SMTP id x65-20020a4a4144000000b002daa05165cfsf8374637ooa.19 for ; Mon, 27 Dec 2021 09:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=+TT9e9Pm0ixAOpL3YyHDnB1P6ssYioBrPAZybXWXxf4=; b=quah1SY9kImgjMSEZxy2VbgYD2pHdgaM68GL9xhCSzR6iIb9G0tK0HvxY3SrvjzCEc 5Ar9hti6Lsi4raVBYOEE5YXF808iIQ2mQkMlg/UiGx45HGEzdcQLh4ZR/ySyFLtO5VMb wezTSytM6/HUzcqTeVQyboj746Uk5c4psfGMXN6hnnlGfq0tFA5AFqhmcth9xZVlFILO PNdSNPLqmyaTNDWWS2d5MCSt+kF4VYOYZ+zJ1eIBzlmstXD8qnRQ5Njjhc24ZC3SV3UW l5b9546nkLTHmKY9+sAPvRKRs9uCa4HpvHu+v6ThYtlXsFaLkcThbzC3IpKFsEEMSwEB yydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:message-id: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=+TT9e9Pm0ixAOpL3YyHDnB1P6ssYioBrPAZybXWXxf4=; b=bruBA0GBNL1p1oFdqTR2Nr+j/T9VJ0hhXphpuQhCfhLMZFHr1X7926oXvwDYNMadbL /GbnT7GZRs8KNhN1Qxw3BanKCAC95bckUPRCOs+/y2qCejvP4XWmbEwKMCEtMtxTZ1l+ K4TH/LM0FPmAUhPlGpIdF30dytwVO5AmFbm+kkpN6pVg7DYt8S7xgcHfufrNrdgqLndl JzqXk2sNiGa44haGTvK+6PRwIWhWgo11jHyDVrrIRrcUt2hgtph86PGSM7wJxDsv+7JI vhSAsP9O5eMJMAfqHJnmdbmrNhnqyrj64/mtrED0TiCDEGu2iP+A8UP+/zcorn1sANwj /utw== X-Gm-Message-State: AOAM530wJDeS26BVrm0NsQqy2wm2ogkQGijyleckNmIVDxtR479ngGTV mjjyd8uGRS165TLN0c6itxY= X-Google-Smtp-Source: ABdhPJxygtKAmZzDhdzADFReC/YNCSyEmNm2COWS+301oH31gtGXgK7w0l+/g0YVdl/M3rBm8+PRDA== X-Received: by 2002:a05:6830:154d:: with SMTP id l13mr12891634otp.282.1640626854748; Mon, 27 Dec 2021 09:40:54 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:41d5:: with SMTP id o204ls3615504oia.9.gmail; Mon, 27 Dec 2021 09:40:53 -0800 (PST) X-Received: by 2002:a05:6808:144d:: with SMTP id x13mr14499006oiv.25.1640626853065; Mon, 27 Dec 2021 09:40:53 -0800 (PST) X-Original-Sender: russurquhart1-H+0wwilmMs3R7s880joybQ@public.gmane.org X-Original-From: russurquhart1 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:29848 Archived-At: ------=_Part_39282_2045043248.1640626852503 Content-Type: multipart/alternative; boundary="----=_Part_39283_1086187721.1640626852503" ------=_Part_39283_1086187721.1640626852503 Content-Type: text/plain; charset="UTF-8" Hi, I have .rst files with the following markup: * ``-build-5e67c9299c330f0008f70ad1`` is a |user-docs-base|\ |release|\ |user-docs-environment|. It will finish on its own and go into a ``Completed`` state. .. |user-docs-base| raw:: html Batch Job .. |user-docs-workspace| raw:: html /reference/workspaces/index.html">Workspace .. |user-docs-app| raw:: html /reference/publish/apps/index.html">App .. |user-docs-model| raw:: html /reference/publish/models/index.html">Model API .. |user-docs-environment| raw:: html /reference/environments/index.html">Compute Environment build I did : pandoc -f rst -t asciidoc -o test.adoc test.rst For this part of the text it converted to: * `build-5e67c9299c330f0008f70ad1` is a . It will finish on its own and go into a `Completed` state. ____ Batch Job ____ ____ /reference/workspaces/index.html">Workspace ____ ____ /reference/publish/apps/index.html">App ____ ____ /reference/publish/models/index.html">Model API ____ ____ /reference/environments/index.html">Compute Environment build ____ It removed the references to the variable names and those variable names where they were assigned. My question is if there is a way to have Pandoc NOT remove the variable names, leaving them in place for another filter to address? -- 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/6cc83169-d98f-41d1-92d4-1e7f53840c1en%40googlegroups.com. ------=_Part_39283_1086187721.1640626852503 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,

I have .rst files with the following markup:

* ``-build-5e67c9299c330f0008f= 70ad1`` is a |user-docs-base|\ |release|\ |user-docs-environment|. It will = finish on its own and go into a ``Completed`` state.

.. |user-docs-b= ase| raw:: html

    <a href=3D"https://docs.datalab.com= /en/

.. |user-docs-batch-job| raw:: html

    /refer= ence/runs/Jobs.html">Batch Job</a>

.. |user-docs-workspace|= raw:: html

    /reference/workspaces/index.html">Works= pace</a>

.. |user-docs-app| raw:: html

    /r= eference/publish/apps/index.html">App</a>

.. |user-docs-mod= el| raw:: html

    /reference/publish/models/index.html"&g= t;Model API</a>

.. |user-docs-environment| raw:: html

&= nbsp;   /reference/environments/index.html">Compute Environment bui= ld</a>


I did :

pandoc -f rst -t asciidoc -o test.adoc test.rst

For this part of the text it converted to:

* `build-5e6= 7c9299c330f0008f70ad1` is a . It will finish on its
own and go into a `C= ompleted` state.

____
<a href=3D"https://docs.datalab.com/en/<= br>____

____
/reference/runs/Jobs.html">Batch Job</a>____

____
/reference/workspaces/index.html">Workspace</a&g= t;
____

____
/reference/publish/apps/index.html">App</a&= gt;
____

____
/reference/publish/models/index.html">Model A= PI</a>
____

____
/reference/environments/index.html">= Compute Environment build</a>
____


It removed the = references to the variable names and those variable names where they were a= ssigned. 

= My question is if there is a way to have Pandoc NOT re= move the variable names, leaving them in place for another filter to addres= s? 

--
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/6cc83169-d98f-41d1-92d4-1e7f53840c1en%40googlegroups.= com.
------=_Part_39283_1086187721.1640626852503-- ------=_Part_39282_2045043248.1640626852503--