2 ms·
All I would like from OpenDocument, and LibreOffice, is an ASCII storage format that is not specifically designed to be incompatible with revision control syste
by ncmncm 6y ago
All I would like from OpenDocument, and LibreOffice, is an ASCII storage format that is not specifically designed to be incompatible with revision control systems.
As it is, they have an almost-serviceable format that fails only by having each line start with a random number that differs from the number on the corresponding line that was originally read in.
Fixing it would not even be an incompatible change! They could just remember the number that was there, and write it back out, next time.
There is a report for this in their bug tracker that mentions SVN because there was no Git, yet, when it was posted.
- MayeulC 6y agoNot exactly a complete answer to your problem, but you can at least improve diffs for odt documents by using git textconv: *.ods diff=odf *.odt diff=odf *.odp diff=odf *.ods difftool=odf *.odt difftool=odf *.odp difftool=odf [diff "odf"] textconv=odt2txt https://git.wiki.kernel.org/index.php/Textconv https://git.wiki.kernel.org/index.php/Textconv
- sally1620 6y agoThere is a single XML variant of the open document format. although images and videos won't be embedded in the document that way. I used this format when I was generating ODF documents using a script.