I updated my example, and Im pretty sure everything works as expected. Change the length-value and take look at the behaviour of the punctuation symbols.polyglossia wrote:Adjusting some typographical conventions according to the current language (such as afterindent, frenchindent, spaces before or after punctuation marks, etc.)
Code: Select all
\documentclass{book}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{french}
\usepackage{csquotes}
\begin{document}
\fbox{\parbox{4.10cm}{
This is a \enquote{Test sentence} : My french is a bit rusty.\\
This is a Test sentence: My french is a bit rusty. \\
This is a «Test sentence»: My french is a bit rusty.
}}
\end{document}
Code: Select all
\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{csquotes}
\begin{document}
\fbox{\parbox{4.00cm}{
This is a \enquote{Test sentence} : My french is a bit rusty.\\
This is a Test sentence: My french is a bit rusty. \\
This is a «Test sentence»: My french is a bit rusty.
}}
\end{document}
Just for comparison:
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
polyglossia.sty 2012/04/29 v1.2.1 Babel replacement for XeLaTeX
csquotes.sty 2011/10/22 v5.1d context-sensitive quotations