Tell me more ×
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.

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
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

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.