TeX - LaTeX Asked by Oyibo on August 9, 2021
I’m having problems with the babel
language package with TeXmaker could someone propose a fix I’ve typed in usepackage[french]{babel}
and I get the following error:
Package babel Warning: No hyphenation patterns were loaded for
(babel) the language "French"
(babel) I will use the patterns loaded for language=0 instead.
l@french = a dialect from language0
I also have letters with accents show up as in the following screenshot (it’s meant to be é â è) I’d assume I need to /usepackage but don’t know which:
If someone could suggest a fix to these two problems, I’d be very grateful, I think I need to install a language package but I’m not sure how to go about that on Ubuntu 12.04 with TeXmaker and for the accents I don’t know what package to use.
Have you tried this in a terminal?
$ sudo apt-cache search texlive french
texlive-doc-fr - TeX Live: French documentation
texlive-lang-french - TeX Live: French
$sudo apt-get install texlive-lang-french
This example should work in a well installed TeX Live:
documentclass[french,11pt]{article}
usepackage{babel}
usepackage[utf8]{inputenc}
begin{document}
section*{L'histoire de la France au Moyen Âge}
L'histoire de la France au Moyen Âge se
caractérise par plusieurs périodes et événements
marquants durant dix siècles: de Clovis à
Charles VIII, en passant par la fin de la
Gaule romaine quand elle se détache de
l'Empire romain, la guerre de Cent Ans,
l'unification de la Gaule qui, au terme d'une
longue genèse, deviendra un État spécifique,
le Royaume de France. Celui-ci apportera l'essor
du christianisme, des campagnes, de la
population française, la renaissance
urbaine accompagnée par l'apparition
et l'affirmation des universités, la
formation de la langue française et
le développement du commerce (foires
et marchés).
end{document}
Correct answer by Fran on August 9, 2021
To solve this issue for Spanish:
Package babel Warning: No hyphenation patterns were loaded for (babel) the language "Spanish"
install the texlive-hyphen-spanish
package:
sudo dnf install texlive-hyphen-spanish.noarch
Answered by Néstor Waldyd on August 9, 2021
To solve the same issue for German:
ngerman.sty not found
install the texlive-lang-german
package:
sudo apt install texlive-lang-german
install the texlive-german
package and the texlive-hyphen-german
package:
sudo dnf install texlive-german texlive-hyphen-german
Answered by linderd on August 9, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP