public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* citeproc: Missing indentation in DOCX output of list of references
@ 2023-06-16 11:00 Stephan Boltzmann
       [not found] ` <2a000ffa-6d52-46a6-813e-f05ff3bcbe67n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Stephan Boltzmann @ 2023-06-16 11:00 UTC (permalink / raw)
  To: pandoc-discuss


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

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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2a000ffa-6d52-46a6-813e-f05ff3bcbe67n%40googlegroups.com.

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

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

* Re: citeproc: Missing indentation in DOCX output of list of references
       [not found] ` <2a000ffa-6d52-46a6-813e-f05ff3bcbe67n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-07-11 14:58   ` Stephan Boltzmann
       [not found]     ` <778adde0-a246-417e-9dc7-57b31a810273n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Stephan Boltzmann @ 2023-07-11 14:58 UTC (permalink / raw)
  To: pandoc-discuss


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

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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.

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

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

* Re: citeproc: Missing indentation in DOCX output of list of references
       [not found]     ` <778adde0-a246-417e-9dc7-57b31a810273n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-07-11 15:04       ` Stephan Boltzmann
  0 siblings, 0 replies; 3+ messages in thread
From: Stephan Boltzmann @ 2023-07-11 15:04 UTC (permalink / raw)
  To: pandoc-discuss


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

A minimal reproducible example would look like this:

bibliography.bib:
@article{lin1973, 
  author = {Shen Lin and Brian W. Kernighan}, 
  title = {An Effective Heuristic Algorithm for the Travelling-Salesman 
Problem}, 
  journal = {Operations Research}, 
  volume = {21}, 
  year = {1973}, 
  pages = {498--516}
}

document.md:
# Introduction
@lin1973 developed an algorithm for the travelling-salesman problem.

Stephan Boltzmann schrieb am Dienstag, 11. Juli 2023 um 16:58:55 UTC+2:

> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/165231d1-2fa2-4adf-97c2-cf0a9a994e8bn%40googlegroups.com.

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

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

end of thread, other threads:[~2023-07-11 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-16 11:00 citeproc: Missing indentation in DOCX output of list of references Stephan Boltzmann
     [not found] ` <2a000ffa-6d52-46a6-813e-f05ff3bcbe67n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-07-11 14:58   ` Stephan Boltzmann
     [not found]     ` <778adde0-a246-417e-9dc7-57b31a810273n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-07-11 15:04       ` Stephan Boltzmann

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