TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just started using Kile, and I would like to set up some custom scripts for various things that may help speed up my writing. One thing I in particular would like to do it make a script that, if executed while the cursor is over the name of a label, gives me a preview of the environment that label sits inside. So for example, if I want to refer to some theorem, and I am not entirely certain I remember which label to refer to, I can type the label and use this script to quickly check in my bottom panel if that is indeed the correct theorem.

Now, I think I can make the script select the desired part of the text, except that I am not sure if I can do a "find" command in the script. But I have not been able to find a way to make the script execute the preview of the selected area. Is this possible?

share|improve this question

closed as off-topic by Joseph Wright Aug 4 '13 at 13:21

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

I understand your aim. But, just a question: why you don't use TeXstudio? It has this option. When you move the cursor over the \ref{xx} command, you can see a box with the object which has that label. – Sigur Oct 14 '12 at 14:40
@Sigur That might actually be the way to go then. I had a look at both Kile and Texstudio when I decided on an deitor, and I think my choice ended up being based on some fairly arbitrary things. Are there any obvious things Kile can do that Texstudio can't? – Tobias Oct 15 '12 at 11:30
Hum, I don't know about the difference. But you can see this table: en.wikipedia.org/wiki/Comparison_of_TeX_editors – Sigur Oct 15 '12 at 12:42
This question appears to be off-topic because it is more-or-less a feature request for Kile. – Joseph Wright Aug 4 '13 at 13:21

Browse other questions tagged or ask your own question.