fix for lines

This commit is contained in:
Hartmut Seichter 2023-11-09 18:45:12 +01:00
parent 467727392a
commit 09408da7ca
2 changed files with 107 additions and 64 deletions

View file

@ -38,16 +38,28 @@ class MarkdownGenerator:
headline = False headline = False
#
# this implements a Markdown Grid-Table
#
for k,v in ti: for k,v in ti:
if v == None: if v == None:
v = '' v = ''
# row head
h = textwrap.wrap(k, h_len, break_long_words=False) h = textwrap.wrap(k, h_len, break_long_words=False)
wrapper = textwrap.TextWrapper(d_len) wrapper = textwrap.TextWrapper(d_len)
t = [wrapper.wrap(i) for i in v.split('\n') if i != '']
# t = [wrapper.wrap(line) for line in v.split('\n')] # if line != ''
# t = list(itertools.chain.from_iterable(t))
t = [wrapper.wrap(line) for line in v.split('\n')]
t = list(map(lambda e: [""] if e == [] else e, t))
t = list(itertools.chain.from_iterable(t)) t = list(itertools.chain.from_iterable(t))
# get rows # get rows
rows = list(itertools.zip_longest(h,t,fillvalue="")) rows = list(itertools.zip_longest(h,t,fillvalue=""))
@ -61,6 +73,7 @@ class MarkdownGenerator:
print(''.join(['+',"".ljust(h_len,'='),'+',"".ljust(d_len,'='),'+'])) print(''.join(['+',"".ljust(h_len,'='),'+',"".ljust(d_len,'='),'+']))
headline = True headline = True
# to control pagebreaks for pandoc # to control pagebreaks for pandoc
if pagebreak: if pagebreak:
print('\n\\newpage') print('\n\\newpage')

View file

@ -1,78 +1,108 @@
# German
de: name:
name: Interactive Systems de: Interaktive Systeme
id: InteractSys en: Interactive Systems
instructor: Prof. Hartmut Seichter, PhD
goal: | instructor:
de: Prof. Hartmut Seichter, PhD
en: Prof. Hartmut Seichter, PhD
id:
value: InteractSys
credits:
value: 5
form-of-exam:
value: written
form-of-instruction:
value: { 'lecture': 2, 'exersise': 2 }
term:
value: 3
duration:
value: 1
kind:
value: compulsory
goal:
de: |
Studierende lernen vertieftes Wissen um grafische Nutzeroberflächen zu analysieren Studierende lernen vertieftes Wissen um grafische Nutzeroberflächen zu analysieren
und informierte Designentscheidungen zu treffen. Dabei werden auch Grundlagen der und informierte Designentscheidungen zu treffen. Dabei werden auch Grundlagen der
Wahrnehmung vermittelt. Studierende entwickeln anhand von Prototypen anwendbares Wahrnehmung vermittelt. Studierende entwickeln anhand von Prototypen anwendbares
Wissen Interaktionen zu messen und anhand von wissenschaftlichen Methoden Wissen Interaktionen zu messen und anhand von wissenschaftlichen Methoden
zu bewerten. zu bewerten.
content: | en: |
Students acquire in-depth knowledge how to analyze graphical user interfaces and make informed design decisions.
Participants will acquire basics of human perception and locomotion. Using graphical prototypes, students develop
actionable knowledge to measure interactions and to evaluate them using recent scientific methods.
content:
de: |
* Wahrnehmung * Wahrnehmung
* Visuelle Gestaltung von Graphischen Nutzerschnittstellen * Visuelle Gestaltung von Graphischen Nutzerschnittstellen
* Applikationsdesign mit Fokus auf GUI Konzepte * Applikationsdesign mit Fokus auf GUI Konzepte
* Nutzerstudien * Nutzerstudien
* Evaluierungsmethoden mit interaktiven visuellen Systemen * Evaluierungsmethoden mit interaktiven Systemen
form: flipped classroom mit digitalen Lermodulen und wöchentlichen Lernforum, Übungen am PC * Statistikmethoden für UX-Design
prerequisites: Grundlagen Statistik, IETLS score 6.0 oder äquivalent en: |
media-of-instruction: | * visual perception
* H5P Lernmodule, Lernforum und Übungen am PC * design of graphical user interfaces
* Auszug aus der Literaturliste: * application design with focus on GUI concepts
* user studies
* evaluation methods of interactive systems
* statistical methods for UX design
media-of-instruction:
de: |
H5P Lernmodule, Lernforum und Übungen am PC
Auszug aus der Literaturliste:
* Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008.
* Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014.
* Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003
* Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014.
* Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993.
en: |
H5P learing modules, lerning forum and exersises
excerpt from literature:
* Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008. * Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008.
* Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014. * Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014.
* Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003 * Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003
* Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014. * Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014.
* Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993. * Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993.
author-of-indenture: prerequisites:
used-in: Master Applied Computerscience de: "Keine formalen Voraussetzungen. Vorhandenes Wissen in der Programmierung ist wünschenswert."
workload: | en: "No formal prerequisites. Programming knowledge is desireable."
- Vorlesung/Lernforum 2SWS
- Übung 2SWS
- Workload: Präsenz (Vorlesung + Übungen) 120h Projektbearbeitung 30h
credits: 5CP (5/120)
form-of-exam: Projekt
term: Wintersemester
frequency: einmal im Studienjahr
duration: 1 Semester
kind: Wahlpflicht
remarks: Lehrsprache ist Englisch
# English
en:
name: Interactive Systems
id: InteractSys
instructor: Prof. Hartmut Seichter, PhD
goal: |
Students acquire in-depth knowledge how to analyze graphical user interfaces and make informed design decisions.
Participants will acquire basics of human perception and locomotion. Using graphical prototypes, students develop
actionable knowledge to measure interactions and to evaluate them using recent scientific methods.
content: Content and Topics
form: flipped classroom with interactive learning modules and weekly learning forum, lab exersies
prerequisites: foundations of statistics, IETLS score 6.0 or equivalent
media-of-instruction: |
* H5P Lernmodule
* learning forum
* exersises
* excerpt from literature list:
* Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008.
* Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014.
* Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003
* Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014.
* Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993.
author-of-indenture: author-of-indenture:
used-in: Master Applied Computer Science de:
workload: | en:
- lecture/learning forum 2SWS
- exersises 2SWS used-in:
- workload: in-person (lecture + exersises) 120h project work 30h de: "Master Applied Computerscience"
credits: 5CP (5/180) en: "Master Applied Computerscience"
form-of-exam: project
term: winter term workload:
frequency: once per study year de: "150h Gesamt mit 90h Präsenz und 60h Projektarbeit"
duration: one semester en: "overall 150h Gesamt mit 90h Präsenz und 60h Projektarbeit"
kind: elective
remarks: taught in English form-of-exam:
value: alternative
frequency:
value: once_per_year
kind:
value: elective
remarks:
de:
en: