My native language is Serbian and it is included in MiKTeX distribution for Windows. However, there is only latin version of it, and I'd like to use cyrillic Serbian. I tried searching the Internet about the issue and found this post.
These files are based on Russian language, and after inspecting them, I found that the translations are just fine. I copied the contents of the files to two files (serbianc.ldf and serbianc.sty) and placed these files in tex\generic\babel folder where other language files reside.
Next, I added the following line to babel.sty (among other language definitions):
\DeclareOption{serbianc}{\input{serbianc.ldf}}
When trying to use the language in TeX document, LaTeX fails at the following line:
\usepackage[serbianc]{babel}
with the following error:
! LaTeX Error: File `serbianc.ldf' not found.
I have also tried going to MiKTeX settings and refreshing file name database to no avail.
I'm rather new to TeX – it might be a big shot for me, but I do have a lot of programming skills and am eager to learn about it. The resources I found on the Internet are rather scarce and mainly Unix related.
What am I missing here? Any help is much appreciated.
Best Answer
Here as wanted the comment as answer:
Don't put local files in the main root (programdata\miktex ...), use a local root instead (see manual of miktex). But if you use the main root then you must update the FNDB in admin mode.