Closed DonMischo closed 2 years ago
Could you paste the whole header of an example file, and a snippet of the tex file with the placeholders? :see_no_evil:
I'm not sure I'm getting it yet :sweat_smile:
This relates to https://github.com/DonMischo/csv2tex/issues/6
Ok, one thing I saw in our knowledge share:
CSV:
Feldtrenner: Komma , Zeichenkettentrenner: Anführungszeichen " UTF8
Beispiel: "Mathematik","Beschreibung",3,,,,
place holder: Hashtag + Bezeichnung in Caps Beispiel: #MATHEMATIK
NACHNAME,#VORNAME,#BDAY,#DEUTSCH,#MATHEMATIK,#ENGLISCH
Now that I saw it once, I see that your definition was actually complete :sweat_smile:
Thank you.
CSV format was finalized here: https://github.com/SergelsOrg/csv2tex/issues/27
Placeholder format may be subject to definition in https://github.com/SergelsOrg/csv2tex/issues/6 latest - or here
After we now have the proper CSV format and it seems to work out quite well for various edge cases, I suggest we revisit the placeholders.
This is what our CSV header may look like - there are multiple columns for one subject, one for each (sub)competency.
E.g.
So, the subject alone is not enough, it should rather be a composed key that can be calculated from subject, competency and sub-competency.
E.g., in this case:
Calculation:
However, all this still leaves a lot of work to the tex template designer.
I wonder if this is intentional, or if we should aim for an iteration approach in the future. This may add additional constraints, maybe that's not something for the MVP.
:information_source: For version 1.0.0 we are now working with fixed placeholders.
We should documen these alongside the CSV documentation from https://github.com/SergelsOrg/csv2tex/issues/66
CSV:
Feldtrenner: Komma , Zeichenkettentrenner: Anführungszeichen " UTF8
Beispiel: "Mathematik","Beschreibung",3,,,,
place holder: Hashtag + Bezeichnung in Caps Beispiel: #MATHEMATIK