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

Custom setup hangs if LaTeX package missing #111

Open
adamgundry opened this issue Dec 10, 2024 · 1 comment
Open

Custom setup hangs if LaTeX package missing #111

adamgundry opened this issue Dec 10, 2024 · 1 comment

Comments

@adamgundry
Copy link

I attempted to install via cabal install lhs2tex, which resulted in the install process silently hanging. Digging through the output of cabal install -v and inspecting the logs revealed the issue: the package had built successfully, but the custom setup script was attempting to build the manual, and LaTeX had frozen awaiting user input as I was missing some files from my TeXLive distribution.

The immediate solution to my problem was apt install texlive-science, but ideally the custom setup would not hang forever (e.g. using -interaction=nonstopmode).

@adamgundry adamgundry changed the title Custom setup hangs if package missing Custom setup hangs if LaTeX package missing Dec 10, 2024
@ulysses4ever
Copy link

This seems to be the call to pdflatex:

let loop = do runDbProgram v (simpleProgram "pdflatex") (withPrograms lbi) ["Guide2.tex"]

So, perhaps, replacing ["Guide2.tex"] with ["Guide2.tex", "-interaction=nonstopmode"] should help.

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