# How to change the text of 'see' and 'seealso'

I'm Hebrew user and I'm want to change the title of see and see also at the index (output of course) to Hebrew words:

• see = ראו

I look here:
but I didn't understand how to do this, can you help me please?

P.S. I'm using LyX if it's matters.

Thank you!!

• I cannot test it now, but you should go do Documents > Settings ... > LaTeX preamble and add the lines with \newcommand ..., then insert the text with the index boxes (Insert>Index Entry and Insert>List>Index list) to reproduce the example and check in View > Code Preview Pane that code structure is almost the same to that of the linked page (specially that essentials commands as \printindex are already there there) and then just test the code with Ctrl+R. – Fran Dec 5 '18 at 11:46
• Thank you @Fran, but how can I change the seelaso command? I didn't understand it from you comment.... :) – heblyx Dec 5 '18 at 11:57
• Sorry, I do not have the right to test in hebrew, But I guess that you only need a clean preamble and add at the end of index entries a ERT boxes (Ctrl+L) with |see{whatewer} or |seealso{whatewer} inside and configure correctly the default document language of the document, so in german "see also" will be automaticatlly changed to "siehe auch" and so on... – Fran Dec 5 '18 at 14:14

No idea of Hebrew, so with non-sense words:

This is the LaTeX code generated with LyX (after some cleaning of non-essential parts) to produce this:

\documentclass[english,hebrew]{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Linux Libertine O}
\usepackage[a6paper]{geometry}
\usepackage{makeidx}
\makeindex
\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\begin{document}
חחח\index{חחח|see{םםם}} משפטית הספרות אווירונאוטיקה את, שער דת טיפול
עיצוב, ב לשון ובמתן ולחבר רבה. לראות סוציולוגיה אם שער ררר\index{ררר|seealso{םםם}},
\newpage
אחד של ליצירתה ביולוגיה, בה שכל דרכה מיזמי לטיפול. זכר \index{דרכה}דרכה
אל כלים ציור והנדסה, היא \index{בשפה}בשפה בכפוף שימושיים אל. להפוך בקרבת גם קרן.
על בקר תרבות פיסול, את שפות שנורו אתה. שתפו העזרה או עוד, שמו העיר
\newpage
םםם\index{םםם}
\printindex
\end{document}


Note: the above code with right to left text seems that is not correctly displayed in my browser, but it should be OK when pasted to any good LaTeX editor as texworks.

And this is how a index entry with a "see also" should look in LyX:

To produce the above code you in DocumentsSetting...Language select Hebrew and check that Language package is set to default (now that should load the polyglossia package). Then in DocumentsSetting...Fonts check Use non-TeX fonts(via XeTeX/LuaTeX) and use a font with hebrew glyphs as Linux Libertine O.

Then write the text and index entries, using CtrlL to produce the evil red text (ERT) boxes and finally InsertListIndex List.

Ready. CtrlR to check it. If there are problems, export the file or check the Code Preview Pane and compare your code with the above MWE.

The example in your link is much more complicated than you need.

All you need to do is redefine the macros \seename and \alsoname to the text you want.

If you put the following in the preamble to your document, it will change "see" and "see also" to upper case in the index. Replace them with whatever you need to get the Hebrew text strings you want.

\renewcommand*{\seename}{SEE}

• @Fran wouldn't this work with some \addto\captionshebrew{...} things? – user4686 Dec 5 '18 at 18:40
• @jfbu No idea, my experience with hebrew in LaTeX is $log_e(0)+log_e(0)$, but I think that this approach is not needed really in this case. I have uploaded an answer with other approach. – Fran Dec 5 '18 at 22:15
• Babel simply defines \seename and \alsoname as translations of "see" and "see also" in the selected language. I presume polyglossia does the same. But we don't know how the OP is running TeX, except "using Lyx" - which I know nothing about. – alephzero Dec 5 '18 at 23:36