A word on file formats

(tl;dr: pls no code in .docx files)

Disclaimer: Dieser Thread wurde aus dem alten Forum importiert. Daher werden eventuell nicht alle Formatierungen richtig angezeigt. Der ursprüngliche Thread beginnt im zweiten Post dieses Threads.

A word on file formats
Hello, everyone!

Please make sure, when handing in source code, that it is in appropriate file format (e.g. a “.pl” source code file) and not in PDFs, DOCXs, pictures of handwritten code on paper or videos of interpretative dance representing on the subject of prolog source code. Nobody likes copy-pasting code from PDF or DOCX files, correcting all formatting errors and all that jazz.

There won’t be any points deducted this week, but starting with sheet 3, please put all your code in appropriate format. You should be testing your code anyway, just hand in those files directly.

It is also not necessary to reproduce your code in PDF form, when you already have source code files. If there’s a text part to your answer, you can put that either in comments or in a seperate file (any usual format).

I hope this clears up some things. If you have questions, feel free to ask them here.

6 „Gefällt mir“

Erinnert mich an An IDE Impostor.

5 „Gefällt mir“

Lernt man sowas nicht schon im ersten Semester?


Man würde meinen, aber…


tfw you’ve just copied the Prolog code skeleton from assignment pdf and now you’re reading this thread ¯_(ツ)_/¯

4 „Gefällt mir“

Einfach das naechste mal den Code aus der Angabe in \verb oder \texttt packen oder sowas :slight_smile:


Ist er sogar… bzw. in nem lstlisting, spezifisch für prolog syntax :wink: Kann aber code snippets in zukunft auch gerne als .pl-datei dazu packen und würde ich bei längeren eh tun, hab’s nur bei drei Zeilen nicht für nötig gehalten :smiley:


Ihr koennte ja mal dasda probieren: http://www.literateprogramming.com/ :wink:


wie wäre es hiermit: http://www.zifyoip.com/wysiscript/sigbovik.html


Problem ist halt wenn man den code aus dem PDF rauskopiert die - Zeichen falsch sind. Im PDF wird ein gesonderter Bindestrich verwendet der von Prolog nicht als - erkannt wird (im pdf ist der strich etwas breiter als ein einfaches -).

Wenn ihr keine Lust habt das zu beheben bei den Abgaben (Was ich voll verstehen kann) sollte es für die Angaben aber genauso gelten :D.


fair enough :smiley: