From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29160 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vin Cent Newsgroups: gmane.text.pandoc Subject: LateX to epub -- label rendering Date: Fri, 3 Sep 2021 02:09:27 -0700 (PDT) Message-ID: <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_2654_957510073.1630660167200" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16388"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCT6LC6Q3QDBBSGMY6EQMGQEFIKVDPA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 03 11:09:30 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f60.google.com ([209.85.161.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mM5CU-00040J-If for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Sep 2021 11:09:30 +0200 Original-Received: by mail-oo1-f60.google.com with SMTP id 68-20020a4a0d47000000b0028fe7302d04sf2557064oob.8 for ; Fri, 03 Sep 2021 02:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=z9az+I1GmOaj0++l2c2OUgTzpbxXFTu0molrH9zo/eE=; b=MnKmxw8jvpLwMrsaEZztH2yA00I6mOno0pKcRvrFRrJgWtBABN+hpgTRrcyLNDiLu/ 72Py9k/3KvIjwx0MyNwOXvWXAEZm7aj7/LKGoVKGazcm9j5cWEUZhy7gdCVqCQMwYajV fskse8a4GBp8Jvf0Co5Wl2G8S4+q+49a1tFJAZg23R6OEc4qiiW4plOk6cuHsJVtzM4G naNwRGbk73620a/J1273Rc5zl1zVoR3X+LVov/csAvaa/jk77/AawO4EuXRpqiEctMsM kAfJlVsBqXdBTB1F+TFq8R6R8gPGpHdkzN5d6KZsavx0XOUNB8BCpghgZRRijCpCMltL V1/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=z9az+I1GmOaj0++l2c2OUgTzpbxXFTu0molrH9zo/eE=; b=ifwKqxUase+68Z4zBeIW4pY7NTxWE+5kUeeZ3vIKUIjQtlVTz8HOzSzOqzThOAvgyo C7J29D2SG50cOgXlhmeQIlwf5jmf7CsMBA9s7HgoolMXat37jA8GIcavCVdvhrct0T6+ nfru/0O5CoYkUN0hutdpbVMFWrTbpLmTBP6AICzZg4cRBpnUW5RcAo+jEYEsl7GHtmme Iw3L3xTKxLONwZZNDJwa/ePjWUYcbB2Zp8xAOOnmqHli0a4JjsbN9v0hDew7vaBpc9lx pPwqc50Sd7Riq033NDUX8lrqmzdivd2kYHv2vv47RVJ4q8XrYA8MWwensk7qP/VdVYQC yMuQ== 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=z9az+I1GmOaj0++l2c2OUgTzpbxXFTu0molrH9zo/eE=; b=qUSe4FoTZ17pcluydCH62wimPlzO7o9MG9Rtl7NmOoZajPMWOOgWniQ0RjHPOF6n2z zqQByn3FR5WsUtzZp8kURBfPFAmjWr7ayRYYWltWTFKoOmVJU+uJZCi/cdjVucszRckz /tDncGvnxnwpdnhtUsNqUAFwjt37b2d/NTrjTF9pxvSKlnYYnoK10+SJyPUi1cs+eB8T fkYE0A4bqoKqy0eEOj4QF1Yo9csqGFHKIEUs5rNAaYvqxXM8NpJB9qdyQvZf8Z+2MuDV 7Ul5HBGlXlNvoAT4hUxTrSaT10tlhxTK3gqaNyXy1RS3TKeVcQyykfNCvYw7qwaZXxJ2 7cow== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532UJGdXRwfuzzBHQlJZvB9U6VGUu13tveXvGdBzbYaAa18klRy6 4rLJkaeLFHyYfiITEaueRiA= X-Google-Smtp-Source: ABdhPJyNYnJxGnhZLnjLFmnV127JuuhKOo5zn4k6B/Q4cQXUbZujCcIzGzrfbqCFKothCTzCwdRRHg== X-Received: by 2002:a4a:88e2:: with SMTP id q31mr2105753ooh.91.1630660169567; Fri, 03 Sep 2021 02:09:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:4408:: with SMTP id q8ls1472627otv.7.gmail; Fri, 03 Sep 2021 02:09:28 -0700 (PDT) X-Received: by 2002:a9d:6398:: with SMTP id w24mr2240936otk.140.1630660167903; Fri, 03 Sep 2021 02:09:27 -0700 (PDT) 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:29160 Archived-At: ------=_Part_2654_957510073.1630660167200 Content-Type: multipart/alternative; boundary="----=_Part_2655_917097331.1630660167200" ------=_Part_2655_917097331.1630660167200 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_2655_917097331.1630660167200 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,

I'm quite new to pandoc, with some experience in Lat= eX.
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 stu= ck on a detail.

Each chapter from my source starts= with a label, such as :

\chapter{First chapter head}
<= div>
\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 j= ust isolate my problem) :
pandoc -o ebook.epub epub.tex --epub-me= tadata=3Dmetadata.xml --toc --toc-depth=3D2

The res= ult 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 po= inting to it.

Can you suggest how I can achieve th= is result ?
I tried to look for this problem and found https= ://github.com/lierdakil/pandoc-crossref/issues/319 but to be honnest, I'm t= oo much a pandoc newb to understand that thread. I have tried quite a numbe= r of suggestions (adding the LUA script, adding a similar yaml file, but th= is has changed nothing as far as my problem is concerned).

Cheers,

Vincent

--
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/84cefde8-0943-43e2-8b7a-96efe6a0949cn%40googlegroups.= com.
------=_Part_2655_917097331.1630660167200-- ------=_Part_2654_957510073.1630660167200--