windsteiger / Theorema

Theorema: A System for Automated Reasoning (Theorem Proving) and Automated Theory Exploration based on Mathematica
GNU General Public License v3.0
70 stars 14 forks source link

Use relative paths in tutorials instead of absolute #51

Open MasterOdin opened 8 years ago

MasterOdin commented 8 years ago

When opening (at the very least though a quick survey shows this exists in other files) Documentation/English/TheoremaNotebooks/FirstTour.rb, I cannot view any of the inline proofs as they all point to "/home/wwindste/Theorema.2/Theorema/Theorema/Documentation/English/TheoremaNotebooks/..." which doesn't exist on my computer (and it's Windows so it's sort of a pain to get this to work).

Would be beneficial if they (and other places using absolute paths) used something like: FileNameJoin[{NotebookDirectory[], "FirstTour", "..."}] Changing the other arguments as necessary