twilsonco / latexdiffcite

latexdiffcite is a wrapper around latexdiff to make citations diff properly
BSD 2-Clause "Simplified" License
26 stars 9 forks source link

Options of latexdiff #9

Open mlep opened 6 years ago

mlep commented 6 years ago

I could not make citations diff properly with latexdiff. So I am considering using latexdiffcite instead. To make the diff between 2 files, I was using latexdiff with the option --math-markup=whole . I would like to use latexdiffcite with this option. Is is possible? How?

I have latexdiffcite 1.0.6

cmeeren commented 6 years ago

Unfortunately it's been several years since I used (and stopped maintaining) latexdiffcite, so I can't remember if it's possible to pass arguments through latexdiffcite to latexdiff. If it's not already possible, I won't be able to add it.

mlep commented 6 years ago

Thank you for your prompt reply!

lqxyz commented 3 years ago

Perhaps try changing L826 from

process = subprocess.Popen(args, stdout=f, stderr=subprocess.PIPE)

to

process = subprocess.Popen(' '.join(args), shell=True, stdout=f, stderr=subprocess.PIPE)

See this problem on Stack Overflow.