Re: [XeTeX] changing \chaptername in polyglossia

2010-05-18 Thread Pablo Rodríguez
On 05/18/2010 09:39 AM, Ulrike Fischer wrote: Am Mon, 17 May 2010 18:44:52 +0200 schrieb Pablo Rodríguez: 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{\chapternam

Re: [XeTeX] changing \chaptername in polyglossia

2010-05-18 Thread Ulrike Fischer
Am Mon, 17 May 2010 22:41:07 +0100 schrieb António Fernandes: > Hi Pablo, > > Why not to try: > > \documentclass[10pt]{book} >\usepackage{polyglossia} >\setdefaultlanguage{spanish} > \AtBeginDocument{\renewcommand{\chaptername}{Tema}} >\begin{document} >\chapter{Hola} >Est

Re: [XeTeX] changing \chaptername in polyglossia

2010-05-18 Thread Ulrike Fischer
Am Mon, 17 May 2010 18:44:52 +0200 schrieb Pablo Rodríguez: > 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}} I think this is an error i

Re: [XeTeX] changing \chaptername in polyglossia

2010-05-17 Thread Wilfred van Rooijen
from "Bibliography" to "References". I had to put the \renewcommand after the \begin{document} to make it work. Cheerio, Wilfred --- On Tue, 18/5/10, António Fernandes wrote: > From: António Fernandes > Subject: Re: [XeTeX] changing \chaptername in polyglossia > To: &

Re: [XeTeX] changing \chaptername in polyglossia

2010-05-17 Thread António Fernandes
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. A

[XeTeX] changing \chaptername in polyglossia

2010-05-17 Thread Pablo Rodríguez
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]