From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29163 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: LateX to epub -- label rendering Date: Fri, 3 Sep 2021 11:38:20 +0000 Message-ID: <0a0b065768ca449095035c65e5dabd6c@unibe.ch> References: <84cefde8-0943-43e2-8b7a-96efe6a0949cn@googlegroups.com> ,<7a388540-5381-4e98-bda9-ebcac91a20a7n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32311"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBL4SZCEQMGQESFMHOZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 03 13:38:26 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f64.google.com ([209.85.128.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mM7Wc-0008Bu-4O for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Sep 2021 13:38:26 +0200 Original-Received: by mail-wm1-f64.google.com with SMTP id f17-20020a05600c155100b002f05f30ff03sf2556501wmg.3 for ; Fri, 03 Sep 2021 04:38:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630669105; cv=pass; d=google.com; s=arc-20160816; b=forbdPD5a5ehqp2pYrieBi7pXR5U3Jp2UxIHnrYvYZoUKZYgznrXvDI/hnG8na9pEr ri0MmYQQBRyj2ltKd8lSrOcL160yNNDts01l6X1miNsO9irNw+UG+BYoiqI8BVuvl3hu SBsj0d6aK8Ryn4oTm5jFO6TMUozp4QescOxFbg6oFgx5hlM6egJbQiEtjpihtvpGIKYr ML11c6Q4Sbf78DtoMPXJwvvviWRYgkRfH5kGp6ijs5aFG6f87+gXMgCIKirvL9OM8B6c 1qQAifPD99PiMRGOSGgdz2qZWCbHYBRpXPbQ/OpJ1oyyUYEDcUqGG8YtSsx8tYeaUnoD fFCQ== 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 :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=hcOYClGQ0PfXDnuB+/iRkCe9LzZ/tTfQsFBvmEmp3oo=; b=OZj1+tGxGgt9Yj+w2J+mhpbzudbXBKDQA38ii4+FfCGYl2QdKISaysvDJ1MfqVRsrZ zHOAQYJC90t3PDqOFF6iZPmMq2gYHYsV6fbdGri0XNOTC+jqnfp8uuzisBZIA5U7044S PiwOkUhfEsD9xM7IvJeALM7slHUxINfqDL/1eKikfe2DfWIW02C/eBARqFkg7a27VgYb 2RT4/1tJoN2VVoI14AxogjvtKcoCkQc1Lr6FRHWAuMu9UTWpWDfY9ulBJ0XG861WbYbg salVpUYaTFQg9PvrmIPBm24LtvfszPNgwAeHSZXfsSEYEzXwg7QZy7dEiCzFrc8U7O20 F5Cg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding: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=hcOYClGQ0PfXDnuB+/iRkCe9LzZ/tTfQsFBvmEmp3oo=; b=oqpFObPBLZ/mQTRLcwr7shrjPzT/9I6kf4bMGOsdguG3G2LicfppQISDZHGy39XtXG gwPqVPfx2OtihmioxMNPsDWR8B3Db47G/3ybcIivm4pdTBggaNz6VqH6Cp9aVpU4E2Hq 2B2ND16gwgy0q5X/c7uucGikM3frIijPV2CXS8eZtH0+TbQB3rCFk1tB/INTpZ7HDtLB hhg2l64hCJxlpAwl9KPItP2/DIckLGwB2IWA8oWvVy4SLOKwVSacAe/B5i7cBsxYlZO8 VeQR7k/4B9GAjlfJF0WvrvKSjIei5RztvF60tBK7n7oSK87PET 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:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding: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=hcOYClGQ0PfXDnuB+/iRkCe9LzZ/tTfQsFBvmEmp3oo=; b=Q/3PyxQfenbl1PMGuLPebLjH+HeuNsobevDjqTz9/xzZNDksIamDyuIUg5O/RmjGYv UW6Vsb0zAOdvxvf1BK7ItVbyzakjrUG0SdqXBHzRNNKz6Xder5puqPyXlBUbhGiDmaNs nnUUnariN+UMKtg2IilA2HfXdKy9Tff27QDNTUGm3ZqlA93iI8bvFmJUYuPexDQw6fEF syO/8hCzhcspArcV+g6K7Hz9tfcDSnibx2dcuFNWIyFdHjv3E6pecKrot0/JDGU7hAew KaCSk Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM53383lGBGlgzM2/AU5aZKkDkE5N6msSXlM3KO0JA3hiTYC5fKFGS HRCvCX64LFIpT9i145E8cfQ= X-Google-Smtp-Source: ABdhPJyrsTDsYWywIUB0VcT/UPba+0TKtx1WH4vrsp6oItUQrepI8Bbx+hv48RR1KXdgQQG31jBAdA== X-Received: by 2002:adf:dd81:: with SMTP id x1mr3557557wrl.362.1630669105214; Fri, 03 Sep 2021 04:38:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1c:7212:: with SMTP id n18ls2740821wmc.1.canary-gmail; Fri, 03 Sep 2021 04:38:22 -0700 (PDT) X-Received: by 2002:a05:600c:2295:: with SMTP id 21mr7920273wmf.84.1630669102625; Fri, 03 Sep 2021 04:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630669102; cv=none; d=google.com; s=arc-20160816; b=aswBfcctEb5sg4UIMd7yGz3ux3lGixy/SHvuLSzIOH8UUOvs16RTPg9ckOShP6UyQW ebu4Et09B3rkxzc0U+jYC/S6ps22XKycJQ78JozWisORfXUF7mPmQ8zrljFQwFZVwcJI cK7qUjkyhKRaUuVnkAH7/TJby4LJD8GpuKEYxHhLxBgWhHAj5YgQfTvZ3rJ/fWm0IrgD 4qfQBQ8hmdL4AlF/5E/o05zGQdyryDqiZU4mQq1n+e0HERnQPE1r24abSq+NB2/3u5My PpByvcdYUuFpPXmkxGpgLtiC6Hk1SdswXXoUKKcS+Mc7DOXuzxQ/bZhF92eYmTqb132Z bvEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=MUvDGizv33SnyuJc+tAPpWNlRXkZ0SPplvPbgiUB7AI=; b=T5skQiC4MW/dLWTEe5VPjZZlu1pl8FjDBedKS/+bN3yhBfMf41SGzWMrbT6Uaenx2B npKuT+DubZVfCeov9OLfLDzqXbpXOwum3NInHxChK/vZHMM67TjsnfYHf6rK57Mbll93 VvWltut9gqCE15lqd1unbHIm4/D/hIvaSt5iGHr5UAlct7VcLoLP9YGjp25YnyFtzPJk 2xYpYW0mu2e4xO+YITWmBDzPyBVe+oBKVaUwTec3SYpCFHNLS9oQAnyet0paD7GciT9A EJGjCn5QYaH4XvxwUmDXltSx3m3jPEXl01zAY7bn2p14UjBAPRy4eK+SRIttrBb6RiAZ HjDg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch. [130.92.0.84]) by gmr-mx.google.com with ESMTPS id i4si231136wrc.3.2021.09.03.04.38.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 04:38:22 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) client-ip=130.92.0.84; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-03.campus.unibe.ch [130.92.13.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id 5DA7A5000A1 for ; Fri, 3 Sep 2021 13:38:21 +0200 (CEST) Thread-Topic: LateX to epub -- label rendering Thread-Index: AQHXoKNoYEHAej8q7UWdpdbA8+V+mauSCKOg///pkQCAADx/1g== In-Reply-To: <7a388540-5381-4e98-bda9-ebcac91a20a7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Accept-Language: de-CH, en-US Content-Language: de-CH x-originating-ip: [172.18.72.2] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:29163 Archived-At: What happens if you remove \markboth? Shouldn't there be a mechanism to dea= l with this automatically? ________________________________________ Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im A= uftrag von Vin Cent Gesendet: Freitag, 3. September 2021 12:00:20 An: pandoc-discuss Betreff: Re: LateX to epub -- label rendering Hi Denis, Thanks for your reply and suggestion. markdown rendering goes as follows : . First chapter head =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [\[ch:un\]]{#ch:un label=3D"ch:un"} Foo bar Second chapter head =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [\[ch:deux\]]{#ch:deux label=3D"ch:deux"} On Friday, September 3, 2021 at 11:21:39 AM UTC+2 denis...-NSENcxR/0n0@public.gmane.org wrote: Don=E2=80=99t really know much about epub, but what happens if you go to ot= her formats, say markdown? Or pandoc=E2=80=99s native format? That=E2=80=99= s always really helpful for debugging. Denis Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im Auftrag v= on Vin Cent Gesendet: Freitag, 3. September 2021 11:09 An: pandoc-discuss Betreff: LateX to epub -- label rendering 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 iso= late my problem) : pandoc -o ebook.epub epub.tex --epub-metadata=3Dmetadata.xml --toc --toc-de= pth=3D2 The result of this is a render with my label name being displayed into brac= kets. [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/pan= doc-crossref/issues/319 but to be honnest, I'm too much a pandoc newb to un= derstand that thread. I have tried quite a number of suggestions (adding th= e LUA script, adding a similar yaml file, but this has changed nothing as f= ar 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 e= mail 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/7a388540-5381-4e98-bda9-ebcac91a20a7n%40googlegroups.com. --=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 e= mail 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/0a0b065768ca449095035c65e5dabd6c%40unibe.ch.