From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27675 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Formatting TOC Date: Tue, 02 Feb 2021 23:17:45 -0800 Message-ID: References: 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="25005"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Tyree , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBJU45GAAMGQECZBU2YA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Feb 03 08:18:01 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f57.google.com ([209.85.219.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l7CQL-0006OO-0a for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 03 Feb 2021 08:18:01 +0100 Original-Received: by mail-qv1-f57.google.com with SMTP id v13sf13695913qvm.10 for ; Tue, 02 Feb 2021 23:18:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612336680; cv=pass; d=google.com; s=arc-20160816; b=zx+QzehPZKulENHFdifqjF4TqidBkyQ2LtiWTiIR4YUP2sIYyFI0NK/uI5QPgIVLz7 v076B2sdgczfBVJTJ+drF9t025q03F/iMoUjGMEDN6eOAkykearmUgsqmfoiyBuYZXxo DyzJqAKKxENl0AJF4Qzw7xkllMMn3+nEgQQtuGWZpLD+xS9Ag5wiW/RV+qzBuO1+F0Ni nZWauPaO7PEzDS6iKRc6+/nAjsC9xxwSDK/4A8PySObrYi6cvtDOxavGkEyAsEmEJDgk O1/Vz9mC+AOaOr+aWwhVyTaHhDdsq5pLS0FA99JhlEfvP9clw2W46uhRYkMQHs9+wKw1 OLLg== 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=upsrI3ZB/MwFcL/TCx3qgMP+bRkfzBBRVrq/N0N9mNI=; b=s9y1S82oKEC90ngs4QnuNvET/ZGciuFMCtIfwLv2aj06ArTu80T1Oh0zAvb2h27nBU wtNGqyNMscd28r0rlKa6Lsofd/MKSMf7pJ3ruHETwa4rKHwnCOHOYTp1JsaPveAxQqNp owBVwHV56CekeY/7S6cnvDMSRHshYRUklAasyTGAbrTvXMoq8D+Ax22pez1lL6QNZAE3 LgBlHV0xWMlN61n0l0AVEVtRFgJtn8MfWHrbh2EHe55lxX25ZhWNj8POfv04T+VKpRV7 FC3cAnVQ15XxC4t4yOGwUMeJErt7Y0rHlY96+bCPFxhRbGAnspX/O/QZOE5WMBTlzrbj H7Qw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=FwScPCyw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c 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=upsrI3ZB/MwFcL/TCx3qgMP+bRkfzBBRVrq/N0N9mNI=; b=VAMUbJZfO7BX+TisP/LU38OeO+XqdDjIvV7xXnnNP5DRoKNsxXPrLlEwL3n7DsF2Y+ DrEI3DrMVhyqR9Buv/2ykNKNQGWxgbXtGCRcY4Mv53uZyIfW8Ix4w48UlxgykmUPhUwa 4S0pAyBPImc5uOWDyRQWRi+U/XvVG1D8EewMUR+CGCHXRqBSBKuqdjM664yNjkT1bHWx LARmz7I7rH32FvxJOm//dDdc+haqzAQNUUwwSPEzBvzqbWnt1bBO7NozUNhuGn0m0lre iCPsx5Z3rlqywy+mGtCWAv437xt/1ilrqJQo0uSAPe+U4e3MqasZWz6HhbmZ16K3zBR6 +SLQ== 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=upsrI3ZB/MwFcL/TCx3qgMP+bRkfzBBRVrq/N0N9mNI=; b=X+/Xj1QfyZe8ahzH3OJO5KiFL1ylJQiR6vyF9c1/+XjZHzw/ESAMzhU2VyKZCCDEyN yddSSYQ/N30VAPJmji4FcR15Ov5cd9ghdOnRvdun/npBpg/bgZado1zXfTOaa9rE0XKA q2ITRB2hZf+iZMSXb6orrsyRci/1QsWBrfSsPfjCwD4NLL43dgD9waQXEcVOWZOxGbuu 3Tmbn2Y645KC1uLeuD5MqQNF75RiRpVSUOkyeZ2KGYY6YfC2CqpoktSf7LbEk2nPBmce 99s4//lEGQD2pN3MvhAliVhuleQ7OTkIuFKuWI3BGB8Z0v+2aQW8YvOT+D24d8VunhkA UKBg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530nMVj1Qy41bV6zwOryF/Y5gcu/yqKxBTrKPsYd87c95uvavbOH DoxB0Bf2NRC8PbRxzXAjXBM= X-Google-Smtp-Source: ABdhPJy6OsXr1xSEfDsX9r4Dffbr+ndfQr6bwWCGKL21C8R57WXg9fWH3CtL/oQLxXbB6ECM7Kjucg== X-Received: by 2002:a37:8b46:: with SMTP id n67mr1336610qkd.167.1612336680167; Tue, 02 Feb 2021 23:18:00 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:1c91:: with SMTP id f17ls489439qtl.9.gmail; Tue, 02 Feb 2021 23:17:58 -0800 (PST) X-Received: by 2002:aed:2070:: with SMTP id 103mr1340035qta.287.1612336678357; Tue, 02 Feb 2021 23:17:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612336678; cv=none; d=google.com; s=arc-20160816; b=Tikw3cQiftno+69YJIPKrb1kzzGEqjpiISwaWWW05ZRqF1KphQnwmgLUnk1UZIS4FN x80vKL6OG8qk3jzcGzw54gBaCd7GqQgkCSkt8juwZ4xKVnLTHeOxNWb/7N204Y3qUZh7 YH/B2AfgtKcUqRlEcSQvZZEAuXgx8Vva2f803D1yt0CIPhuJrXu1l0375l0BznnLoel7 QWpw8mgYBh/tXLxvWXLW1owCyhEGfT3prlq3AB0YtkbYo9nhDQxzmXjhtIsG77pYp157 izfyxnNIzqFYiuwlk6JUcgdzRZ90cB7Cn9Gl5CmrQ7uivpH0F+JX1asJB4TSQMOUqIcy bPpA== 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=toPjvR9HmyvSlU+SJ/5atIpx6NAJ2v152FHaE6zaGCc=; b=cAVNbqx99OYrHnlDo26cucUFMFSDnmIaakY0/XLLXvFZMFL+eA9sHkwwSzP1P4iSOV b8uJBUyoPik1y40xL6Q5UfytJcT43yw1TSreQcZk4+/0zYyHopYseQb8kgceffJs2wQ6 r7ffeVV89/2xTPABdJdW40NXwIBYvKG4jXWvV6GT4zFcMD8gULun+fy+jDQM3qzxFcbt CPUopFLcQ+L+knSDZT71F3X9zU3KgLgdlHu3CYl5iTFfGfZeJc1TsT4GYfGAu74QwXpy RA6++E6GH4pdxdzxABsNr3vTRP8QQHmozoMfux0M+kp+75bHqG6xI0FeUQNFGzHx6NJr a3zw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=FwScPCyw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com. [2607:f8b0:4864:20::102c]) by gmr-mx.google.com with ESMTPS id m8si93225qkh.4.2021.02.02.23.17.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Feb 2021 23:17:58 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) client-ip=2607:f8b0:4864:20::102c; Original-Received: by mail-pj1-x102c.google.com with SMTP id nm1so3852632pjb.3 for ; Tue, 02 Feb 2021 23:17:58 -0800 (PST) X-Received: by 2002:a17:902:a9c4:b029:df:d8ed:2db with SMTP id b4-20020a170902a9c4b02900dfd8ed02dbmr2073596plr.37.1612336677364; Tue, 02 Feb 2021 23:17:57 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id p1sm1036990pfn.21.2021.02.02.23.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 23:17:56 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 8CA78A256; Wed, 3 Feb 2021 02:17:45 -0500 (EST) In-Reply-To: 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=FwScPCyw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c 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:27675 Archived-At: It should be pretty straightforward to create CSS for the TOC that indents the list items relative to the container. You don't need any special classes for that. Alan Tyree writes: > I am helping a friend produce a recipe collection in html. Using > toc-depth:2, I sort of expected the Table of Contents to have h2 referenced > elements indented. Of course, they are not, and the generated
  • don't > seem to have a 'handle' to get a css grip on. > > The "flat" toc is really quite ugly. > > Any clues? > Thanks, > Alan > > -- > Alan L Tyree http://www2.austlii.edu.au/~alan > > -- > 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/CAGMsgMwAMvxrQ7%2B5U-Vex7o8_Vbn8caPTUELs%2B2sYbM-P8ENNw%40mail.gmail.com.