On 7/27/05, Brian Foster <blf at blf.utvinternet.ie> wrote:
> note, however, the above prints the entire (La)TeX
> paragraph — I'm assuming here yer paragraphs are
This was the sort of thing I was trying to avoid. This pretty much
gets me the paragraph that needs to be fixed, which is a similar
result to diff.
> hum. since all unescaped whitespace is the same to
> (La)TeX, you could, perhaps, put each word (which is
> not in a %comment) on a separate line, and then just
> use diff(1)? the result would not be very friendly
> to human editors .... ;-(
Not a terrible solution. Could use the context part of diff to get a
few words either side. On the other hand, I was kinda hoping I wasn't
the first one to need a tool like this, and that it would either be an
option in a standard(ish) tool (man diff returned no joy), or that
there was a tool that did this that I wasn't aware of.
> b.t.w., where is `texdiff'? I have never heard of it.
http://www.robmar.net/TexDiff/
Paul
--
Paul Biggar
paul.biggar at gmail.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!