MakeIndex, Nomenclature, Glossaries and AcronymsCross-references: spanish

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
Eduardo
Posts: 2
Joined: Tue Jan 18, 2011 10:27 pm

Cross-references: spanish

Post by Eduardo »

To have a cross-reference with no page number one uses |see. For example,
\index{hi|see{hello}} produces hi, see hello.

How can I do the same for a spanish text, where instead of "see" I need "véase" to appear?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Cross-references: spanish

Post by frabjous »

You should be able to change it by changing the command \seename:

Code: Select all

\renewcommand{\seename}{v\'ease}
(I'd put this right before \printindex.)

There may be other ways to accomplish this, however, especially if you use xindy rather than makeindex.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Cross-references: spanish

Post by localghost »

The babel package with the »spanish« language option should do that for you. There is at least a corresponding entry in the language definition file »spanish.ldf«.


Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Eduardo
Posts: 2
Joined: Tue Jan 18, 2011 10:27 pm

Re: Cross-references: spanish

Post by Eduardo »

Thank you very much for the answers. Indeed, the Spanish Babel package does it automatically, as indicated by localghost. Works transparently.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Cross-references: spanish

Post by localghost »

Eduardo wrote:Thank you very much for the answers. Indeed, the Spanish Babel package does it automatically, as indicated by localghost. Works transparently.
Then please be so kind and mark the topic accordingly as written in Section 3 of the Board Rules and as you have already been directed in my last reply.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply