Theses, Books, Title pages ⇒ spanish configuration
-
- Posts: 4
- Joined: Tue Nov 03, 2015 4:43 pm
spanish configuration
Is it possible to use the masters-doctoral-thesis template in spanish?
I know its only english/german, but is there a way around it so i can use it in spanish? Any files where i could replace the words "author" with "autor", "supervisor" with "director", "chapter" with "capítulo" and so on....
Regards,
Stan.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
spanish configuration
You can check all occurences one at the time, or look in the class file where the different names are preset. It would be cool if you could provide the spanish names for other users here in this thread.
For further reference, please have a look at the answer i gave yesterday.
-
- Posts: 4
- Joined: Tue Nov 03, 2015 4:43 pm
spanish configuration
I have stumbled upon a series of obstacles:
Is spanish an available language?
I tried "ngerman" as language while defining documentclass (so to repeat the process shown in the earlier thread) and got this:
Was this the error message you mentioned?Package babel Error: You haven't specified a language option ...ry to proceed from here, type x to quit
How could I do the modification of the different names? You mentioned the MasterThesisDoctoral.cls, but i'm not quite sure how to.
I could provide a list of translated words too.
I'm running Kile on Lubuntu 14.04 in an intel dual core T4300@2GHz, and 2GB of memory.
Regards,
Stan
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
spanish configuration
This is the normal behaviour. When you change the language, a bit is still in a helper file and LaTeX gets confused. Just let happen or remove the helper file (aux) because it is re-generated every run. Nothing to worry here. That is just how LaTeX works, not the template.Package babel Error: You haven't specified a language option
Not checked the other thread, it's late, but if you could supply the missing names for spanish, that would be great.
Edit: the error message i mentioned is due to my not-thinking, the error message you mention is standard LaTeX. It is easy to confuse a human, as well as a computer program. Luckily, there are arror messages

-
- Posts: 4
- Joined: Tue Nov 03, 2015 4:43 pm
Re: spanish configuration
well, I was able to change some stuff in the .cls file, such as the Declaration of Authorship and similar "extra" stuff, but I'm not sure how to change. I'll list the translations for the different words in order here:
"Abstract" by "Resumen"
"by" by "por"
"Acknowledgements" by "Agradecimientos"
"Contents" by "Indice"
"List of Figures" by "Indice de Figuras"
"List of Abbreviations" by "Lista de Abreviaciones"
"Physical Constants" by "Constantes Físicas" (which is encoded f\'isica, as far as I know).
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
spanish configuration
Code: Select all
\newcaptionname{italian}{\acknowledgementname}{Ringraziamenti}\newcaptionname{italian}{\authorshipname}{Title of that page}\newcaptionname{italian}{\abbrevname}{Elenco delle abbreviazioni}
Code: Select all
\newcaptionname{spanish}{\acknowledgementname}{Agradecimientos}\newcaptionname{spanish}{\byname}{por}
Can you explain in more detail what you have tried?
-
- Posts: 4
- Joined: Tue Nov 03, 2015 4:43 pm
spanish configuration
Code: Select all
\providecaptionname{spanish}{\acknowledgementname}{Agradecimientos}
Thanks a lot!!!
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
spanish configuration
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
spanish configuration
thanks for telling us your solution!
Indeed, a .cls file should never be changed (except by the programmer/maintainer). It would work for the moment, but you would run into problems when you update your TeX installation or the bundle with the class file. Your document would only work with a copy of that changed class file, not with the same class on any other computer without your copy. Imagine, users would change article.cls or book.cls...
You can make your own settings in the preamble of your LaTeX document. So simply put your definitions or redefinitions before
\begin{document}
.That's what Johannes meant.

Stefan
spanish configuration
I know that this is an old post , but I struggling with this same problem right now , and although it has solved almost all my problems I'm still have a few. I haven't been able of change "Author" for "Autor" or "in the" for "en el".
Any help will be appreciate!!