On Tue, Jan 08, 2002 at 06:52:31PM +0100, Xavier de Blas wrote:
> Thanks to all,especially to Dekel. I've made the following:
> 
> and i'm able to use it in some files, but not in the important file. I
> get the following error in the first "latex file-diff":

I did have some problems with chbar.sh but it is rare.

Try doing the following

  lyx -e latex file-old.lyx
  lyx -e latex file-new.lyx
  lyxdiff2 file-old.lyx > file-old2.lyx
  lyxdiff2 file-new.lyx > file-new2.lyx
  chbar.sh file-old2.tex file-new2.tex >file-diff.tex
  latex file-diff
  bibtex file-diff
  latex file-diff
  latex file-diff
  dvips file-diff  -o file-diff.ps

(the lyxdiff2 script was attached in my previous mail).

If you still have problem, try looking at file-diff.tex and check if
there is a \cbstart ..\cbend pair of command that is separated by { or }
e.g.
  \cbstart
  blah blha \emph{blah
  \cbend
  blah }

Reply via email to