From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29181 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vin Cent Newsgroups: gmane.text.pandoc Subject: Re: LateX to epub -- label rendering Date: Sun, 5 Sep 2021 22:10:00 -0700 (PDT) Message-ID: <0e877773-9a0a-4b4d-8f8b-b2d3f62d9fc6n@googlegroups.com> References: <84cefde8-0943-43e2-8b7a-96efe6a0949cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2838_997430730.1630905000539" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23923"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCT6LC6Q3QDBBKOF22EQMGQERUEHQEY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 06 07:10:07 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mN6tS-00061q-LP for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 06 Sep 2021 07:10:06 +0200 Original-Received: by mail-oo1-f59.google.com with SMTP id w6-20020a4adec6000000b0028b7d13a4c8sf3739787oou.13 for ; Sun, 05 Sep 2021 22:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=Ee3oQB9hWokgW1J3AeN3ZHG2iIjii11WqMR35iWs83M=; b=E9qPgEWv/KucKj8r6NbofyypjV2YNVz2tKwUL4IrNVUM89hEQc/3L24aPFADdJcIVa exPhAlxsfcoEklRG5wWT1HVbr/sqeXJEOV6frltC/F3rKuSoHPeUUnx7rClh9Ff6mGev AzRXFwkBNq8EG8l8pMATX8/8y4x0bIoYv9QYmRFzzQykv2ENiIxlEPngfs6s8idp99LL SZkAH9Gy0kejDzPQZ+3sjKZ01EscfTwXtUD1dAPluJMG+1T7oSIAGWGJJjTbWyhTflI2 alQHngVKSfHlSZVxG6Af8OnRXaAC3ArdElI/6hLEXaAf+GwpCapHxFab9VnLswCGmheA Fhrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=Ee3oQB9hWokgW1J3AeN3ZHG2iIjii11WqMR35iWs83M=; b=J6m73W4aTuNwwcO9BiPdUt8CmYXZkDq7ccGm98g7ys03j4EdUJNw75dEu8d5ftGE+U qmm7TnYBk6N+iNPY5XLvznb/zo/fs7WsjkCXIX/hwof6jcKeKoB4YYToxGizraaFQ1wU 3DKt6LtnJsAV7mnx6HX+Ffn1b41ljr8OhMz9d5wiggjJX62yaHmULOR+BWIRQwoYAERx V092ALozBo0y/awp3EZGO3sJ9EqxXRU+GB1zWLSEwwSVUSA8cwBwY1PB4p/l7yEyJE0e akAXofOfnNQzA1UCKklUrfwmBVg+mPlGg8xaZEJNXgBhWokj3rKktn7xIRBiMUROcVtC 02Iw== 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:in-reply-to :references: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=Ee3oQB9hWokgW1J3AeN3ZHG2iIjii11WqMR35iWs83M=; b=P22GazkReIU+Pc6UBy+BvkY0JIx0wflVvCbPqLbv9HmG8FqcvI5dSs87Q7QGrRco9c ERS1EV43ExL0bmwyuFu0hrYesC0YhetieCtIqu1xh5kgk9AKpoDDeEQsxR9+BNsvGtJd wma99D9FH2kn0KilD7e3FImjNzDQfx9GABfxrPy0515HM1cT1OpEX3eO87E5LLcrbla1 ZH3Bq82li5avtVa/gBaLOoQhD45Ho5cBgDNIzqM+chCwLOZ7kMth8uVr8jcH7oFRlFpL Gs2HReveeJGkerFNOTWEuB8kMEqL/B0eJokCDnlhw/AqwI8FPJSkAHbSAuHYThxebUcp qIDA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533NYW6tHuaOycf70PcIRBgFhw32TZBAvK280UALyYukDP9bZ07U pplZAPqRVotPytD33Srrf0Q= X-Google-Smtp-Source: ABdhPJyxBjdjkw07wwYcQruHKg6/vKULHkMzHUyQJKmB6R+gvPdWgkCoDB8yopI5duciu9b4WmuFIg== X-Received: by 2002:a05:6808:2ca:: with SMTP id a10mr7528598oid.44.1630905003074; Sun, 05 Sep 2021 22:10:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6820:308:: with SMTP id l8ls328400ooe.0.gmail; Sun, 05 Sep 2021 22:10:01 -0700 (PDT) X-Received: by 2002:a4a:d48c:: with SMTP id o12mr12493521oos.55.1630905001274; Sun, 05 Sep 2021 22:10:01 -0700 (PDT) In-Reply-To: X-Original-Sender: irakay17-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:29181 Archived-At: ------=_Part_2838_997430730.1630905000539 Content-Type: multipart/alternative; boundary="----=_Part_2839_1354293663.1630905000539" ------=_Part_2839_1354293663.1630905000539 Content-Type: text/plain; charset="UTF-8" For the record, your guess is correct. I'm using debian unstable's version, which is currently 2.9.2.1. On Friday, September 3, 2021 at 6:37:03 PM UTC+2 John MacFarlane wrote: > > I'm guessing you're not using the most recent version of pandoc? > (2.14.2) If not, try upgrading. > > > Vin Cent writes: > > > Hi, > > > > I'm quite new to pandoc, with some experience in LateX. > > I'm trying to convert a book (\documentclass{memoir} ) into a epub > document. > > > > I have been able to get something quite fine (thanks pandoc! this is > really > > amazing) but now I seem to be stuck on a detail. > > > > Each chapter from my source starts with a label, such as : > > > > \chapter{First chapter head} > > \markboth{}{I. First chapter head} > > \label{ch:un} > > > > Foo bar > > > > \chapter{Second chapter head} > > \markboth{}{II. Second chapter head} > > \label{ch:deux} > > > > Which I compile with (I have removed a bunch of option in order to just > > isolate my problem) : > > pandoc -o ebook.epub epub.tex --epub-metadata=metadata.xml --toc > > --toc-depth=2 > > > > The result of this is a render with my label name being displayed into > > brackets. > > [ch:un] > > > > My expectation is that the label is not displayed, but serves only > > anchors/links/navigation if a ref is defined pointing to it. > > > > Can you suggest how I can achieve this result ? > > I tried to look for this problem and > > found https://github.com/lierdakil/pandoc-crossref/issues/319 but to be > > honnest, I'm too much a pandoc newb to understand that thread. I have > tried > > quite a number of suggestions (adding the LUA script, adding a similar > yaml > > file, but this has changed nothing as far as my problem is concerned). > > > > Cheers, > > > > Vincent > > > > -- > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/84cefde8-0943-43e2-8b7a-96efe6a0949cn%40googlegroups.com > . > -- 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/0e877773-9a0a-4b4d-8f8b-b2d3f62d9fc6n%40googlegroups.com. ------=_Part_2839_1354293663.1630905000539 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable For the record, your guess is correct. I'm using debian unstable's version,= which is currently 2.9.2.1.


On Friday, September 3, 2021 at = 6:37:03 PM UTC+2 John MacFarlane wrote:

I'm guessing you're not using the most recent version of pandoc= ?
(2.14.2) If not, try upgrading.


Vin Cent <irak...@gmail.c= om> writes:

> Hi,
>
> I'm quite new to pandoc, with some experience in LateX.
> I'm trying to convert a book (\documentclass{memoir} ) into a = epub document.
>
> I have been able to get something quite fine (thanks pandoc! this = is really=20
> amazing) but now I seem to be stuck on a detail.
>
> Each chapter from my source starts with a label, such as :
>
> \chapter{First chapter head}
> \markboth{}{I. First chapter head}
> \label{ch:un}
>
> Foo bar
>
> \chapter{Second chapter head}
> \markboth{}{II. Second chapter head}
> \label{ch:deux}
>
> Which I compile with (I have removed a bunch of option in order to= just=20
> isolate my problem) :
> pandoc -o ebook.epub epub.tex --epub-metadata=3Dmetadata.xml --toc= =20
> --toc-depth=3D2
>
> The result of this is a render with my label name being displayed = into=20
> brackets.
> [ch:un]
>
> My expectation is that the label is not displayed, but serves only= =20
> anchors/links/navigation if a ref is defined pointing to it.
>
> Can you suggest how I can achieve this result ?
> I tried to look for this problem and=20
> found https://github.com/lierdakil/pandoc-crossr= ef/issues/319 but to be=20
> honnest, I'm too much a pandoc newb to understand that thread.= I have tried=20
> quite a number of suggestions (adding the LUA script, adding a sim= ilar yaml=20
> file, but this has changed nothing as far as my problem is concern= ed).
>
> Cheers,
>
> Vincent
>
> --=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-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/84ce= fde8-0943-43e2-8b7a-96efe6a0949cn%40googlegroups.com.

--
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/0e877773-9a0a-4b4d-8f8b-b2d3f62d9fc6n%40googlegroups.= com.
------=_Part_2839_1354293663.1630905000539-- ------=_Part_2838_997430730.1630905000539--