LaTeX export and #+INCLUDE decode line ends as Emacs does: all CRLF (dos) or all CR (mac) become LF, mixed endings keep the CRs. The trailing-newline normalization works by scalar so a kept CR before LF isn't doubled. Oracle test covers each case.
Ref docs/plans/2026-11-20-parity.md