Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code shows spurious error for docs/inthelarge.lhs #5

Open
hgolden opened this issue Jul 31, 2023 · 2 comments
Open

VS Code shows spurious error for docs/inthelarge.lhs #5

hgolden opened this issue Jul 31, 2023 · 2 comments

Comments

@hgolden
Copy link
Collaborator

hgolden commented Jul 31, 2023

Using VS Code and GHC 9.2.8, a spurious error is shown for line 1 of docs/inthelarge.lhs:
\documentclass{article}
> unlit' failed in phase Literate pre-processor'. (Exit code: 1) compiler

I don't know the cause, but a workaround is to insert at the top of the file:
\begin{code} \end{code}
which eliminates the error message.

@byorgey
Copy link
Owner

byorgey commented Aug 1, 2023

I wonder if it's because that file contains zero actual Haskell code. It's actually a bit silly for it to be a .lhs file, it ought to just be a .tex file. Perhaps I made it an .lhs file since then I could process it with the exact same pipeline as all the other files. But I really don't remember.

@hgolden
Copy link
Collaborator Author

hgolden commented Aug 1, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants