1

I have a big file having the following structure :

\begin{exo}
...
\end{exo}

\begin{exo}
...
\end{exo}

My aim is to create different files containing just one exercice. How can I do this ? Does there exist a software ?

0

You could use standard latex functionality such as the import libraries and manually split up exercises into individual files. And then use either import with relatives paths via subimport, use just use the full path.

How to use the import package?

I think the main issue would be getting all the commands into separate files.

However if you wish to automatic this process, you may need to use a scripting language like python and do something similar to web scrapping using a tool like TexSoup

  • 1
    I think this is the contrary of what the OP asked. S/He has a unique file and wants to create many files. – CarLaTeX Feb 20 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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