I need to do the following:
I have a file A
which consists out of short fragments of text:
Text 1
Text 2
Text 3
Text 4
I have another file file B
in which I need to input fragments of text from file A
:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Text 1
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Text 2
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Text 3
Sometimes the text will need to go into a footnote so that should also be possible.
How could I achieve this without breaking the file A
into separate files and using \input
?