[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [DOK] Fremhæve forskelle mellem to LaTeX-filer?



Thorbjørn Ravn Andersen skrev:

> > Findes der en metode til at generere en LaTeX-fil, hvor
> > forskellene mellem to andre LaTeX-filer er fremhævet?
> 
> Mener du en LaTeX variant af uddata fra fx "diff -c"?

Ja. En meget primitiv løsning kunne for eksempel være:

   diff -u1000 før.tex efter.tex \
     | perl -pe 's/^[+](.*)$/\{\\it $1 \}/; s/^[-](.*)$/\{\\bf $1 \}/; s/^[ ](.*)$/$1/' \
     > forskelle.tex

men jeg vil gerne have en lidt mere elegant løsning.

Jacob
-- 
"There is nothing worse than having only one drunk head."



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:57 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *