How can I write a book about paper writing which contains real examples without violating copyright? I'm teaching a course on computer-science paper writing, and I aim to turn my notes into a book for publication.  It's designed specifically for Chinese postgraduate students who are writing their first paper.

In my course (and thus in the book), I use examples from real publications by Chinese authors.  Moreover, I use LaTeX's \includegraphics{...} so my quote is visually identical to what's in the paper.  I then critique the writing: explaining what I feel is poor, and how I would improve it.

My feeling is that doing this for a paragraph or two with attribution is unproblematic, but:


I'm using a large number of snippets, totaling maybe hundreds from different papers.
I'm aiming to include a section along the lines of "how to proofread and optimize writing", where I take a single (short) paper, and painstakingly revise a large portion of it.  I'm tempted to go through the entire paper, because it contains many examples of writing issues I see repeatedly, and because it's not possible to write one part of a paper in isolation from the other parts.


So...

Question: How can I write a book about paper writing which contains real examples without violating copyright?

I'm not sure what I need to know about this---it'd be my first book.



Update: Thanks for the responses!  Virtually all the papers come from the ACM, and each paper lists the copyright; maybe 90% have an ACM copyright.  The ACM's policies page says:


  Course Material - Permission granted without fee if the course material is produced without charge to the student. (See Commercially produced Course Packs below)


So I'm confident I haven't done anything wrong so far; there's no concerns about me handing out ACM-copyrighted papers.  And our university has institutional access, so the students have access anyway.

Also, at this point, I'm only just starting to put a book together, and I need to do this for the course whether or not a book eventualizes.  I can simply keep copyright in mind as the book develops.  Asking permission from the ACM seems to be a matter of sending an email; I don't know what they will say.  (The authors might not be happy about me criticizing their writing.)
The best solution would be to get permission from each copyright holder for each paper/snippet you use. This is often seen in books ie a list of figures and a statement of permission from each author X and Y and Z.

Using the material may be ok at the moment because it is for an educational purpose, but to put that into a book is probably going to be more a business/profit purpose which is different for copyright...

But I get the impression that you don’t want to do this as you mention “I have hundreds....”

You will need to check this properly with a copyright lawyer / legal team...