From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29165 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: LateX to epub -- label rendering Date: Fri, 03 Sep 2021 09:36:47 -0700 Message-ID: References: <84cefde8-0943-43e2-8b7a-96efe6a0949cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26353"; mail-complaints-to="usenet@ciao.gmane.io" To: Vin Cent , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBLM6ZGEQMGQEAN7SFAQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 03 18:37:04 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f184.google.com ([209.85.219.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mMCBb-0006e9-U3 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Sep 2021 18:37:03 +0200 Original-Received: by mail-yb1-f184.google.com with SMTP id 131-20020a251489000000b0059bdeb10a84sf7083203ybu.15 for ; Fri, 03 Sep 2021 09:37:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630687023; cv=pass; d=google.com; s=arc-20160816; b=iKKVx6JheojDaXKoHIiAeumcajj8mikPhhsPNSQbZwwDmfdnPcDI1aZLid5J0hL0OL AMoO2vo+4+nGsdMK6KcBqBvVLVVEjBcotc4anb5/KqLwwHhtsfj5a+CCO5sA8AWGTVMb DvUZtsuif9ItZdFOmKCUMwicS9xD37oyfQBxNwW6yIFWjpWRZaF0VWAI4SYaUgQsxJGH kpaXeqRs5SF7bIttTvooNnvzq3Tr0A+6/ixE3j2y0M5FLyNjNqZUHgQA6S3M/5uMxqlo xnwJt/20+th1QbI+Bx8zJYdPYLmXZX2sOqvEUWzFmxfEeuSqW9/LcF3Jbw69YVtU2otu JxaA== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=x30OdLmpRSZEtpqvyDDrfiIf5RI2QW0DuMifgHrlb7I=; b=aLNgZHz03/10nGPn8xVSdRxMkZ6oj5Q+ixLq8BpGVagyBqUBmMLi5gEc6T0deVXn8e t12zqsLZfurJgRYRQnAozbllNGgQcK6VwV64vFm9DjZqNiL2ZgjsZvKLSr/iEFi9kMh8 Tn4WmZZS0k53ojHmRh87YPNSa2FZhcHU5QR0qPEqH1bXbpeb0tPWWlxJGhjrGVdARnAi ck6cYUoZqzcuhB3rA7kGKr8ISs0wcDmuY5U5fk9GXhBdYlXHX6bDj1UQ5P1cz4tK/rak KwLs6tAr8Hh9Mg570pwIvL0UFLPAfaa7OLqah25yKi9ZFJIyoJJxGCz2deg1K4GJ9TwM DvSw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="1ud/jfjn"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::d2e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=x30OdLmpRSZEtpqvyDDrfiIf5RI2QW0DuMifgHrlb7I=; b=DFLYvehbRkYaaDUVJaH/teCif3mFF46svLJL3mGs0kToKGw1fc+26GQjOOstquI7YW bQc8zduvnq8+z58j3cpezdeNSG03j3G8+fSbHbftPkwlWHCxyLZwvaOvoh+2BCmEpjzf vCTduVImG+UXqKtqeSpZIB/Li5EiUuSu3vclLvA3kmLUIiWOcsEc7jD4PQJuxdr3Jjl8 RXkxdoznfiQh3Gd55Q/PvaOCGqHcDd9J2QfWKq0kSzncv99y7swnjiGSTMUUx7OPOpCP RJxknegw0lt6dRh44YB6LLGObc0NBKchvwTe6qH01aa/cVPbJF0M+907rJEh0DiJCvG9 MSmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=x30OdLmpRSZEtpqvyDDrfiIf5RI2QW0DuMifgHrlb7I=; b=HZtsR+Vu+k6JpPr3SCzbYtDKNa/AA0ufZhgqNMv9mTZ6+ei3ToY2+Gkg305di76vNW G6PK29IEHlvobtKduCMiBGUUDaPJiFXexc8Wtv3Z6VSuK7TbKMR6oo5nKZTAQcGdK2ZB 6HmMJU8ooq+rWwq/ecyrRzeQFlmG4kfPA9q/Nmkf5h7nGHyhkb8IRumzY/gcDE7CoTmg Oowdcrmtf29JqSBhvDjJClFveXKspvjCD+dSsaXyujuM4Na4Ib3c+Pxy81QR3X0E5rn5 BwenVFyP8745aoBJIpc2+kHFXnPuayDwdU8B86xKXhQ3BmaGY4B9v8Aw/AHWJlmdN9Zu 1uEQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531LQCUwQ4TaloPbu7ROTBlf9i9edIEHYuSPZYBhxqT7sBiYF5OY WmR7NZTMjPyEYJefwre+H6I= X-Google-Smtp-Source: ABdhPJzk03TtUbWKtI55VdQP6EQP2sfeVpyQ44i9ab6xQg9q+0J8UySudOLIs16tUmOheVCPDBdD/Q== X-Received: by 2002:a25:9d83:: with SMTP id v3mr5717222ybp.97.1630687023029; Fri, 03 Sep 2021 09:37:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:7bc7:: with SMTP id w190ls919968ybc.2.gmail; Fri, 03 Sep 2021 09:37:01 -0700 (PDT) X-Received: by 2002:a25:a087:: with SMTP id y7mr5993820ybh.376.1630687021193; Fri, 03 Sep 2021 09:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630687021; cv=none; d=google.com; s=arc-20160816; b=TjAVsY/rn/C3/gfZ6wbX/Q5orgNZo07PkkX8ua+v9pnYWQY3ANjeSt/VqwPJwCNoB8 vutlVb9rW+QMx1mMV1k3qcBv0aYUjzlsqnlojFMyGMaZDmpgykgX7ZQo8z81vzcbrwHj E7DvyOKMT0jH0c08kC+g5Xvv+sIdWv7vsiKm3xXDox+QxOFDoH9zQqQdB2q30Do7Cdtv WXIOs2z2QEecMtY3k8AvZRvP7A0kf5NEv76DOgcWj8QmKaGNN38BPqNpdy2o5hHx5Y3p A7m77S5g8hP418/x7LQyLWYy4xbBIWtDyAliTCLWXKVgrCKks5kbywVtlcIeDm3iuKD8 uC+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=HvR+S9UirTus3mSjhSwHYy5oFybTf67zdO7pwZKVaAI=; b=RYzC5AjGf6BuTqmSfzEfgOPjeTT53ylsQY/tomfgtqoAHDoSKD+k+hcHaXrU2WEwwC JfOIB6duJ6ks1f970Yt0Ihi1vIUJuonIbqbdEfNal8/GFsOHJYeXuR5FRk5pykgwNWFg Vq+b4q+0lZWycXGi5O3zVcO4/YapocmlzDMdfj2736HnTA6aM29G5wKygeO91bXU0LqX T4bga6hnfHXGnUncfBfmt6ErmcNgyzFrbK0710Z5aavdP4yXoXqjYpMu+Kurr6/qGb7q A1olV9eZH6rtl/RixXmWm2cGOoQ7psLHbpCax0a/adofDK9aKeHshqp0vNGXXTRCq1ix s2xA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="1ud/jfjn"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::d2e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com. [2607:f8b0:4864:20::d2e]) by gmr-mx.google.com with ESMTPS id k1si434174ybp.1.2021.09.03.09.37.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Sep 2021 09:37:01 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::d2e as permitted sender) client-ip=2607:f8b0:4864:20::d2e; Original-Received: by mail-io1-xd2e.google.com with SMTP id b10so7463043ioq.9 for ; Fri, 03 Sep 2021 09:37:01 -0700 (PDT) X-Received: by 2002:a02:a18d:: with SMTP id n13mr3397490jah.120.1630687020368; Fri, 03 Sep 2021 09:37:00 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s16sm2951764iln.5.2021.09.03.09.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 09:36:59 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 0F614A1A8; Fri, 3 Sep 2021 12:36:48 -0400 (EDT) In-Reply-To: <84cefde8-0943-43e2-8b7a-96efe6a0949cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="1ud/jfjn"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::d2e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:29165 Archived-At: 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-discuss+unsubscribe-/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.