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 \newlinechar so 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

  • 2
    The limit should be the “buffer size”, set to 200000 in TeX Live. Peter Wilson took a very drastic decision, but when endnote (from which he took the code for ledmac, IIRC) was written, memory was very scarce and the buffer size used to be rather small. – egreg Mar 17 '18 at 9:51
  • We have had issues with it in memoir, people complained that they hit the limit on line lengths, and we adapted the same approach. – daleif Mar 17 '18 at 10:57
  • but that provoke tex.stackexchange.com/questions/420502/… – Maïeul Mar 17 '18 at 11:44
  • @egreg : where can I found all defaut setting of TeXLive? and for Miktex? – Maïeul Mar 17 '18 at 11:54
  • @Maïeul I guess kpsewhich -var-value buf_size works on both systems from a shell. – egreg Mar 17 '18 at 11:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.