I'm running Arch Linux and installed texlive 2013 via tlmgr.

My file is this:


Running xelatex on my file yields this:

Package polyglossia Warning: No hyphenation patterns were loaded for `English'
(polyglossia)                I will use \language=\l@nohyphenation instead on i
nput line 6.

! Undefined control sequence.
<recently read> \adddialect 

I have consulted the other answers dealing with similar problems. Most concern babel, which I am not using. Some suggest installing a language, but this error only concerns english (and I installed collection-langenglish anyway). I tried running tlmgr fmtutil --all, but this changes nothing. How can I fix this?

  • What did you install exactly? If you installed the default, full distribution, you would certainly have collection-langenglish with no need to install it specially. Your code compiles fine here with TeX Live 2013 installed from upstream on Arch. – cfr Jun 13 '14 at 0:39
  • As explained in response to your other question, it is recommended to install a scheme. Preferably full but, failing that, a smaller, complete scheme. Installing things piecemeal like this is a recipe for frustration. If you insist, you will have to examine your .log files carefully. Any particular reason you want to inflict this specific form of penance on yourself? – cfr Jun 13 '14 at 0:46
  • I've just read what the wiki says about the net install and I can therefore understand why you might be trying to do this. However, I believe that the advice in the wiki is misguided at best. Yes, it is possible to do it that way but it will require either considerable knowledge of TeX or a great deal of time and patience. The fact that you are asking these questions tells me that the former does not apply. (You may know a great deal about using TeX but this is about the way an installation works.) Whether you have enough of the latter to spare I don't know. To me, the full scheme is KISS. – cfr Jun 13 '14 at 0:56
  • I just installed scheme-full, and the code compiles, so I'll just leave it at that. My main reason for trying to install packages piece by piece was to see if I could better learn what was going on (a strategy that works pretty well for Arch Linux as a whole), but I suppose the difference is that Arch is really only recommended for those with linux experience (which I have), whereas I have very little experience constructing any actually complex LaTeX/XeTeX doucments (and little at all with TeX per se) and don't need to do anything fantastically complicated anyway. – Eleatic Achilles Jun 13 '14 at 5:21
  • The other is that pacman is designed to handle dependencies brilliantly whereas tlmgr is not designed to handle them at all. If you want to learn how it works, one good way is to read the console output and look in the log files from compilations. (Especially those which don't work as you expect!) Also try adding \listfiles before \documentclass to see exactly which files a document requires for compilation. – cfr Jun 13 '14 at 22:21

Your Answer

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

Browse other questions tagged or ask your own question.