├── .gitignore ├── .perltidyrc ├── Algorithm-Diff-Block ├── Algorithm-Diff-Fast ├── COPYING ├── LICENSE ├── Makefile ├── Makefile.dist ├── README.md ├── contrib ├── README.latexchanges ├── latexchanges.py ├── latexdiff-wrap └── latexdiff.spec ├── example-draft.tex ├── example-rev.tex ├── htdocs ├── email.js ├── index.html └── index_files │ ├── bslogo.png │ └── default.css ├── latexdiff ├── latexdiff-man.tex ├── latexdiff-vc ├── latexrevise ├── legacy ├── README.legacy ├── dist-0.1 │ ├── LICENSE │ ├── Makefile │ ├── README │ ├── example │ │ ├── example-draft.tex │ │ └── example-rev.tex │ ├── latexdiff │ ├── latexdiff-so │ ├── latexdiff.1 │ ├── latexrevise │ └── latexrevise.1 ├── dist-0.2 │ ├── CHANGES │ ├── LICENSE │ ├── Makefile │ ├── README │ ├── example │ │ ├── example-draft.tex │ │ └── example-rev.tex │ ├── latexdiff │ ├── latexdiff-0.1 │ ├── latexdiff-so │ ├── latexdiff.1 │ ├── latexrevise │ └── latexrevise.1 ├── dist-0.3 │ ├── CHANGES │ ├── LICENSE │ ├── Makefile │ ├── README │ ├── example │ │ ├── example-draft.tex │ │ └── example-rev.tex │ ├── latexdiff │ ├── latexdiff-cvs │ ├── latexdiff-cvs.1 │ ├── latexdiff-so │ ├── latexdiff.1 │ ├── latexrevise │ ├── latexrevise.1 │ └── obsolete │ │ ├── latexdiff-0.1 │ │ └── latexdiff-0.2 ├── dist-0.4 │ ├── CHANGES │ ├── LICENSE │ ├── Makefile │ ├── README │ ├── contrib │ │ └── latexdiff-wrap │ ├── eqnarray-diff.tex │ ├── example │ │ ├── example-draft.tex │ │ └── example-rev.tex │ ├── latexdiff │ ├── latexdiff-fast │ ├── latexdiff-so │ ├── latexdiff-vc │ ├── latexdiff-vc.1 │ ├── latexdiff.1 │ ├── latexrevise │ └── latexrevise.1 ├── dist-0.42 │ ├── CHANGES │ ├── LICENSE │ ├── Makefile │ ├── README │ ├── contrib │ │ └── latexdiff-wrap │ ├── eqnarray-diff.tex │ ├── example │ │ ├── example-draft.tex │ │ └── example-rev.tex │ ├── latexdiff │ ├── latexdiff-fast │ ├── latexdiff-so │ ├── latexdiff-vc │ ├── latexdiff-vc.1 │ ├── latexdiff.1 │ ├── latexrevise │ └── latexrevise.1 └── dist-0.5 │ ├── CHANGES │ ├── LICENSE │ ├── Makefile │ ├── README │ ├── contrib │ ├── latexdiff-wrap │ └── latexdiff.spec │ ├── example │ ├── example-draft.tex │ └── example-rev.tex │ ├── latexdiff │ ├── latexdiff-fast │ ├── latexdiff-so │ ├── latexdiff-vc │ ├── latexdiff-vc.1 │ ├── latexdiff.1 │ ├── latexrevise │ └── latexrevise.1 ├── testsuite-vc ├── .gitignore ├── bilder ├── iquique-new.tex ├── iquique-old.tex ├── iquique1-new.tex ├── iquique1-old.tex └── verify-vc └── testsuite ├── .gitignore ├── 220px-Brandenburg_Gate_Quadriga_at_Night_from_wikipedia.jpg ├── 270px-Charles_Meynier_-_Napoleon_in_Berlin.png ├── Brandenburger_Tor_abends_from_wikipedia.jpg ├── DIFDELCMDBUG-diff-1.0.1.tex ├── DIFDELCMDBUG-diff-1.0.3.tex ├── DIFDELCMDBUG-diff-1.0.4.tex ├── DIFDELCMDBUG-diff-1.1.0.tex ├── DIFDELCMDBUG-new.tex ├── DIFDELCMDBUG-old.tex ├── agu2001.cls ├── alignat-new.tex ├── alignat-old.tex ├── anchordemo-new.tex ├── anchordemo-old.tex ├── apacite-test-diff-1.0.4.tex ├── apacite-test-diff-1.1.0.tex ├── apacite-test-new.tex ├── apacite-test-old.tex ├── apacite-test.bib ├── biblatex-new.tex ├── biblatex-old.tex ├── bornd-diff-1.0.1.tex ├── bornd-diff-1.0.3.tex ├── bornd-new.tex ├── bornd-old.tex ├── bornd2-diff-1.0.4.tex ├── bornd2-diff-1.1.0.tex ├── bornd2-new.tex ├── bornd2-old.tex ├── cases-new.tex ├── cases-old.tex ├── circonflex-diff-1.0.3.tex ├── circonflex-diff-1.0.4.tex ├── circonflex-diff-1.1.0.tex ├── circonflex-new.tex ├── circonflex-old.tex ├── cjlanguage-new.tex ├── cjlanguage-old.tex ├── complex-maths-diff-1.0.1.tex ├── complex-maths-diff-1.0.3.tex ├── complex-maths-diff-1.0.4.tex ├── complex-maths-diff-1.1.0.tex ├── complex-maths-new.tex ├── complex-maths-old.tex ├── complicated-math-new.tex ├── complicated-math-old.tex ├── customdiffcmdtest-new.tex ├── customdiffcmdtest-old.tex ├── delequ-diff-1.0.1.tex ├── delequ-diff-1.0.3.tex ├── delequ-diff-1.0.4.tex ├── delequ-diff-1.1.0.tex ├── delequ-new.tex ├── delequ-old.tex ├── delequ-slave-new.tex ├── delequ-slave-old.tex ├── delequ2-diff-1.0.1.tex ├── delequ2-diff-1.0.3.tex ├── delequ2-diff-1.0.4.tex ├── delequ2-diff-1.1.0.tex ├── delequ2-new.tex ├── delequ2-old.tex ├── delequ2-slave-new.tex ├── delequ2-slave-old.tex ├── delequ3-diff-1.0.1.tex ├── delequ3-diff-1.0.3.tex ├── delequ3-diff-1.0.4.tex ├── delequ3-diff-1.1.0.tex ├── delequ3-new.tex ├── delequ3-old.tex ├── delequ4-diff-1.0.3.tex ├── delequ4-diff-1.0.4.tex ├── delequ4-diff-1.1.0.tex ├── delequ4-new.tex ├── delequ4-old.tex ├── description-new.tex ├── description-old.tex ├── doubledollar-diff-1.0.1.tex ├── doubledollar-diff-1.0.3.tex ├── doubledollar-diff-1.0.4.tex ├── doubledollar-diff-1.1.0.tex ├── doubledollar-new.tex ├── doubledollar-old.tex ├── elsart.cls ├── embedded-math-array-new.tex ├── embedded-math-array-old.tex ├── endfloat-diff-1.0.1.tex ├── endfloat-diff-1.0.3.tex ├── endfloat-diff-1.0.4.tex ├── endfloat-diff-1.1.0.tex ├── endfloat-new.tex ├── endfloat-old.tex ├── endfloat2-new.tex ├── endfloat2-old.tex ├── eqnarray-diff-1.0.1.tex ├── eqnarray-diff-1.0.3.tex ├── eqnarray-diff-1.0.4.tex ├── eqnarray-diff-1.1.0.tex ├── eqnarray-new.tex ├── eqnarray-old.tex ├── eqnarray-slave-new.tex ├── eqnarray-slave-old.tex ├── eqnarray2-new.tex ├── eqnarray2-old.tex ├── example-diff-1.0.1.tex ├── example-diff-1.0.3.tex ├── example-diff-1.0.4.tex ├── example-diff-1.1.0.tex ├── example-new.tex ├── example-old.tex ├── example-tag-new.tex ├── example-tag-old.tex ├── exampleDiff-diff-1.0.1.tex ├── exampleDiff-diff-1.0.3.tex ├── exampleDiff-diff-1.0.4.tex ├── exampleDiff-diff-1.1.0.tex ├── exampleDiff-new.tex ├── exampleDiff-old.tex ├── figures-new.tex ├── figures-old.tex ├── frac_w_space_comments-new.tex ├── frac_w_space_comments-old.tex ├── gennady-diff-1.0.1.tex ├── gennady-diff-1.0.3.tex ├── gennady-diff-1.0.4.tex ├── gennady-diff-1.1.0.tex ├── gennady-new.tex ├── gennady-old.tex ├── gershwin12-diff-1.0.1.tex ├── gershwin12-diff-1.0.3.tex ├── gershwin12-diff-1.0.4.tex ├── gershwin12-diff-1.1.0.tex ├── gershwin12-new.tex ├── gershwin12-old.tex ├── gershwin34-diff-1.0.1.tex ├── gershwin34-diff-1.0.3.tex ├── gershwin34-diff-1.0.4.tex ├── gershwin34-diff-1.1.0.tex ├── gershwin34-new.tex ├── gershwin34-old.tex ├── href-in-bibliography-new.tex ├── href-in-bibliography-old.tex ├── hypertarget-new.tex ├── hypertarget-old.tex ├── import-level0 ├── import-level1 │ └── world.tex ├── include-me.tex └── input-me.tex ├── import-new.tex ├── import-old.tex ├── intertext-new.tex ├── intertext-old.tex ├── island_obs2004-diff-1.0.1.tex ├── island_obs2004-diff-1.0.3.tex ├── island_obs2004-diff-1.0.4.tex ├── island_obs2004-diff-1.1.0.tex ├── island_obs2004-new.tex ├── island_obs2004-old.tex ├── ja-diff-1.1.0.tex ├── ja-new.tex ├── ja-old.tex ├── latin9-diff-1.0.1.tex ├── latin9-diff-1.0.3.tex ├── latin9-diff-1.0.4.tex ├── latin9-diff-1.1.0.tex ├── latin9-new.tex ├── latin9-old.tex ├── lists-new.tex ├── lists-old.tex ├── margalit-diff-1.0.1.tex ├── margalit-diff-1.0.3.tex ├── margalit-diff-1.0.4.tex ├── margalit-diff-1.1.0.tex ├── margalit-new.tex ├── margalit-old.tex ├── master-diff-1.0.1.tex ├── master-diff-1.0.3.tex ├── master-diff-1.0.4.tex ├── master-diff-1.1.0.tex ├── master-new.tex ├── master-old.tex ├── mini-diff-1.0.1.tex ├── mini-diff-1.0.3.tex ├── mini-diff-1.0.4.tex ├── mini-diff-1.1.0.tex ├── mini-new.tex ├── mini-old.tex ├── move-equation-diff-1.0.1.tex ├── move-equation-diff-1.0.3.tex ├── move-equation-diff-1.0.4.tex ├── move-equation-diff-1.1.0.tex ├── move-equation-new.tex ├── move-equation-old.tex ├── move-equation2-new.tex ├── move-equation2-old.tex ├── multicolumn-new.tex ├── multicolumn-old.tex ├── mwe-comment-diff-1.0.4.tex ├── mwe-comment-diff-1.1.0.tex ├── mwe-comment-new.tex ├── mwe-comment-old.tex ├── mwe-new.tex ├── mwe-old.tex ├── mylatex.sty ├── newtable.tex ├── no-del-new.tex ├── no-del-old.tex ├── nomarkup-diff-1.0.1.tex ├── nomarkup-diff-1.0.3.tex ├── nomarkup-diff-1.0.4.tex ├── nomarkup-diff-1.1.0.tex ├── nomarkup-new.tex ├── nomarkup-old.tex ├── oubmath-new.tex ├── oubmath-old.tex ├── outerrise-diff-1.0.1.tex ├── outerrise-diff-1.0.3.tex ├── outerrise-diff-1.0.4.tex ├── outerrise-diff-1.1.0.tex ├── outerrise-new.tex ├── outerrise-old.tex ├── outerrise-tagged-new.tex ├── outerrise-tagged-old.tex ├── pollack-diff-1.0.1.tex ├── pollack-diff-1.0.3.tex ├── pollack-diff-1.0.4.tex ├── pollack-diff-1.1.0.tex ├── pollack-new.tex ├── pollack-old.tex ├── protect-new.tex ├── protect-old.tex ├── quoteddollarunderscore-diff-1.1.0.tex ├── quoteddollarunderscore-new.tex ├── quoteddollarunderscore-old.tex ├── raisebox-new.tex ├── raisebox-old.tex ├── rapine_et_al-diff-1.0.1.tex ├── rapine_et_al-diff-1.0.3.tex ├── rapine_et_al-diff-1.0.4.tex ├── rapine_et_al-diff-1.1.0.tex ├── rapine_et_al-new.tex ├── rapine_et_al-old.tex ├── revtex-bibliography-new.tex ├── revtex-bibliography-old.tex ├── rolla-diff-1.0.1.tex ├── rolla-diff-1.0.3.tex ├── rolla-diff-1.0.4.tex ├── rolla-diff-1.1.0.tex ├── rolla-new.tex ├── rolla-old.tex ├── safecmd-new.tex ├── safecmd-old.tex ├── schneider-diff-1.0.1.tex ├── schneider-diff-1.0.3.tex ├── schneider-diff-1.0.4.tex ├── schneider-diff-1.1.0.tex ├── schneider-new.tex ├── schneider-old.tex ├── simplefrac-diff-1.0.1.tex ├── simplefrac-diff-1.0.3.tex ├── simplefrac-diff-1.0.4.tex ├── simplefrac-diff-1.1.0.tex ├── simplefrac-new.tex ├── simplefrac-old.tex ├── siunitx_new.tex ├── siunitx_old.tex ├── split-new.tex ├── split-old.tex ├── subfile-includeme.tex ├── subfile-new.tex ├── subfile-old.tex ├── subscript-diff-1.0.1.tex ├── subscript-diff-1.0.3.tex ├── subscript-diff-1.0.4.tex ├── subscript-diff-1.1.0.tex ├── subscript-new.tex ├── subscript-old.tex ├── subscriptm-diff-1.0.1.tex ├── subscriptm-diff-1.0.3.tex ├── subscriptm-diff-1.0.4.tex ├── subscriptm-diff-1.1.0.tex ├── subscriptm-new.tex ├── subscriptm-old.tex ├── test-diff-1.0.1.tex ├── test-diff-1.0.3.tex ├── test-diff-1.0.4.tex ├── test-diff-1.1.0.tex ├── test-new.tex ├── test-old.tex ├── test.c ├── testg.c ├── texdiffsample-diff-1.0.1.tex ├── texdiffsample-diff-1.0.3.tex ├── texdiffsample-diff-1.0.4.tex ├── texdiffsample-diff-1.1.0.tex ├── texdiffsample-new.tex ├── texdiffsample-old.tex ├── tikz-dependency-test-new.tex ├── tikz-dependency-test-old.tex ├── titlediffTest2-diff-1.0.1.tex ├── titlediffTest2-diff-1.0.3.tex ├── titlediffTest2-diff-1.0.4.tex ├── titlediffTest2-diff-1.1.0.tex ├── titlediffTest2-new.tex ├── titlediffTest2-old.tex ├── ttest-chem-new.tex ├── ttest-chem-old.tex ├── ttest-cleveref-new.tex ├── ttest-cleveref-old.tex ├── ttest-glossaries-new.tex ├── ttest-glossaries-old.tex ├── ttest-siunitx-new.tex ├── ttest-siunitx-old.tex ├── txtcmd-with-multiple-arguments-new.tex ├── txtcmd-with-multiple-arguments-old.tex ├── umesh-diff-1.0.1.tex ├── umesh-diff-1.0.3.tex ├── umesh-diff-1.0.4.tex ├── umesh-diff-1.1.0.tex ├── umesh-new.tex ├── umesh-old.tex ├── underwood-diff-1.0.1.tex ├── underwood-diff-1.0.3.tex ├── underwood-diff-1.0.4.tex ├── underwood-diff-1.1.0.tex ├── underwood-new.tex ├── underwood-old.tex ├── units-diff-1.1.0.tex ├── units-new.tex ├── units-old.tex ├── utf-diff-1.0.1.tex ├── utf-diff-1.0.3.tex ├── utf-diff-1.0.4.tex ├── utf-diff-1.1.0.tex ├── utf-new.tex ├── utf-old.tex ├── verbatim-input-new.tex ├── verbatim-input-old.tex ├── verbatim-new.tex ├── verbatim-old.tex ├── verbatim-v2-new.tex ├── verbatim-v2-old.tex ├── verbatim2-is143-new.tex ├── verbatim2-is143-old.tex ├── verify └── verify-style /.gitignore: -------------------------------------------------------------------------------- 1 | example-diff.aux 2 | example-diff.log 3 | example-diff.pdf 4 | example-diff.tex 5 | latexdiff-*.tar.gz 6 | latexdiff-man.aux 7 | latexdiff-man.log 8 | latexdiff-vc.aux 9 | latexdiff-vc.tex 10 | latexdiff.aux 11 | latexdiff.tex 12 | latexrevise.aux 13 | latexrevise.tex 14 | dist 15 | latexdiff-?.*.* 16 | *~ 17 | latexdiff.debug.* 18 | texput.log 19 | private 20 | #latexdiff# 21 | *-scratch 22 | *out 23 | *fdb_latexmk 24 | *bbl 25 | *fls 26 | *bcf 27 | *synctex* 28 | *xml 29 | bibliography.bib 30 | revtex-bibliography-diffNotes.bib 31 | 32 | -------------------------------------------------------------------------------- /contrib/README.latexchanges: -------------------------------------------------------------------------------- 1 | latexchanges.py (Jan-Ake Larsson): 2 | Here's a wrapper I wrote for latexdiff, intended as a drop-in 3 | replacement for latex, when you have several numbered (or dated) 4 | versions of a manuscript. My coauthors don't as a rule know what CVS or 5 | SVN is, they simply use a number or date for the different versions. 6 | 7 | latexchanges replaces the current DVI with one that includes a 8 | latexdiff to the last version. The last version is selected as the 9 | TEX file in the same directory with the same prefix (up to a number 10 | or a dot), that has an mtime immediately preceding the given TEX 11 | file. 12 | 13 | 14 | -------------------------------------------------------------------------------- /contrib/latexdiff.spec: -------------------------------------------------------------------------------- 1 | Summary: Diff for LaTeX files 2 | Name: latexdiff 3 | Version: 0.5 4 | Release: 1 5 | License: GPL 6 | Group: Productivity/Publishing/TeX/Utilities 7 | URL: http://www.tug.org/tex-archive/help/Catalogue/entries/latexdiff.html 8 | Source0: %{name}.zip 9 | BuildArch: noarch 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 11 | # only required for 'make install-ext' 12 | # Requires: perl-Algorithm-Diff 13 | 14 | 15 | %description 16 | latexdiff is a Perl script, which compares two latex files and marks 17 | up significant differences between them (i.e. a diff for latex files). 18 | Various options are available for visual markup using standard latex 19 | packages such as "color.sty". Changes not directly affecting visible 20 | text, for example in formatting commands, are still marked in 21 | the latex source. 22 | 23 | (C) 2004 Frederik Tilmann 24 | 25 | 26 | %prep 27 | %setup -n %{name} 28 | 29 | 30 | %build 31 | # quick had to adapt the Makefile 32 | %{__mv} Makefile Makefile.old 33 | %{__sed} \ 34 | -e "s;INSTALLPATH = /usr/local;INSTALLPATH = \${DESTDIR}%{_prefix};" \ 35 | -e "s;INSTALLMANPATH = \$(INSTALLPATH)/man;INSTALLMANPATH = \${DESTDIR}%{_mandir};" \ 36 | Makefile.old > Makefile 37 | 38 | 39 | %install 40 | %{__mkdir_p} $RPM_BUILD_ROOT%{_bindir} 41 | %{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1 42 | 43 | %makeinstall 44 | 45 | 46 | %clean 47 | [ "${RPM_BUILD_ROOT}" != "/" ] && [ -d "${RPM_BUILD_ROOT}" ] && %{__rm} -rf "${RPM_BUILD_ROOT}" 48 | 49 | 50 | %files 51 | %defattr(-,root,root) 52 | %doc example CHANGES LICENSE README 53 | %{_bindir}/* 54 | %{_mandir}/man*/* 55 | 56 | %changelog 57 | * Thu Jan 4 2007 Till Dörges - 0.5-1 58 | - Initial build. 59 | -------------------------------------------------------------------------------- /example-draft.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /example-rev.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /htdocs/email.js: -------------------------------------------------------------------------------- 1 | // Email.js version 5 2 | var tld_ = new Array() 3 | tld_[0] = "com"; 4 | tld_[1] = "org"; 5 | tld_[2] = "net"; 6 | tld_[3] = "ws"; 7 | tld_[4] = "info"; 8 | tld_[10] = "co.uk"; 9 | tld_[11] = "org.uk"; 10 | tld_[12] = "gov.uk"; 11 | tld_[13] = "ac.uk"; 12 | tld_[14] = "de"; 13 | var topDom_ = 13; 14 | var m_ = "mailto:"; 15 | var a_ = "@"; 16 | var d_ = "."; 17 | 18 | function mail(name, dom, tl, params) 19 | { 20 | var s = e(name,dom,tl); 21 | document.write(''+s+''); 22 | } 23 | function mail2(name, dom, tl, params, display) 24 | { 25 | document.write(''+display+''); 26 | } 27 | function e(name, dom, tl) 28 | { 29 | var s = name+a_; 30 | if (tl!=-2) 31 | { 32 | s+= dom; 33 | if (tl>=0) 34 | s+= d_+tld_[tl]; 35 | } 36 | else 37 | s+= swapper(dom); 38 | return s; 39 | } 40 | function swapper(d) 41 | { 42 | var s = ""; 43 | for (var i=0; i example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /legacy/dist-0.1/example/example-rev.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /legacy/dist-0.2/CHANGES: -------------------------------------------------------------------------------- 1 | Version 0.2 September 2004 2 | =========================== 3 | 4 | - introduced subtype DVIPSCOL (coloring changed blocks for dvips converter) 5 | 6 | - support for utf8 and other encodings 7 | 8 | Minor: 9 | 10 | - removed buggy COLOR subtype 11 | 12 | - Usage information no longer printed automatically after certain syntactic error messages 13 | 14 | - short options -a, -A, -x, -X now really do what is claimed in the manual 15 | 16 | - bug in failback splitting of input was fixed 17 | 18 | - options --exclude-textcmd, --append-textcmd, --exclude-safecmd, and --append-safecmd 19 | can now take comma-separated list as well as a file as argument. 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /legacy/dist-0.2/Makefile: -------------------------------------------------------------------------------- 1 | # Modify these paths to the requirements of your own system 2 | # For the current setting you will need root permission but 3 | # it is perfectly acceptable to choose user directories 4 | # 5 | INSTALLPATH = /usr/local 6 | INSTALLMANPATH = $(INSTALLPATH)/man 7 | INSTALLEXECPATH = $(INSTALLPATH)/bin 8 | 9 | default: 10 | @echo "To install standard version type: make install" 11 | @echo " (Note the standard version requires prior installation" 12 | @echo " of the PERL package Algorithm::Diff available from " 13 | @echo " the PERL archive www.cpan.org)" 14 | @echo " " 15 | @echo "To install stand alone version type: make install-so" 16 | @echo " " 17 | 18 | install: install-latexdiff install-latexrevise install-man 19 | 20 | install-so: install-latexdiff-so install-latexrevise install-man 21 | 22 | install-man: 23 | install latexrevise.1 latexdiff.1 $(INSTALLMANPATH)/man1 24 | 25 | install-latexdiff: 26 | install latexdiff $(INSTALLEXECPATH) 27 | 28 | install-latexdiff-so: 29 | if [ -e $(INSTALLEXECPATH)/latexdiff ]; then rm $(INSTALLEXECPATH)/latexdiff; fi 30 | install latexdiff-so $(INSTALLEXECPATH) 31 | cd $(INSTALLEXECPATH); ln -s latexdiff-so latexdiff 32 | 33 | install-latexrevise: 34 | install latexrevise $(INSTALLEXECPATH) 35 | -------------------------------------------------------------------------------- /legacy/dist-0.2/example/example-draft.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /legacy/dist-0.2/example/example-rev.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /legacy/dist-0.3/example/example-draft.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /legacy/dist-0.3/example/example-rev.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /legacy/dist-0.4/eqnarray-diff.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/legacy/dist-0.4/eqnarray-diff.tex -------------------------------------------------------------------------------- /legacy/dist-0.4/example/example-draft.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /legacy/dist-0.4/example/example-rev.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /legacy/dist-0.42/eqnarray-diff.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/legacy/dist-0.42/eqnarray-diff.tex -------------------------------------------------------------------------------- /legacy/dist-0.42/example/example-draft.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /legacy/dist-0.42/example/example-rev.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /legacy/dist-0.5/contrib/latexdiff.spec: -------------------------------------------------------------------------------- 1 | Summary: Diff for LaTeX files 2 | Name: latexdiff 3 | Version: 0.5 4 | Release: 1 5 | License: GPL 6 | Group: Productivity/Publishing/TeX/Utilities 7 | URL: http://www.tug.org/tex-archive/help/Catalogue/entries/latexdiff.html 8 | Source0: %{name}.zip 9 | BuildArch: noarch 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 11 | # only required for 'make install-ext' 12 | # Requires: perl-Algorithm-Diff 13 | 14 | 15 | %description 16 | latexdiff is a Perl script, which compares two latex files and marks 17 | up significant differences between them (i.e. a diff for latex files). 18 | Various options are available for visual markup using standard latex 19 | packages such as "color.sty". Changes not directly affecting visible 20 | text, for example in formatting commands, are still marked in 21 | the latex source. 22 | 23 | (C) 2004 Frederik Tilmann 24 | 25 | 26 | %prep 27 | %setup -n %{name} 28 | 29 | 30 | %build 31 | # quick had to adapt the Makefile 32 | %{__mv} Makefile Makefile.old 33 | %{__sed} \ 34 | -e "s;INSTALLPATH = /usr/local;INSTALLPATH = \${DESTDIR}%{_prefix};" \ 35 | -e "s;INSTALLMANPATH = \$(INSTALLPATH)/man;INSTALLMANPATH = \${DESTDIR}%{_mandir};" \ 36 | Makefile.old > Makefile 37 | 38 | 39 | %install 40 | %{__mkdir_p} $RPM_BUILD_ROOT%{_bindir} 41 | %{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1 42 | 43 | %makeinstall 44 | 45 | 46 | %clean 47 | [ "${RPM_BUILD_ROOT}" != "/" ] && [ -d "${RPM_BUILD_ROOT}" ] && %{__rm} -rf "${RPM_BUILD_ROOT}" 48 | 49 | 50 | %files 51 | %defattr(-,root,root) 52 | %doc example CHANGES LICENSE README 53 | %{_bindir}/* 54 | %{_mandir}/man*/* 55 | 56 | %changelog 57 | * Thu Jan 4 2007 Till Dörges - 0.5-1 58 | - Initial build. 59 | -------------------------------------------------------------------------------- /legacy/dist-0.5/example/example-draft.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /legacy/dist-0.5/example/example-rev.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /testsuite-vc/.gitignore: -------------------------------------------------------------------------------- 1 | *-diff-?.*.*.tex 2 | *-diff.tex 3 | *.log 4 | report-vc.txt 5 | *-diff.pdf 6 | 7 | -------------------------------------------------------------------------------- /testsuite-vc/bilder: -------------------------------------------------------------------------------- 1 | /home/tilmann/work/proposals/iquique/project3/bilder/ -------------------------------------------------------------------------------- /testsuite-vc/iquique1-new.tex: -------------------------------------------------------------------------------- 1 | iquique-new.tex -------------------------------------------------------------------------------- /testsuite-vc/iquique1-old.tex: -------------------------------------------------------------------------------- 1 | iquique-old.tex -------------------------------------------------------------------------------- /testsuite/.gitignore: -------------------------------------------------------------------------------- 1 | *.pdf 2 | *.log 3 | *.aux 4 | *.blg 5 | *.out 6 | *.dvi 7 | *.spl 8 | *.cb 9 | *.lof 10 | latexdiff.debug.* 11 | *% 12 | *~ 13 | tmp* 14 | auto 15 | *-diff.tex 16 | *-diff-*.*.*.* 17 | report.txt 18 | *.fff 19 | *.ttt 20 | example-diff-t*.* 21 | verbatim-diff-t*.* 22 | 23 | -------------------------------------------------------------------------------- /testsuite/220px-Brandenburg_Gate_Quadriga_at_Night_from_wikipedia.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/220px-Brandenburg_Gate_Quadriga_at_Night_from_wikipedia.jpg -------------------------------------------------------------------------------- /testsuite/270px-Charles_Meynier_-_Napoleon_in_Berlin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/270px-Charles_Meynier_-_Napoleon_in_Berlin.png -------------------------------------------------------------------------------- /testsuite/Brandenburger_Tor_abends_from_wikipedia.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/Brandenburger_Tor_abends_from_wikipedia.jpg -------------------------------------------------------------------------------- /testsuite/DIFDELCMDBUG-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL DIFDELCMDBUG-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD DIFDELCMDBUG-new.tex Sun Nov 11 23:16:47 2012 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \DIFaddbegin \DIFadd{Title 27 | } 28 | 29 | \DIFaddend \newcommand{\ExampleCommand}{example-text} 30 | \newcommand{\ExampleCommandTwo}{example-text-2} 31 | \DIFdelbegin %DIFDELCMD < \ExampleCommand 32 | %DIFDELCMD < %%% 33 | %DIF < example-comment 34 | %DIFDELCMD < \ExampleCommandTwo 35 | %DIFDELCMD < %%% 36 | \DIFdelend \DIFaddbegin 37 | 38 | \DIFaddend\end{document} 39 | -------------------------------------------------------------------------------- /testsuite/DIFDELCMDBUG-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL DIFDELCMDBUG-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD DIFDELCMDBUG-new.tex Sun Jan 27 23:50:05 2013 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \DIFaddbegin \DIFadd{Title 27 | } 28 | 29 | \DIFaddend \newcommand{\ExampleCommand}{example-text} 30 | \newcommand{\ExampleCommandTwo}{example-text-2} 31 | \DIFdelbegin %DIFDELCMD < \ExampleCommand 32 | %DIFDELCMD < %%% 33 | %DIF < example-comment 34 | %DIFDELCMD < \ExampleCommandTwo 35 | %DIFDELCMD < %%% 36 | \DIFdelend \DIFaddbegin 37 | 38 | \DIFaddend\end{document} 39 | -------------------------------------------------------------------------------- /testsuite/DIFDELCMDBUG-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL DIFDELCMDBUG-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD DIFDELCMDBUG-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \DIFaddbegin \DIFadd{Title 27 | } 28 | 29 | \DIFaddend \newcommand{\ExampleCommand}{example-text} 30 | \newcommand{\ExampleCommandTwo}{example-text-2} 31 | \DIFdelbegin %DIFDELCMD < \ExampleCommand 32 | %DIFDELCMD < %%% 33 | %DIF < example-comment 34 | %DIFDELCMD < \ExampleCommandTwo 35 | %DIFDELCMD < %%% 36 | \DIFdelend \DIFaddbegin 37 | 38 | \DIFaddend\end{document} 39 | -------------------------------------------------------------------------------- /testsuite/DIFDELCMDBUG-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL DIFDELCMDBUG-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD DIFDELCMDBUG-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \DIFaddbegin \DIFadd{Title 27 | } 28 | 29 | \DIFaddend \newcommand{\ExampleCommand}{example-text} 30 | \newcommand{\ExampleCommandTwo}{example-text-2} 31 | \DIFdelbegin %DIFDELCMD < \ExampleCommand 32 | %DIFDELCMD < %%% 33 | %DIF < example-comment 34 | %DIFDELCMD < \ExampleCommandTwo 35 | %DIFDELCMD < %%% 36 | \DIFdelend \DIFaddbegin 37 | 38 | \DIFaddend\end{document} 39 | -------------------------------------------------------------------------------- /testsuite/DIFDELCMDBUG-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Title 5 | 6 | \newcommand{\ExampleCommand}{example-text} 7 | \newcommand{\ExampleCommandTwo}{example-text-2} 8 | 9 | \end{document} 10 | -------------------------------------------------------------------------------- /testsuite/DIFDELCMDBUG-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | \newcommand{\ExampleCommand}{example-text} 5 | \newcommand{\ExampleCommandTwo}{example-text-2} 6 | \ExampleCommand 7 | %example-comment 8 | \ExampleCommandTwo 9 | \end{document} 10 | -------------------------------------------------------------------------------- /testsuite/alignat-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \usepackage{mathtools} 4 | 5 | \begin{document} 6 | 7 | 8 | \begin{equation}\label{eq:elas:C} 9 | \end{equation} 10 | 11 | \begin{equation} 12 | \mu = \frac{E }{2(1+\nu) } 13 | \end{equation} 14 | 15 | \begin{align} 16 | a & = b + c^2 \\ 17 | c & = 18 | \begin{multlined}[t] 19 | d + e + f + g + h + i + j \\ 20 | + l + k + m + n + o + p + q 21 | \end{multlined} 22 | \end{align} 23 | 24 | \end{document} 25 | 26 | -------------------------------------------------------------------------------- /testsuite/alignat-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \usepackage{mathtools} 4 | 5 | \begin{document} 6 | 7 | \begin{alignat*}{3} 8 | a& = b &\quad & \text{if} & \quad & x\ne y\\ 9 | c& = d & & \text{if} & & x = y 10 | \end{alignat*} 11 | 12 | 13 | \begin{equation}\label{eq:elas:C} 14 | \end{equation} 15 | 16 | \begin{equation}\label{eq:elas:lam-mu} 17 | \lambda = \frac{E \nu}{ (1+\nu)(1-2\nu)} \qquad 18 | \end{equation} 19 | 20 | 21 | \begin{align} 22 | a & = b + c \\ 23 | c & = 24 | \begin{multlined}[t] 25 | d + e + f + g + h + i + j \\ 26 | + k + l + m + n + o + p + q 27 | \end{multlined} 28 | \end{align} 29 | 30 | 31 | Deleted eqnarray: 32 | \begin{eqnarray} 33 | a &=& 1 + 2, \label{eq:a}\\ 34 | b &=& 3 + 4, \label{eq:b} 35 | \end{eqnarray} 36 | Some additional text: 37 | \begin{eqnarray} 38 | c &=& 1 + 2, \label{eq:c}\\ 39 | d &=& 3 + 4, \label{eq:d} 40 | \end{eqnarray} 41 | 42 | \end{document} 43 | 44 | -------------------------------------------------------------------------------- /testsuite/anchordemo-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | % Very short document, which fails in version 1.2.1 and older due to material leaking out of math mode 3 | \begin{document} 4 | \[ 5 | a_i=b_i+c_i. 6 | \] 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/anchordemo-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | % Very short document, which fails in version 1.2.1 and older due to material leaking out of math mode 3 | \begin{document} 4 | \[ 5 | a_i=b_i+c_i, 6 | \] 7 | where $i\in\mathbf N$. 8 | \end{document} 9 | -------------------------------------------------------------------------------- /testsuite/apacite-test-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{apacite} 4 | 5 | \begin{document} 6 | 7 | Here's some text, followed by an enormously important reference 8 | \cite[even though it's not really 9 | necessary]{small}. Then a bit more text. 10 | 11 | Next a new paragraph \cite{big}. Again, \citeA{big} claims XYZ 12 | although we're not really sure why. Now I'm going to cite 13 | \citeA{small} down here instead. 14 | 15 | And a new citation for a famous paper: \cite{famous}. 16 | 17 | \bibliographystyle{apacite} 18 | \bibliography{apacite-test.bib} 19 | 20 | \end{document} 21 | -------------------------------------------------------------------------------- /testsuite/apacite-test-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{apacite} 4 | 5 | \begin{document} 6 | 7 | Here's some text, followed by a very important reference 8 | \cite[even though it's not really 9 | necessary]{small}. Then a bit more text, with another reference 10 | \cite{small} that I'll probably remove later. 11 | 12 | Next a new paragraph \cite{big}. Again, \citeA{big} claims XYZ 13 | although we're not really sure why. 14 | 15 | 16 | \bibliographystyle{apacite} 17 | \bibliography{apacite-test.bib} 18 | 19 | 20 | \end{document} 21 | -------------------------------------------------------------------------------- /testsuite/apacite-test.bib: -------------------------------------------------------------------------------- 1 | % a sample bibliography file 2 | % Saharon Shelah, http://shelah.logic.at/eindex.html 3 | 4 | @article{small, 5 | author = {Freely, I.P.}, 6 | title = {A small paper}, 7 | journal = {The journal of small papers}, 8 | year = 1997, 9 | volume = {-1}, 10 | note = {to appear}, 11 | } 12 | 13 | @article{big, 14 | author = {Jass, Hugh}, 15 | title = {A big paper}, 16 | journal = {The journal of big papers}, 17 | year = 7991, 18 | volume = {MCMXCVII}, 19 | } 20 | 21 | @article{famous, 22 | author = {Alpher, Bethe, Gamov}, 23 | title = {A famous paper}, 24 | journal = {The journal of famous papers}, 25 | year = 1921, 26 | volume = {IV}, 27 | } 28 | 29 | 30 | % The authors mentioned here are almost, but not quite, 31 | % entirely unrelated to Matt Groening. 32 | 33 | -------------------------------------------------------------------------------- /testsuite/biblatex-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage{filecontents} 4 | \begin{filecontents}{bibliography.bib} 5 | @article{greenwade93, 6 | author = "George D. Greenwade", 7 | title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})", 8 | year = "1993", 9 | journal = "TUGBoat", 10 | volume = "14", 11 | number = "3", 12 | pages = "342--351" 13 | } 14 | @book{goossens93, 15 | author = "Michel Goossens and Frank Mittelbach and Alexander Samarin", 16 | title = "The LaTeX Companion", 17 | year = "1993", 18 | publisher = "Addison-Wesley", 19 | address = "Reading, Massachusetts" 20 | } 21 | \end{filecontents} 22 | \usepackage[style=apa,backend=biber]{biblatex} 23 | \addbibresource{bibliography.bib} 24 | \begin{document} 25 | 26 | \textcite{goossens93} is the best book on \LaTeX \parencite{greenwade93}. 27 | 28 | \printbibliography 29 | 30 | \end{document} 31 | -------------------------------------------------------------------------------- /testsuite/biblatex-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage{filecontents} 4 | \begin{filecontents}{bibliography.bib} 5 | @article{greenwade93, 6 | author = "George D. Greenwade", 7 | title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})", 8 | year = "1993", 9 | journal = "TUGBoat", 10 | volume = "14", 11 | number = "3", 12 | pages = "342--351" 13 | } 14 | @book{goossens93, 15 | author = "Michel Goossens and Frank Mittelbach and Alexander Samarin", 16 | title = "The LaTeX Companion", 17 | year = "1993", 18 | publisher = "Addison-Wesley", 19 | address = "Reading, Massachusetts" 20 | } 21 | \end{filecontents} 22 | \usepackage[style=apa,backend=biber]{biblatex} 23 | \addbibresource{bibliography.bib} 24 | \begin{document} 25 | 26 | \textcite{greenwade93} is the best article on \LaTeX \parencite{goossens93}. 27 | 28 | \printbibliography 29 | 30 | \end{document} 31 | 32 | -------------------------------------------------------------------------------- /testsuite/bornd-new.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \usepackage{amsmath} 4 | \begin{document} 5 | 6 | This is a changed array. 7 | \[ 8 | \begin{array}{ll} 9 | 5_3 < 5^4 & 1 < 2 \\\hline 10 | \end{array} 11 | \] 12 | 13 | This is an alignat. 14 | 15 | This is text after. 16 | 17 | \end{document} 18 | 19 | %%% Local Variables: 20 | %%% mode: latex 21 | %%% TeX-master: t 22 | %%% End: 23 | -------------------------------------------------------------------------------- /testsuite/bornd-old.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \usepackage{amsmath} 4 | 5 | \begin{document} 6 | 7 | This is an array. 8 | 9 | \[ 10 | \begin{array}{ll} 11 | 4_2 < 5^2 & 1 < 2 \\ 12 | \end{array} 13 | \] 14 | 15 | This is a changed array. 16 | \[ 17 | \begin{array}{ll} 18 | 5_3 < 5^3 & 1 < 2 \\ 19 | \end{array} 20 | \] 21 | 22 | This is a pmatrix. 23 | 24 | \[ 25 | \begin{pmatrix}{ll} 26 | 4_2 < 5^2 & 1 < 2 \\ 27 | \end{pmatrix} 28 | \] 29 | 30 | This is an alignat. 31 | 32 | \begin{alignat}{4} 33 | 4_2 < 5^2 & 1 < 2 \\ 34 | \end{alignat} 35 | 36 | This is an align. 37 | 38 | 39 | \begin{align} 40 | 4_2 < 5^2 & 1 < 2 41 | \end{align} 42 | 43 | This is an equation. 44 | 45 | \begin{equation} 46 | 4_2 < 5^2 , 1 < 2 \\ 47 | \end{equation} 48 | 49 | This is text after. 50 | 51 | \end{document} 52 | 53 | %%% Local Variables: 54 | %%% mode: latex 55 | %%% TeX-master: t 56 | %%% End: 57 | -------------------------------------------------------------------------------- /testsuite/bornd2-new.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \usepackage{amsmath} 4 | \begin{document} 5 | 6 | This is a changed array. 7 | \[ 8 | \begin{array}{ll} 9 | 5_3 < 5^4 & 1 < 2 \\\hline 10 | \end{array} 11 | \] 12 | 13 | This is an alignat. 14 | 15 | This is text after. 16 | 17 | \end{document} 18 | 19 | %%% Local Variables: 20 | %%% mode: latex 21 | %%% TeX-master: t 22 | %%% End: 23 | -------------------------------------------------------------------------------- /testsuite/bornd2-old.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \usepackage{amsmath} 4 | 5 | \begin{document} 6 | 7 | This is an array. 8 | 9 | \[ 10 | \begin{array}{ll} 11 | 4_2 < 5^2 & 1 < 2 \\ 12 | \end{array} 13 | \] 14 | 15 | This is a changed array. 16 | \[ 17 | \begin{array}{ll} 18 | 5_3 < 5^3 & 1 < 2 \\ 19 | \end{array} 20 | \] 21 | 22 | This is a pmatrix. 23 | 24 | \[ 25 | \begin{pmatrix}{ll} 26 | 4_2 < 5^2 & 1 < 2 \\ 27 | \end{pmatrix} 28 | \] 29 | 30 | This is an alignat. 31 | 32 | \begin{alignat}{4} 33 | 4_2 < 5^2 & 1 < 2 \\ 34 | \end{alignat} 35 | 36 | This is an align. 37 | 38 | 39 | \begin{align} 40 | 4_2 < 5^2 & 1 < 2 41 | \end{align} 42 | 43 | This is an equation. 44 | 45 | \begin{equation} 46 | 4_2 < 5^2 , 1 < 2 \\ 47 | \end{equation} 48 | 49 | This is a double dollar environment 50 | $$ 51 | 4_2 < 5^2 \& 1 < 2 52 | $$ 53 | 54 | This is text after. 55 | 56 | \end{document} 57 | 58 | %%% Local Variables: 59 | %%% mode: latex 60 | %%% TeX-master: t 61 | %%% End: 62 | -------------------------------------------------------------------------------- /testsuite/cases-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{paper} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \begin{equation} 5 | orientation = 6 | \begin{cases} 7 | horizontal & \text{if } \lvert slope \rvert < \frac{1}{threshold_{slope}} \\ 8 | vertical & \text{if } \ vert slope \rvert > threshold_{slope} \\ 9 | neither & \text{otherwise}\\ 10 | \end{cases} 11 | \label{eq:slopethresh} 12 | \end{equation} 13 | \end{document} 14 | 15 | -------------------------------------------------------------------------------- /testsuite/cases-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{paper} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \end{document} 5 | 6 | -------------------------------------------------------------------------------- /testsuite/circonflex-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Hello w\`{o}rld! 5 | 6 | Hello w\'{o}rld! 7 | 8 | Hello w\^orld! 9 | 10 | Hello w\"orld! 11 | 12 | Hello w\H{o}rld! 13 | 14 | Hello w\~{o}rld! 15 | 16 | Hello w\c{o}rld! 17 | 18 | %Hello w\k{o}rld! 19 | 20 | Hello wor{\l}d! 21 | 22 | Hello w\={o}rld! 23 | 24 | Hello w\b{o}rld! 25 | 26 | Hello w\.{o}rld! 27 | 28 | Hello w\d{o}rld! 29 | 30 | Hello w\r{o}rld! 31 | 32 | Hello w\u{o}rld! 33 | 34 | Hello w\v{o}rld! 35 | 36 | Hello w\t{or}ld! 37 | 38 | Hello\_world! 39 | 40 | and some real superscript, e.g. a degree sign: 41 | 42 | Water: H$_2$O 43 | \end{document} 44 | 45 | -------------------------------------------------------------------------------- /testsuite/circonflex-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Hello world! 5 | 6 | Hello world! 7 | 8 | Hello world! 9 | 10 | Hello world! 11 | 12 | Hello world! 13 | 14 | Hello world! 15 | 16 | Hello world! 17 | 18 | Hello world! 19 | 20 | Hello world! 21 | 22 | Hello world! 23 | 24 | Hello world! 25 | 26 | Hello world! 27 | 28 | Hello world! 29 | 30 | Hello world! 31 | 32 | Hello world! 33 | 34 | Hello world! 35 | 36 | Hello world! 37 | 38 | and some real superscript, e.g. a degree sign:$^\circ$. 39 | \end{document} 40 | 41 | -------------------------------------------------------------------------------- /testsuite/cjlanguage-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{ctexart} 2 | % needs compilation with xelatex 3 | \begin{document} 4 | Chinese: 汉汉汉汉字汉汉汉汉 5 | 6 | Hiragana: ああああいああああ 7 | 8 | Katakana: アアアアイアアアア 9 | 10 | 例えばS波の到達時刻を知りたい場合,ジェフェリーズとブレンの掃除表が使えますか? 11 | 12 | 13 | 1912年にHessによって宇宙線が初めて発見されて以来、広いエネルギー範囲、多種多様な検出器によって宇宙線観測が行われてきた。また、ガリレオ以来発達してきた可視光での天体観測も、電波望遠鏡や赤外望遠鏡という新しい観測手段の登場により、多波長観測へと発展した。 14 | 15 | 宇宙線といっても、その成分は陽子、原子核、電子、ニュートリノなど様々であり、そのエネルギー範囲も何桁にもわたる。現在、地上で確認されている宇宙線のうち、最もエネルギーの高いものは$10^{20}$~eVを超える(いわゆる最高エネルギー宇宙線)。これは加速器で人類が到達できるエネルギーを8桁も上回るが、なぜそのような高いエネルギーの宇宙線が存在するのかは解明されていない。宇宙線の加速機構、地球までの伝播過程、また1次宇宙線成分は何であるのかは、いずれも未解決の問題であり、将来の宇宙線観測計画による解決が期待される。 16 | 17 | \end{document} 18 | -------------------------------------------------------------------------------- /testsuite/cjlanguage-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{ctexart} 2 | % needs compilation with xelatex 3 | \begin{document} 4 | Chinese: 汉汉汉汉汉汉汉汉汉 5 | 6 | Hiragana: あああああああああ 7 | 8 | Katakana: アアアアアアアアア 9 | 10 | 例えばP波の到達時刻を知りたい場合,ジェフリーズとブレンの走時表が使えます. 11 | 12 | 1910年代にHessらによって宇宙線の存在が確認されて以来、様々なエネルギー領域、様々な検出器によって宇宙線の観測が行われてきた。同時に、ガリレオ以来発達してきた可視光による天体の観測も、電波望遠鏡や赤外望遠鏡の登場によって多波長での観測へと発展することとなった。 13 | 14 | 宇宙線と言っても、その成分は電磁波、陽子、原子核、neutrinoなど様々であり、それらの持つエネルギーも広範にわたる。現在地球上で確認されている宇宙線のうち、最もエネルギーの高いものは$10^{20}$~eVを超える(最高エネルギー宇宙線)。これは人工的に到達できるエネルギーを実に8桁も上回るが、なぜそのような高エネルギーの宇宙線が存在するのかは謎である。加速機構、地球までの伝播過程、1次宇宙線成分は何であるのか、いずれも未解明のままであり、その興味は尽きない。 15 | 16 | \end{document} 17 | 18 | -------------------------------------------------------------------------------- /testsuite/complex-maths-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt, pagebackref, a4paper, oneside]{amsart} 2 | 3 | 4 | 5 | 6 | \newtheorem{prop}{Proposition} 7 | \newtheorem{lem}{Lemma} 8 | 9 | \begin{document} 10 | 11 | 12 | 13 | \begin{prop} 14 | Let $\delta\in (0,1/4)$. There exists $C>0$ such that, for any $x\in 15 | X$ and any $t\geq 0$, 16 | \begin{equation} 17 | \label{eqVdeltaWu} 18 | \frac{1}{\mu_u(W^u_{1/100}(x))}\int_{W^u_{1/100}(x)} V_\delta( g_t y) d\mu_u(y) 19 | \leq C e^{-(1-2\delta) t} V_\delta(x)+C, 20 | \end{equation} 21 | where $V_\delta(x)=\max(1/sys(x)^{1+\delta}, 1)$. Moreover, the 22 | function $\log V_\delta$ is $(1+\delta)$-Lipschitz for the Finsler 23 | norm of the previous section. 24 | \end{prop} 25 | 26 | We will use the following lemma, which is due to Eskin-Masur 27 | \cite{eskin_masur} and Athreya \cite{athreya}. 28 | \begin{lem} 29 | For every $\delta>0$, there exists $C>0$ such that, for all $t>0$, 30 | there exist a function $V^{(t)}_\delta : T \to [1,\infty)$ and a 31 | scalar $b(t)>0$ satisfying the following property. For all $x\in 32 | T_1$, 33 | \begin{equation} 34 | \label{good_vdelta} 35 | \int_0^{2\pi} V_\delta^{(t)}(g_t r_\theta x) d \theta 36 | \leq C e^{-(1-\delta)t} V_\delta^{(t)}(x) + b. 37 | \end{equation} 38 | Moreover, 39 | \begin{equation} 40 | \label{Vdeltasmooth} 41 | V_\delta^{(t)}(g x) \leq C V_\delta^{(t)}(x) 42 | \end{equation} 43 | for all $x\in T$ and all $g\in SL$ in any fixed neighborhood of the 44 | identity. Finally, there exists a constant $C_{\delta,t}$ such that 45 | $V_\delta^{(t)}/ V_\delta\in [C_{\delta,t}^{-1}, C_{\delta,t}]$. 46 | \end{lem} 47 | The order of quantifiers in our statement corrects a mistake in 48 | Athreya's Lemma 2.10. 49 | 50 | In the next lemma, we transfer the previous estimate on circle 51 | averages to estimates on horocycle averages. 52 | 53 | 54 | 55 | \end{document} 56 | -------------------------------------------------------------------------------- /testsuite/complex-maths-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt, pagebackref, a4paper, oneside]{amsart} 2 | 3 | 4 | 5 | 6 | \newtheorem{prop}{Proposition} 7 | \newtheorem{lem}{Lemma} 8 | 9 | \begin{document} 10 | 11 | 12 | 13 | \begin{prop} 14 | For every $\delta>0$, there exists a function $V_\delta : T \to 15 | [1,\infty)$ satisfying the following property. There exists $C>0$ 16 | and, for all $t>0$, there exists $b(t)>0$ such that, for all $x\in 17 | T_1$, 18 | \begin{equation} 19 | \int_0^{2\pi} V_\delta(g_t r_\theta x) d \theta 20 | \leq C e^{-(1-\delta)t} V_\delta(x) + b. 21 | \end{equation} 22 | Moreover, $V_\delta$ is $\Gamma$-invariant and the induced function 23 | on $T_1/\Gamma$ is proper. Finally, $\log V_\delta$ is 24 | $(1+\delta)$-Lipschitz for the Finsler metric of Paragraph 25 | \ref{subsec_Finsler}. 26 | \end{prop} 27 | 28 | 29 | $|\partial K'(t_n)| \geq |\partial K| e^{-(1+o(1))t_n 30 | |\kappa'(0)|_{\kappa(0)}}$. Combining those inequalities, we get a 31 | contradiction: 32 | \begin{align*} 33 | \tilde \alpha_i(\kappa(0))e^{(1+\delta+\epsilon)t_n |\kappa'(0)|_{\kappa(0)}} 34 | &\leq |\partial K(t_n)|^{-1-\delta} 35 | \leq |\partial K'(t_n)|^{-1-\delta} 36 | \\& 37 | \leq |\partial K|^{-1-\delta} e^{(1+\delta+o(1))t_n |\kappa'(0)|_{\kappa(0)}} 38 | \leq \tilde \alpha_i(\kappa(0)) e^{(1+\delta+o(1))t_n |\kappa'(0)|_{\kappa(0)}}. 39 | \qedhere 40 | \end{align*} 41 | 42 | 43 | From now on, let us fix a small $\delta>0$, and the corresponding 44 | function $V_\delta$ given by the previous proposition. 45 | 46 | 47 | 48 | \end{document} 49 | -------------------------------------------------------------------------------- /testsuite/complicated-math-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{amsmath, amssymb} 4 | 5 | \usepackage{bm} 6 | 7 | \newcommand{\inprod}[2]{\ensuremath{#1 \cdot #2}} 8 | \newcommand{\dd}[1]{\ensuremath{d#1\,}} 9 | \newcommand{\pr}[1]{\left(#1\right)} 10 | \newcommand{\tr}[1]{\ensuremath{\,{}^{t}\!#1}} 11 | \DeclareMathOperator{\erf}{erf} 12 | 13 | \newcommand{\Kst}{\ensuremath{\bm{K}}} 14 | \newcommand{\hyper}{\ensuremath{\bm{\rho}}} 15 | 16 | \begin{document} 17 | 18 | \begin{equation} 19 | \label{eq:34} 20 | p_{\mathrm{cut}}\pr{\bm{a} \mid \hyper, m_{\mathrm{low}}, m_{\mathrm{high}}, \bm{r}} 21 | =0+ 22 | \frac{ 23 | 2p\pr{\bm{a} \mid \hyper} 24 | H\pr{\inprod{\bm{r}}{\bm{a}} - m_{\mathrm{down}}} 25 | H\pr{m_{\mathrm{up}} - \inprod{\bm{r}}{\bm{a}}} 26 | }{ 27 | \erf{\pr{m_{\mathrm{high}}/\sqrt{2\tr{\bm{r}}\Kst^{-1}\bm{r}}}} 28 | - 29 | \erf{\pr{m_{\mathrm{low}}/\sqrt{2\tr{\bm{r}}\Kst^{-1}\bm{r}}}} 30 | } 31 | \end{equation} 32 | \end{document} 33 | 34 | -------------------------------------------------------------------------------- /testsuite/complicated-math-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{amsmath, amssymb} 4 | 5 | \usepackage{bm} 6 | 7 | \newcommand{\inprod}[2]{\ensuremath{#1 \cdot #2}} 8 | \newcommand{\dd}[1]{\ensuremath{d#1\,}} 9 | \newcommand{\pr}[1]{\left(#1\right)} 10 | \newcommand{\tr}[1]{\ensuremath{\,{}^{t}\!#1}} 11 | \DeclareMathOperator{\erf}{erf} 12 | 13 | \newcommand{\Kst}{\ensuremath{\bm{K}}} 14 | \newcommand{\hyper}{\ensuremath{\bm{\rho}}} 15 | 16 | \begin{document} 17 | 18 | \begin{equation} 19 | \label{eq:34} 20 | p_{\mathrm{cut}}\pr{\bm{a} \mid \hyper, m_{\mathrm{low}}, m_{\mathrm{high}}, \bm{r}} 21 | = 22 | \frac{ 23 | 2p\pr{\bm{a} \mid \hyper} 24 | H\pr{\inprod{\bm{r}}{\bm{a}} - m_{\mathrm{low}}} 25 | H\pr{m_{\mathrm{high}} - \inprod{\bm{r}}{\bm{a}}} 26 | }{ 27 | \erf{\pr{m_{\mathrm{high}}/\sqrt{2\tr{\bm{r}}\Kst^{-1}\bm{r}}}} 28 | - 29 | \erf{\pr{m_{\mathrm{low}}/\sqrt{2\tr{\bm{r}}\Kst^{-1}\bm{r}}}} 30 | } 31 | \end{equation} 32 | \end{document} 33 | 34 | -------------------------------------------------------------------------------- /testsuite/customdiffcmdtest-new.tex: -------------------------------------------------------------------------------- 1 | % Code by J Protze 2 | \documentclass{book} 3 | % donothing by paul-pearce 4 | \newcommand{\donothing}[1]{#1} 5 | \newcommand{\ADDdonothing}[1]{{\color{blue}\donothing{#1}}} 6 | \newcommand{\DELdonothing}[1]{{\color{red}\donothing{#1}}} 7 | \newcommand{\cmd}[1]{#1} 8 | \newcommand{\ADDcmd}[1]{\textcolor{blue}{#1}} 9 | \newcommand{\DELcmd}[1]{\textcolor{red}{#1}} 10 | 11 | \usepackage{blindtext} 12 | \newcommand{\DELblindtext}{{\color{red}\blindtext}} 13 | \newcommand{\ADDblindtext}{{\color{blue}\blindtext}} 14 | \newcommand{\mypar}{\paragraph{MYPAR}} 15 | \newcommand{\DELmypar}{\paragraph{\DIFdel{MYPAR}}} 16 | \newcommand{\ADDmypar}{\paragraph{\DIFadd{MYPAR}}} 17 | \begin{document} 18 | \cmd{Test1} 19 | \cmd{Test5} 20 | \end{document} 21 | 22 | -------------------------------------------------------------------------------- /testsuite/customdiffcmdtest-old.tex: -------------------------------------------------------------------------------- 1 | % Code by J Protze 2 | \documentclass{book} 3 | % donothing by paul-pearce 4 | \newcommand{\donothing}[1]{#1} 5 | \newcommand{\ADDdonothing}[1]{{\color{blue}\donothing{#1}}} 6 | \newcommand{\DELdonothing}[1]{{\color{red}\donothing{#1}}} 7 | \newcommand{\cmd}[1]{#1} 8 | \newcommand{\ADDcmd}[1]{\textcolor{blue}{#1}} 9 | \newcommand{\DELcmd}[1]{\textcolor{red}{#1}} 10 | 11 | \usepackage{blindtext} 12 | \newcommand{\DELblindtext}{{\color{red}\blindtext}} 13 | \newcommand{\ADDblindtext}{{\color{blue}\blindtext}} 14 | \newcommand{\mypar}{\paragraph{MYPAR}} 15 | \newcommand{\DELmypar}{\paragraph{\DIFdel{MYPAR}}} 16 | \newcommand{\ADDmypar}{\paragraph{\DIFadd{MYPAR}}} 17 | \begin{document} 18 | \donothing{test} 19 | \mypar 20 | \blindtext 21 | 22 | \donothing{ 23 | 24 | multiline 25 | 26 | } 27 | 28 | 29 | \cmd{Test1} 30 | \cmd{Test2}\cmd{Test3} 31 | \cmd{Test4} 32 | 33 | 34 | 35 | \end{document} 36 | 37 | -------------------------------------------------------------------------------- /testsuite/delequ-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD delequ-new.tex Sun Nov 11 21:19:29 2012 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath}\DIFdel{ 30 | \exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD delequ-new.tex Sun Jan 27 23:50:05 2013 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath}\DIFdel{ 30 | \exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath}\DIFdel{ 30 | \exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath} 30 | \DIFdel{\exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Some identical text. 5 | 6 | Some further identical text 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/delequ-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Some identical text. 5 | 6 | An equation 7 | \begin{equation} 8 | \exp(i\phi)=\cos \phi + i \sin \phi 9 | \end{equation} 10 | 11 | Some further identical text 12 | \end{document} 13 | -------------------------------------------------------------------------------- /testsuite/delequ-slave-new.tex: -------------------------------------------------------------------------------- 1 | Some identical text. 2 | 3 | Some further identical text 4 | -------------------------------------------------------------------------------- /testsuite/delequ-slave-old.tex: -------------------------------------------------------------------------------- 1 | Some identical text. 2 | 3 | An equation 4 | \begin{equation} 5 | \exp(i\phi)=\cos \phi + i \sin \phi 6 | \end{equation} 7 | 8 | Some further identical text 9 | -------------------------------------------------------------------------------- /testsuite/delequ2-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ2-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD delequ2-new.tex Sun Nov 11 21:19:29 2012 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | An equation 29 | \DIFdelbegin \begin{eqnarray*}\DIFdel{ 30 | a + b }& \DIFdel{= }& \DIFdel{\exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{eqnarray*} 32 | %DIFAUXCMD 33 | \DIFdel{some text in the old document 34 | }\DIFdelend \DIFaddbegin \begin{displaymath}\DIFadd{ 35 | \exp(i\phi)=\cos \phi + i \sin \phi = c + d 36 | }\end{displaymath} 37 | \DIFaddend 38 | 39 | Some further identical text 40 | \end{document} 41 | -------------------------------------------------------------------------------- /testsuite/delequ2-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ2-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD delequ2-new.tex Sun Jan 27 23:50:05 2013 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | An equation 29 | \DIFdelbegin \begin{eqnarray*}\DIFdel{ 30 | a + b }& \DIFdel{= }& \DIFdel{\exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{eqnarray*} 32 | %DIFAUXCMD 33 | \DIFdel{some text in the old document 34 | }\DIFdelend \DIFaddbegin \begin{displaymath}\DIFadd{ 35 | \exp(i\phi)=\cos \phi + i \sin \phi = c + d 36 | }\end{displaymath} 37 | \DIFaddend 38 | 39 | Some further identical text 40 | \end{document} 41 | -------------------------------------------------------------------------------- /testsuite/delequ2-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ2-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ2-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | An equation 29 | \DIFdelbegin \begin{eqnarray*}\DIFdel{ 30 | a + b }& \DIFdel{= }& \DIFdel{\exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{eqnarray*} 32 | %DIFAUXCMD 33 | \DIFdel{some text in the old document 34 | }\DIFdelend \DIFaddbegin \begin{displaymath}\DIFadd{ 35 | \exp(i\phi)=\cos \phi + i \sin \phi = c + d 36 | }\end{displaymath} 37 | \DIFaddend 38 | 39 | Some further identical text 40 | \end{document} 41 | -------------------------------------------------------------------------------- /testsuite/delequ2-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ2-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ2-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | An equation 29 | \DIFdelbegin \begin{eqnarray*} 30 | \DIFdel{a + b }& \DIFdel{= }& \DIFdel{\exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{eqnarray*} 32 | %DIFAUXCMD 33 | \DIFdel{some text in the old document 34 | }\DIFdelend \DIFaddbegin \begin{displaymath} 35 | \DIFadd{\exp(i\phi)=\cos \phi + i \sin \phi = c + d 36 | }\end{displaymath} 37 | \DIFaddend 38 | 39 | Some further identical text 40 | \end{document} 41 | -------------------------------------------------------------------------------- /testsuite/delequ2-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Some identical text. 5 | 6 | An equation 7 | \begin{displaymath} 8 | \exp(i\phi)=\cos \phi + i \sin \phi = c + d 9 | \end{displaymath} 10 | 11 | Some further identical text 12 | \end{document} 13 | -------------------------------------------------------------------------------- /testsuite/delequ2-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Some identical text. 5 | 6 | An equation 7 | \begin{eqnarray} 8 | a + b & = & \exp(i\phi)=\cos \phi + i \sin \phi 9 | \end{eqnarray} 10 | some text in the old document 11 | 12 | Some further identical text 13 | \end{document} 14 | 15 | 16 | -------------------------------------------------------------------------------- /testsuite/delequ2-slave-new.tex: -------------------------------------------------------------------------------- 1 | Some identical text. 2 | 3 | An equation 4 | \begin{displaymath} 5 | \exp(i\phi)=\cos \phi + i \sin \phi = c + d 6 | \end{displaymath} 7 | 8 | Some further identical text 9 | -------------------------------------------------------------------------------- /testsuite/delequ2-slave-old.tex: -------------------------------------------------------------------------------- 1 | Some identical text. 2 | 3 | An equation 4 | \begin{eqnarray} 5 | a + b & = & \exp(i\phi)=\cos \phi + i \sin \phi 6 | \end{eqnarray} 7 | some text in the old document 8 | 9 | Some further identical text 10 | 11 | -------------------------------------------------------------------------------- /testsuite/delequ3-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ3-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD delequ3-new.tex Sun Nov 11 21:19:29 2012 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath}\DIFdel{ 30 | \exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ3-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ3-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD delequ3-new.tex Sun Jan 27 23:50:05 2013 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath}\DIFdel{ 30 | \exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ3-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ3-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ3-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath}\DIFdel{ 30 | \exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ3-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ3-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ3-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | Some identical text. 27 | 28 | \DIFdelbegin \DIFdel{An equation 29 | }\begin{displaymath} 30 | \DIFdel{\exp(i\phi)=\cos \phi + i \sin \phi 31 | }\end{displaymath} 32 | %DIFAUXCMD 33 | %DIFDELCMD < 34 | 35 | %DIFDELCMD < %%% 36 | \DIFdelend Some further identical text 37 | \end{document} 38 | -------------------------------------------------------------------------------- /testsuite/delequ3-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Some identical text. 5 | 6 | Some further identical text 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/delequ3-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Some identical text. 5 | 6 | An equation 7 | \begin{equation*} 8 | \exp(i\phi)=\cos \phi + i \sin \phi 9 | \end{equation*} 10 | 11 | Some further identical text 12 | \end{document} 13 | -------------------------------------------------------------------------------- /testsuite/delequ4-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ4-old.tex Thu Mar 28 21:52:44 2013 4 | %DIF ADD delequ4-new.tex Thu Mar 28 21:52:48 2013 5 | \usepackage{amsmath} 6 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 7 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 8 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 9 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 10 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 11 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 12 | %DIF SAFE PREAMBLE %DIF PREAMBLE 13 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 17 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 18 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 20 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 24 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 25 | 26 | \begin{document} 27 | Some \$identical\$ text. 28 | 29 | \DIFdelbegin \DIFdel{An equation 30 | }\begin{displaymath}\DIFdel{ 31 | \exp(i\phi)=\cos \phi + i \sin \phi 32 | }\end{displaymath} 33 | %DIFAUXCMD 34 | %DIFDELCMD < 35 | 36 | %DIFDELCMD < %%% 37 | \DIFdel{Some further identical }\DIFdelend \DIFaddbegin \DIFadd{Some further \$identical\$ }\DIFaddend text 38 | \end{document} 39 | -------------------------------------------------------------------------------- /testsuite/delequ4-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ4-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ4-new.tex Thu Jun 12 00:01:26 2014 5 | \usepackage{amsmath} 6 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 7 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 8 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 9 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 10 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 11 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 12 | %DIF SAFE PREAMBLE %DIF PREAMBLE 13 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 17 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 18 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 20 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 24 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 25 | 26 | \begin{document} 27 | Some \$identical\$ text. 28 | 29 | \DIFdelbegin \DIFdel{An equation 30 | }\begin{displaymath}\DIFdel{ 31 | \exp(i\phi)=\cos \phi + i \sin \phi 32 | }\end{displaymath} 33 | %DIFAUXCMD 34 | %DIFDELCMD < 35 | 36 | %DIFDELCMD < %%% 37 | \DIFdel{Some further identical }\DIFdelend \DIFaddbegin \DIFadd{Some further \$identical\$ }\DIFaddend text 38 | \end{document} 39 | -------------------------------------------------------------------------------- /testsuite/delequ4-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL delequ4-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD delequ4-new.tex Thu Jun 12 00:01:26 2014 5 | \usepackage{amsmath} 6 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 7 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 8 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 9 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 10 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 11 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 12 | %DIF SAFE PREAMBLE %DIF PREAMBLE 13 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 17 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 18 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 20 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 24 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 25 | 26 | \begin{document} 27 | Some \$identical\$ text. 28 | 29 | \DIFdelbegin \DIFdel{An equation 30 | }\begin{displaymath} 31 | \DIFdel{\exp(i\phi)=\cos \phi + i \sin \phi 32 | }\end{displaymath} 33 | %DIFAUXCMD 34 | %DIFDELCMD < 35 | 36 | %DIFDELCMD < %%% 37 | \DIFdel{Some further identical }\DIFdelend \DIFaddbegin \DIFadd{Some further \$identical\$ }\DIFaddend text 38 | \end{document} 39 | -------------------------------------------------------------------------------- /testsuite/delequ4-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | 4 | \begin{document} 5 | Some \$identical\$ text. 6 | 7 | Some further \$identical\$ text 8 | \end{document} 9 | -------------------------------------------------------------------------------- /testsuite/delequ4-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | 4 | \begin{document} 5 | Some \$identical\$ text. 6 | 7 | An equation 8 | \begin{equation*} 9 | \exp(i\phi)=\cos \phi + i \sin \phi 10 | \end{equation*} 11 | 12 | Some further identical text 13 | \end{document} 14 | -------------------------------------------------------------------------------- /testsuite/description-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{description} 4 | % \item[in comment] in the new file should not be marked up 5 | \item[D] Item D in the new file 6 | \end{description} 7 | \end{document} 8 | 9 | -------------------------------------------------------------------------------- /testsuite/description-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{description} 4 | \item[C] Item C in the old file 5 | \end{description} 6 | \end{document} 7 | -------------------------------------------------------------------------------- /testsuite/doubledollar-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | A simple equation \verb|\frac{a}{b}| 5 | \begin{displaymath} 6 | \frac{a}{b} 7 | \end{displaymath} 8 | A simple equation with additional space \verb|\frac{a} {b}| 9 | $$ 10 | \frac{a}{b} 11 | $$ 12 | 13 | \section [Section without space]{A new section title without space} 14 | 15 | \section [Section with space] {A new section title with space} 16 | 17 | \end{document} 18 | 19 | -------------------------------------------------------------------------------- /testsuite/doubledollar-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | A simple equation \verb|\frac{2 a}{3 b}| 5 | $$ 6 | \frac{2a}{3b} 7 | $$ 8 | A simple equation with additional space \verb|\frac{2 a} {3 b}| 9 | $$ 10 | \frac{2 a}{3 b} 11 | $$ 12 | 13 | \section [Section without space]{A section title without space} 14 | 15 | \section [Section with space] {A section title with space} 16 | 17 | \end{document} 18 | 19 | -------------------------------------------------------------------------------- /testsuite/embedded-math-array-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | 4 | \begin{document} 5 | 6 | $a_2 \begin{pmatrix}a & b\end{pmatrix}$ 7 | 8 | \end{document} 9 | 10 | -------------------------------------------------------------------------------- /testsuite/embedded-math-array-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | 4 | \begin{document} 5 | 6 | $a \begin{pmatrix}a & b\end{pmatrix}$ 7 | 8 | \end{document} 9 | 10 | -------------------------------------------------------------------------------- /testsuite/endfloat-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL endfloat-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD endfloat-new.tex Sun Nov 11 21:19:29 2012 5 | \usepackage[nomarkers,nolists]{endfloat} 6 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 7 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 8 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 9 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 10 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 11 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 12 | %DIF SAFE PREAMBLE %DIF PREAMBLE 13 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 17 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 18 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 20 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 24 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 25 | 26 | \begin{document} 27 | some text 28 | 29 | % endfloat requires \begin and \end commands at start of line 30 | \begin{table} 31 | \caption{My caption} 32 | \begin{tabular}{c} 33 | data 34 | \end{tabular} 35 | \DIFaddbeginFL 36 | 37 | \DIFaddFL{some comment for under the table 38 | } 39 | 40 | \DIFaddendFL 41 | \end{table} 42 | 43 | % endfloat requires \begin and \end commands at start of line 44 | \begin{figure} 45 | \centering 46 | My figure 47 | \caption{My caption} 48 | \DIFaddbeginFL \label{fig} 49 | 50 | \DIFaddendFL 51 | \end{figure} 52 | 53 | some more text 54 | \end{document} 55 | -------------------------------------------------------------------------------- /testsuite/endfloat-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL endfloat-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD endfloat-new.tex Sun Jan 27 23:50:05 2013 5 | \usepackage[nomarkers,nolists]{endfloat} 6 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 7 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 8 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 9 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 10 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 11 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 12 | %DIF SAFE PREAMBLE %DIF PREAMBLE 13 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 17 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 18 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 20 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 24 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 25 | 26 | \begin{document} 27 | some text 28 | 29 | % endfloat requires \begin and \end commands at start of line 30 | \begin{table} 31 | \caption{My caption} 32 | \begin{tabular}{c} 33 | data 34 | \end{tabular} 35 | \DIFaddbeginFL 36 | 37 | \DIFaddFL{some comment for under the table 38 | } 39 | 40 | \DIFaddendFL 41 | \end{table} 42 | 43 | % endfloat requires \begin and \end commands at start of line 44 | \begin{figure} 45 | \centering 46 | My figure 47 | \caption{My caption} 48 | \DIFaddbeginFL \label{fig} 49 | 50 | \DIFaddendFL 51 | \end{figure} 52 | 53 | some more text 54 | \end{document} 55 | -------------------------------------------------------------------------------- /testsuite/endfloat-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL endfloat-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD endfloat-new.tex Thu Jun 12 00:01:26 2014 5 | \usepackage[nomarkers,nolists]{endfloat} 6 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 7 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 8 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 9 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 10 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 11 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 12 | %DIF SAFE PREAMBLE %DIF PREAMBLE 13 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 17 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 18 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 20 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 24 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 25 | 26 | \begin{document} 27 | some text 28 | 29 | % endfloat requires \begin and \end commands at start of line 30 | \begin{table} 31 | \caption{My caption} 32 | \begin{tabular}{c} 33 | data 34 | \end{tabular} 35 | \DIFaddbeginFL 36 | 37 | \DIFaddFL{some comment for under the table 38 | } 39 | 40 | \DIFaddendFL 41 | \end{table} 42 | 43 | % endfloat requires \begin and \end commands at start of line 44 | \begin{figure} 45 | \centering 46 | My figure 47 | \caption{My caption} 48 | \DIFaddbeginFL \label{fig} 49 | 50 | \DIFaddendFL 51 | \end{figure} 52 | 53 | some more text 54 | \end{document} 55 | -------------------------------------------------------------------------------- /testsuite/endfloat-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL endfloat-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD endfloat-new.tex Thu Jun 12 00:01:26 2014 5 | \usepackage[nomarkers,nolists]{endfloat} 6 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 7 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 8 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 9 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 10 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 11 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 12 | %DIF SAFE PREAMBLE %DIF PREAMBLE 13 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 17 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 18 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 20 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 24 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 25 | 26 | \begin{document} 27 | some text 28 | 29 | % endfloat requires \begin and \end commands at start of line 30 | \begin{table} 31 | \caption{My caption} 32 | \begin{tabular}{c} 33 | data 34 | \end{tabular} 35 | \DIFaddbeginFL 36 | 37 | \DIFaddFL{some comment for under the table 38 | } 39 | 40 | \DIFaddendFL 41 | \end{table} 42 | 43 | % endfloat requires \begin and \end commands at start of line 44 | \begin{figure} 45 | \centering 46 | My figure 47 | \caption{My caption} 48 | \DIFaddbeginFL \label{fig} 49 | 50 | \DIFaddendFL 51 | \end{figure} 52 | 53 | some more text 54 | \end{document} 55 | -------------------------------------------------------------------------------- /testsuite/endfloat-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[nomarkers,nolists]{endfloat} 3 | 4 | \begin{document} 5 | some text 6 | 7 | % endfloat requires \begin and \end commands at start of line 8 | \begin{table} 9 | \caption{My caption} 10 | \begin{tabular}{c} 11 | data 12 | \end{tabular} 13 | 14 | some comment for under the table 15 | 16 | \end{table} 17 | 18 | % endfloat requires \begin and \end commands at start of line 19 | \begin{figure} 20 | \centering 21 | My figure 22 | \caption{My caption} 23 | \label{fig} 24 | 25 | \end{figure} 26 | 27 | some more text 28 | \end{document} 29 | -------------------------------------------------------------------------------- /testsuite/endfloat-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[nomarkers,nolists]{endfloat} 3 | 4 | \begin{document} 5 | some text 6 | 7 | % endfloat requires \begin and \end commands at start of line 8 | \begin{table} 9 | \caption{My caption} 10 | \begin{tabular}{c} 11 | data 12 | \end{tabular} 13 | \end{table} 14 | 15 | % endfloat requires \begin and \end commands at start of line 16 | \begin{figure} 17 | \centering 18 | My figure 19 | \caption{My caption} 20 | \end{figure} 21 | 22 | some more text 23 | \end{document} 24 | -------------------------------------------------------------------------------- /testsuite/endfloat2-new.tex: -------------------------------------------------------------------------------- 1 | % from http://tex.stackexchange.com/questions/327403/latexdiff-doesnt-work-with-certain-markupstyles 2 | \documentclass{article} 3 | \usepackage[american]{babel} 4 | \usepackage[acronym,shortcuts]{glossaries} 5 | \usepackage{hyperref} 6 | \usepackage{cleveref} 7 | \usepackage{natbib} 8 | \usepackage{siunitx} 9 | 10 | % Move figures to the end 11 | \usepackage{endfloat} 12 | 13 | % Acronyms 14 | \newacronym{MNA}{MNA}{my nice acronym} 15 | % ------------------------------------ 16 | \begin{document} 17 | \section{My section} 18 | \label{sec:mysec} 19 | As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things \cref{sec:mysec}). 20 | The paralogisms of practical reason are what first give rise to the architectonic of practical reason. As will easily be shown in the next section \ac{MNA}, reason would not be enough \citep{latexcompanion} \SIrange{0}{2}{}. 21 | % 22 | \begin{align} 23 | A(\omega) = J(\omega) + 2 24 | \end{align} 25 | % 26 | My final comment 27 | \bibliographystyle{apalike} 28 | % 29 | \begin{thebibliography}{} 30 | \bibitem[Gossens et~al., 1993]{latexcompanion} 31 | Michel Goossens, Frank Mittelbach, and Alexander Samarin. 32 | \newblock The \LaTeX\ Companion. 33 | \newblock {Addison-Wesley, Reading, Massachusetts}, 1993. 34 | \end{thebibliography} 35 | % 36 | \end{document} 37 | 38 | -------------------------------------------------------------------------------- /testsuite/endfloat2-old.tex: -------------------------------------------------------------------------------- 1 | % from http://tex.stackexchange.com/questions/327403/latexdiff-doesnt-work-with-certain-markupstyles 2 | \documentclass{article} 3 | \usepackage[american]{babel} 4 | \usepackage[acronym,shortcuts]{glossaries} 5 | \usepackage{hyperref} 6 | \usepackage{cleveref} 7 | \usepackage{natbib} 8 | \usepackage{siunitx} 9 | 10 | % Move figures to the end 11 | \usepackage{endfloat} 12 | 13 | % Acronyms 14 | \newacronym{MNA}{MNA}{my nice acronym} 15 | % ------------------------------------ 16 | \begin{document} 17 | \section{My section} 18 | \label{sec:mysec} 19 | As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things). This is nonsense. 20 | The paralogisms of practical reason are what first give \cref{fig:myfig} rise to the architectonic of practical reason. As will easily be shown in the next section, reason would \SIrange{0}{1}{}. 21 | % 22 | \begin{align} 23 | A(\omega) = J(\omega) + 1 24 | \end{align} 25 | % 26 | % 27 | \begin{figure}[t] %blabla 28 | \centering 29 | \caption{Necessity depends on, when thus treated as the practical employment of 30 | the never-ending regress in the series of empirical conditions, time.} 31 | \label{fig:myfig} 32 | \end{figure} 33 | % 34 | My final comment 35 | \end{document} 36 | -------------------------------------------------------------------------------- /testsuite/eqnarray-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %\usepackage{bm} 3 | 4 | \begin{document} 5 | 6 | The VM(BB) system models the coupling between energetic particles and the wave modes they excite. 7 | The formulation here is a fully nonlinear self-consistent model for the particle distribution $f(x,v,t)$ and the electric field $E(x,t)$; it is based on the one-dimensional electrostatic bump-on-tail model with particle distribution relaxation and background electric field damping: 8 | 9 | \begin{eqnarray} 10 | \label{MVE2} 11 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} & = & 12 | Q(v) - \nu_a \left( f - F_{\rm bulk} \right) \\ 13 | & = & - \nu_a \left( f - F_0 \right) \\ 14 | \label{MDCE2} 15 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv & = & - \gamma_d E 16 | \end{eqnarray} 17 | % 18 | Here $\nu_a$ denotes the particle relaxation rate, $\gamma_d$ the combined effect of all background damping mechanisms that act on the electric field, and $f_0$ the spatial mean of $f$; $Q$ represents the source of EPs and $F_{\rm bulk}$ the thermalised distribution driven to by collisions; the bump-on-tail distribution $F_0 = Q / \nu_a + F_{\rm bulk}$. 19 | We note that $E = 0$, $f = F_0$ is a steady-state spatially uniform solution. 20 | 21 | \begin{eqnarray} 22 | \label{MVE2} 23 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} & = & 24 | Q(v) - \nu_a \left( f - F_{\rm bulk} \right) \\ 25 | & = & - \nu_a \left( f - F_0 \right) \\ 26 | \label{MDCE2} 27 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv & = & - \gamma_d E 28 | \end{eqnarray} 29 | % 30 | 31 | \end{document} 32 | -------------------------------------------------------------------------------- /testsuite/eqnarray-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | 5 | 6 | The VM(BB) system models the coupling between energetic particles and the wave modes they excite. 7 | The formulation here is a fully nonlinear self-consistent model for the particle distribution $f(x,v,t)$ and the electric field $E(x,t)$; it is based on the one-dimensional electrostatic bump-on-tail model with particle distribution relaxation and background electric field damping. We cast the model as follows: 8 | 9 | \begin{equation} 10 | \label{MVE} 11 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} = 12 | - \nu_a \left( f - F_0 \right) 13 | \end{equation} 14 | 15 | \begin{equation} 16 | \label{MDCE} 17 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv = - \gamma_d E 18 | \end{equation} 19 | 20 | Here $F_0$ denotes the combined particle source and loss function, $\nu_a$ the particle relaxation rate, $\gamma_d$ the combined effect of all background damping mechanisms that act on the electric field, and $f_0$ the spatial mean of $f$. 21 | Spatial lengths are normalised to the Debye length $\lambda_D$, times to the inverse plasma frequency $\omega_p$, velocities to the thermal speed $v_{\rm th}$ and $E$ to $(m/q) v_{\rm th} \omega_p$. Since the underlying waves in this model are plasma waves, this means that times, frequencies and growth rates are normalised in terms of the underlying wave frequency. This normalisation of time and frequency will be used later for comparison with an experimental observation. 22 | 23 | \[ 24 | \label{MVE} 25 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} = 26 | - \nu_a \left( f - F_0 \right) 27 | \] 28 | 29 | \[ 30 | \label{MDCE} 31 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv = - \gamma_d E 32 | \] 33 | 34 | 35 | 36 | \end{document} 37 | -------------------------------------------------------------------------------- /testsuite/eqnarray-slave-new.tex: -------------------------------------------------------------------------------- 1 | The VM(BB) system models the coupling between energetic particles and the wave modes they excite. 2 | The formulation here is a fully nonlinear self-consistent model for the particle distribution $f(x,v,t)$ and the electric field $E(x,t)$; it is based on the one-dimensional electrostatic bump-on-tail model with particle distribution relaxation and background electric field damping: 3 | 4 | \begin{eqnarray} 5 | \label{MVE2} 6 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} & = & 7 | Q(v) - \nu_a \left( f - F_{\rm bulk} \right) \\ 8 | & = & - \nu_a \left( f - F_0 \right) \\ 9 | \label{MDCE2} 10 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv & = & - \gamma_d E 11 | \end{eqnarray} 12 | % 13 | Here $\nu_a$ denotes the particle relaxation rate, $\gamma_d$ the combined effect of all background damping mechanisms that act on the electric field, and $f_0$ the spatial mean of $f$; $Q$ represents the source of EPs and $F_{\rm bulk}$ the thermalised distribution driven to by collisions; the bump-on-tail distribution $F_0 = Q / \nu_a + F_{\rm bulk}$. 14 | We note that $E = 0$, $f = F_0$ is a steady-state spatially uniform solution. 15 | 16 | \begin{eqnarray} 17 | \label{MVE2} 18 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} & = & 19 | Q(v) - \nu_a \left( f - F_{\rm bulk} \right) \\ 20 | & = & - \nu_a \left( f - F_0 \right) \\ 21 | \label{MDCE2} 22 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv & = & - \gamma_d E 23 | \end{eqnarray} 24 | % 25 | And at last a table only in new file: 26 | 27 | \input{newtable} 28 | 29 | End of table 30 | \endinput 31 | There is some more text which should be ignored 32 | 33 | -------------------------------------------------------------------------------- /testsuite/eqnarray-slave-old.tex: -------------------------------------------------------------------------------- 1 | The VM(BB) system models the coupling between energetic particles and the wave modes they excite. 2 | The formulation here is a fully nonlinear self-consistent model for the particle distribution $f(x,v,t)$ and the electric field $E(x,t)$; it is based on the one-dimensional electrostatic bump-on-tail model with particle distribution relaxation and background electric field damping. We cast the model as follows: 3 | 4 | \begin{equation} 5 | \label{MVE} 6 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} = 7 | - \nu_a \left( f - F_0 \right) 8 | \end{equation} 9 | 10 | \begin{equation} 11 | \label{MDCE} 12 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv = - \gamma_d E 13 | \end{equation} 14 | 15 | Here $F_0$ denotes the combined particle source and loss function, $\nu_a$ the particle relaxation rate, $\gamma_d$ the combined effect of all background damping mechanisms that act on the electric field, and $f_0$ the spatial mean of $f$. 16 | Spatial lengths are normalised to the Debye length $\lambda_D$, times to the inverse plasma frequency $\omega_p$, velocities to the thermal speed $v_{\rm th}$ and $E$ to $(m/q) v_{\rm th} \omega_p$. Since the underlying waves in this model are plasma waves, this means that times, frequencies and growth rates are normalised in terms of the underlying wave frequency. This normalisation of time and frequency will be used later for comparison with an experimental observation. 17 | 18 | \[ 19 | \label{MVE} 20 | \frac{\partial f}{\partial t} + v \frac{\partial f}{\partial x} + E \frac{\partial f}{\partial v} = 21 | - \nu_a \left( f - F_0 \right) 22 | \] 23 | 24 | \[ 25 | \label{MDCE} 26 | \frac{\partial E}{\partial t} + \int v \left( f - f_0 \right) dv = - \gamma_d E 27 | \] 28 | 29 | % \input{oldtable} 30 | 31 | 32 | -------------------------------------------------------------------------------- /testsuite/eqnarray2-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{eqnarray} 4 | b 5 | \end{eqnarray} 6 | % 7 | z y 8 | \end{document} 9 | 10 | -------------------------------------------------------------------------------- /testsuite/eqnarray2-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{eqnarray} 4 | a 5 | \end{eqnarray} 6 | z x 7 | \end{document} 8 | 9 | -------------------------------------------------------------------------------- /testsuite/example-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /testsuite/example-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /testsuite/example-tag-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | %BEGIN DIFDEL 38 | A paragraph with a line only in the draft document. More things could be said 39 | were it not for the constraints of time and space. 40 | %END DIFDEL 41 | 42 | More things could be said were it not for the constraints of time and space. 43 | 44 | And here is a tipo. 45 | 46 | Here is a table: 47 | 48 | 49 | \begin{tabular}{ll} 50 | Name & Description \\ 51 | \hline 52 | Gandalf & Grey \\ 53 | Saruman & White 54 | \end{tabular} 55 | 56 | 57 | And sometimes a whole paragraph gets completely rewritten. In this 58 | case latexdiff marks up the whole paragraph even if some words in it 59 | are identical. 60 | No change, no markup! 61 | \end{document} 62 | 63 | 64 | -------------------------------------------------------------------------------- /testsuite/exampleDiff-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper,twoside,notitlepage]{article} 2 | %=============================================================================== 3 | 4 | \usepackage[sc]{mathpazo} % Palatino serif font 5 | \linespread{1.05} % Needed for Palatino to look "proper" 6 | 7 | 8 | \begin{document} 9 | 10 | \begin{itemize} 11 | 12 | \item Blah blah blah blah, blah blah and blah (blah). 13 | 14 | \end{itemize} 15 | 16 | Same thing, but now with \emph{a very long emphasised bit of text added 17 | to the original doc which now spills over nastily and not very pleasantly. I 18 | don't like it. What can I do?}. Blah blah. 19 | 20 | \end{document} 21 | 22 | -------------------------------------------------------------------------------- /testsuite/exampleDiff-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper,twoside,notitlepage]{article} 2 | %=============================================================================== 3 | 4 | \usepackage[sc]{mathpazo} % Palatino serif font 5 | \linespread{1.05} % Needed for Palatino to look "proper" 6 | 7 | 8 | \begin{document} 9 | 10 | \begin{itemize} 11 | 12 | \item , and we have 13 | \emph{a very long emphasised bit of text deleted from the original doc which now 14 | spills over nastily and not very pleasantly. I don't like it. What can I do?}. 15 | Blah blah. 16 | 17 | \end{itemize} 18 | 19 | 20 | 21 | \end{document} 22 | 23 | -------------------------------------------------------------------------------- /testsuite/figures-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{graphicx} 3 | 4 | %opening 5 | %\title{} 6 | %\author{} 7 | 8 | \begin{document} 9 | The Brandenburg Gate (German: Brandenburger Tor) is an 18th-century neoclassical triumphal arch in Berlin, and one of the best-known landmarks of Germany. It is built on the site of a former city gate that marked the start of the road from Berlin to the town of Brandenburg an der Havel. 10 | (all text and figures from Wikipedia article on Brandenburg gate) 11 | 12 | \begin{figure} 13 | \includegraphics[width=0.6\textwidth]{Brandenburger_Tor_abends_from_wikipedia} 14 | 15 | \caption{The Brandenburg gate} 16 | \end{figure} 17 | 18 | % an identical figure in both 19 | \begin{figure} 20 | \includegraphics[width=0.5\textwidth]{270px-Charles_Meynier_-_Napoleon_in_Berlin} 21 | 22 | \caption{Napoleon passing through the Brandenburg Gate after the Battle of Jena-Auerstedt (1806). Painted by Charles Meynier in 1810.} 23 | \end{figure} 24 | \end{document} 25 | 26 | -------------------------------------------------------------------------------- /testsuite/figures-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{graphicx} 3 | 4 | %opening 5 | %\title{} 6 | %\author{} 7 | 8 | \begin{document} 9 | The Brandenburg Gate (German: Brandenburger Tor) is an 18th-century neoclassical triumphal arch in Berlin, and one of the best-known landmarks of Germany. It is built on the site of a former city gate that marked the start of the road from Berlin to the town of Brandenburg an der Havel. 10 | (all text and figures from Wikipedia article on Brandenburg gate) 11 | 12 | \begin{figure} 13 | \includegraphics[width=0.4\textwidth]{220px-Brandenburg_Gate_Quadriga_at_Night_from_wikipedia} 14 | 15 | \caption{The Brandenburg Gate quadriga at night} 16 | \end{figure} 17 | 18 | % an identical figure in both 19 | \begin{figure} 20 | \includegraphics[width=0.5\textwidth]{270px-Charles_Meynier_-_Napoleon_in_Berlin} 21 | 22 | \caption{Napoleon passing through the Brandenburg Gate after the Battle of Jena-Auerstedt (1806). Painted by Charles Meynier in 1810.} 23 | \end{figure} 24 | \end{document} 25 | 26 | -------------------------------------------------------------------------------- /testsuite/frac_w_space_comments-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \section{section} 5 | change $\frac1a$ 6 | 7 | \begin{subequations} % eq 1 8 | \begin{gather} 9 | \begin{align} 10 | a &= 1\\ 11 | b &= 1 12 | \end{align} 13 | \end{gather} 14 | \end{subequations} 15 | \begin{equation} % eq 2 16 | a + b= 2 17 | \end{equation} 18 | \begin{equation} % eq 3 19 | \frac {a} {b} = 1 20 | \end{equation} 21 | \begin{equation} % eq 4 22 | \frac %Here is a fraction 23 | {c} % Numerator 24 | {d} % Denominator 25 | = 1 26 | \end{equation} 27 | \end{document} 28 | 29 | -------------------------------------------------------------------------------- /testsuite/frac_w_space_comments-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \section{section} 5 | change 6 | \begin{subequations} % eq 1 7 | \begin{gather} 8 | \begin{align} 9 | a &= 1\\ 10 | b &= 1 11 | \end{align} 12 | \end{gather} 13 | \end{subequations} 14 | \begin{equation} % eq 2 15 | a + b= 2 16 | \end{equation} 17 | \begin{equation} % eq 3 18 | \frac{a}{b} = 1 19 | \end{equation} 20 | \begin{equation} % eq 4 21 | \frac{c}{d} = 1 22 | \end{equation} 23 | \end{document} 24 | 25 | -------------------------------------------------------------------------------- /testsuite/gennady-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL gennady-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD gennady-new.tex Sun Nov 11 21:19:29 2012 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \title{Title} 27 | 28 | \author{Author} 29 | \DIFdelbegin %DIFDELCMD < 30 | 31 | %DIFDELCMD < %%% 32 | \begin{eqnarray*}%DIF < 33 | \DIFdel{\frac{b_1^2}{h^2} }& \DIFdel{= }& \DIFdel{2 }\\ 34 | \DIFdel{a+b }& \DIFdel{= }& \DIFdel{b+a 35 | }\end{eqnarray*}%DIFAUXCMD 36 | %DIF < 37 | %DIFDELCMD < 38 | 39 | %DIFDELCMD < %%% 40 | \DIFdelend \DIFaddbegin \DIFadd{test 41 | }\DIFaddend\end{document} 42 | -------------------------------------------------------------------------------- /testsuite/gennady-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL gennady-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD gennady-new.tex Sun Jan 27 23:50:05 2013 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \title{Title} 27 | 28 | \author{Author} 29 | \DIFdelbegin %DIFDELCMD < 30 | 31 | %DIFDELCMD < %%% 32 | \begin{eqnarray*}%DIF < 33 | \DIFdel{\frac{b_1^2}{h^2} }& \DIFdel{= }& \DIFdel{2 }\\ 34 | \DIFdel{a+b }& \DIFdel{= }& \DIFdel{b+a 35 | }\end{eqnarray*}%DIFAUXCMD 36 | %DIF < 37 | %DIFDELCMD < 38 | 39 | %DIFDELCMD < %%% 40 | \DIFdelend \DIFaddbegin \DIFadd{test 41 | }\DIFaddend\end{document} 42 | -------------------------------------------------------------------------------- /testsuite/gennady-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL gennady-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD gennady-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \title{Title} 27 | 28 | \author{Author} 29 | \DIFdelbegin %DIFDELCMD < 30 | 31 | %DIFDELCMD < %%% 32 | \begin{eqnarray*}%DIF < 33 | \DIFdel{\frac{b_1^2}{h^2} }& \DIFdel{= }& \DIFdel{2 }\\ 34 | \DIFdel{a+b }& \DIFdel{= }& \DIFdel{b+a 35 | }\end{eqnarray*}%DIFAUXCMD 36 | %DIF < 37 | %DIFDELCMD < 38 | 39 | %DIFDELCMD < %%% 40 | \DIFdelend \DIFaddbegin \DIFadd{test 41 | }\DIFaddend\end{document} 42 | -------------------------------------------------------------------------------- /testsuite/gennady-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL gennady-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD gennady-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \title{Title} 27 | 28 | \author{Author} 29 | \DIFdelbegin %DIFDELCMD < 30 | 31 | %DIFDELCMD < %%% 32 | \begin{eqnarray*}%DIF < 33 | \DIFdel{\frac{b_1^2}{h^2} }& \DIFdel{= }& \DIFdel{2 }\\ 34 | \DIFdel{a+b }& \DIFdel{= }& \DIFdel{b+a 35 | }\end{eqnarray*}%DIFAUXCMD 36 | %DIF < 37 | %DIFDELCMD < 38 | 39 | %DIFDELCMD < %%% 40 | \DIFdelend \DIFaddbegin \DIFadd{test 41 | }\DIFaddend\end{document} 42 | -------------------------------------------------------------------------------- /testsuite/gennady-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | 3 | \begin{document} 4 | \title{Title} 5 | 6 | \author{Author} 7 | test 8 | \end{document} 9 | -------------------------------------------------------------------------------- /testsuite/gennady-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | 3 | \begin{document} 4 | \title{Title} 5 | 6 | \author{Author} 7 | 8 | 9 | \begin{eqnarray}% 10 | \frac{b_1^2}{h^2} & = & 2 \\ 11 | a+b & = & b+a 12 | \end{eqnarray}% 13 | 14 | \end{document} 15 | -------------------------------------------------------------------------------- /testsuite/href-in-bibliography-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[hidelinks]{hyperref} 3 | 4 | \begin{document} 5 | 6 | \cite{bibkey1, bibkey2} 7 | 8 | A link with \verb|\url|: 9 | \url {http://news.bbc.co.uk} 10 | 11 | \bibliographystyle{elsarticle-num} 12 | \begin{thebibliography}{1} 13 | \expandafter\ifx\csname url\endcsname\relax 14 | \def\url#1{\texttt{#1}}\fi 15 | \expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi 16 | \expandafter\ifx\csname href\endcsname\relax 17 | \def\href#1#2{#2} \def\path#1{#1}\fi 18 | 19 | \bibitem{bibkey1} 20 | A.~Author, Study title, Journal of Advances 1 (2019) 20--30. 21 | \newblock \href {http://dx.doi.org/101.999.2019} {\path{doi:101.999.2019}}. 22 | 23 | \bibitem{bibkey2} 24 | A.~Author, Another study, Journal of Advances 2 (2019) 10--20. 25 | \newblock \href {http://dx.doi.org/111.999.2019} {\path{doi:111.999.2019}}. 26 | 27 | \end{thebibliography} 28 | 29 | \end{document} 30 | -------------------------------------------------------------------------------- /testsuite/href-in-bibliography-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[hidelinks]{hyperref} 3 | 4 | \begin{document} 5 | 6 | \cite{bibkey1} 7 | 8 | \bibliographystyle{elsarticle-num} 9 | \begin{thebibliography}{1} 10 | \expandafter\ifx\csname url\endcsname\relax 11 | \def\url#1{\texttt{#1}}\fi 12 | \expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi 13 | \expandafter\ifx\csname href\endcsname\relax 14 | \def\href#1#2{#2} \def\path#1{#1}\fi 15 | 16 | \bibitem{bibkey1} 17 | A.~Author, Study title, Journal of Advances 1 (2019) 20--30. 18 | \newblock \href {http://dx.doi.org/101.999.2019} {\path{doi:101.999.2019}}. 19 | 20 | \end{thebibliography} 21 | 22 | \end{document} 23 | -------------------------------------------------------------------------------- /testsuite/import-level0/import-level1/world.tex: -------------------------------------------------------------------------------- 1 | World! 2 | -------------------------------------------------------------------------------- /testsuite/import-level0/include-me.tex: -------------------------------------------------------------------------------- 1 | Hello, \subimport{import-level1}{world} 2 | 3 | Hello, \subinputfrom{import-level1}{world} 4 | 5 | % Hello, \subincludefrom{import-level1}{world} % cannot nest include's 6 | -------------------------------------------------------------------------------- /testsuite/import-level0/input-me.tex: -------------------------------------------------------------------------------- 1 | Hello, \subimport{import-level1}{world} 2 | 3 | Hello, \subinputfrom{import-level1}{world} 4 | 5 | Hello, \subincludefrom{import-level1}{world} 6 | -------------------------------------------------------------------------------- /testsuite/import-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt]{article} 2 | \usepackage{import} 3 | \begin{document} 4 | \import{import-level0}{input-me} 5 | \inputfrom{import-level0}{input-me} 6 | \includefrom{import-level0}{include-me} 7 | 8 | some additional text only in new file 9 | \end{document} 10 | -------------------------------------------------------------------------------- /testsuite/import-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt]{article} 2 | \usepackage{import} 3 | \begin{document} 4 | \import{import-level0}{input-me} 5 | \inputfrom{import-level0}{input-me} 6 | \includefrom{import-level0}{include-me} 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/intertext-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | 4 | \begin{document} 5 | 6 | \begin{align} 7 | 1 &=2\\ 8 | \intertext{aaa} 9 | a+b&=c+d\\ 10 | \intertext{dont't forget that} 11 | % use primitive display math here as a nested equation 12 | % disturbs align counting 13 | %$$1111=1 14 | %\refstepcounter{equation}\eqno(\theequation)$$} 15 | %0.5&=\frac{1}{2} 16 | \end{align} 17 | 18 | Second ``align'' environment is empty. 19 | 20 | \end{document} 21 | 22 | -------------------------------------------------------------------------------- /testsuite/intertext-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | 4 | \begin{document} 5 | 6 | \begin{align} 7 | 1 &=2\\ 8 | \intertext{aaa} 9 | a+b&=c+d\\ 10 | %\intertext{dont't forget that} 11 | % use primitive display math here as a nested equation 12 | % disturbs align counting 13 | %$$1111=1 14 | %\refstepcounter{equation}\eqno(\theequation)$$} 15 | 0.5&=\frac{1}{2} 16 | \end{align} 17 | 18 | Second align environment: 19 | \begin{align*} 20 | a&=b\\ 21 | \intertext{whereas} 22 | b&=c 23 | \end{align*} 24 | 25 | 26 | \end{document} 27 | 28 | -------------------------------------------------------------------------------- /testsuite/ja-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{ltjsarticle} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL ja-old.tex Fri Dec 4 17:00:51 2015 4 | %DIF ADD ja-new.tex Fri Dec 4 17:00:26 2015 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF CFONT PREAMBLE %DIF PREAMBLE 7 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 8 | \providecommand{\DIFadd}[1]{{\protect\color{blue} \sf #1}} %DIF PREAMBLE 9 | \providecommand{\DIFdel}[1]{{\protect\color{red} \scriptsize #1}} %DIF PREAMBLE 10 | %DIF SAFE PREAMBLE %DIF PREAMBLE 11 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 12 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 13 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 15 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 16 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 17 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 19 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 22 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 23 | 24 | \begin{document} 25 | 26 | 例えば\DIFdelbegin \DIFdel{S}\DIFdelend \DIFaddbegin \DIFadd{P}\DIFaddend 波の到達時刻を知りたい場合,\DIFdelbegin \DIFdel{ジェフェリーズ}\DIFdelend \DIFaddbegin \DIFadd{ジェフリーズ}\DIFaddend とブレンの\DIFdelbegin \DIFdel{掃除表}\DIFdelend \DIFaddbegin \DIFadd{走時表}\DIFaddend が使\DIFdelbegin \DIFdel{えますか? 27 | }\DIFdelend \DIFaddbegin \DIFadd{えます. 28 | }\DIFaddend 29 | 30 | \end{document} 31 | -------------------------------------------------------------------------------- /testsuite/ja-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{ltjsarticle} 2 | 3 | \begin{document} 4 | 5 | 例えばP波の到達時刻を知りたい場合,ジェフリーズとブレンの走時表が使えます. 6 | 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/ja-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{ltjsarticle} 2 | 3 | \begin{document} 4 | 5 | 例えばS波の到達時刻を知りたい場合,ジェフェリーズとブレンの掃除表が使えますか? 6 | 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/latin9-diff-1.0.1.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/latin9-diff-1.0.1.tex -------------------------------------------------------------------------------- /testsuite/latin9-diff-1.0.3.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/latin9-diff-1.0.3.tex -------------------------------------------------------------------------------- /testsuite/latin9-diff-1.0.4.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/latin9-diff-1.0.4.tex -------------------------------------------------------------------------------- /testsuite/latin9-diff-1.1.0.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/latin9-diff-1.1.0.tex -------------------------------------------------------------------------------- /testsuite/latin9-new.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/latin9-new.tex -------------------------------------------------------------------------------- /testsuite/latin9-old.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/latin9-old.tex -------------------------------------------------------------------------------- /testsuite/margalit-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \begin{document} 4 | 5 | Finally we have Burkhardt's $g-1$ factor swaps. These are obtained as the 6 | $\Psi$-images of handle swaps. The $i{\rm th}$ {\em handle 7 | swap}\index{handle swap} $h_i$ for $1\leq i\leq g-1$ is easily visualized 8 | (see Figure~\ref{figure:burkhardt}), but we can also write it as a product 9 | of Dehn twists: 10 | 11 | $$h_i=(T_{a_{i+1}}T_{b_{i+1}} T_{d_i}T_{a_i}T_{b_i})^3$$ 12 | where $d_i$ is a simple closed curve that in the homology class 13 | $[a_{i+1}]+[b_i]$. 14 | 15 | \end{document} 16 | -------------------------------------------------------------------------------- /testsuite/margalit-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \begin{document} 4 | 5 | Finally, we have the $g-1$ factor swaps. These are easily visualized as 6 | ``handle swaps,''\index{handle swap} but we can also write them as 7 | products of Dehn twists, for example: 8 | \[ (T_{a_2}T_{b_2} T_{a_2+b_1} T_{a_1} T_{b_1})^3, \] 9 | where $a_2+b_1$ is a simple closed curve representing $[a_2]+[b_1]$, or in 10 | general $(T_{a_{i+1}}T_{b_{i+1}} T_{a_{i+1}+b_i}T_{a_i}T_{b_i})^3$, where 11 | $a_{i+1}+b_i$ represents $[a_{i+1}]+[b_i]$ and $1 \leq i \leq g-1$. 12 | 13 | \end{document} 14 | -------------------------------------------------------------------------------- /testsuite/master-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \includeonly{delequ-slave-new} 4 | 5 | \begin{document} 6 | 7 | \newcommand{\includesvg}[1]{% 8 | \executeiffilenewer{./pics/#1.svg}{./pics/#1.pdf}% 9 | {inkscape -z -D --file=./pics/#1.svg % 10 | --export-pdf=./pics/#1.pdf --export-latex}% 11 | \input{./pics/#1.pdf_tex}% 12 | } 13 | 14 | 15 | \textbf{delequ} 16 | \include{delequ-slave-new} 17 | 18 | 19 | \textbf{delequ2} 20 | \include{delequ2-slave-new} 21 | 22 | \textbf{eqnarray} 23 | \input{eqnarray-slave-new} 24 | 25 | \end{document} 26 | 27 | -------------------------------------------------------------------------------- /testsuite/master-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \includeonly{delequ-slave-old} 4 | 5 | \begin{document} 6 | \textbf{delequ} 7 | \include{delequ-slave-old} 8 | 9 | 10 | \textbf{delequ2} 11 | \include{delequ2-slave-old} 12 | 13 | \textbf{eqnarray} 14 | \input{eqnarray-slave-old} 15 | 16 | \end{document} 17 | 18 | -------------------------------------------------------------------------------- /testsuite/mini-diff-1.0.1.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/mini-diff-1.0.1.tex -------------------------------------------------------------------------------- /testsuite/mini-diff-1.0.3.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/mini-diff-1.0.3.tex -------------------------------------------------------------------------------- /testsuite/mini-diff-1.0.4.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/mini-diff-1.0.4.tex -------------------------------------------------------------------------------- /testsuite/mini-diff-1.1.0.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/mini-diff-1.1.0.tex -------------------------------------------------------------------------------- /testsuite/mini-new.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/mini-new.tex -------------------------------------------------------------------------------- /testsuite/mini-old.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ftilmann/latexdiff/9ae3d1786260437cc3dfd39a0e1517c5dcb0564b/testsuite/mini-old.tex -------------------------------------------------------------------------------- /testsuite/move-equation-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \begin{document} 4 | 5 | The decidability analysis provided in Section~\ref{sec:decidability} 6 | must consider all future actions. 7 | In order to track \emph{all} flows, we also need to track actual past 8 | information flows. 9 | Thus we track: 10 | \begin{description} 11 | \item[$didFlow(l_1,l_2)$:] the set of labels which could have 12 | actually flowed across $mayFlow(l_1,l_2)$. 13 | \end{description} 14 | The set $didFlow(l_1,l_2)$ is updated every time a process first 15 | reads $l_1$ and then writes $l_2$. 16 | Let $flowed(l)=$ 17 | $ \bigcup_{l' \in \mbox{\scriptsize system}}$ 18 | $didFlow(l',l) \cup \{l\}$. 19 | Then: 20 | \[ 21 | didFlow(l_1,l_2) \leftarrow didFlow(l_1,l_2) \cup flowed(l_1) 22 | \] 23 | 24 | We also track past administrative approvals relative to the 25 | flows over a defined \(mayFlow(l_1,l_2)\) as follows: 26 | \begin{description} 27 | \item[$confidentialityFlow(l_1,l_2)$:] the set of predecessor labels 28 | which have approved the possible increase in readership due to a flow of that 29 | label using $mayFlow(l_1,l_2)$. 30 | A necessary condition for $l\in confidentialityFlow(l_1,l_2)$ 31 | is that after the time of approval it was possible that 32 | $r(l_2) \not\subseteq r(l)$. 33 | \item[$integrityFlow(l_1,l_2)$:] the set of successor labels 34 | whose integrity is not greater than or equal to $l_1$ 35 | and which have approved a flow over $mayFlow(l_1,l_2)$. 36 | A necessary condition for $l \in integrityFlow(l_1,l_2)$ 37 | is that after the time of approval $r(l_1) \not\succeq r(l)$. 38 | \item[$didFlow(l_1,l_2)$:] the set of labels which could have 39 | actually flowed across $mayFlow(l_1,l_2)$. 40 | \end{description} 41 | While these play no role in the decidability of 42 | our system, they reduce the amount of clutter that 43 | an administrator needs to deal with, by allowing 44 | each edge to be approved by a given label's administrators 45 | at most once. 46 | 47 | \end{document} 48 | 49 | 50 | -------------------------------------------------------------------------------- /testsuite/move-equation-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \begin{document} 4 | 5 | The decidability analysis provided in section~\ref{sec:decidability} 6 | will consider all future actions. 7 | In order to track \emph{all} flows, we also need to track past actions. 8 | The information on past actions are all relative to the 9 | flows over a defined \(mayFlow(l_1,l_2)\) and are as follows: 10 | \begin{description} 11 | \item[$confidentialityFlow(l_1,l_2)$:] the set of predecessor labels 12 | which have approved the possible increase in readership due to a flow of that 13 | label using $mayFlow(l_1,l_2)$. 14 | A necessary condition for $l\in confidentialityFlow(l_1,l_2)$ 15 | is that after the time of approval it was possible that 16 | $r(l_2) \not\subseteq r(l)$. 17 | \item[$integrityFlow(l_1,l_2)$:] the set of successor labels 18 | whose integrity is not greater than or equal to $l_1$ 19 | and which have approved a flow over $mayFlow(l_1,l_2)$. 20 | A necessary condition for $l\in integrityFlow(l_1,l_2)$ 21 | is that after the time of approval $r(l_1) \not\succeq r(l)$. 22 | \item[$didFlow(l_1,l_2)$:] the set of labels which could have 23 | actually flowed across $mayFlow(l_1,l_2)$. 24 | \end{description} 25 | The first two track security property approvals. 26 | While these play no role in the decidability of 27 | our system, they reduce the amount of clutter that 28 | an administrator needs to deal with, thus ensuring 29 | that each edge is approved by a given label's administrators 30 | at most once. 31 | 32 | The set \(didFlow(l_1,l_2)\) tracks the actual flows, 33 | and is updated every time a process first reads $l_1$ and then writes $l_2$. 34 | Let $flowed(l)=$ 35 | $ \bigcup_{l' \in \mbox{\scriptsize system}}$ 36 | $didFlow(l',l) \cup \{l\}$. 37 | Then: 38 | \begin{equation} 39 | didFlow(l_1,l_2) \leftarrow didFlow(l_1,l_2) \cup flowed(l_1) 40 | \end{equation} 41 | 42 | 43 | \end{document} 44 | -------------------------------------------------------------------------------- /testsuite/move-equation2-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \begin{document} 4 | Scientific agency for natural sciences, including earth science and biology. Extensive information on U.S. water, biological, energy, and mineral resources 5 | 6 | 7 | Each year on Halloween, as children dress up and go door to door looking for treats and excitement, bats---the very animal we associate with the celebration---are in serious trouble and we need to ``treat'' them with the respect they deserve. 8 | 9 | \begin{equation} 10 | e^{i\theta}=\cos \theta + i \sin \theta 11 | \label{eq:first} 12 | \end{equation} 13 | 14 | See equation~\ref{eq:first} for the rationale. 15 | \end{document} 16 | -------------------------------------------------------------------------------- /testsuite/move-equation2-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | 3 | \begin{document} 4 | Scientific agency for natural sciences, including earth science and biology. Extensive information on U.S. water, biological, energy, and mineral resources 5 | 6 | \begin{equation} 7 | % \label{another:label} 8 | e^{i\theta}=\cos \theta + i \sin \theta 9 | \label{eq:first} 10 | % \label{another:label} 11 | \end{equation} 12 | 13 | \begin{equation} 14 | e^{i\theta}=\cos \theta + i \sin \theta \label{eq:first} \end{equation} 15 | 16 | 17 | 18 | Each year on Halloween, as children dress up and go door to door looking for treats and excitement, bats---the very animal we associate with the celebration---are in serious trouble and we need to ``treat'' them with the respect they deserve. 19 | 20 | See equation~\ref{eq:first} for the rationale. 21 | \end{document} 22 | -------------------------------------------------------------------------------- /testsuite/multicolumn-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | 5 | \begin{tabular}{lrrrrrrrr} 6 | \hline 7 | Instrument & $\lambda$ (nm) & $\log_2 N_{\mathrm{G}}$ & 8 | \multicolumn{2}{c}{Width (mm)}& \multicolumn{2}{c}{Pitch ($\mu$)} 9 | & \multicolumn{2}{c}{Grid margin}\\ 10 | & & & Min & Max & Min & Max & Min & Max\\ 11 | \hline 12 | \end{tabular} 13 | \end{document} 14 | 15 | -------------------------------------------------------------------------------- /testsuite/multicolumn-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | 5 | \begin{tabular}{lrrrrrrrr} 6 | \hline 7 | Instrument & $\lambda$ (nm) & $\log_2 N_{\mathrm{G}}$ & 8 | \multicolumn{2}{c}{Width (mm)}& \multicolumn{2}{c}{Pitch ($\mu$)} 9 | & \multicolumn{2}{c}{Ratio to Disk}\\ 10 | & & & Min & Max & Min & Max & Min & Max\\ 11 | \hline 12 | \end{tabular} 13 | \end{document} 14 | 15 | -------------------------------------------------------------------------------- /testsuite/mwe-comment-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL mwe-comment-old.tex Sat Jun 28 00:22:26 2014 4 | %DIF ADD mwe-comment-new.tex Sat Jun 28 00:22:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | This is a test. 27 | \begin{quote} 28 | %} 29 | %\end{quote}\end{quote} 30 | \end{quote} 31 | \end{document} 32 | -------------------------------------------------------------------------------- /testsuite/mwe-comment-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL mwe-comment-old.tex Sat Jun 28 00:22:26 2014 4 | %DIF ADD mwe-comment-new.tex Sat Jun 28 00:22:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | This is a test. 27 | \begin{quote} 28 | %} 29 | %\end{quote}\end{quote} 30 | \end{quote} 31 | \end{document} 32 | -------------------------------------------------------------------------------- /testsuite/mwe-comment-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | This is a test. 4 | \begin{quote} 5 | %} 6 | %\end{quote}\end{quote} 7 | \end{quote} 8 | \end{document} 9 | -------------------------------------------------------------------------------- /testsuite/mwe-comment-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | This is a test. 4 | \begin{quote} 5 | %} 6 | %\end{quote}\end{quote} 7 | \end{quote} 8 | \end{document} 9 | -------------------------------------------------------------------------------- /testsuite/mwe-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | $5^\frac12$ 4 | 5 | \[\begin{array}{l} 6 | { 7 | \begin{array}{ll} 8 | 1 & 2 \\ 9 | 3 & 4 10 | \end{array} 11 | } 12 | \end{array}\] 13 | 14 | \end{document} 15 | 16 | -------------------------------------------------------------------------------- /testsuite/mwe-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | $5^\frac12$ 4 | 5 | \[\begin{array}{l} 6 | { 7 | \begin{array}{ll} 8 | 1 & 2 \\ 9 | 3 & 4 10 | \end{array} 11 | } 12 | \end{array}\] 13 | 14 | \end{document} 15 | 16 | -------------------------------------------------------------------------------- /testsuite/newtable.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{lcc} 2 | Name & Hair & eyes \\ 3 | Sue & brown & blue \\ 4 | Kate & black & brown 5 | \end{tabular} 6 | 7 | -------------------------------------------------------------------------------- /testsuite/no-del-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6in} 8 | 9 | \title{latexdiff Example - Revised version} 10 | \author{F Tilmann} 11 | % Note how in the preamble visual markup is never used (even 12 | % if some preamble might eventually end up as visible text.) 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of the latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Yet another section title} 38 | 39 | More things could be said were it not for the constraints of time and space. 40 | 41 | A paragraph with a line only in the revised document. More things could be 42 | said were it not for the constraints of time and space. 43 | 44 | And here is a typo. 45 | 46 | Here is a table: 47 | 48 | \begin{tabular}{ll} 49 | Name & Description \\ 50 | \hline 51 | Gandalf & White \\ 52 | Saruman & Evil 53 | \end{tabular} 54 | 55 | And now for something completely different, with not a paragraph in sight. 56 | No change, 57 | no markup! 58 | \end{document} 59 | 60 | 61 | -------------------------------------------------------------------------------- /testsuite/no-del-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \setlength{\topmargin}{-0.2in} 4 | \setlength{\textheight}{9.5in} 5 | \setlength{\oddsidemargin}{0.0in} 6 | 7 | \setlength{\textwidth}{6.5in} 8 | 9 | \title{latexdiff Example - Draft version} 10 | \author{F Tilmann} 11 | 12 | \begin{document} 13 | \maketitle 14 | 15 | \section*{Introduction} 16 | 17 | This is an extremely simple document that showcases some of latexdiff features. 18 | Type 19 | \begin{verbatim} 20 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 21 | \end{verbatim} 22 | to create the difference file. You can inspect this file directly. Then run either 23 | \begin{verbatim} 24 | pdflatex example-diff.tex 25 | xpdf example-diff.pdf 26 | \end{verbatim} 27 | or 28 | \begin{verbatim} 29 | latex example-diff.tex 30 | dvips -o example-diff.ps example-diff.dvi 31 | gv example-diff.ps 32 | \end{verbatim} 33 | to display the markup. 34 | 35 | \section*{Another section title} 36 | 37 | A paragraph with a line only in the draft document. More things could be said 38 | were it not for the constraints of time and space. 39 | 40 | More things could be said were it not for the constraints of time and space. 41 | 42 | And here is a tipo. 43 | 44 | Here is a table: 45 | 46 | \begin{tabular}{ll} 47 | Name & Description \\ 48 | \hline 49 | Gandalf & Grey \\ 50 | Saruman & White 51 | \end{tabular} 52 | 53 | And sometimes a whole paragraph gets completely rewritten. In this 54 | case latexdiff marks up the whole paragraph even if some words in it 55 | are identical. 56 | No change, no markup! 57 | \end{document} 58 | 59 | 60 | -------------------------------------------------------------------------------- /testsuite/nomarkup-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \newenvironment{DIFnomarkup}{}{} 4 | 5 | \setlength{\topmargin}{-0.2in} 6 | \setlength{\textheight}{9.5in} 7 | \setlength{\oddsidemargin}{0.0in} 8 | 9 | \setlength{\textwidth}{6in} 10 | 11 | \title{latexdiff Example - Revised version} 12 | \author{F Tilmann} 13 | % Note how in the preamble visual markup is never used (even 14 | % if some preamble might eventually end up as visible text.) 15 | 16 | \begin{document} 17 | \maketitle 18 | 19 | \section*{Introduction} 20 | 21 | This is an extremely simple document that showcases some of the latexdiff features. 22 | Type 23 | \begin{verbatim} 24 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 25 | \end{verbatim} 26 | to create the difference file. You can inspect this file directly. Then run either 27 | \begin{verbatim} 28 | pdflatex example-diff.tex 29 | xpdf example-diff.pdf 30 | \end{verbatim} 31 | or 32 | \begin{verbatim} 33 | latex example-diff.tex 34 | dvips -o example-diff.ps example-diff.dvi 35 | gv example-diff.ps 36 | \end{verbatim} 37 | to display the markup. 38 | 39 | \section*{Yet another section title} 40 | 41 | More things could be said were it not for the constraints of time and space. 42 | 43 | A paragraph with a line only in the revised document. More things could be 44 | said were it not for the constraints of time and space. 45 | 46 | And here is a typo. 47 | 48 | Here is a table: 49 | 50 | 51 | \begin{DIFnomarkup} 52 | \begin{tabular}{ll} 53 | Name & Description \\ 54 | \hline 55 | Gandalf & White \\ 56 | Saruman & Evil 57 | \end{tabular} 58 | \end{DIFnomarkup} 59 | 60 | And now for something completely different, with not a paragraph in sight. 61 | No change, 62 | no markup! 63 | \end{document} 64 | 65 | 66 | -------------------------------------------------------------------------------- /testsuite/nomarkup-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | 3 | \newenvironment{DIFnomarkup}{}{} 4 | 5 | \setlength{\topmargin}{-0.2in} 6 | \setlength{\textheight}{9.5in} 7 | \setlength{\oddsidemargin}{0.0in} 8 | 9 | \setlength{\textwidth}{6.5in} 10 | 11 | \title{latexdiff Example - Draft version} 12 | \author{F Tilmann} 13 | 14 | \begin{document} 15 | \maketitle 16 | 17 | \section*{Introduction} 18 | 19 | This is an extremely simple document that showcases some of latexdiff features. 20 | Type 21 | \begin{verbatim} 22 | latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex 23 | \end{verbatim} 24 | to create the difference file. You can inspect this file directly. Then run either 25 | \begin{verbatim} 26 | pdflatex example-diff.tex 27 | xpdf example-diff.pdf 28 | \end{verbatim} 29 | or 30 | \begin{verbatim} 31 | latex example-diff.tex 32 | dvips -o example-diff.ps example-diff.dvi 33 | gv example-diff.ps 34 | \end{verbatim} 35 | to display the markup. 36 | 37 | \section*{Another section title} 38 | 39 | A paragraph with a line only in the draft document. More things could be said 40 | were it not for the constraints of time and space. 41 | 42 | More things could be said were it not for the constraints of time and space. 43 | 44 | And here is a tipo. 45 | 46 | Here is a table: 47 | 48 | \begin{DIFnomarkup} 49 | \begin{tabular}{ll} 50 | Name & Description \\ 51 | \hline 52 | Gandalf & Grey \\ 53 | Saruman & White 54 | \end{tabular} 55 | \end{DIFnomarkup} 56 | 57 | And sometimes a whole paragraph gets completely rewritten. In this 58 | case latexdiff marks up the whole paragraph even if some words in it 59 | are identical. 60 | No change, no markup! 61 | \end{document} 62 | 63 | 64 | -------------------------------------------------------------------------------- /testsuite/oubmath-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \begin{equation} 5 | \int f dx =0 6 | \end{equation} 7 | Changing numbered vs unnumered: 8 | \begin{equation*} 9 | a = b 10 | \end{equation*} 11 | 12 | \end{document} 13 | 14 | -------------------------------------------------------------------------------- /testsuite/oubmath-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \begin{math} 5 | \int f dx =0 6 | \end{math} 7 | Changing numbered vs unnumered: 8 | \begin{equation} 9 | a = b 10 | \end{equation} 11 | \end{document} 12 | 13 | -------------------------------------------------------------------------------- /testsuite/pollack-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \title{Test} 4 | 5 | \author{Authors} 6 | 7 | \date{} 8 | 9 | \usepackage{amssymb} 10 | 11 | \begin{document} 12 | 13 | \maketitle 14 | 15 | \begin{abstract} 16 | This is the abstract. 17 | 18 | \end{abstract} 19 | 20 | Other text now. 21 | 22 | \end{document} 23 | -------------------------------------------------------------------------------- /testsuite/pollack-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \title{Test} 4 | 5 | \author{Authors} 6 | 7 | \date{} 8 | 9 | \usepackage{amssymb} 10 | 11 | \begin{document} 12 | 13 | \maketitle 14 | 15 | \begin{abstract} 16 | This is the abstract. 17 | 18 | \end{abstract} 19 | 20 | \section{Section X} 21 | \label{sec:x} 22 | 23 | Some text comes here: 24 | \begin{eqnarray} 25 | r_{i} & = & \max({r_{i}}',w_{i}) \label{eq:qrms_adm2} 26 | \end{eqnarray} 27 | With Equation~\ref{eq:qrms_adm2} we ensure that there is enough 28 | reservation for the mandatory part by potentially increasing the 29 | reservation to the worst case execution time of the mandatory part. 30 | 31 | \end{document} 32 | -------------------------------------------------------------------------------- /testsuite/protect-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{subfig} 3 | \usepackage{graphicx} 4 | 5 | \begin{document} 6 | 7 | \begin{figure}[htp] 8 | \subfloat{\label{fig:6a}} 9 | \subfloat{\label{fig:6b}} 10 | \subfloat{\label{fig:6c}} 11 | \subfloat{\label{fig:6d}} 12 | \centering 13 | \includegraphics[width=\columnwidth]{example-image-a} 14 | % use of protect on caption is not needed or recommended, but it still compiles and test some specific functionality of latexdiff 15 | \protect\caption{ 16 | \protect\subref{fig:6a} 17 | Distribution of the aging rate $B_a = \Delta \mu_a / \ln (T_a / T_0)$ for all events on the interface $a=1$ and all $n$. 18 | \protect\subref{fig:6b} 19 | Baz. 20 | \protect\subref{fig:6c} 21 | For $n=5$, a typical time evolution displaying slow slip of the relative position $R_a(t)-R_a(t_0)$, of the layer $a=2$. 22 | The total relative displacement $\Delta R$ is categorized as slip events of amplitude $\Delta R_a$, and slow slip. 23 | The fraction of slow slip is defined by $R_\mathrm{slow} = 1 - \sum \Delta R_a /\Delta R$. 24 | \protect\subref{fig:6d} 25 | Foo 26 | } 27 | \label{fig:6} 28 | \end{figure} 29 | 30 | \end{document} 31 | 32 | -------------------------------------------------------------------------------- /testsuite/protect-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{subfig} 3 | \usepackage{graphicx} 4 | 5 | \begin{document} 6 | 7 | \begin{figure}[htp] 8 | \subfloat{\label{fig:6a}} 9 | \subfloat{\label{fig:6b}} 10 | \centering 11 | \includegraphics[width=\columnwidth]{example-image-a} 12 | % use of protect on caption is not needed or recommended, but it still compiles and test some specific functionality of latexdiff 13 | \protect\caption{ 14 | Foo 15 | \protect\subref{fig:6a} 16 | Standard deviation of the distribution of the aging rate $B_a \equiv \Delta \mu_a / \ln T_a$ of individual events, normalized by that quantity for $n=1$. 17 | \protect\subref{fig:6b} 18 | Bar. 19 | } 20 | \label{fig:6} 21 | \end{figure} 22 | 23 | \end{document} 24 | 25 | -------------------------------------------------------------------------------- /testsuite/quoteddollarunderscore-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL quoteddollarunderscore-old.tex Fri Jan 16 22:17:06 2015 4 | %DIF ADD quoteddollarunderscore-new.tex Fri Jan 16 19:47:07 2015 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \DIFdelbegin \DIFdel{Isolated symbols: \$ \_ \{ \} \& 27 | }%DIFDELCMD < 28 | 29 | %DIFDELCMD < %%% 30 | \DIFdel{In word: Variables can be named like the following: ``first\_name'', ``last\_name'', ``project}%DIFDELCMD < {%%% 31 | \DIFdel{\_}%DIFDELCMD < }%%% 32 | \DIFdel{status'' 33 | In text symbols\{i\}trail A\&B 34 | }%DIFDELCMD < 35 | 36 | %DIFDELCMD < %%% 37 | \DIFdel{this is a \$variable\_name 38 | }\DIFdelend 39 | 40 | bug reported by hjkatz 41 | \end{document} 42 | 43 | -------------------------------------------------------------------------------- /testsuite/quoteddollarunderscore-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | 5 | bug reported by hjkatz 6 | \end{document} 7 | 8 | -------------------------------------------------------------------------------- /testsuite/quoteddollarunderscore-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | Isolated symbols: \$ \_ \{ \} \& 5 | 6 | In word: Variables can be named like the following: ``first\_name'', ``last\_name'', ``project{\_}status'' 7 | In text symbols\{i\}trail A\&B 8 | 9 | this is a \$variable\_name 10 | 11 | bug reported by hjkatz 12 | \end{document} 13 | 14 | -------------------------------------------------------------------------------- /testsuite/raisebox-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{minimal} 2 | 3 | %\usepackage[UKenglish,dutch]{babel} 4 | 5 | \begin{document} 6 | 7 | This sample document demonstrates a latexdiff defect whereby 8 | a slight change to a length passed to raisebox results in an uncompilable diff.\\ 9 | 10 | \noindent\begin{minipage}[b]{0.32\textwidth}%\selectlanguage{dutch} 11 | altered blurb of Dutch text here.% 12 | \end{minipage}\hfill% 13 | \raisebox{-5\baselineskip}{% 14 | \begin{minipage}[b]{0.36\textwidth} 15 | \rule{\textwidth}{\textwidth}% 16 | \end{minipage}}\hfill% 17 | \noindent\begin{minipage}[b]{0.28\textwidth}%\selectlanguage{UKenglish} 18 | altered blurb of English text here.% 19 | \end{minipage}% 20 | 21 | \end{document} 22 | 23 | -------------------------------------------------------------------------------- /testsuite/raisebox-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{minimal} 2 | 3 | %\usepackage[UKenglish,dutch]{babel} 4 | 5 | \begin{document} 6 | 7 | This sample document demonstrates a latexdiff defect whereby 8 | a slight change to a length passed to raisebox results in an uncompilable diff.\\ 9 | 10 | \noindent\begin{minipage}[b]{0.32\textwidth}%\selectlanguage{dutch} 11 | blurb of Dutch text here.% 12 | \end{minipage}\hfill% 13 | \raisebox{-4\baselineskip}{% 14 | \begin{minipage}[b]{0.36\textwidth} 15 | \rule{\textwidth}{\textwidth}% 16 | \end{minipage}}\hfill% 17 | \noindent\begin{minipage}[b]{0.28\textwidth}%\selectlanguage{UKenglish} 18 | blurb of English text here.% 19 | \end{minipage}% 20 | 21 | \end{document} 22 | 23 | -------------------------------------------------------------------------------- /testsuite/rolla-new.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \special{papersize=210mm,297mm} 4 | 5 | \usepackage{amsmath} 6 | \usepackage{amssymb} 7 | \usepackage{amsthm} 8 | \usepackage{graphicx} 9 | \usepackage[latin1]{inputenc} 10 | \usepackage{psfrag} 11 | 12 | \newcommand{\dd}{\mathrm{d}} 13 | \newcommand{\sgn}{\mathrm{sgn}} 14 | \newcommand{\E}{\mathbb{E}} 15 | \newcommand{\Pb}{\mathbb{P}} 16 | \newcommand{\N}{\mathbb{N}} 17 | \newcommand{\Z}{\mathbb{Z}} 18 | \newcommand{\R}{\mathbb{R}} 19 | \newcommand{\I}{1\!{\rm I}} 20 | 21 | \begin{document} 22 | 23 | \begin{eqnarray*} 24 | \Pb\big(\mathcal V_{n}(x)\big) 25 | & = & 26 | \frac1{|B_M|} \E \left( \sum_{x\in B_M} \I_{\mathcal V_{n}(x)} \right) 27 | \leqslant 28 | \frac1{|B_M|} \E \left( \sum_{v \in B_{M+n}} \I_{\mathcal U_{n}(v)} \right) \\ 29 | & = & 30 | \frac{|B_{M+n}|}{|B_M|} \frac1{|B_{M+n}|} \E \left( \sum_{v \in B_{M+n}} 31 | \I_{\mathcal U_{n}(v)} \right) 32 | = 33 | \frac{|B_{M+n}|}{|B_M|} \Pb\big(\mathcal U_{n}(v)\big) 34 | \end{eqnarray*} 35 | 36 | \end{document} 37 | -------------------------------------------------------------------------------- /testsuite/rolla-old.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \special{papersize=210mm,297mm} 4 | 5 | \usepackage{amsmath} 6 | \usepackage{amssymb} 7 | \usepackage{amsthm} 8 | \usepackage{graphicx} 9 | \usepackage[latin1]{inputenc} 10 | \usepackage{psfrag} 11 | 12 | \newcommand{\dd}{\mathrm{d}} 13 | \newcommand{\sgn}{\mathrm{sgn}} 14 | \newcommand{\E}{\mathbb{E}} 15 | \newcommand{\Pb}{\mathbb{P}} 16 | \newcommand{\N}{\mathbb{N}} 17 | \newcommand{\Z}{\mathbb{Z}} 18 | \newcommand{\R}{\mathbb{R}} 19 | \newcommand{\I}{1\!{\rm I}} 20 | 21 | \begin{document} 22 | Since $S_n(x)\subseteq B_n(x)=\big\{y:|y-x|\leqslant n\big\}$ we have 23 | \[ 24 | \lim_{M\to\infty} \frac1{|B_M|} \sum_{v\in B_M} \I_{\mathcal 25 | U(v)} = 26 | \lim_{M\to\infty} \frac1{|B_M|} \sum_{x\in B_M} \Big[ |S_n(x)| \I_{ 27 | \mathcal 28 | V(x)} \Big] 29 | \geqslant \lim_{M\to\infty} \frac{1}{|B_M|} \sum_{x\in B_M} \I_{\mathcal V(x)}, 30 | \] 31 | where the equality is obtained by re-indexing the sums and using amenability of 32 | $\Z^d$. 33 | 34 | \end{document} 35 | -------------------------------------------------------------------------------- /testsuite/safecmd-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \newcommand{\degree}{$^\circ$} 3 | \newcommand{\remark}[1]{\textsf{\small F1: \emph{#1}}} 4 | \begin{document} 5 | Some shared text. 6 | Some new text \remark{with a remark}. They found this at 10\degree N, 5\degree E. 7 | \end{document} 8 | 9 | -------------------------------------------------------------------------------- /testsuite/safecmd-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | Some shared text. 4 | \end{document} 5 | 6 | -------------------------------------------------------------------------------- /testsuite/schneider-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{article} 2 | \sloppy 3 | 4 | \newcommand{\theversion}{{version = 1.00 of previous.tex 2006 Nov 28 }} 5 | 6 | \textheight 9.0 in % this works 7 | \textwidth 6.5in 8 | \oddsidemargin 0in 9 | 10 | \title{TITLE} 11 | 12 | \author{ 13 | Thomas D. Schneider 14 | } 15 | 16 | \date{\theversion} 17 | 18 | \usepackage{graphics} 19 | \usepackage{color} 20 | 21 | % this improves the PDF fonts dramatically on screen: 22 | \usepackage{pslatex} % Times New Roman Font 23 | % HOWEVER if printed from acrobat it will lose dashes! 24 | 25 | \newenvironment{DIFnomarkup}{}{} 26 | 27 | \begin{document} 28 | 29 | \maketitle 30 | 31 | Claude Shannon wrote this equation: 32 | % 33 | \begin{equation} 34 | H = - \sum_{i} p_i \log_2 p_i 35 | \;\;\;\;\;\mbox{(bits per symbol)} 36 | \label{eqn.H} 37 | \end{equation} 38 | 39 | % \begin{DIFnomarkup} 40 | \section{Acknowledgments} 41 | % \end{DIFnomarkup} 42 | 43 | \end{document} 44 | -------------------------------------------------------------------------------- /testsuite/schneider-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{article} 2 | \sloppy 3 | 4 | \newcommand{\theversion}{{version = 1.00 of previous.tex 2006 Nov 28 }} 5 | 6 | \textheight 9.0 in % this works 7 | \textwidth 6.5in 8 | \oddsidemargin 0in 9 | 10 | \title{TITLE} 11 | 12 | \author{ 13 | Tom Schneider 14 | } 15 | 16 | \date{\theversion} 17 | 18 | \usepackage{graphics} 19 | \usepackage{color} 20 | 21 | % this improves the PDF fonts dramatically on screen: 22 | \usepackage{pslatex} % Times New Roman Font 23 | % HOWEVER if printed from acrobat it will lose dashes! 24 | 25 | \newenvironment{DIFnomarkup}{}{} 26 | 27 | \begin{document} 28 | 29 | \maketitle 30 | 31 | Claude Shannon wrote this equation: 32 | % 33 | \begin{equation} 34 | H = - \sum_{i} p_i \log_2 p_i 35 | \;\;\;\;\;\mbox{(bits per symbol)} 36 | \label{eqn.H} 37 | \end{equation} 38 | 39 | % \begin{DIFnomarkup} 40 | \section{Acknowledgment} 41 | % \end{DIFnomarkup} 42 | 43 | \end{document} 44 | -------------------------------------------------------------------------------- /testsuite/simplefrac-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | A simple equation \verb|\frac{a}{b}| 5 | \begin{displaymath} 6 | \frac{a}{b} 7 | \end{displaymath} 8 | A simple equation with additional space \verb|\frac{a} {b}| 9 | \begin{displaymath} 10 | \frac{a} 11 | {b} 12 | \end{displaymath} 13 | 14 | \section [Section without space]{A new section title without space} 15 | 16 | \section [Section with space] {A new section title with space} 17 | 18 | \end{document} 19 | 20 | -------------------------------------------------------------------------------- /testsuite/simplefrac-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | A simple equation \verb|\frac{2 a}{3 b}| 5 | \begin{displaymath} 6 | \frac{2a}{3b} 7 | \end{displaymath} 8 | A simple equation with additional space \verb|\frac{2 a} {3 b}| 9 | \begin{displaymath} 10 | \frac{2 a} 11 | {3 b} 12 | \end{displaymath} 13 | 14 | \section [Section without space]{A section title without space} 15 | 16 | \section [Section with space] {A section title with space} 17 | 18 | \end{document} 19 | 20 | -------------------------------------------------------------------------------- /testsuite/siunitx_new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,10pt]{letter} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage{siunitx} 4 | %opening 5 | \title{latexdiff test of siunitx} 6 | 7 | \begin{document} 8 | \num{10} 9 | 10 | \numlist{10;12;14} 11 | 12 | \numproduct{10x12} 13 | 14 | \numrange{5}{10} 15 | 16 | \ang{3} 17 | 18 | \unit{\cm} 19 | 20 | \qty{20}{\cm} 21 | 22 | \qtylist{10;20;30}{\cm} 23 | 24 | \qtyproduct{10x12}{\square\cm} 25 | 26 | \qtyrange{10}{12}{\cm} 27 | 28 | \complexnum{10+2i} 29 | 30 | \complexqty{10+2i}{\cm} 31 | 32 | 33 | \end{document} 34 | -------------------------------------------------------------------------------- /testsuite/siunitx_old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,10pt]{letter} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage{siunitx} 4 | %opening 5 | \title{latexdiff test of siunitx} 6 | 7 | \begin{document} 8 | \num{1} 9 | 10 | \numlist{1;12;14} 11 | 12 | \numproduct{10x1} 13 | 14 | \numrange{5}{1} 15 | 16 | \ang{23} 17 | 18 | \unit{\um} 19 | 20 | \qty{20}{\um} 21 | 22 | \qtylist{10;20;35}{\cm} 23 | 24 | \qtyproduct{10x12}{\square\second} 25 | 26 | \qtyrange{12}{15}{\cm} 27 | 28 | \complexnum{15+3i} 29 | 30 | \complexqty{10+i2}{\cm} 31 | 32 | 33 | \end{document} 34 | -------------------------------------------------------------------------------- /testsuite/split-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | 5 | Issue 258: 6 | \begin{align} 7 | \begin{split} 8 | x &= y \\ 9 | & z 10 | \end{split} \label{eq:1} \\ 11 | \begin{split} 12 | a &= b \\ 13 | & q 14 | \end{split} \label{eq:2} 15 | \end{align} 16 | 17 | Issue 109: 18 | \end{document} 19 | 20 | -------------------------------------------------------------------------------- /testsuite/split-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | 5 | Issue 258: 6 | \begin{equation}\label{eq:1} 7 | \begin{split} 8 | x &= y \\ 9 | & z 10 | \end{split} 11 | \end{equation} 12 | 13 | \begin{equation}\label{eq:2} 14 | \begin{split} 15 | a &= b \\ 16 | & q 17 | \end{split} 18 | \end{equation} 19 | 20 | 21 | Issue 109: 22 | \begin{align} 23 | \begin{split} 24 | \dot{x} &= s (y - x)\label{eqn:lorenz}\\ 25 | \dot{y} &= r x - y - x z \\ 26 | \dot{z} &= x y - b z, 27 | \end{split} 28 | \end{align} 29 | 30 | 31 | \end{document} 32 | 33 | -------------------------------------------------------------------------------- /testsuite/subfile-includeme.tex: -------------------------------------------------------------------------------- 1 | \documentclass[main.tex]{subfiles} 2 | \begin{document} 3 | Text! 4 | \end{document} 5 | 6 | -------------------------------------------------------------------------------- /testsuite/subfile-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt]{article} 2 | \usepackage{subfiles} 3 | \begin{document} 4 | \subfile{subfile-includeme.tex} 5 | 6 | some additional text only in new file 7 | \end{document} 8 | 9 | -------------------------------------------------------------------------------- /testsuite/subfile-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt]{article} 2 | \usepackage{subfiles} 3 | \begin{document} 4 | \subfile{subfile-includeme.tex} 5 | \end{document} 6 | 7 | -------------------------------------------------------------------------------- /testsuite/subscript-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | No equation with different subscripts 5 | 6 | and none with superscripts 7 | 8 | Now an equation that is in both but subtly different 9 | \begin{displaymath} 10 | E=mc^2\ \ \ \ x=1+\sin y^{i+j+k+\cdots} 11 | \end{displaymath} 12 | 13 | 14 | \end{document} 15 | -------------------------------------------------------------------------------- /testsuite/subscript-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | An equation with different subscripts 5 | \begin{displaymath} 6 | a_r=a_\beta+a_{i+j} 7 | \end{displaymath} 8 | and the same with superscripts 9 | \begin{displaymath} 10 | a^r=a^\beta+a^{i+j} 11 | \end{displaymath} 12 | Now an equation that is in both 13 | \begin{displaymath} 14 | E=mc^3\ \ \ \ x=1+\sin y^{i+j+\cdots} 15 | \end{displaymath} 16 | and equation using \verb|\left| and \verb|\right| 17 | 18 | \begin{displaymath} 19 | S=\left \{ 5+\smile+\frac{numerator}{denominator} \right \} 20 | \end{displaymath} 21 | 22 | \end{document} 23 | -------------------------------------------------------------------------------- /testsuite/subscriptm-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | No equation with different subscripts 5 | 6 | and none with superscripts 7 | 8 | Now an equation that is in both but subtly different 9 | \[ 10 | E=mc^2\ \ \ \ x=1+\sin y^{i+j+k+\cdots} 11 | \] 12 | 13 | 14 | \end{document} 15 | -------------------------------------------------------------------------------- /testsuite/subscriptm-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | An equation with different subscripts 5 | \[ 6 | a_r=a_\beta+a_{i+j} 7 | \] 8 | and the same with superscripts 9 | \[ 10 | a^r=a^\beta+a^{i+j} 11 | \] 12 | Now an equation that is in both 13 | \[ 14 | E=mc^3\ \ \ \ x=1+\sin y^{i+j+\cdots} 15 | \] 16 | and equation using \verb|\left| and \verb|\right| 17 | 18 | \[ 19 | S=\left \{ 5+\smile+\frac{numerator}{denominator} \right \} 20 | \] 21 | 22 | \end{document} 23 | -------------------------------------------------------------------------------- /testsuite/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | main() 3 | { 4 | char string[30]; 5 | while(1){ 6 | printf("enter:"); 7 | scanf("%[+-01-9]",string); 8 | while(getchar()!=10); 9 | printf("...%s..%d..\n",string,atoi(string)); 10 | string[0]='\0'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /testsuite/testg.c: -------------------------------------------------------------------------------- 1 | #include 2 | main() 3 | { 4 | char string[30]; 5 | while(1){ 6 | printf("Eingabe:"); 7 | scanf("%[+-01-9]",string); 8 | while(getchar()!=10); 9 | printf("...%s..%d..\n",string,atoi(string)); 10 | string[0]='\0'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /testsuite/texdiffsample-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | \usepackage[widemargins]{a4} 3 | 4 | \usepackage{times} 5 | 6 | \setlength{\parindent}{0pt} 7 | \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} 8 | 9 | \begin{document} 10 | 11 | \section{Sample} 12 | 13 | This is a text. 14 | 15 | \begin{tabular}{r|l} 16 | 17 | \textbf{No.} & \textbf{Item} \\ 18 | \hline 19 | 20 | 1. & Apple \\ 21 | 2. & Orange \\ 22 | 3. & Beer \\ 23 | 4. & Cat \\ 24 | 5. & Monkey \\ 25 | 26 | \end{tabular} 27 | 28 | \end{document} 29 | -------------------------------------------------------------------------------- /testsuite/texdiffsample-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt,a4paper]{article} 2 | \usepackage[widemargins]{a4} 3 | 4 | \usepackage{times} 5 | 6 | \setlength{\parindent}{0pt} 7 | \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} 8 | 9 | \begin{document} 10 | 11 | \section{Sample} 12 | 13 | This is sample text. 14 | 15 | And this was a text. 16 | 17 | \begin{tabular}{r|l} 18 | 19 | \textbf{No.} & \textbf{Item} \\ 20 | \hline 21 | 22 | 1. & Apple \\ 23 | 2. & Orange \\ 24 | 2. & Arange \\ 25 | 3. & Cat \\ 26 | 4. & Monkey \\ 27 | 28 | \end{tabular} 29 | 30 | \end{document} 31 | -------------------------------------------------------------------------------- /testsuite/tikz-dependency-test-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage{tikz-dependency} 4 | \begin{document} 5 | \begin{dependency} 6 | \begin{deptext}[column sep=0.4cm] 7 | the\_Det : Det \& black\_A : A \& cat\_N : N \\ 8 | \& PositA black\_A : AP \& \\ 9 | \end{deptext} 10 | \depedge{3}{1}{det} 11 | \depedge{3}{2}{amod} 12 | \deproot{3}{root} 13 | \end{dependency} 14 | \end{document} 15 | 16 | -------------------------------------------------------------------------------- /testsuite/tikz-dependency-test-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage{tikz-dependency} 4 | \begin{document} 5 | No content 6 | \end{document} 7 | 8 | -------------------------------------------------------------------------------- /testsuite/titlediffTest2-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper,twoside,notitlepage]{article} 2 | % Show issues/bugs with latexdiff: File 1 3 | 4 | \title{LatexDiff Test Doc V2} 5 | \author{modified from Stuart Rossiter} 6 | %\date{3rd September 2008} 7 | 8 | \begin{document} 9 | 10 | \maketitle 11 | 12 | Some not very interesting text and an even less riveting end piece of 13 | text\footnote{Footnote about voles.}. 14 | 15 | \end{document} 16 | 17 | -------------------------------------------------------------------------------- /testsuite/titlediffTest2-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,a4paper,twoside,notitlepage]{article} 2 | % Show issues/bugs with latexdiff: File 1 3 | 4 | \title{LatexDiff Test Doc V1} 5 | %\author{Stuart Rossiter} 6 | \date{2nd September 2008} 7 | 8 | \begin{document} 9 | 10 | \maketitle 11 | 12 | Some not very interesting text\footnote{Footnote about voles.} 13 | and an even less riveting end piece of text. 14 | 15 | \end{document} 16 | 17 | -------------------------------------------------------------------------------- /testsuite/ttest-chem-new.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \usepackage{amsmath} 4 | \usepackage[version=3]{mhchem} 5 | \usepackage{chemformula} 6 | \usepackage{chemmacros} 7 | 8 | \begin{document} 9 | 10 | Aaa \ch{KCr(SO4)2 * 12 H2O} bbb ccc ddd eee fff ggg hhh iii jjj. Aaa \ch{!( 11 | "\textcolor{green}{water}" )( H2O )} bbb ccc ddd eee fff ggg hhh iii jjj. Aaa 12 | \ch{2 NaCl\sld{} + 2 H2O -> 2 NaOH\aq{} + H2\gas{} + 2 Cl2\gas{}} bbb ccc ddd 13 | eee fff ggg hhh iii jjj. 14 | % 15 | \begin{align*} 16 | \ch{ 17 | RNO2 &<=>[ + e- ] RNO2^{-.} \\ 18 | RNO2^{-.} &<=>[ + e- ] RNO2^2- 19 | } 20 | \end{align*} 21 | 22 | Aaa \ce{[Cd\{SC(NH2)2\}2].[Cr(SCN)4(NH3)2]2} bbb ccc ddd eee fff ggg hhh iii 23 | jjj. Aaa \ce{$x\,$ Na(NH4)HPO4 ->[\Delta] (NaPO3)_{$x$} + $x\,$ NH3 ^ + $x\,$ 24 | H2O} bbb ccc ddd eee fff ggg hhh iii jjj. 25 | % 26 | \begin{align*} 27 | \cee{RNO2 &<=>C[+e] RNO2^{-.} \\ 28 | RNO2^{-.} &<=>C[+e] RNO2^2-} 29 | \end{align*} 30 | 31 | \end{document} 32 | -------------------------------------------------------------------------------- /testsuite/ttest-chem-old.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \usepackage{chemformula} 4 | 5 | \begin{document} 6 | 7 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii 8 | jjj. Aaa \ch{2 NaCl + 2 H2O -> 2 NaOH + H2 + 2 Cl2} bbb ccc ddd eee fff ggg hhh 9 | iii jjj. 10 | 11 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii 12 | jjj. 13 | 14 | \end{document} 15 | -------------------------------------------------------------------------------- /testsuite/ttest-cleveref-new.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | \usepackage{hyperref} 4 | \usepackage{cleveref} 5 | 6 | \begin{document} 7 | 8 | \section{Test} 9 | \label{sec:test} 10 | 11 | Aaa \cref{sec:test,fig:test} bbb ccc ddd eee fff ggg hhh iii jjj. 12 | \Cref{sec:test} aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa 13 | \crefrange{eq:a}{eq:c} bbb ccc ddd eee fff ggg hhh iii jjj. 14 | \Crefrange{eq:a}{eq:c} aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd 15 | eee fff ggg hhh iii jjj. Aaa \cref*{sec:test} bbb ccc ddd eee fff ggg hhh iii 16 | jjj. \Cref*{sec:test} aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa 17 | \crefrange*{eq:a}{eq:b} bbb ccc ddd eee fff ggg hhh iii jjj. 18 | \Crefrange*{eq:a}{eq:b} aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa 19 | \cpageref{fig:test} bbb ccc ddd eee fff ggg hhh iii jjj. \Cpageref{fig:test} 20 | aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa \cpagerefrange{sec:test}{fig:test} 21 | bbb ccc ddd eee fff ggg hhh iii jjj. \Cpagerefrange{sec:test}{fig:test} aaa bbb 22 | ccc ddd eee fff ggg hhh iii jjj. Aaa \namecref{sec:test} bbb ccc ddd eee fff 23 | ggg hhh iii jjj. \nameCref{sec:test} aaa bbb ccc ddd eee fff ggg hhh iii jjj. 24 | Aaa \lcnamecref{sec:test} bbb ccc ddd eee fff ggg hhh iii jjj. Aaa 25 | \namecrefs{fig:test} bbb ccc ddd eee fff ggg hhh iii jjj. \nameCrefs{fig:test} 26 | aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa \lcnamecrefs{fig:test} bbb ccc ddd 27 | eee fff ggg hhh iii jjj. Aaa \labelcref{sec:test} bbb ccc ddd eee fff ggg hhh 28 | iii jjj. Aaa \labelcpageref{sec:test} bbb ccc ddd eee fff ggg hhh iii jjj. 29 | % 30 | \begin{equation} 31 | \label{eq:a} 32 | a^2 + b^2 = c^2 33 | \end{equation} 34 | % 35 | \begin{equation} 36 | \label{eq:b} 37 | E = m \, c^2 38 | \end{equation} 39 | % 40 | \begin{equation} 41 | \label{eq:c} 42 | 1 + 1 = 2 43 | \end{equation} 44 | 45 | \newpage 46 | 47 | \begin{figure} 48 | \centering 49 | \fbox{test} 50 | \caption{Test} 51 | \label{fig:test} 52 | \end{figure} 53 | 54 | \end{document} 55 | -------------------------------------------------------------------------------- /testsuite/ttest-cleveref-old.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | 4 | \begin{document} 5 | 6 | \section{Test} 7 | \label{sec:test} 8 | 9 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii 10 | jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh 11 | iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg 12 | hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff 13 | ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee 14 | fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd 15 | eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc 16 | ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb 17 | ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa 18 | bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii jjj. 19 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj. Aaa bbb ccc ddd eee fff ggg hhh iii 20 | jjj. 21 | % 22 | \begin{equation} 23 | \label{eq:a} 24 | a^2 + b^2 = c^2 25 | \end{equation} 26 | % 27 | \begin{equation} 28 | \label{eq:b} 29 | E = m \, c^2 30 | \end{equation} 31 | % 32 | \begin{equation} 33 | \label{eq:c} 34 | 1 + 1 = 2 35 | \end{equation} 36 | 37 | \newpage 38 | 39 | \begin{figure} 40 | \centering 41 | \fbox{test} 42 | \caption{Test} 43 | \label{fig:test} 44 | \end{figure} 45 | 46 | \end{document} 47 | -------------------------------------------------------------------------------- /testsuite/ttest-glossaries-old.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | 4 | \begin{document} 5 | 6 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp. 7 | 8 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp. 9 | 10 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp. 11 | 12 | 13 | 14 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt 15 | uuu. 16 | 17 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss. 18 | 19 | 20 | 21 | Aaa bbb ccc ddd eee fff ggg. 22 | 23 | Aaa bbb ccc ddd eee fff ggg. 24 | 25 | Aaa bbb ccc ddd eee fff ggg. 26 | 27 | 28 | 29 | Aaa bbb ccc ddd eee fff ggg hhh iii. 30 | 31 | Aaa bbb ccc ddd eee fff ggg hhh iii. 32 | 33 | 34 | 35 | Aaa bbb ccc ddd eee fff ggg. 36 | 37 | Aaa bbb ccc ddd eee fff ggg. 38 | 39 | \end{document} 40 | -------------------------------------------------------------------------------- /testsuite/ttest-siunitx-old.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | 4 | %\usepackage[ 5 | % svgnames, 6 | % ]{xcolor} 7 | %\usepackage[ 8 | % color=DodgerBlue, 9 | % ]{siunitx} 10 | \usepackage{siunitx} 11 | 12 | \begin{document} 13 | 14 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt 15 | uuu vvv www xxx yyy zzz. Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm 16 | nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz. Aaa bbb ccc ddd eee fff 17 | ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy 18 | zzz. Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr 19 | sss ttt uuu vvv www xxx yyy zzz. Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk 20 | lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz. 21 | 22 | Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt 23 | uuu vvv www xxx yyy zzz. Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm 24 | nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz. Aaa bbb ccc ddd eee fff 25 | ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy 26 | zzz. Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr 27 | sss ttt uuu vvv www xxx yyy zzz. Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk 28 | lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz. 29 | 30 | \end{document} 31 | -------------------------------------------------------------------------------- /testsuite/txtcmd-with-multiple-arguments-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \newcommand{\cmd}[2]{#1 \par #2} 4 | 5 | \begin{document} 6 | \cmd{NEW Shouldn't diff}{NEW Should diff} 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/txtcmd-with-multiple-arguments-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \newcommand{\cmd}[2]{#1 \par #2} 4 | 5 | \begin{document} 6 | \cmd{Shouldn't diff}{Should diff} 7 | \end{document} 8 | -------------------------------------------------------------------------------- /testsuite/umesh-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | 5 | \title{Welcome to API} 6 | \author{Umesh Vishwakarma} 7 | 8 | \maketitle 9 | 10 | \section{Section 1} 11 | 12 | Some text 13 | 14 | \begin{figure} 15 | \caption{This is a test for figurecaption. 16 | Multiple lines} 17 | 18 | \end{figure} 19 | 20 | More words follow. 21 | 22 | \section{Section 2} 23 | 24 | The end 25 | 26 | 27 | 28 | \end{document} 29 | -------------------------------------------------------------------------------- /testsuite/umesh-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | 5 | \title{Welcome to api} 6 | \author{Umesh Vishwakarma} 7 | 8 | \maketitle 9 | 10 | \section{Section 1} 11 | 12 | Some text 13 | 14 | More words follow 15 | 16 | \section{Section 2} 17 | 18 | \begin{figure} 19 | \caption{This is a test for figurecaption. 20 | Multiple lines} 21 | \end{figure} 22 | 23 | The end 24 | 25 | \end{document} 26 | -------------------------------------------------------------------------------- /testsuite/underwood-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL underwood-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD underwood-new.tex Sun Nov 11 21:19:29 2012 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \begin{enumerate} 27 | \item item one 28 | \item item number 29 | \DIFdelbegin \DIFdel{two: 30 | }\DIFdelend \DIFaddbegin \end{enumerate} 31 | \DIFadd{two: 32 | }\begin{enumerate} 33 | \DIFaddend \item item three 34 | \DIFaddbegin \item \DIFadd{item four 35 | }\DIFaddend \end{enumerate} 36 | 37 | \end{document} 38 | %%% Local Variables: 39 | %%% mode: latex 40 | %%% TeX-master: t 41 | %%% End: 42 | -------------------------------------------------------------------------------- /testsuite/underwood-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL underwood-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD underwood-new.tex Sun Jan 27 23:50:05 2013 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \begin{enumerate} 27 | \item item one 28 | \item item number 29 | \DIFdelbegin \DIFdel{two: 30 | }\DIFdelend \DIFaddbegin \end{enumerate} 31 | \DIFadd{two: 32 | }\begin{enumerate} 33 | \DIFaddend \item item three 34 | \DIFaddbegin \item \DIFadd{item four 35 | }\DIFaddend \end{enumerate} 36 | 37 | \end{document} 38 | %%% Local Variables: 39 | %%% mode: latex 40 | %%% TeX-master: t 41 | %%% End: 42 | -------------------------------------------------------------------------------- /testsuite/underwood-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL underwood-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD underwood-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \begin{enumerate} 27 | \item item one 28 | \item item number 29 | \DIFdelbegin \DIFdel{two: 30 | }\DIFdelend \DIFaddbegin \end{enumerate} 31 | \DIFadd{two: 32 | }\begin{enumerate} 33 | \DIFaddend \item item three 34 | \DIFaddbegin \item \DIFadd{item four 35 | }\DIFaddend \end{enumerate} 36 | 37 | \end{document} 38 | %%% Local Variables: 39 | %%% mode: latex 40 | %%% TeX-master: t 41 | %%% End: 42 | -------------------------------------------------------------------------------- /testsuite/underwood-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL underwood-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD underwood-new.tex Thu Jun 12 00:01:26 2014 5 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 6 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 7 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 8 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 9 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 10 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 11 | %DIF SAFE PREAMBLE %DIF PREAMBLE 12 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 13 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 14 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 15 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 16 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 17 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 18 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 19 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 20 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 21 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 22 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 23 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 24 | 25 | \begin{document} 26 | \begin{enumerate} 27 | \item item one 28 | \item item number 29 | \DIFdelbegin \DIFdel{two: 30 | }\DIFdelend \DIFaddbegin \end{enumerate} 31 | \DIFadd{two: 32 | }\begin{enumerate} 33 | \DIFaddend \item item three 34 | \DIFaddbegin \item \DIFadd{item four 35 | }\DIFaddend \end{enumerate} 36 | 37 | \end{document} 38 | %%% Local Variables: 39 | %%% mode: latex 40 | %%% TeX-master: t 41 | %%% End: 42 | -------------------------------------------------------------------------------- /testsuite/underwood-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | \begin{enumerate} 5 | \item item one 6 | \item item number 7 | \end{enumerate} 8 | two: 9 | \begin{enumerate} 10 | \item item three 11 | \item item four 12 | \end{enumerate} 13 | 14 | \end{document} 15 | %%% Local Variables: 16 | %%% mode: latex 17 | %%% TeX-master: t 18 | %%% End: 19 | -------------------------------------------------------------------------------- /testsuite/underwood-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \begin{document} 4 | \begin{enumerate} 5 | \item item one 6 | \item item number two: 7 | \item item three 8 | \end{enumerate} 9 | 10 | \end{document} 11 | %%% Local Variables: 12 | %%% mode: latex 13 | %%% TeX-master: t 14 | %%% End: 15 | -------------------------------------------------------------------------------- /testsuite/units-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass[review,number,sort&compress]{article} 2 | 3 | \usepackage{units} 4 | %\usepackage[colorlinks,urlcolor=black]{hyperref} 5 | \usepackage{siunitx} 6 | \usepackage{cleveref} 7 | 8 | \begin{document} 9 | $\unit[1 \times 10^{-3}]{km}$. 10 | 11 | and the same as display: 12 | \begin{displaymath} 13 | \unit[1 \times 10^{-3}]{km} 14 | \end{displaymath} 15 | 16 | SI Unit package test 17 | 18 | This is the new text \SI{300}{\meter\per\second} 19 | 20 | Some test of references in cleveref: 21 | \begin{equation} 22 | 1+1=2 23 | \label{simplicissimus} 24 | \end{equation} 25 | 26 | This is my reference \cref{simplicissimus} 27 | 28 | \end{document} 29 | -------------------------------------------------------------------------------- /testsuite/units-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass[review,number,sort&compress]{article} 2 | 3 | \usepackage{units} 4 | %\usepackage[colorlinks,urlcolor=black]{hyperref} 5 | \usepackage{siunitx} 6 | \usepackage{cleveref} 7 | 8 | \begin{document} 9 | $\unit[1.1 \times 10^{-3}]{km}$ 10 | 11 | and the same as display: 12 | \begin{displaymath} 13 | \unit[1.1 \times 10^{-3}]{km} 14 | \end{displaymath} 15 | 16 | SI Unit package test 17 | 18 | This is the old text \SI{600}{\meter\per\second} 19 | 20 | 21 | 22 | 23 | \end{document} 24 | -------------------------------------------------------------------------------- /testsuite/utf-diff-1.0.1.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL utf-old.tex Sun Nov 11 21:19:29 2012 4 | %DIF ADD utf-new.tex Sun Nov 11 21:19:29 2012 5 | \usepackage[utf8]{inputenc} 6 | \usepackage[T1]{fontenc} 7 | %\usepackage[activate=normal]{pdfcprot} % Optischer Randausgleich für pdflatex 8 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 9 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 10 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 11 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 12 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 13 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 14 | %DIF SAFE PREAMBLE %DIF PREAMBLE 15 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 17 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 18 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 19 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 20 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 21 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 22 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 24 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 25 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 26 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 27 | 28 | \begin{document} 29 | 30 | \noindent 31 | Sentence without umlaut.\newline 32 | Sentence with an ümlaut.\newline 33 | Sentence without an s-sharp.\newline 34 | Sentence with an s-ßharp.\newline 35 | 36 | \noindent 37 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend without umlaut.\newline 38 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend with an ümlaut.\newline 39 | Sentence without an s-sharp.\newline 40 | Sentence with an s-ßharp.\newline 41 | 42 | \end{document} 43 | -------------------------------------------------------------------------------- /testsuite/utf-diff-1.0.3.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL utf-old.tex Sun Jan 27 23:50:05 2013 4 | %DIF ADD utf-new.tex Sun Jan 27 23:50:05 2013 5 | \usepackage[utf8]{inputenc} 6 | \usepackage[T1]{fontenc} 7 | %\usepackage[activate=normal]{pdfcprot} % Optischer Randausgleich für pdflatex 8 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 9 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 10 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 11 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 12 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 13 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 14 | %DIF SAFE PREAMBLE %DIF PREAMBLE 15 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 17 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 18 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 19 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 20 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 21 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 22 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 24 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 25 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 26 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 27 | 28 | \begin{document} 29 | 30 | \noindent 31 | Sentence without umlaut.\newline 32 | Sentence with an ümlaut.\newline 33 | Sentence without an s-sharp.\newline 34 | Sentence with an s-ßharp.\newline 35 | 36 | \noindent 37 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend without umlaut.\newline 38 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend with an ümlaut.\newline 39 | Sentence without an s-sharp.\newline 40 | Sentence with an s-ßharp.\newline 41 | 42 | \end{document} 43 | -------------------------------------------------------------------------------- /testsuite/utf-diff-1.0.4.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL utf-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD utf-new.tex Thu Jun 12 00:01:26 2014 5 | \usepackage[utf8]{inputenc} 6 | \usepackage[T1]{fontenc} 7 | %\usepackage[activate=normal]{pdfcprot} % Optischer Randausgleich für pdflatex 8 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 9 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 10 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 11 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 12 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 13 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 14 | %DIF SAFE PREAMBLE %DIF PREAMBLE 15 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 17 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 18 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 19 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 20 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 21 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 22 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 24 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 25 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 26 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 27 | 28 | \begin{document} 29 | 30 | \noindent 31 | Sentence without umlaut.\newline 32 | Sentence with an ümlaut.\newline 33 | Sentence without an s-sharp.\newline 34 | Sentence with an s-ßharp.\newline 35 | 36 | \noindent 37 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend without umlaut.\newline 38 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend with an ümlaut.\newline 39 | Sentence without an s-sharp.\newline 40 | Sentence with an s-ßharp.\newline 41 | 42 | \end{document} 43 | -------------------------------------------------------------------------------- /testsuite/utf-diff-1.1.0.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | %DIF LATEXDIFF DIFFERENCE FILE 3 | %DIF DEL utf-old.tex Thu Jun 12 00:01:26 2014 4 | %DIF ADD utf-new.tex Thu Jun 12 00:01:26 2014 5 | \usepackage[utf8]{inputenc} 6 | \usepackage[T1]{fontenc} 7 | %\usepackage[activate=normal]{pdfcprot} % Optischer Randausgleich für pdflatex 8 | %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF 9 | %DIF UNDERLINE PREAMBLE %DIF PREAMBLE 10 | \RequirePackage[normalem]{ulem} %DIF PREAMBLE 11 | \RequirePackage{color}\definecolor{RED}{rgb}{1,0,0}\definecolor{BLUE}{rgb}{0,0,1} %DIF PREAMBLE 12 | \providecommand{\DIFadd}[1]{{\protect\color{blue}\uwave{#1}}} %DIF PREAMBLE 13 | \providecommand{\DIFdel}[1]{{\protect\color{red}\sout{#1}}} %DIF PREAMBLE 14 | %DIF SAFE PREAMBLE %DIF PREAMBLE 15 | \providecommand{\DIFaddbegin}{} %DIF PREAMBLE 16 | \providecommand{\DIFaddend}{} %DIF PREAMBLE 17 | \providecommand{\DIFdelbegin}{} %DIF PREAMBLE 18 | \providecommand{\DIFdelend}{} %DIF PREAMBLE 19 | %DIF FLOATSAFE PREAMBLE %DIF PREAMBLE 20 | \providecommand{\DIFaddFL}[1]{\DIFadd{#1}} %DIF PREAMBLE 21 | \providecommand{\DIFdelFL}[1]{\DIFdel{#1}} %DIF PREAMBLE 22 | \providecommand{\DIFaddbeginFL}{} %DIF PREAMBLE 23 | \providecommand{\DIFaddendFL}{} %DIF PREAMBLE 24 | \providecommand{\DIFdelbeginFL}{} %DIF PREAMBLE 25 | \providecommand{\DIFdelendFL}{} %DIF PREAMBLE 26 | %DIF END PREAMBLE EXTENSION ADDED BY LATEXDIFF 27 | 28 | \begin{document} 29 | 30 | \noindent 31 | Sentence without umlaut.\newline 32 | Sentence with an ümlaut.\newline 33 | Sentence without an s-sharp.\newline 34 | Sentence with an s-ßharp.\newline 35 | 36 | \noindent 37 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend without umlaut.\newline 38 | \DIFdelbegin \DIFdel{Sentence }\DIFdelend \DIFaddbegin \DIFadd{Words }\DIFaddend with an ümlaut.\newline 39 | Sentence without an s-sharp.\newline 40 | Sentence with an s-ßharp.\newline 41 | 42 | \end{document} 43 | -------------------------------------------------------------------------------- /testsuite/utf-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage[T1]{fontenc} 4 | %\usepackage[activate=normal]{pdfcprot} % Optischer Randausgleich für pdflatex 5 | 6 | \begin{document} 7 | 8 | \noindent 9 | Sentence without umlaut.\newline 10 | Sentence with an ümlaut.\newline 11 | Sentence without an s-sharp.\newline 12 | Sentence with an s-ßharp.\newline 13 | 14 | \noindent 15 | Words without umlaut.\newline 16 | Words with an ümlaut.\newline 17 | Sentence without an s-sharp.\newline 18 | Sentence with an s-ßharp.\newline 19 | 20 | \end{document} 21 | -------------------------------------------------------------------------------- /testsuite/utf-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage[T1]{fontenc} 4 | %\usepackage[activate=normal]{pdfcprot} % Optischer Randausgleich für pdflatex 5 | 6 | \begin{document} 7 | 8 | \noindent 9 | Sentence without umlaut.\newline 10 | Sentence with an ümlaut.\newline 11 | Sentence without an s-sharp.\newline 12 | Sentence with an s-ßharp.\newline 13 | 14 | \noindent 15 | Sentence without umlaut.\newline 16 | Sentence with an ümlaut.\newline 17 | Sentence without an s-sharp.\newline 18 | Sentence with an s-ßharp.\newline 19 | 20 | \end{document} 21 | -------------------------------------------------------------------------------- /testsuite/verbatim-input-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{verbatim} 3 | %\usepackage{sverb} 4 | \usepackage{listings} 5 | 6 | \title{Test document for flattening verbatim environments} 7 | 8 | \begin{document} 9 | \noindent Some C code through verbatim input: 10 | \verbatiminput{testg.c} 11 | \noindent Starred variant: 12 | \verbatiminput*{testg.c} 13 | 14 | % commented out for now as full support for sverb is more complex 15 | %\noindent Through sverb: 16 | %\verbinput{testg.c} 17 | 18 | \noindent And through listings without highlighting: 19 | \lstinputlisting{testg.c} 20 | 21 | \noindent With syntax highlighting: 22 | \lstinputlisting[language=C]{testg.c} 23 | 24 | \end{document} 25 | 26 | 27 | -------------------------------------------------------------------------------- /testsuite/verbatim-input-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{verbatim} 3 | %\usepackage{sverb} 4 | \usepackage{listings} 5 | 6 | \title{Test document for flattening verbatim environments} 7 | 8 | \begin{document} 9 | \noindent Some C code through verbatim input: 10 | \verbatiminput{test.c} 11 | \noindent Starred variant: 12 | \verbatiminput*{test.c} 13 | 14 | 15 | 16 | % commented out for now as full support for sverb is more complex 17 | %\noindent Through sverb: 18 | %\verbinput{test.c} 19 | 20 | \noindent And through listings without highlighting: 21 | \lstinputlisting{test.c} 22 | 23 | \noindent With syntax highlighting: 24 | \lstinputlisting[language=C]{test.c} 25 | 26 | \end{document} 27 | 28 | 29 | -------------------------------------------------------------------------------- /testsuite/verbatim2-is143-new.tex: -------------------------------------------------------------------------------- 1 | \documentclass{book} 2 | \begin{document} 3 | \chapter{chapter1} 4 | 5 | \end{document} 6 | 7 | -------------------------------------------------------------------------------- /testsuite/verbatim2-is143-old.tex: -------------------------------------------------------------------------------- 1 | \documentclass{book} 2 | \begin{document} 3 | \chapter{chapter1} 4 | \begin{figure} 5 | \begin{verbatim} 6 | int main(int argc, char** argv){return 0;} 7 | \end{verbatim} 8 | \end{figure} 9 | \end{document} 10 | 11 | --------------------------------------------------------------------------------