I'm trying to use the chronology package and it works fine with the english option in the babel package but if I use
\usepackage[french]{babel}
It doesn't work anymore. I've found a solution (that I don't understand) on a french forum. It says I can use
\usepackage[babel=true,kerning=true]{microtype}
It works fine with a simple example like this :
\documentclass[10pt,a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{chronology}
\usepackage[babel=true,kerning=true]{microtype}
\begin{document}
\chapter*{Introduction}
\begin{chronology}[5]{1983}{2010}{10cm}[7cm]
\event{1984}{\color{blue}{one}}
\event[1985]{1986}{\small{two}}
\event{\decimaldate{25}{12}{2001}}{\huge{three}}
\end{chronology}
\end{document}
Yet my text throw an exception :
! pdfTeX error (font expansion): auto expansion is only possible with scalablefonts.\AtBegShi@Output ...ipout \box \AtBeginShipoutBox\fi \fi \chapter
on this line :
\chapter{Environnement de travail}
I'm fairly new to Latex and I guess that a encoding problem with the font but I have no idea about the solution.
EDIT :
\documentclass[10pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage{chronology}
\usepackage{placeins}
\usepackage[babel=true,kerning=true]{microtype}
\title{test}
\begin{document}
\chapter{L'environnement de travail}
\section{Le groupe}
\subsection{Historique}
\vspace{1cm}
\begin{chronology}[5]{1964}{2012}{20cm}[10cm]
\event{1864}{Création}
\end{chronology}
\vspace{1cm}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mollis odio tortor, a ultrices neque posuere vitae. Aenean nec arcu nec lorem luctus dictum.
\end{document}
This doesn't work. But if I delete the lorem ipsum It works fine.
french
orchronology
but only an minimal working example (MWE) will tell...20cm
which is more than\textwidth
and the\event
is out of the range, but I guess you didn't mean that?)\usepackage{lmodern}
.