From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23543 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Figure or Tables in form of table of contents Date: Mon, 07 Oct 2019 16:20:26 -0700 Message-ID: References: <55c8e76d-a127-46ec-ac3b-5c24de9fb9ce@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="163197"; mail-complaints-to="usenet@blaine.gmane.org" To: Count of San Francisco , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBR4Q57WAKGQE533YW3A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 08 01:20:48 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg1-f189.google.com ([209.85.215.189]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iHcJ5-000g8Q-BI for gtp-pandoc-discuss@m.gmane.org; Tue, 08 Oct 2019 01:20:47 +0200 Original-Received: by mail-pg1-f189.google.com with SMTP id e15sf11181462pgh.19 for ; Mon, 07 Oct 2019 16:20:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570490440; cv=pass; d=google.com; s=arc-20160816; b=n7hrZtdVBoRogONhMXyKNG1sfj3D4UYdrcItx7aknPF5gRaUvoLqrrtL7J99C5Uw58 FYOPrbcI5+zCs24QI7b/2OIe7X97baVHjdVrhlPoSw6cVmKRaur5R5r14dGhYU/67W7S YSNOGfAp6qXRkFI/wA13plO7NV7U/SGPW9KByAM2P+eHYnIQMzTwZv/AZCr7wrn8tKTr uDaN1oiAGcD6LSLaOFXCbUjrNdgHJseCw+aNZ0lACFjAhdRJyWmFVXCGHcTv1dRDVktI Jid5MZRDcFqMXfTJPipxCScfUS/Ey6Fou9OmvhlvVs0K5KId7IT+tA3xcNDCdSRoZOhD 68Gw== 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=93fsg8jVEYroQya8np/+Y2Z7q7lree6UpWv6YBBaaoo=; b=NLF5UPqH5SQbINZ9YEMAsyIbz9myeD6OaP27vHB38htfXY6bDMr8QwzJFBwNjugClt 9mZgfc/tOPsbf3nX9lb6Ubo8ZLswh1nl3TeKOIuDQFGcM2yKSX916xkT+IVMfwv2/end 6P6/b/1ZmfX7MJFxq8ksEaSmmH40U+TZb7M8UMlPje131A4PPO5+6Ch9GUnHqRepAro5 q+g6TYn1pIsxuhwT0em/LHir4/uFJfSrnoraWkV6JWt0ftSWwKlBAZjq0jBkw4rCJ31e zFqs120WzVkbuIYIEjJO+jjYDVAhVgPHc4bVfX+LGhFgc6V/nM5bOjkkDaFOS6D6l/qr 3SFw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=HIIgS8VX; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 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=20161025; 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=93fsg8jVEYroQya8np/+Y2Z7q7lree6UpWv6YBBaaoo=; b=SNctsOZgZICCyDBri71QT7xevUIBqqFKvVOLH/3S9GGNy9G7xGWV7lUerIFz9RuSOO OlY3XcMJjwA1nDuVAyhVCAex2jSPXC13nzDktpKSrSwI6hq3mDy2Re2m+oJXepUGtNQq 2Vy+vMnzPKItV7p7WyUo0kzG5pYDBTCnkCijL/wssr/pyPkr29bJFQpa1oGs3N+70624 y6K27dEXwUYJVtKZb/2KzJ6Tqjo3iAAVP/PhjvBot5Sm260LR/7Pxl+NMtDVnbfV2smx cZNODEyVXbtBwihHXfLNhmqVz17sljZqa31Hhp8NaQZ9GlbIwP6i5wnF5bf61dsHk1rp eBbw== 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=93fsg8jVEYroQya8np/+Y2Z7q7lree6UpWv6YBBaaoo=; b=YAQWs0vzRBcE67n2K7FFubZ5F7mr4IOvWrh5eMj89+bgPdqwKGde7qInYTumLQbHBH cyazN6K4PSSBCAaIt+yp8G6jSTrGxvmNl5oENu9FMpKHuwfPrpF1AZekl5EqqtwkbAsp ZVnA3LJE4vKVM3G8zb9zw678hziRnt74guCmAoc25NruCfPYt2FRUyb57CBBwem8NAb4 P8HAa4EX0SbMuK9IVNPZhgGTc5/DiSj5jGM7quZaAu7NX6K4AFEZp/ZMtY+DXklvaKcW aNsQhZg6kKwtkiIgxp+x3JKrYJUO/VnXnwYrowu8qzLs7M4z62D/3U26MP+Q+NqU3+me 830g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWxEjKLxNb9Pu6rUWboOI/r5Kfew7AbTpiLmFTImeT7R0Jg8TZt d4ZU+dIWstQzGb63Cxq5PwI= X-Google-Smtp-Source: APXvYqzVZ/ZzJN+7xQG7/ZK1wOFTFTuguJ+eGMGV+sFqaT9E2+FVpCu3PZUBKn8MCpQ7GM9UlKhsuw== X-Received: by 2002:a17:90a:950b:: with SMTP id t11mr927702pjo.97.1570490440633; Mon, 07 Oct 2019 16:20:40 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a63:5804:: with SMTP id m4ls239835pgb.5.gmail; Mon, 07 Oct 2019 16:20:39 -0700 (PDT) X-Received: by 2002:a63:f915:: with SMTP id h21mr33075853pgi.269.1570490439404; Mon, 07 Oct 2019 16:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570490439; cv=none; d=google.com; s=arc-20160816; b=xXY03f+rBucPJnADp74TrTRLaKAeL9sLM8A9CChJE19YMKE/bdnKtSOTwVzuHPNd6N jyh54DkfxFwYTHS6FOreZi2WOTPX2E52kZ8/mFssazB2aIZyBKtGk45+qdqlBgfbdel1 7HsgMqcynTx0bENXTnX1nS/hqxoJXgy0ag5zgSD7Ngmjs7aLngG3gu9UIqR3HwFnlfbD w8cF73n7hRYgsR2ttFlxADupoiyMoqIsx4sxrQl5TUco0viniwTZO9oPMbCZB5UusSfX P3162iokP/1R7YJcugVmaJ76GUzSJN2BlsGVj4jMA+wvrskUplu22BiyM/mtMK4+BFr2 mZjQ== 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=eaK6m3xFyNt7yx6JkHHn0r+pPBI0D6ixLDB/Icts1f0=; b=Xk8N4O9or3jnbH3CX6bfUL1y9QLyuXq36GX4mE7y8BI4/NewIHae3OU65Ub4ZRwMYT iGkyPIARtUOC7L8yOHsJIl4SibqtbzhAb/QtJGgRk1RlphJkNj8PszfC3o/jl6kQQ3gG a/Toxj1luV7WF2RlM2KejvbBJWrTuQ5siKLOQr5azYioJbaLAcXpA+VhFc+7topgSatm fpBe0zcuwAU4qjHmDi+FQHNiTDnpM53xkgILf4ka62d3kRx7y92rNYScwu5rhZ2ORqkg VOEZdUEp3BhBH0y4U5fppllSIqQpm8b+a8B+OqenQQBV9nLsh0CX053VKtbbd678b38p FhZw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=HIIgS8VX; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com. [2607:f8b0:4864:20::531]) by gmr-mx.google.com with ESMTPS id x2si991066pfq.3.2019.10.07.16.20.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Oct 2019 16:20:39 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) client-ip=2607:f8b0:4864:20::531; Original-Received: by mail-pg1-x531.google.com with SMTP id e1so9136044pgj.6 for ; Mon, 07 Oct 2019 16:20:39 -0700 (PDT) X-Received: by 2002:a63:f74a:: with SMTP id f10mr32845768pgk.171.1570490438163; Mon, 07 Oct 2019 16:20:38 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id z29sm15501578pff.23.2019.10.07.16.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 16:20:37 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 84785A17F; Mon, 7 Oct 2019 19:20:26 -0400 (EDT) In-Reply-To: <55c8e76d-a127-46ec-ac3b-5c24de9fb9ce-/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=HIIgS8VX; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 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.org gmane.text.pandoc:23543 Archived-At: For PDF (via latex) you can set the `lof` and `lot` variables to true, e.g. with -Vlot -Vlof on the command line. You can also use raw tex \listoffigures, \listoftables. For HTML there isn't a way. At this point we don't even automatically number figures/tables. It could be achieved using a filter but I'm not aware of one that exists now. (Looks like pandoc-crossref handles numbering and references, but doesn't do a general lof or lot.) Count of San Francisco writes: > How can I generate a table of content for figures (a.k.a images) and a > table of content for tables when converting from MD to HTML and PDF? If > this is not possible in pandoc, today, can you please make this an > enhancement request to Pandoc? > > -- > 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/55c8e76d-a127-46ec-ac3b-5c24de9fb9ce%40googlegroups.com.