SergelsOrg / csv2tex

Tool to replace placeholders in tex-files
GNU General Public License v3.0
5 stars 0 forks source link

Edge case: elective subjects #36

Open ArchibaldBienetre opened 2 years ago

ArchibaldBienetre commented 2 years ago

Not all students take all subjects.

We need to find a way

ArchibaldBienetre commented 2 years ago

I did some thinking.

We could implement logic that listens for certain keywords to mark a subject as elective:

Examples:

Then we could

ArchibaldBienetre commented 2 years ago

If I save a CSV with missing content rows in Libre Office calc, it will fill in the missing content cells as empty strings, like so:

a,b,c,d
1,,,
1,2,,
1,2,3,
1,2,3,4
1,2,3,
1,2,,
1,,,

So, as long as we can deal with empty Strings, we should actually be fine, there should be no danger here.

ArchibaldBienetre commented 2 years ago

(best typo ever :D https://github.com/SergelsOrg/csv2tex/issues/36#event-6053396369 )