public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Claudio Di Vita <claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: block-headings variable seems to be ignored
Date: Tue, 18 Oct 2022 11:26:52 +0200	[thread overview]
Message-ID: <CAMBF16tiBW8VJm8Q9yTttbqbhVb-MFOZsJJ0Qcuxo2Fyu+gEbQ@mail.gmail.com> (raw)
In-Reply-To: <0B3B83E5-1716-4F88-BD91-E560515C0AC0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 6137 bytes --]

Hi John,

the block-headings variable works, instructions are added to the preamble.

However, my conversion also includes a header that uses the sectsty
package. This package redefines the \paragraph command, therefore the
instructions added by the block-headings through the template are
overwritten.

That's why if I add the instructions associated to the block-headings
variable to my header it works.

Thanks a lot for your help

Il giorno mar 18 ott 2022 alle ore 00:33 John MacFarlane <
fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ha scritto:

> If you use `-t latex -s`, or if you use `—verbose` while producing a PDF,
> you’ll see the LaTeX intermediate file.
> Check to see that it includes these lines in the preamble:
>
> % Make \paragraph and \subparagraph free-standing
> \ifx\paragraph\undefined\else
>   \let\oldparagraph\paragraph
>   \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
> \fi
> \ifx\subparagraph\undefined\else
>   \let\oldsubparagraph\subparagraph
>   \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
> \fi
>
> If it does, then block-headings did what it was supposed to.
>
>
> > On Oct 17, 2022, at 3:26 PM, Claudio Di Vita <claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> wrote:
> >
> > I use pandoc 2.19.2
> >
> > Il Mar 18 Ott 2022, 00:25 John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ha
> scritto:
> > What pandoc version?
> >
> > > On Oct 17, 2022, at 3:19 PM, Claudio Di Vita <claudio.divita-Re5JQEeQqe8@public.gmane.orgm>
> wrote:
> > >
> > > Yeah, it's a typo in the message: in metadata I wrote block-headings:
> true....I copied it from the manual.
> > >
> > > Il Mar 18 Ott 2022, 00:06 John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ha
> scritto:
> > > It’s block-headings (with an s).
> > >
> > > > On Oct 17, 2022, at 12:59 PM, Claudio Di Vita <
> claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > >
> > > > Hi folks,
> > > >
> > > > I set the block-heading variable to true through the metadata block,
> however no changes is applied to my document.
> > > >
> > > > Please note that:
> > > >       • Variables like urlcolor and linkcolor works fine
> > > >       • If I add the LaTeX statements I found in the template to my
> preamble, 4th and 5th level headers are free-standing
> > > > Is there any constraint/prerequisite to be met for using
> block-headings ?
> > > >
> > > > Thanks a lot, cheers
> > > >
> > > > Claudio
> > > >
> > > > --
> > > > 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/ef6821e6-6de5-4f8c-b3c9-5692df472e27n%40googlegroups.com
> .
> > >
> > > --
> > > You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> > > To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/Oiuk8myUoFc/unsubscribe.
> > > To unsubscribe from this group and all its topics, 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/E53EB13B-6757-4117-B86D-D2A847FEAB10%40gmail.com
> .
> > >
> > > --
> > > 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/CAMBF16uxC%3DCzeL0%2BbdYGnQHkBgHC5PoBqkR%2BsHUmddXNf6tnHw%40mail.gmail.com
> .
> >
> > --
> > You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> > To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/Oiuk8myUoFc/unsubscribe.
> > To unsubscribe from this group and all its topics, 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/FF4194CA-FA19-4713-9C95-6A73B56E4D5C%40gmail.com
> .
> >
> > --
> > 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/CAMBF16uzMHBaD6q7M7DJ1Oyqt%3D1WCcKTTh4HhsQBpNd2qfzw%2BQ%40mail.gmail.com
> .
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/Oiuk8myUoFc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/0B3B83E5-1716-4F88-BD91-E560515C0AC0%40gmail.com
> .
>


-- 
Claudio
claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

-- 
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/CAMBF16tiBW8VJm8Q9yTttbqbhVb-MFOZsJJ0Qcuxo2Fyu%2BgEbQ%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 9740 bytes --]

  parent reply	other threads:[~2022-10-18  9:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 19:59 Claudio Di Vita
     [not found] ` <ef6821e6-6de5-4f8c-b3c9-5692df472e27n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-10-17 22:06   ` John MacFarlane
     [not found]     ` <E53EB13B-6757-4117-B86D-D2A847FEAB10-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-17 22:19       ` Claudio Di Vita
     [not found]         ` <CAMBF16uxC=CzeL0+bdYGnQHkBgHC5PoBqkR+sHUmddXNf6tnHw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-10-17 22:24           ` John MacFarlane
     [not found]             ` <FF4194CA-FA19-4713-9C95-6A73B56E4D5C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-17 22:26               ` Claudio Di Vita
     [not found]                 ` <CAMBF16uzMHBaD6q7M7DJ1Oyqt=1WCcKTTh4HhsQBpNd2qfzw+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-10-17 22:33                   ` John MacFarlane
     [not found]                     ` <0B3B83E5-1716-4F88-BD91-E560515C0AC0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-18  9:26                       ` Claudio Di Vita [this message]
2022-10-18 10:13                       ` BPJ
     [not found]                         ` <CADAJKhAGBFXH9jhkuebbhsBWCKtZaYUKPJ-Z4P_tpJz0HEhxmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-10-18 19:25                           ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMBF16tiBW8VJm8Q9yTttbqbhVb-MFOZsJJ0Qcuxo2Fyu+gEbQ@mail.gmail.com \
    --to=claudio.divita-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).