\\On LaTeX:

\CSLBlock is defined as

\newcommand{\CSLBlock}[1]{#1\hfill\break}

That explains why it has no visible output in this case:

This code will fill the current line after the input, but it will not move the element to the next line.

 

Now, chicago-annotated-bibliography.csl does not follow the advice given in the CSL specification :

« If used, all rendering elements should be under the control of a display attribute."

 

So, I guess the elements before the note should have a display attribute as well, but we may also consider whether

\newcommand{\CSLBlock}[1]{\linebreak#1\hfill\break}

or something similar might be an option...

 

Denis

 

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
Gesendet: Donnerstag, 3. Juni 2021 12:39
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; amphiboly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Betreff: AW: Missing space before note in bibliography

 

By the way:

 

LaTeX output:

```

\hypertarget{refs}{}

\begin{CSLReferences}{1}{0}

\leavevmode\hypertarget{ref-WatsonCrick1953}{}%

Watson, J. D., and F. H. C. Crick. {``Molecular Structure of Nucleic

Acids: A Structure for Deoxyribose Nucleic Acid.''} \emph{Nature} 171,

no. 4356 (April 25, 1953): 737--38.

\url{https://doi.org/10.1038/171737a0}

\CSLBlock{Note this!}

 

\end{CSLReferences}

```

 

LaTeX-PDF-output:

So, although `\CSLBLock` seems to be defined, it has no visible consequence in the output.

 

ConTeXt-output:

```

\startcslreferences

 

\reference[ref-WatsonCrick1953]{}%

Watson, J. D., and F. H. C. Crick. “Molecular Structure of Nucleic

Acids: A Structure for Deoxyribose Nucleic Acid.” {\em Nature} 171, no.

4356 (April 25, 1953): 737--38.

\useURL[url1][https://doi.org/10.1038/171737a0]\from[url1]Note this!

 

\stopcslreferences

```

The ConTeXt-writer does not use a \CSLBlock or similar.

 

Best,

Denis

 

 

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org
Gesendet: Donnerstag, 3. Juni 2021 12:33
An:
pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; amphiboly@gmail.com
Betreff: AW: Missing space before note in bibliography

 

Hi,

 

it's the `display="block"` attribute.

 

This is what Zotero/Word gives me:

 

 

The period on its own line is probably a bit odd, but the note field («Blablablabla bla») happens to be on its own line as well.

 

Best

Denis

 

> -----Ursprüngliche Nachricht-----

> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-

> discuss@googlegroups.com> Im Auftrag von John MacFarlane

> Gesendet: Montag, 31. Mai 2021 22:54

> An: amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <amphiboly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>; pandoc-discuss <pandoc-

> discuss@googlegroups.com>

> Betreff: Re: Missing space before note in bibliography

>

>

> I may have made a mistake in implementing citeproc, but as far as I can see,

> the chicago-annotated-bibliography doesn't call for a space here. The

> structure is

>

> <layout suffix=".">

>  <group delimiter=". ">

>    (omitted elements)

>  </group>

>  <text variable="note" display="block"/> </layout>

>

> So, this calls for a ". " between each of (omitted elements), but the note

> comes after this group and isn't subject to that delimiter.  This could be fixed

> with a prefix=" " on the text element there.  But undoubtedly there's some

> citeproc subtlety I'm missing...can any CSL experts comment on this?

>

>

> "amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <amphiboly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

>

> > With the ConTeXt and Docx writers (at least) a space is not inserted

> > before the note in reference entries when using an annotated style.

> >

> > Using apa-annotated-bibliography and the following markdown file:

> >

> > ---

> > references:

> > - type: article-journal

> >   id: WatsonCrick1953

> >   author:

> >   - family: Watson

> >     given: J. D.

> >   - family: Crick

> >     given: F. H. C.

> >   issued:

> >     date-parts:

> >     - - 1953

> >       - 4

> >       - 25

> >   title: 'Molecular structure of nucleic acids: a structure for

> >     deoxyribose nucleic acid'

> >   title-short: Molecular structure of nucleic acids

> >   container-title: Nature

> >   volume: 171

> >   issue: 4356

> >   page: 737-738

> >   DOI: 10.1038/171737a0

> >   URL: https://www.nature.com/articles/171737a0

> >   language: en-GB

> >   note: Note this!

> > nocite: |

> >   @*

> > ...

> >

> > the docx result is:

> >

> > [image: Screenshot 2021-05-31 140026.png] This also occurs with the

> > chicago-annotated-bibliography csl file and so does not appear to be

> > related to the csl file itself.

> >

> > --

> > Rik

> >

> > --

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

> > To view this discussion on the web visit

> https://groups.google.com/d/msgid/pandoc-discuss/fe336e5d-ae33-41f6-

> 99e3-b734f0334fc9n%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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

> To view this discussion on the web visit

> https://groups.google.com/d/msgid/pandoc-

> discuss/m2o8cqwrnu.fsf%40johnmacfarlane.net.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/a9c6df44728742eda4dfff424edcdcab%40ub.unibe.ch.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/d5868942f78444a4bf94351aedfe8f3c%40ub.unibe.ch.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ac34fce89fd542d0a9f378b0c5457f9f%40ub.unibe.ch.