uva-cs / pdr

A repo for a Program and Data Representation university-level course
Other
91 stars 228 forks source link

Remove labs/lab06/data links #61

Closed adeet1 closed 4 years ago

adeet1 commented 4 years ago

Fix broken links to directory labs/lab06/data, as suggested by @50Wliu

adeet1 commented 4 years ago

@50Wliu @aaronbloomfield When I run make on my end, pandoc messes up the font of all of the HTML files and changes them to a Times New Roman-like font instead of preserving the Markdown font that the website is currently written in. Because of the issue, I had to manually edit the HTML files.

How do I fix this problem?

winstliu commented 4 years ago

How do I fix this problem?

I am trying to fix this by creating a GitHub Action to automatically run make all on pushes to master :).

In the meantime, what pandoc version (pandoc --version) and OS are you running on?

adeet1 commented 4 years ago

How do I fix this problem?

I am trying to fix this by creating a GitHub Action to automatically run make all on pushes to master :).

In the meantime, what pandoc version (pandoc --version) and OS are you running on?

I'm using version 2.9.1.1, on the VirtualBox Ubuntu image provided in class.

winstliu commented 4 years ago

Uh, maybe try 1.19.2.4? That's the last version before 2.0 and is the one I'm using, coincidentally.

adeet1 commented 4 years ago

I downloaded the .tar.gz file for pandoc 1.19.2.4 from here, and installed stack (perhaps it is a dependency) via sudo apt install haskell-stack. But when I call make, I get the following error:

No compiler found, expected minor version match with ghc-8.0.2 (x86_64-nopie) (based on resolver setting in /home/student/pandoc-1.19.2.4/stack.yaml).
To install the correct GHC into /home/student/.stack/programs/x86_64-linux/, try running "stack setup" or use the "--install-ghc" flag.
Makefile:5: recipe for target 'quick' failed
make: *** [quick] Error 1
winstliu commented 4 years ago

Try sudo apt install pandoc=1.19.2.4

Try sudo apt install pandoc=1.19.2.4~dfsg-1build4

adeet1 commented 4 years ago

Yes, that worked! Thank you so much!

winstliu commented 4 years ago

Well, looks like we'll have work to do when Ubuntu starts shipping with Pandoc 2.x, then 😬