public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* block-headings variable seems to be ignored
@ 2022-10-17 19:59 Claudio Di Vita
       [not found] ` <ef6821e6-6de5-4f8c-b3c9-5692df472e27n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Claudio Di Vita @ 2022-10-17 19:59 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 841 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1251 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: John MacFarlane @ 2022-10-17 22:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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 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/E53EB13B-6757-4117-B86D-D2A847FEAB10%40gmail.com.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: Claudio Di Vita @ 2022-10-17 22:19 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

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.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: John MacFarlane @ 2022-10-17 22:24 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

What pandoc version?

> On Oct 17, 2022, at 3:19 PM, Claudio Di Vita <claudio.divita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 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/FF4194CA-FA19-4713-9C95-6A73B56E4D5C%40gmail.com.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: Claudio Di Vita @ 2022-10-17 22:26 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 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.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: John MacFarlane @ 2022-10-17 22:33 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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@gmail.com> 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 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/0B3B83E5-1716-4F88-BD91-E560515C0AC0%40gmail.com.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [not found]                     ` <0B3B83E5-1716-4F88-BD91-E560515C0AC0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2022-10-18  9:26                       ` Claudio Di Vita
  2022-10-18 10:13                       ` BPJ
  1 sibling, 0 replies; 9+ messages in thread
From: Claudio Di Vita @ 2022-10-18  9:26 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [not found]                     ` <0B3B83E5-1716-4F88-BD91-E560515C0AC0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2022-10-18  9:26                       ` Claudio Di Vita
@ 2022-10-18 10:13                       ` BPJ
       [not found]                         ` <CADAJKhAGBFXH9jhkuebbhsBWCKtZaYUKPJ-Z4P_tpJz0HEhxmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 9+ messages in thread
From: BPJ @ 2022-10-18 10:13 UTC (permalink / raw)
  To: pandoc-discuss

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

Den tis 18 okt. 2022 00:34John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:

> 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
>

How come `\mbox{}` has the desired effect? I would have expected `\hfill`
which you must use to make an `\item` appear on its own line.



> 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 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/0B3B83E5-1716-4F88-BD91-E560515C0AC0%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/CADAJKhAGBFXH9jhkuebbhsBWCKtZaYUKPJ-Z4P_tpJz0HEhxmQ%40mail.gmail.com.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: block-headings variable seems to be ignored
       [not found]                         ` <CADAJKhAGBFXH9jhkuebbhsBWCKtZaYUKPJ-Z4P_tpJz0HEhxmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2022-10-18 19:25                           ` John MacFarlane
  0 siblings, 0 replies; 9+ messages in thread
From: John MacFarlane @ 2022-10-18 19:25 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw



> On Oct 18, 2022, at 3:13 AM, BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
> 
> 
> Den tis 18 okt. 2022 00:34John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
> 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
> 
> How come `\mbox{}` has the desired effect? I would have expected `\hfill` which you must use to make an `\item` appear on its own line.
> 

I'm not sure, I didn't come up with this.


-- 
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/B9A8B9A4-4DF3-4CC6-912D-2176396AD629%40gmail.com.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-18 19:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17 19:59 block-headings variable seems to be ignored 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
2022-10-18 10:13                       ` BPJ
     [not found]                         ` <CADAJKhAGBFXH9jhkuebbhsBWCKtZaYUKPJ-Z4P_tpJz0HEhxmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-10-18 19:25                           ` John MacFarlane

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).