Page Layout ⇒ Problem with BABEL
Problem with BABEL
I added this command to my LATEX document
usepackage[spanish,activeacute]{babel}
However, after this the page numbres (lowcase roman number) changed to upcase, and I can't change them. I already used the \pagenumbering{roman} command but it doesn't work. I don't know what else to do.
Anyone has any idea of the reason or solution of this problem?
Thank you very much
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
Problem with BABEL
since lower case roman numerals are typographically incorrect in Spanish, the author of the spanish option for babel (Javier Bezos) disabled their use when loading babel with Spanish as the main language: see
http://www.tex-tipografia.com/spanish2.html (section Números romanos en versalitas (Roman numerals in smallcaps)).
However, you can recover the lower case roman numerals with the es-lcroman option:
Code: Select all
\documentclass{book}\usepackage[spanish,activeacute,es-lcroman]{babel}\begin{document}\frontmatterblah blah\end{document}
Re: Problem with BABEL
\roman{page}
And I get the Upcase roman lettle.
Any suggestion?
Problem with BABEL
Well, the code I posted works OK (at least on my system). Try the following test code:vortex3 wrote:...I chech the link and try that solution, however, It still doesn't work...
Code: Select all
\documentclass{book}\usepackage[spanish,activeacute,es-lcroman]{babel}\renewcommand{\thepage}{\roman{page}}\begin{document}some test text\newpagesome test text\end{document}
Code: Select all
\listfiles
Code: Select all
\documentclass{book}
Re: Problem with BABEL
I try everything and it still doesn't work.
Here is the log file that you asked.
Thank you very much for your help.
- Attachments
-
- Libro R2.log
- (20.07 KiB) Downloaded 346 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with BABEL
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with BABEL
First of all, I unistalled the babel packet and than instaled again just in case. After that, I remove the babel packet from my project and fixed all the errors. But, when I add again the babel packet, 4 error messages appear (extrange message like: Missing \begin{document}, and I can't fix them). I add the new log file. Althoug the roman number now appear in lowcase, in the outfile (DVI) there is a first page with 3 lines tike this:
1
english
spanish
After this page there are the pages of my document.
Anybody have any idea?
Thank you very much.
- Attachments
-
- Libro R2.log
- (14.27 KiB) Downloaded 327 times
Problem with BABEL
please try compiling first the code that I posted before:
Code: Select all
\listfiles\documentclass{book}\usepackage[spanish,activeacute,es-lcroman]{babel}\renewcommand{\thepage}{\roman{page}}\begin{document}some test text\newpagesome test text\end{document}
In case my example code compiles OK but your actual document still doesn't, then please report this situation and then buid a minimal working example (instructions can be found following the link I just provided) showing the undesired behaviour and post it.
Re: Problem with BABEL
It doesn't compile. It have the same problem and error message that mine.
I attach the output file and the log file.
Thank you very much
- Attachments
-
- prueba.pdf
- (7.87 KiB) Downloaded 371 times
-
- prueba.log
- (5.22 KiB) Downloaded 363 times
Problem with BABEL
Code: Select all
\listfiles\documentclass{book}\usepackage[spanish,activeacute]{babel}%\spanishlcroman\renewcommand{\thepage}{\roman{page}}\begin{document}some test text\newpagesome test text\end{document}
Now delete all the auxiliar files (myprueba.log, miprueba.aux), and activate the \spanishlcroman command by simply deleting the "%" symbol. Compile the document once more and let us know the result.