-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organizing files #107
Comments
My use is for multiple exercise sets. One for each week that students solve. I started putting them into categories in the folder structure, like |
If I'm right, you work with single files for the exercises, like @thorstengrothe and since the beginning I did it wrong with big-file-strategie 😁 .
I splitted some big files last week and slowly I get the impression I'm less efficient and I try to find workarounds to be as efficient as before. If I split my big files I get basically the same structure as you have with the same problem: what to do if an exercise belongs to two categories. Perhaps the tag system can help. In short: the problem is when I edit my exercise sets.
For example: week 1, class 1: problem 1 week1, class2: The theme of the exercises are the same, let's say it's about numbers. If I forget the problem number, it's simple to get all exercises:
where Then I have only to use:
And that's all. If I use:
it works but it's less convenient. And sometimes I don't know if I can reuse a problem for another class. I print all exercises in a PDF, take a look if I can find something I could reuse, then I take the problem number to reuse it.
Take into consideration my biggest file has more 300 problems. Perhaps I will split it. It means about 12000 lines of code. To create a pdf with all exercises, I think I need less than 30 seconds and to include some exercises it's only a few seconds. Your package is very fast, congratulation! With the last package, xsim, sometimes I needed a couple of minutes. |
It's good to see this discussion here. As in the first post said, I like the one-big-file-strategie. In the meantime I tried to split my exercises but for me it seems to inconvenient and less effective. Let me explain. I got 5 courses with different topics. Each course writes 4 large exams per year. That are 20 exams per year plus sometimes a test in between. Let's say I got 25 exams per year. I have a lot of work so I have to be as effective as possible. I'm working with
with Finding some stuff in my large file is absolutely no problem with the powerful I name my makefiles according to the course numbers like so:
This way, after some time, I have all my exams in one file. Searching for specific subtopics is easy in one large file with the
The disadvantage of this approach is that it is more difficult to debug if somethings goes wrong in the file. For tex capacity exceeded error reported here it took me two day to find the error :-) Small files are easier to debug but less convenient at least for me. Maybe the best organisation strategie depends not only from the latex sty file but on a good editor too? |
In between I have grouped again my exercises and I will work from now with one-big-file-strategy. First I notice you use the sames tools as I use:
By splitting my big files, I discovered some errors. Now I know how to split and to go back. Perhaps you could try the following: at the beginning search the error a couple of minutes. If you don't find the errors, split the file in multiple files. I don't know which OS you are using. On Linux
I got exercises
You have probably think to the manual option. You can use a tag for that or a comment in Latex, but a more efficient one would be better. In another pacakage, there was the possibility to add some metadata. Probably the best would be that a line like
would be added in the source file. It would be nice.... if everything works perfectly, with no bugs ;-). One question: are you able to use the point system with big files ? |
@tristelune1
in short, because stress level is at maximum :-) at the moment, yes I have no problems with point system. In a few days we can discuss this in deep, maybe I can help... |
No problem. Perhaps you can send me a document which I can compile to see if it works on my system. |
Sorry for my late response, I have a lot of things to do at the moment and a lot of exams :-) Anyway the value of |
I'm thinking about how to organize my exercises. I like the one-big-file-strategie because it's simpler but it's harder to debug if something goes wrong. I do not fully understand how you organize your files now. Do you have one big file or do you have several files?
Originally posted by @thorstengrothe in #103 (comment)
The text was updated successfully, but these errors were encountered: