8

As a regular LyX-user i'd love to know if there exists some back-end to latexdiff available for Lyx.

Currently i'm using the following bash commands to get what I want.

new=MyFileName
old=MyFileName_old

new_lyx=${new}.lyx
old_lyx=${old}.lyx

new_tex=${new}.tex
old_tex=${old}.tex

lyx --force-overwrite --export pdflatex $new_lyx
lyx --force-overwrite --export pdflatex $old_lyx

latexdiff $old_tex $new_tex > diff.tex

pdflatex diff.tex

1 Answer 1

7

LyX has no implementation using latexdiff. The LyX way of comparing two documents is to do Tools > Compare, select the two files and choose "OK". If you had checked the checkbox, LyX will show the differences using its change tracking tools so that you can navigate between them.

1
  • 2
    +1 You could not only navigate between them, but also produce a PDF-diff as output (which is the main purpose of latexdiff).
    – Daniel
    Commented Feb 17, 2016 at 16:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .