PDA

View Full Version : Kile


ali780
February 23rd, 2007, 05:59 PM
Hello
Could you say me how can I install kile for using latex?
Thanks

slaanco
February 24th, 2007, 06:43 AM
type in console
sudo apt-get install kile it should work

or u can run synaptic the find kile and install it thru it

:)

lariosa42
October 16th, 2008, 01:07 PM
I use LaTeX a lot in Hardy, and recently started using Kile 2.0.0 as my editor. It's a great program, but I can't seem to find a way to 'comment out' a block of text. Of course, I can do it by manually inserting '%' symbols everywhere, but this is not practical when I need to comment/uncomment a few paragraphs. Does anyone know if Kile has a 'comment out' feature, and if so, where it is located (or what hot-keys it uses)?

If it is not a feature of Kile yet, it would be a very useful thing to add. (While I'm on it 'red underlined' inline spell-check is probably the most important feature that should be added to Kile.)

Many thanks.

earlycj5
October 16th, 2008, 03:30 PM
I use LaTeX a lot in Hardy, and recently started using Kile 2.0.0 as my editor. It's a great program, but I can't seem to find a way to 'comment out' a block of text. Of course, I can do it by manually inserting '%' symbols everywhere, but this is not practical when I need to comment/uncomment a few paragraphs. Does anyone know if Kile has a 'comment out' feature, and if so, where it is located (or what hot-keys it uses)?

If it is not a feature of Kile yet, it would be a very useful thing to add. (While I'm on it 'red underlined' inline spell-check is probably the most important feature that should be added to Kile.)

Many thanks.

ctrl+d will comment out code.

Stefan_K
October 16th, 2008, 06:48 PM
Further ctrl+shift+d could remove the comment signs.
Those commands can be found in the Tools menu.

Stefan

lariosa42
October 17th, 2008, 01:52 PM
Thanks for the replies, but it doesn't seem to work. I tried both ctrl+d on regular text and ctrl+shift+d on test starting with %. Neither had any effect. Also, is it possible to "tab" a whole block of text, that is, move it all say, three spaces to the left or right?

lariosa42
October 17th, 2008, 01:58 PM
Actually, I figured this out. The indent or "tabbing" feature is under the "Tools" menu. However, the comment/uncomment menu items (also under "Tools") are grayed-out, even when I select text. Hmmm...

stumbleUpon
October 18th, 2008, 01:15 AM
Actually, I figured this out. The indent or "tabbing" feature is under the "Tools" menu. However, the comment/uncomment menu items (also under "Tools") are grayed-out, even when I select text. Hmmm...
Which version of Kile are you using....?

lariosa42
October 18th, 2008, 01:53 PM
I'm using Kile 2.0.0. I just noticed there is a 2.0.2 version, but I haven't updated yet. Running Kile (KDE based) on Ubuntu 8.04 (Gnome based) causes a few issues, so I'm not surprised that some things aren't running as smoothly as they could be. I'm running it off of TeXLive 2007 (any word on whether the 2008 upgrade is worth it?).

Anyway, I figured out a partial fix to the above problem. If go to Tools-->Highlighting-->Markup and select "LaTeX," then suddenly my document is properly highlighted, and I can use the Comment/Uncomment options as suggested in the above posts. I have to do this every time I open the document, but at least it works. I think this has something to do with the way LaTeX recognizes my documents (filetype: TeX document). Anyway, hopefully that helps someone else with a similar problem.

d0.higgs
September 12th, 2011, 03:19 PM
Thank you for this tip.
Now I have the opposite question, how to remove the comment sign from a block of commented-out block?

tommpogg
September 13th, 2011, 04:54 AM
Hi, I'm using Kile in VI mode.
How can I comment a block of text?
It seems that the only way is to select the text with the mouse and then use the "Ctrl+d" shortcut. I would like to avoid using the mouse, keeping my hands on the keyboard, just like I do in VIM.

Thank you for this tip.
Now I have the opposite question, how to remove the comment sign from a block of commented-out block?
Did you try Ctrl+Shift+d?