In the ledmac documentation, Peter Wilson wrote that, when writing to the .end file (which stores the endnote), it transforms all spaces to line breaks.
We change
\newlinecharso that in the file every space becomes the start of a new line; this generally ensures that a long note doesn’t exceed restrictions on the length of lines in files.
Is there any restriction in the length of file (today, with modern engines)? I don't see anything in
This has an influence on Reledmac/Reledmac: duplicating index entries
endnote(from which he took the code forledmac, IIRC) was written, memory was very scarce and the buffer size used to be rather small. – egreg Mar 17 '18 at 09:51kpsewhich -var-value buf_sizeworks on both systems from a shell. – egreg Mar 17 '18 at 11:58buf_sizeplays a role when files are input, i.e., when the endnotes are read in again. Are you aware of Peter Breitenlohner's article where lines keep the line breaks of the TeX file? This should work on any author's OS: What can be placed on one line in the input is kept together and can be reread for the endnotes. – Udo Wermuth Mar 20 '18 at 09:18