From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22864 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pranesh Prakash Newsgroups: gmane.text.pandoc Subject: Re: Customization of heading numbering Date: Sat, 1 Jun 2019 00:43:45 -0700 (PDT) Message-ID: <342212b2-c661-4b9d-9815-82023d93592c@googlegroups.com> References: <20190528202734.b422d042bbbe9bacbccb7727@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_0_1313525526.1559375025887" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="19935"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDA2Z3PTWYIBBMWZZDTQKGQEBLFK7EI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 01 09:43:49 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hWyg9-00052Z-8e for gtp-pandoc-discuss@m.gmane.org; Sat, 01 Jun 2019 09:43:49 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id r11sf5729940otk.20 for ; Sat, 01 Jun 2019 00:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=6u5YMRummltW8eMk6rNweEdZjelcRhHtsYqQa9db6DU=; b=k7lVCfpZCfT676A5+4lX8e+e9ieOuE06J4XvMyfw/tKeak7WAHvqNrQjSNy1awgRbp gCaAWz8mtyai9bm9rAG5+kNM9Eoti4bmwf7KfZcv2noPpIwLHt5r7vN5jN0kxI720oKr vvM3XjheJaCLHrotuE95bQ/oodBElZeDVQtogaFZCZD7uK9wVNSbPoTYJWBTJl8wrMEf fE0Tp7PPFHEnEBXy2AIWuebFixPltkQ7b0PPrTjrnuKT9Cj07DmFHHBmZzWX2z0sRkDI 4fAaac+BeK0lLTHykTA5rYMNJljMp4J8aIxoJ9+hoQrtYrSgces+1HP7jC/YBlrXLu8F fVGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=6u5YMRummltW8eMk6rNweEdZjelcRhHtsYqQa9db6DU=; b=gzHZX4cNoaj764B033UqUwtVx46RKiDQMIIIN7xB/hzNA7R2BecEkgxwxNFL73FmBW BqF5xdgcNeuRfHRMxSBPYuOuyVLsmKYJZw26WLp+TmgiBdpamOUm4FfMjtFrq8xJWjUt S7XqIKRqbN0w8Vq+m549yGDUjrS5WyZBVkEwHUgExnhYsLoe5m1RmaKKcZkyOwBJX1AS 5Z+YKWqYRilb3Eo+XCPq9MpeNEx7cgiChhKWVFOGAi4JJrslXE0G1OIhClWiBC/RYG5T Mi1hhqZsIKNm05nyK3xIjrISNwkMeK9d9UjIR1XbZCdzXoxunqkfT5Vg37nhGCtqsa2q Gr/Q== 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:in-reply-to :references: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=6u5YMRummltW8eMk6rNweEdZjelcRhHtsYqQa9db6DU=; b=CCT4cEcb/MOWhLLc1T+EKi09oVvpduFlYO+MMA82yJydF4XbDFB/5YAV/fiGaEWAYb GhTkVas4F7t/6AtmQwhf18V2BERY38s5+aCoYMYl7nMXMtWRp5XFO83ukNo98XB4NQwc DR4RG3TuT4Db7NCCQ0+vrjryLGb9+a2AmiHdQyhPENn3HXlRQlKdm7MvPT6RRqnrfj2E AhpR66U/V9lBhTz85do19GUBKCCRGBwl59C1xUAoVpSR5GGEekUiTX3bTN6uj0uGBeDX AHEQiFkHYgKSMOptVq6ADuFkuOj9HyGeFndVq/VWl/lRNUM2weralUKbn3/yV2a9dRCL 7E8A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUCUqIUI65N4Q7NGuPHG8jLq2xTKjDT0E8Vh2xDzKQigwX7Fl2K a+lO4Dw5+pnyNoAKmLzn1nU= X-Google-Smtp-Source: APXvYqwCkrIElugOcrHTHuA1pQnbRMaEi6Kbr4kyeg5f7Twl0kxxxVV1yKPuQCIPUoNk42Nr/Wl11Q== X-Received: by 2002:aca:b607:: with SMTP id g7mr149357oif.35.1559375027606; Sat, 01 Jun 2019 00:43:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:70c9:: with SMTP id w9ls758399otj.8.gmail; Sat, 01 Jun 2019 00:43:46 -0700 (PDT) X-Received: by 2002:a05:6830:1644:: with SMTP id h4mr4636833otr.205.1559375026468; Sat, 01 Jun 2019 00:43:46 -0700 (PDT) In-Reply-To: <20190528202734.b422d042bbbe9bacbccb7727-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: the.solipsist-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.org gmane.text.pandoc:22864 Archived-At: ------=_Part_0_1313525526.1559375025887 Content-Type: multipart/alternative; boundary="----=_Part_1_1053491813.1559375025890" ------=_Part_1_1053491813.1559375025890 Content-Type: text/plain; charset="UTF-8" On Friday, 31 May 2019 23:42:11 UTC+5:30, Anton Shepelev wrote: > > Hello, all > > Is it possible in Pandoc to have a full stop after the > number of the first-level numbered heading? With the > default configuration and -N, I get this structure: > > 1 First heading > 1.1. First subheading > 2.1. Second subheading > It would depend on what format the output is. For LaTex/PDF, you can add \usepackage{secdot}, or one of the other suggestions on the [[Tex StackExchange]]. I don't see how the HTML output can be changed, though. [Tex StackExchange]: https://tex.stackexchange.com/questions/24439/how-to-add-a-dot-after-the-section-number > How can I typeset a global, document-level, header that will > not affect the numbering, e.g.: > > Document title (centered and unnumbered) > > 1. First section > 2. Second section > 3. Third section > > Add a title block / YAML block: --- title: Document title --- -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/342212b2-c661-4b9d-9815-82023d93592c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1_1053491813.1559375025890 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Friday, 31 May 2019 23:42:11 UTC+5:30, Anton Shepelev = wrote:
Hello, all

Is it possible in Pandoc to have a full stop after the
number of the first-level numbered heading? =C2=A0With the
default configuration and -N, I get this structure:

1 First heading
1.1. First subheading
2.1. Second subheading=C2=A0

It wou= ld depend on what format the output is.=C2=A0 For LaTex/PDF, you can add \u= sepackage{secdot}, or one of the other suggestions on the [[Tex StackExchan= ge]].=C2=A0

I don't see how the HTML output ca= n be changed, though.

[Tex StackExchange]:=C2=A0https://tex.stackexchange.com/questions/24439/how-to= -add-a-dot-after-the-section-number
=C2=A0
How can I typeset a global, document-level,= header that will
not affect the numbering, e.g.:

Document title (centered and unnumbered)

1. First section
2. Second section
3. Third section


Add a title block / YAML block:
<= div class=3D"prettyprint" style=3D"background-color: rgb(250, 250, 250); bo= rder-color: rgb(187, 187, 187); border-style: solid; border-width: 1px; ove= rflow-wrap: break-word;">
---
title
= : Document title
---
=C2=A0

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/342212b2-c661-4b9d-9815-82023d93592c%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1_1053491813.1559375025890-- ------=_Part_0_1313525526.1559375025887--