From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25181 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gunnar Lund Newsgroups: gmane.text.pandoc Subject: Labels for numbered examples in AST Date: Wed, 13 May 2020 01:31:59 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_742_359017977.1589358719569" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54175"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCL5J3EC3UERBAHB532QKGQEFDOUZLY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 13 10:32:04 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f58.google.com ([209.85.210.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jYmo7-000E0b-Tb for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 13 May 2020 10:32:03 +0200 Original-Received: by mail-ot1-f58.google.com with SMTP id y10sf5513914otk.14 for ; Wed, 13 May 2020 01:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender: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=2wfHRuXUanKBAv+8g7SgrgIWY8iYQTpzabO8fP7zm5w=; b=ooGqPQEUct9qfo/wZqrLrlQc+erW0cqLcnClCnpX6n9nzf3kMHJ7unscphSAKlp0tN BmAyKvHTm/PL6Ms0T15T8pnB2jb80nz3YGqwurfroewFdssHEgaLc+LVr1TImkAhFHnR 1zklM9DHQDVsHCGrQe0sIV7SY6ZG26TDc/tSvWsfDFZyy3nPEQRtnL1XFRGgVpuVjnlb t1WNsNoV8lD1lwThLdUROxfjtExaG3Aubyy9hip1Cn587Y+l5fiWQg9A2aMxW8/ae48U 4DTXfa/ZT53FkOoR/zWTNTbE+CAswHkmw0fpNHX04RHEFo+GnuRaow6cp3SWlAcDgh1v uEZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=2wfHRuXUanKBAv+8g7SgrgIWY8iYQTpzabO8fP7zm5w=; b=mLk7s9wfiTw7BEw5N0PH97gvrvn+mbXjtyZupl9dMV90SrAjfGveM4RnfZVdomjmMw Ks46jGZFLJkMAaQuWOP4S3WGjjDaJe4NI+kW4dQxt1jKWmJpFJHlm35q6b0Ohn8IfiKx 2BUjJW+mb1N3sMLcEGXYVRQrUyLVGDby39RHfXVHPwLJO0GgbCBHjeKsjojNrfoQu3DE ZcQ5ws13eyOWs08JOBk/rmqXQyZEe0SIcMoECu+337OInQ8tEwoqIWX6GqtmOwqSUgIx 2/MBgbl6YQMjUHDLdDoHiQ+nXz508Y4O/b7XTj3HVEpuSGzGyBO17M0p2agAamFtaq2q iYYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender: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=2wfHRuXUanKBAv+8g7SgrgIWY8iYQTpzabO8fP7zm5w=; b=WhMgXfOeKmsdpnnNTdHc8NapT/nA7H4dzW1YpWHC2iLewtLD7imoYaZrKCpga+G8S0 dtf5hJpmZ0prElrUhe/ok0xAb4zeGxv/d6fZPzthhcbxTsMbLUYF6viEnUpU2UgbXqYz XWsFGetHAGiKRaXFpZPM0nbdG3FthAdfyuT2bYcY6WqzD/XgHo8g/YLBrl6Vi7m8Gr1d dTEQxBlZ7yUK1KZWE/hcehTjvxERQNgd+Hx2wEFMMGiESx2p38d41KSHem09bTP6EQiR y55h7TybpdZuv7h07/MWnZ0+0Wvo2zuoeqkVt5fsnK1gIVaE+0E6+DwWUSOfWP1FMtIA JW/g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGi0PuZ5032m12KT/t2YWChVLQ7HRN98Dw+yT0UK0ICAOcxqFRKDSuGi dxaRk/EIdyX7hkXCZ679gsI= X-Google-Smtp-Source: APiQypJQXWc0eg4xwhozE3vCfNDPBcOJzoKowl2U7FV6LmQ8456GdvF4xxYdqozolyohOWMDQ7VQSw== X-Received: by 2002:a4a:3b04:: with SMTP id s4mr10645070oos.35.1589358722901; Wed, 13 May 2020 01:32:02 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:1b0d:: with SMTP id l13ls309375otl.5.gmail; Wed, 13 May 2020 01:32:00 -0700 (PDT) X-Received: by 2002:a05:6830:241b:: with SMTP id j27mr19242681ots.132.1589358720282; Wed, 13 May 2020 01:32:00 -0700 (PDT) X-Original-Sender: gunnar.l.n-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:25181 Archived-At: ------=_Part_742_359017977.1589358719569 Content-Type: multipart/alternative; boundary="----=_Part_743_21630456.1589358719569" ------=_Part_743_21630456.1589358719569 Content-Type: text/plain; charset="UTF-8" Hi all, Are there any plans to make the label in numbered examples (e.g., the label in "(@label)") accessible somehow in the AST? I ask this because I've written a lua filter for linguistic examples (as described in https://www.eva.mpg.de/lingua/pdf/Glossing-Rules.pdf) which converts a specific markdown syntax based on numbered examples to a syntax used in gb4e (https://ctan.org/pkg/gb4e?lang=en), a popular latex package for linguists, when converting to pdf. The markdown syntax looks like (setting aside some glossing specific syntax): (@) <#label> example text The lua filter and syntax for markdown work fine, but ideally this filter could be written with the usual (@label) syntax. This would require that the "label" there would be retrievable in the AST. Unfortunately, the label string looks like it gets lost at the reader step. My apologies if this has been brought up before, I searched this and github but couldn't find anything. Thanks! Gunnar -- 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/e69452e9-cc26-4ef9-b0c7-774d3ddaa8b1%40googlegroups.com. ------=_Part_743_21630456.1589358719569 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

Are there any plans to make the= label in numbered examples (e.g., the label in "(@label)") acces= sible somehow in the AST?

I ask this because I'= ;ve written a lua filter for linguistic examples (as described in=C2=A0https://www.ev= a.mpg.de/lingua/pdf/Glossing-Rules.pdf) which converts a specific markd= own syntax based on numbered examples to a syntax used in gb4e (https://ctan.org/pkg/gb4e?lang=3Den), a=C2=A0popular latex package for linguists, when converting to pdf. The= markdown syntax looks like (setting aside some glossing specific syntax): = (@) <#label> example text



--
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/e69452e9-cc26-4ef9-b0c7-774d3ddaa8b1%40googlegroups.co= m.
------=_Part_743_21630456.1589358719569-- ------=_Part_742_359017977.1589358719569--