[Tex/LaTex] How to obfuscate the LaTeX document

tools

My LaTeX document uncovers bugs in some LaTeX tools. Therefore I would like to provide the LaTeX sources to the tool author.

My problem is that the document I am writing on has to be kept secret and is very large. Therefore I tried to create an "minimal example" demonstrating the bug. But that does not work because the bug is very difficult to reproduce and seems to depend on the combination of a number of used LaTeX features.

Is there an easy way to obfuscate / replace all my text content (including all sections headers, captions, labels, itemize items, citations, …) with "Lorem ipsum" or similar text garbage so that I could provide an example document demonstrating the bug?

Best Answer

You might like the blindtext package. From the description on CTAN:

The package provides the commands \blindtext and \Blindtext for creating ‘blind' text useful in testing new classes and packages, and \blinddocument, \Blinddocument for creating an entire random document with sections, lists, mathematics, etc.

That sounds like the sort of thing you’re looking for. If you fill the document with blind text, you should be able to spot the bugs without giving out your secret information