public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: denis.maier-NSENcxR/0n0@public.gmane.org,
	pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: AW: LateX to epub -- label rendering
Date: Mon, 06 Sep 2021 09:28:27 -0700	[thread overview]
Message-ID: <m2pmtlk6s4.fsf@MacBook-Pro-2.hsd1.ca.comcast.net> (raw)
In-Reply-To: <c5aefee88458436f8ef800629a5c7686-NSENcxR/0n0@public.gmane.org>


Note also that you could use a filter to remove or change this:

The label gets parsed as

Span ("ch:un",[],[("label","ch:un")]) [Str "[ch:un]"]

And the reference as

Link ("",[],[("reference-type","ref"),("reference","ch:un")])
[Str "[ch:un]"] ("#ch:un","")]

A simple Lua filter could be used to match Span elements with
attribute "label" and remove their contents; this would make
[ch:un] disappear but retain an empty span with the label.


  parent reply	other threads:[~2021-09-06 16:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AQHXoKNoYEHAej8q7UWdpdbA8+V+mauSCKOg///pkQCAADx/1g==>
     [not found] ` <AQHXoKNoYEHAej8q7UWdpdbA8+V+mauSCKOg>
2021-09-03  9:09   ` Vin Cent
     [not found]     ` <84cefde8-0943-43e2-8b7a-96efe6a0949cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-03  9:21       ` AW: " denis.maier-NSENcxR/0n0
     [not found]         ` <c5aefee88458436f8ef800629a5c7686-NSENcxR/0n0@public.gmane.org>
2021-09-03 10:00           ` Vin Cent
     [not found]             ` <7a388540-5381-4e98-bda9-ebcac91a20a7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-03 11:38               ` AW: " denis.maier-NSENcxR/0n0
     [not found]                 ` <0a0b065768ca449095035c65e5dabd6c-NSENcxR/0n0@public.gmane.org>
2021-09-03 12:02                   ` Vin Cent
2021-09-06 16:28           ` John MacFarlane [this message]
2021-09-03 16:36       ` John MacFarlane
     [not found]         ` <m2ilzhobts.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-09-06  5:10           ` Vin Cent
     [not found]             ` <0e877773-9a0a-4b4d-8f8b-b2d3f62d9fc6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-06  5:15               ` Vin Cent
     [not found]                 ` <5f5cf592-c5cb-42b9-89dd-e718519d57e6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-06 16:25                   ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2pmtlk6s4.fsf@MacBook-Pro-2.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=denis.maier-NSENcxR/0n0@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).