From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30663 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: Is --section-divs activated by default and is there a way to turn it off? Date: Thu, 02 Jun 2022 11:26:27 +0200 Message-ID: <8735gn5rdn.fsf@zeitkraut.de> 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="39923"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBKMO4KKAMGQEAVG5E5Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 02 11:47:25 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f57.google.com ([209.85.221.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nwhQK-000ACC-UH for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 02 Jun 2022 11:47:24 +0200 Original-Received: by mail-wr1-f57.google.com with SMTP id c11-20020adffb4b000000b0020ff998391dsf667188wrs.8 for ; Thu, 02 Jun 2022 02:47:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654163244; cv=pass; d=google.com; s=arc-20160816; b=UH9fV/EiVoAJ06y1cOMW5SRtbAwYzCgZP4TwoyJw5KuuLv5IWPHvKNzXTbmxius+67 ikId/9YFPLxCUlbb7tuaKQ7W7AyXbe6wWyn4s/C2WxfU9PASqHpHa0KqVB/Gi5uqatys 3xKPm7rQTh3+hz7yNBrOLyZqqD8JJdk+Ns2ot78nnlFneKFZ7/QZ3+NJKDHoHzbhvLwH pk2veP97ntxPIKImMJcQn4eQM13+rqKkq2/pG8tZzWFnXyy7fyILWnNrlfxonFqVMlSE vpJAl3x+m5Udzqy2JdcEcBKaff4Kks8X3W5KPBzh2+x/SLivxCmf4trKkaXNHiba0/OY lTNQ== 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 :in-reply-to:date:subject:to:from:references:sender:dkim-signature; bh=ktwl6rt4A44BLzS/fUwOScTvSJSg4CHOlpzuLxNr7iE=; b=gHGdU2ykDWB41XUuGiPm79YSz5kb5URdXwTfWuM8xf6uPDBzuVZi8EcgzwSN0QAmno mot5tB7f5szT613l/XRWMvL17apd5sP9056lo7V0+QJPhWHQbtKr4zIC5qlbZ07fP3V2 eXgbQSaTawPyJGWLi8nqguKQ6aE3LEyqKH3v1k4sfJULAvc5lCFBy5wV21Qb1S6FcTBa ydoSHWJIAXUYbQyHKOMEi2MH96ynDKnXVdcf/eBRL+uenJIipB1ImLLZxfIWlJxEgE1p ho1jyyZ9oSK2QblNsM/CfVmt/hnQoZXyocT2x04NZ1oeM8NvTQbsh1e5UikEq303IE+0 8tdA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.152 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:references:from:to:subject:date:in-reply-to: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=ktwl6rt4A44BLzS/fUwOScTvSJSg4CHOlpzuLxNr7iE=; b=dEz5VgIlzjrqW5zGLYXzNqsy9hMyIlXLrZY+8IruEDFk8FqqxBqMDwa32/NflrAGXs mK+RXoIHZ2pSr4NQdjJH2z7W4SGqWdMNPl94pmun2gWi+361XYRgeMwkIY4x5qMpHpo1 wBTzaDe0Qr01Tj7redInRuOZs0tkDYbBrqIMwAiKyOWjW5OdeSO0j+pWj98Xna1E8ij6 B7/Kf5nydIN4N+gH74FcILMjRDCiqKN8v+9CrjuiJUSWwf30jTy+TIsqTw4K6AfnXT1b Hl5cDcJWuSKnfVLwtqM3I9WaIGYIh5tf7/4M863cS+kQeQG78BOL6Xdbld5MfKcI6erJ Uxng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:references:from:to:subject:date :in-reply-to: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=ktwl6rt4A44BLzS/fUwOScTvSJSg4CHOlpzuLxNr7iE=; b=oGO6z/tHopJ6KEUY/ojzK3Z6CvQv+FUcJaoSVz5NaAj3uf5N62mdG1Y3mEyARtJI1X WO/zshilvMR8ylMQyAZO9lkGwXIDuiZyndRkIZ4aI8W0h5sYYh0ppAC6p0D64Xk32ehW bxeS4m7IOuI/X+7gpTThliIgTKrBIPM3YFhttA467HCzc8oobzW56XCNDRqqcjCLUIgz a94RTFzz5LculXKi1zpaJ5G+k0OnLHd/sdc5NeHw36XXBLITt7tBQWcCGe7OoDiqsByn wgen2KYROZHOgG5MICVCu/TutoSsIxStxRLzuLF8W4GEXgPaI9IxFXi6vjy4pSkMgeo+ xa/g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532qIaky6MSGKLXsr9sAs1hVqWI4oDUmhDyvOZZbTHkQBm9iZPkh wnaJ1xtheSQJ7j+f5cb7Uh8= X-Google-Smtp-Source: ABdhPJyoLXOEg7Q2ehALBceNGaa5dkClzazl1S4jYPSyEOTO12Bf7ZWhjRRp/RU+KSdovREnWyATeQ== X-Received: by 2002:a5d:6809:0:b0:210:af0:64b0 with SMTP id w9-20020a5d6809000000b002100af064b0mr3014789wru.202.1654163244397; Thu, 02 Jun 2022 02:47:24 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:144a:b0:20f:f1e7:c71c with SMTP id v10-20020a056000144a00b0020ff1e7c71cls8643420wrx.0.gmail; Thu, 02 Jun 2022 02:47:20 -0700 (PDT) X-Received: by 2002:adf:c64c:0:b0:20f:e8f0:be4c with SMTP id u12-20020adfc64c000000b0020fe8f0be4cmr2958001wrg.614.1654163240387; Thu, 02 Jun 2022 02:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654163240; cv=none; d=google.com; s=arc-20160816; b=F49A/LVHHFqruekFrbpXxLqOkx7MYXHGr82LPN6cA37H6582m+sY4uyZAtmH49A7jj wVdPg78+Ht3GqE4RmZj2mI2dGA9znMuPD9ArUsaPZ/zvcBBidQ9TU/lVF2Xsw20nIZnO 3j9bvby2MHrZcVfa8rmxlG/5IOrgFyG90P5pKgpSto0Ea8JRj5WuDTxjzIoTr3D/WsBC nchJn2lN77/TsiLRnYOX46atXte9UE2BVjpNaT68/ogp3sxkefR+7P0622HaDOvq0fIq iS9Twym9oZuM8/wL7BJANM7b4UFlhiM2m3PeZUzbbGwHCLEuuFVDPnrkKwHjjCgDV0yf wcOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:date:subject:to:from:references; bh=VKnX0iyS5chV6IEbkET3dZMn234neZTCMSozMXRHS3A=; b=hkBm1jO/GxNyFmixC4XJpLdO02rjwCTN+hh5bbKu6gi5G97WpjhR9oJ6gQnCAfm3Ev NqNn8ZI/tkUo2v5BMWF8/QkCgPew+egCPwLOt940ugwj3Ae1bEE/HmWgBLAGpN64Kpkr dssVM57BzukK+SwjzgEWGn3fWrbhvHW4rFrEdwZxRObKz0R6KPRBDk25OA7kd07AEwWW 7ffO+wADrHtpk+nr1Ox18EcpplaD0QpBPWyfUUgEHDmtCiqFSpEO6Z6yp/oGSD1sMZYW cr2AO4bqiABVET6oyYTsapLzADSm/27Ak/iEXQ28RuLyL1M09NYpzBiBCZ/kjWayX32Y XUPg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.152 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org. [80.241.56.152]) by gmr-mx.google.com with ESMTPS id az31-20020a05600c601f00b0039749aa8742si239923wmb.2.2022.06.02.02.47.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 02:47:20 -0700 (PDT) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.152 as permitted sender) client-ip=80.241.56.152; Original-Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4LDLlT3xHqz9sjG for ; Thu, 2 Jun 2022 11:47:17 +0200 (CEST) In-reply-to: X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.152 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:30663 Archived-At: Hi Mattia, Mattia Tezzele writes: > Hi everyone, > > I'm converting from docx to HTML and in my output all my sections get > wrapped in
tags, even if I didn't specify --section-divs in > my command. This somehow breaks the spacing before headings with the > CSS I'm using (which I have no way to modify). > > [...] > > > This is the command I'm using: > > pandoc document.docx -t html --number-sections --number-offset=1 > --shift-heading-level-by=1 It looks like `--number-offset` is causing this behavior, but I'm not sure why. It looks like a bug to me, please report it at https://github.com/jgm/pandoc/issues/new Cheers, Albert -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124