Thinking and searching hard for a solution, the closest I got was to use a DOCX template file with an enumeration in the references.

A disadvantage of this solution is that it is no longer possible to use the same CSL file for all output formats (because this would cause duplicate numbers in DOCX output; in this case it is necessary to remove the numbers).

There was a discription the same problem on https://community.rstudio.com/t/csl-style-is-not-recognized-when-output-in-word/143064. I think it would be nice to have a fix for beginners.

Stephan Boltzmann schrieb am Freitag, 16. Juni 2023 um 13:00:07 UTC+2:
Hello everybody out there using Pandoc-citeproc,

Generating a numbered list of references from Markdown with Pandoc-citeproc for LaTeX output works great and there is a nice indentation after each (sequential) number for all references.
This indentation is missing when generating DOCX (Word) documents for any citation style (CSL file) I have tried so far.
Each reference is displayed in according to
1. First author, second author: A long title with
a linebreak. Journal, Issue, Date, etc.
whereas I would prefere
1. First author, second author: A long title with
   a linebreak. Journal, Issue, Date, etc.
Is it possible to have this kind of indentation for list of references in DOCX documents?
Surprisingly, I could not find any solution about this issue by web search.

I made sure that the CSL files I use really included suitable indentation tags and also tried to adjust them but so for without success.
Are there additional diagnostics I could run to pin down the problem?

--
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/778adde0-a246-417e-9dc7-57b31a810273n%40googlegroups.com.