From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30661 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattia Tezzele Newsgroups: gmane.text.pandoc Subject: Is --section-divs activated by default and is there a way to turn it off? Date: Thu, 2 Jun 2022 01:50:03 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_242_66289293.1654159803993" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36152"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDELH3VH74ARBPXT4GKAMGQEEZ3Q3QQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 02 10:50:08 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f61.google.com ([209.85.210.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nwgWu-0009AX-JK for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 02 Jun 2022 10:50:08 +0200 Original-Received: by mail-ot1-f61.google.com with SMTP id c8-20020a9d2788000000b0060b37b39dbasf1222807otb.13 for ; Thu, 02 Jun 2022 01:50:08 -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=ic5pCg61jUnKQJInpT2FguD7w7WI71twhywjH19Vskw=; b=XWM9+pHhrdE4uNfLbUyNzTUoy7S0zBQrb0SidBZlQOsdnHkzMNWwL3enDRL+eIiHXD M5si3UFWqCDyrgjRzMWG6gFxJeKPHrS2vn8cBG3IbycXKd63HmyqQYnPaG1Hcu06mARm V73Iq/gBZKvpYG0YFWk4G/5F1VLVgjp9CK9TlclcB6awY3QdkN3HK8tf8ytRzlNe+Mm2 eg1Z070bTBABjBaJ1b+7GYvFynymg0o/ZtWFowLWNqqnrLowzIlHP5t93y2xZULyVJfU b3NZqrdhbkBIX2VksZz2rkkGtWutfbBeeincPRcJXhP6tM8s/RgmQ7/B3oWN+R3yXkKD WIaw== 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=ic5pCg61jUnKQJInpT2FguD7w7WI71twhywjH19Vskw=; b=ZaNwqEmUmY2lteS7t77dl12JAUfa2Ds207+BH29EI1IlZrVkJij4qTMEiu++0ru0oc 8sw8SvdbUpKWRQ+aCCnil5glPw0L2Twh6xEpcA0rjI9+ym2L48ndrCce3P9fPoXvWJHv yfCC/t0osUHVHT7fSw9NCFNZx/xX5RpicTPsPrrQVZ8UNhTKqerFkCDpA+jN1ZeWWI/z 7oNRUUULqwP8+kgk3Os233Wc9YU9dBb/Yv/8vbAPQvtEx0nt5IehP4zsyHTzZ4MkO8Uo 2AfHhdWQgqgATOZ3ezH83VL8Umn0sIH6sgjMpBLg7HvsmB+skKbkirwUXTdQYiabGi3K oMEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ic5pCg61jUnKQJInpT2FguD7w7WI71twhywjH19Vskw=; b=ugQot1/x8b3afg4L8LkpAwtRAB1UZNy2f7m3hIoKoqoT2ULjTxSnqkiVIqyKHq5Y20 fTvEHSDshZ4faQjD7q/x7/DvkviD7xNYj+xXCjaT5WJywPMpO5JqL/LmajR9d8gGpvhx zlItJFqx3aYTcw3sDuNBKTvGHOR/AuvLD+eIyzIYV4/gbFS+IQ4DNx446fh9NwkWfp9G 5/ndSRVjM0xpd4mqJ2irsHVuoNlaK04HquKvM7FMFkNWccWsUhw5ZVSGyfOqCf05IWSI Sbx7Qe1xno+NTONinlXmV0Dvt3qu88FjTzVP7ARxULuEW9zGlGFkwIODO6eEeIRO3RwB W3/w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531evWoPxDqSayKIO+0fmWnASmlW2VeBvKwnFfiJ0cQ9h6v4Db7W vY50Lo9qshVkPS8DZJ2CwGU= X-Google-Smtp-Source: ABdhPJxLjayumh+W7zUoVjm1b57uNg8ZbTZ8WmnlDxLnxlBPyvB/mLLHDL8N8/BgXaNjZTThbEAxfg== X-Received: by 2002:a05:6870:1686:b0:f4:2cf8:77b3 with SMTP id j6-20020a056870168600b000f42cf877b3mr2066160oae.210.1654159807471; Thu, 02 Jun 2022 01:50:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:1885:b0:326:a83a:293c with SMTP id bi5-20020a056808188500b00326a83a293cls2343249oib.3.gmail; Thu, 02 Jun 2022 01:50:04 -0700 (PDT) X-Received: by 2002:aca:1b04:0:b0:32b:35a4:c7de with SMTP id b4-20020aca1b04000000b0032b35a4c7demr1896199oib.237.1654159804471; Thu, 02 Jun 2022 01:50:04 -0700 (PDT) X-Original-Sender: zool.bib-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:30661 Archived-At: ------=_Part_242_66289293.1654159803993 Content-Type: multipart/alternative; boundary="----=_Part_243_1202592937.1654159803993" ------=_Part_243_1202592937.1654159803993 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everyone, I'm converting from docx to HTML and in my output all my sections get=20 wrapped in
tags, even if I didn't specify --section-divs in my=20 command. This somehow breaks the spacing before headings with the CSS I'm= =20 using (which I have no way to modify). Is there a way to turn --section-divs off explicitly? I=20 tried --section-divs=3Dfalse but I'm getting "option `--section-divs' doesn= 't=20 allow an argument". This is the command I'm using: pandoc document.docx -t html --number-sections --number-offset=3D1=20 --shift-heading-level-by=3D1 Grateful for any pointer. Best, =E2=80=93Matt --=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/c1f56919-e2c9-47fb-99e5-1f0cedfe9181n%40googlegroups.com. ------=_Part_243_1202592937.1654159803993 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everyone,

I'm converting from docx to HTML and in my = output all my sections get wrapped in <section> tags, even if I didn'= t specify --section-divs in my command. This somehow breaks the spacin= g before headings with the CSS I'm using (which I have no way to modify).

Is there a way to turn --section-divs off expl= icitly? I tried --section-divs=3Dfalse but I'm getting "option `--sect= ion-divs' doesn't allow an argument".

This is the = command I'm using:

pandoc document.docx -t html --number-secti= ons --number-offset=3D1 --shift-heading-level-by=3D1

Grateful for any= pointer.

Best,

=E2=80=93Matt

--
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/c1f56919-e2c9-47fb-99e5-1f0cedfe9181n%40googlegroups.= com.
------=_Part_243_1202592937.1654159803993-- ------=_Part_242_66289293.1654159803993--