Hi Pablo, Why not to try:
\documentclass[10pt]{book} \usepackage{polyglossia} \setdefaultlanguage{spanish} \AtBeginDocument{\renewcommand{\chaptername}{Tema}} \begin{document} \chapter{Hola} Este es un documento de prueba. \end{document} Apparently it solves your problem. António On May 17, 2010, at 5:44 PM, Pablo Rodríguez wrote: > Hi there, > > from section 6 from the polyglossia documentation, I guess that I can replace > the Spanish chapter name with Tema writing: > > \gappto\spanishcaptions{\renewcommand{\chaptername}{Tema}} > > But the following code has the standard name “Capítulo” as chapter name: > > \documentclass[10pt]{book} > \usepackage{polyglossia} > \setdefaultlanguage{spanish} > \gappto\spanishcaptions{\renewcommand{\chaptername}{Tema}} > \begin{document} > \chapter{Hola} > Este es un documento de prueba. > \end{document} > > Could anyone tell me what I am doing wrong here? > > Thanks for your help, > > > Pablo > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex