0

I installed texlive-full on Ubuntu 16.04 and TeXstudio. All packages work fine except the babel. When I put \usepackage[czech]{babel} the file won't compile. I still can set encoding to UTF8 and properly compile file wit all special characters, however I can't with babel.

Simple example:

\documentclass[12pt]{report}

\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}

\begin{document}
    \author{Jan Novák}
    \title{Příliš žluťoučký kůň}
    \maketitle
\end{document}`

When I compile the file It will be loading for a time. The it says "The logfile is very large (3.09 MB) are you sure you want to load it?". I say yes and the logile loads. The logile is long, so I will put a link to it:

http://pastebin.com/dad8c7Zz

I don't know what else to do. I installed again texlive-lang-czechslovak and texlive-lang-european but it doesn't help. Though it was included in texlive-full.

The directory csh-babel includes this files:

babel.def  czech.ldf  czech.sty  hyphen.cfg  switch.def

The language of Ubuntu is set to English, if it changes something.

Thanks for help.

  • What is it doing with the stuff loaded from your home directory? That looks strange to me. – daleif Dec 11 '16 at 11:32
  • And welcome btw and thanks for the log, that is helpful – daleif Dec 11 '16 at 11:32
  • I am not exactly sure, but it seems like some kind of loop until it crashes. All I did was to install texlive and editor. As I said, when I change the language to Enlish it works. However no other languages work (that I tried). – Reverie Dec 11 '16 at 11:34
  • Try renaming that dot folder in your home directory, just to see if it helps. Might be bad left overs. Also the Ubuntu texlive may behave strangely if you try to use tlmgr. – daleif Dec 11 '16 at 11:36
  • What is this csh-latex directory you mention? – daleif Dec 11 '16 at 11:37
2

Judging from the log provided there are some files in the user's home directory that are being used instead of the system one. Presumably these local files are older than the system files and thus causes the errors.

Simply renaming this local (unnecessary?) folder may solve the issue.


Since the Ubuntu version of tlmgr (the texlive manager) is different from upstream tlmgr, in that it installs things in the local users home dir, which causes problems if you later update your latex installation (or linux), my guess is that the OPs at some point have been running the Ubuntu tlmgr

I generally recommend installing the upstream TL to avoid this kind of confusion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.