Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

For a certain journal I have to follow this structure:

  1. Main text
  2. References
  3. Figures, one per page
  4. Extra text

I've managed to accomplish that by using package endfloat that moves the figures to the end, and \AtEndDocument, which allows me to put the extra text after the figures.

I have now to submit a revised version, with changes marked. I intended to do this with latexdiff, but it seems it does not highlight changes in the extra text. Unfortunately this is where many changes will be located.

Perhaps relevant to this is that I'm using the --flatten option of latexdiff, since the sources are split in several .tex files (some of them being included within an \AtEndDocument).

I'd like a solution that does not involve separate documents so page numbering is kept, and there is only one master file. Alas, I'm stuck here.

Do you know any way around this? Probably getting rid of \AtEndDocument. Thanks in advance.

share|improve this question
    
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  Heiko Oberdiek Apr 7 at 17:39

1 Answer 1

After some digging around, it turns out that one can use

\processdelayedfloats

to flush the floats at that point, removing the need for \AtEndDocument. latexdiff works as expected now.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.