Closed marcosh closed 5 years ago
I'm trying to install lhs2tex
. I am installing haskell with
sudo dnf install haskell-platform
and then cabal install lhs2tex
. Everything goes ok till this point but when I try to issue make
in the literate idris folder it tells me lhs2tex is not found. What am I doing wrong?
@wires
@FabrizioRomanoGenovese I actually changed lhs2tex
to lhs2TeX
becuase that's actually the name of the executable in my os. Maybe you need to revert that change
When did you do that? Cos I didn't pull in the last 2-3 days or so... Anyway it is strange cos cabal installs it correctly, could it be a problem of executable paths not being updated?
I did it 3 days ago (https://github.com/statebox/idris-stbx-core/commit/3b8de5a95aaea01f7660390fa76ad9267035806f#diff-b67911656ef5d18c4ae36cb6741b7965R8).
Moreover, I installed it using stack
, not cabal
. What happens if you do which lhs2tex
? Or which lhs2TeX
?
both return no ... in (bunch of paths)
:/
Ok, the executable was in .cabal/bin
and is named lhs2TeX
. I copied it in my local bin
path both under the names lhs2tex
and lhs2TeX
. Now make works. Still have to install latexmk
tho!
...aaaand it works! great! :D
Ok, next stupid question: Is there a nice way in visual studio code to have literate idris highlighting? At the moment everything is flat green for me, nor tex or idris are highlighted in anyway. Nevertheless, the file language is detected as "literate idris". Did you manage to customize highlighting already? Are there some settings we can share?
Ok, I added a latex Documentation
folder containing a first endeavor in "literating" Category.
Problems so far:
...For now I committed to master because I just created a new folder without really changing anything else. From now on I'll start working with branching and PRs.
convert all files to literate Idris and setup commands to generate code and documentation