frangio / netlify-latex

🗞️ A Netlify template for LaTeX projects.
https://latex.netlify.app
MIT License
21 stars 6 forks source link

Language definition file ngerman.ldf was not found #3

Open ashirwad opened 4 years ago

ashirwad commented 4 years ago

Hello,

Thanks for this repo! I tried all the files and the instructions to deploy a site for my github repository on netlify; however, I am constantly running into errors. My repo is compiling fine on my local Windows machine. The deploy log can be accessed through this link. I couldn't figure out a solution, so I thought I should ask you for help!

Thanks!

frangio commented 4 years ago

Hi @ashirwad. I'm sorry this didn't work for your document. I've narrowed it down to the following error:

Package babel Error: Unknown option `ngerman'. Either you misspelled it or the language definition file ngerman.ldf was not found.

I suspect this is because the dynamic loading of dependencies I'm using doesn't detect when a language definition file is required.

This error is caused by latex4ei.sty#L147. I guess if your document is in English you should be able to safely delete the ngerman parameter. It compiles correctly once you remove it.

I'll see if there's anything else that can be done about it!

ashirwad commented 4 years ago

Hey @frangio, thanks for your help! I will try again by omitting the ngerman parameter and will let you know if the proposed method works or not.