Showing posts with label Kile. Show all posts
Showing posts with label Kile. Show all posts

Saturday, July 14, 2012

Kile Issue - Keyboard suddenly does not work

I have run into the keyboard suddenly not working in Kile on occasion.  This is because there is some character length error which automatically enables Read Only Mode.  To fix this simply go to the Tools menu and disable the Read Only Mode (should have a check mark) by selecting it with a click of the mouse.  I went through some headaches with this before figuring out this simple fix from some help at KDE.  I filed a bug report and received responses which pointed to this simple fix.  It's always something stupid or simple, isn't it?

http://askubuntu.com/questions/82727/kile-does-not-get-keyboard-input-respond-to-altf

https://bugs.kde.org/show_bug.cgi?id=292766

Kile Issue: Toolbars and menus gone

[kubuntu] Kile problem: Toolbars and menus gone after upgrade to hardy - Ubuntu Forums

^^Linked from this thread: [ubuntu] kile: menu bar disappeared - Ubuntu Forums:

This is weird.  The menu bar where File, Edit, View, etc. had disappeared from Kile.  I still had the toolbar with the New, Open, etc. buttons.  Must have happened when I reinstalled Kubuntu and Xubuntu cause my GNOME classic had messed up (It was my fault, I had tried messing with it to get the windows to snap but never did and ended up messing some things up where it wouldn't work correctly at all.  Finally got back GNOME classic working again.  Leaving it alone for now.  I think it stems from my quad monitor setup.  *sigh* Maybe one day Ubuntu-Unity will work flawlessly with quads.  I probably could figure it out messing with the xconfig, but I don't have the time or patience at the moment.  Anyhoo...).  The fix which worked for me was:

I stumbled across this problem lately and this thread was the only hint to a solution that I could find. A very simple fix is to restore Kile to its default settings by removing your own settings (this does not affect your user defined shortcuts). Close Kile, open a terminal and type
Code:
rm $HOME/.kde/share/config/kilerc
Restart Kile. Done.

Friday, July 13, 2012

A Simple Asymptote IDE In Linux Using Inotify - YouTube

A Simple Asymptote IDE In Linux Using Inotify - YouTube

I've done something similar except I am using Kile since it has a built in terminal (Konsole) with normal Kile as the text editor.  Kate has the same feature but since I use Kile anyways for LaTeX no point in using Kate.

Wednesday, August 24, 2011

Upgrading to/Installation of Kile 2.1

Ubuntu does not update Kile from 2.1 beta 4 to the latest 2.1 release. In order to update you can do two things.

1) Compile your own like I did with wxMaxima

How to compile Kile for Linux/BSD - http://kile.sourceforge.net/help.php#compile

2) Or find someone that has already compiled a deb package install like I should have looked for one for wxMaxima. (I have found the PPA for wxMaxima here -> Maxima and wxMaxima by István Blahota - https://launchpad.net/~blahota/+archive/wxmaxima as ppa:blahota/wxmaxima and have added it to my original wxMaxima post too.)

In this forum topic, I found a PPA (Personal Package Archive) which once added to the repositories and updated will then install once you run the update manager.

[SOLVED] Kile upgrade - Ubuntu Forums - http://ubuntuforums.org/showthread.php?t=1773808

See here for PPA explanation. I've used it several times without knowing what it was or did. Now I think I understand a little bit better.

How do I use software from a PPA? - https://launchpad.net/+help/soyuz/ppa-sources-list.html

To start installing and using software from a Personal Package Archive, you first need to tell Ubuntu where to find the PPA.

Important: The contents of Personal Package Archives are not checked or monitored. You install software from them at your own risk.

Adding the PPA to Ubuntu 9.10 (Karmic) and later

If you're using the most recent version of Ubuntu (or any version from Ubuntu 9.10 onwards), you can add a PPA to your system with a single line in your terminal.

Step 1: On the PPA's overview page, look for the heading that reads Adding this PPA to your system. Make a note of the PPA's location, which looks like:

ppa:gwibber-daily/ppa

Step 2: Open a terminal and enter:

sudo add-apt-repository ppa:user/ppa-name

Replace ppa:user/ppa-name with the PPA's location that you noted above.

Your system will now fetch the PPA's key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built.

Step 3: Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added:

sudo apt-get update

Now you're ready to start installing software from the PPA!


So in this case do:

sudo add-apt-repository ppa:kile/stable

sudo apt-get update

(launchpad.net link -> Kile - kile stable - https://launchpad.net/~kile/+archive/stable)

Then run the update manager either from the apps (GUI tool - Ubuntu Update Manager) or the terminal in the command line (I don't know the terminal command).

Ah, found it here -> How do I update Ubuntu Linux softwares? - http://www.cyberciti.biz/faq/how-do-i-update-ubuntu-linux-softwares/

sudo apt-get upgrade


From the site:

=> apt-get update : Update is used to resynchronize the package index files from their sources via Internet.

=> apt-get upgrade : Upgrade is used to install the newest versions of all packages currently installed on the system

=> apt-get install package-name : install is followed by one or more packages desired for installation. If package is already installed it will try to update to latest version.

Friday, August 5, 2011

Installing Kile on Mac OS (Windows too)

Here are a few links which might help with installing Kile on Macs. Heck, I didn't know Kile was "cross-platform" in this manner. You can even, supposedly, install Kile on Windows. Another way to possible run Kile on Mac or Windows OSs is to use a virtual machine.

Compile failed installing kile on Mac OS X 10.6 • KDE Community Forums

An older site and post.

How to install Kile on Mac OS X - http://hints.macworld.com/article.php?story=20071024061901344

Howto install KILE on Mac OS X natively - http://projectsymphony.blogspot.com/2008/03/howto-install-kile-on-mac-os-x-natively.html

Kile on Windows.

Installing Kile on Microsoft Windows - http://sourceforge.net/apps/mediawiki/kile/index.php?title=KileOnWindows

Friday, July 29, 2011

Wednesday, April 27, 2011

Quickie - Keyboard shortcuts, Kile

Just found another keyboard shortcut for Kile. When wanting to move between tabs, simply press and hold atl + the left or right arrows.

Friday, March 4, 2011

Kile - Moving File Tabs

Ahhhh, finally. I always thought it would be nice if you could move the tab files around since I like them in a certain order sometimes. I thought for sure there was a way to do it but haven't found it....until now!! Simply click and hold the middle mouse button, and viola, the tabs can be moved by scrolling to the left or right!!

Tuesday, February 8, 2011

Update on Kile and Texmaker (and some TeXworks)

Alright, well I tried running Texmaker on my old laptop last night and was having trouble, probably due to my laptop.  Anyways I keep getting drawn back to Kile, so I think I will move between both.  I will probably stay on Kile when on Ubuntu and use Texmaker when I have to use Windows.

So one feature about Kile I really like, is its find and replace abilities.  I didn't really like TeXworks or Winedt's find features.  TeXworks is ok, but Kile's is quite nice, and IMO, blows the others out of the water.

Kile's find feature:




Well I just found out with a quick test that Texmaker's is just as good.  Both Kile and Texmaker make it seamless to quickly find words with an on the fly popup menu while TeXworks and Winedt made it painful where you had to keep hitting crtl+f!

Texmaker's find feature:



Ok, just got burned.  I just tested TeXworks again for a screenshot, and I noticed that there is an option for "Find all places" or something like that.  It also has a dropmenu for previous searches.  So TeXworks seems to be maybe just a notch under Kile and Texmaker.  I also imagine that Winedt has a similar feature that I missed too.




 So as of right now, to me, Kile and Texmaker seem to be the best LaTeX editors for Ubuntu/Linux where Texmaker is cross-platform so I would use it for Windows.  They both have a few better features than the others, but otherwise are pretty equal.

More on LaTeX editors: TeXworks, Texmaker, Kile, GEdit-LaTeX, Vim-LaTeX, TEA Text Editor, LaTeXila, and Winefish

Whelp, here I am again, debating on what LaTeX editor to use, :P.  I think I am going to try Texmaker out again.  The reason I am switching is that (not sure if was TeXworks itself, but I was using it so I am going to blame it, :P) I opened chapter 2 of my thesis and got a bunch of junk!  I don't know wth happened, but it looked like it had become corrupted.  It looked as if a log file was saved instead of my work.  Luckily, most LaTeX editors have backups of everything.  However, the latest backup TeXworks had wasn't the latest I know I had completed and saved!!  Luckily, I hadn't done much to the chapter so it will be easily fixed.

Thus, I am irritated with TeXworks so I am going to try Texmaker again.  The reason why I am trying Texmaker and not Kile is the fact that Texmaker is cross-platform.  A few things I have noticed since using Texmaker again.  One, is that I think my issue with the syntax coloring has partly to do with the type of font.  So I am going to experiment with fonts to see how they please my eyes.  However, Texmaker does not let you preview fonts like Kile, a con.


Here are some pics on Texmaker's font and syntax coloring and Kile's syntax coloring.





Another small thing that I don't like about Texmaker as compared to Kile and TeXworks is that in Texmaker you have to open up files one by one.  You cannot select more than one file at a time while in Kile and others like TeXworks you can.

Also, when scrolling through the tabs in TeXmaker, you cannot scroll through the last tab into the first again for a cycle while in Kile you can.  Heh, I may be switching to Kile again!  Oh well, a learning process

A few more editors to possibly try are Linux/Ubuntu's GEdit (text editor).  It has a LaTeX plug-in.  There is also a similar software/program/text editor to Emacs called Vi/Vim which stands for Vi Improved.  A few more in Ubuntu's software repositories are TEA Text Editor, LaTeXila, and Winefish.

One note about Vim and Emacs is that they are designed for optimizing keyboard use.  They maximize time spent using the keyboard with tons of shortcut commands.

http://projects.gnome.org/gedit/

http://www.vim.org/

http://vim-latex.sourceforge.net/

http://winefish.berlios.de/

http://tea-editor.sourceforge.net/

http://latexila.sourceforge.net/

A few discussions I found through Google over LaTeX editors.

http://ubuntuforums.org/showthread.php?t=793738

http://stackoverflow.com/questions/1235043/what-latex-editor-do-you-suggest-for-linux

http://www.latex-community.org/forum/viewtopic.php?f=41&t=9151

http://ubuntuforums.org/showthread.php?t=486126

http://www.ubuntugeek.com/gummi-simple-latex-editor-written-in-pythongtk.html

http://www.ubuntu-virginia.ubuntuforums.org/showthread.php?t=1559670

http://askubuntu.com/questions/501/whats-the-easiest-way-to-get-started-with-latex

Best editor for Debian. - http://www.latex-community.org/forum/viewtopic.php?f=28&t=9033&start=0

Here is a great in-depth blog post that reviews some LaTeX editors.  Has some cool animated pictures!!

http://www.charlietanksley.net/philtex/editors/

Tuesday, February 1, 2011

LaTeX - TeXworks, Kile, Texmaker, and others such as GNU Emacs & AUCTeX, LyX, and GNU TeXmacs

I am still experimenting with several LaTeX software and editors.  So far I have tried Texmaker and Kile extensively.  They are both pretty good, but not the best.  One thing I don't like with either is the syntax coloring (it may have better color available, but I haven't found it yet; I think there is an option to change colors, but I am not sure how much it improves with Kile or Texmaker).  To me it is harder to read the less colorful syntax highlighting of Kile and Texmaker.  However, Kile is a little better syntax coloring-wise than Texmaker, and Kile also has a few better features (it's been awhile since I have used Texmaker so I don't remember the differences, I just like the layout of Kile better than Texmaker).

However, I have recently tried TeXworks, and so far it is much more simple than Texmaker or Kile.  TeXworks seems to have much better syntax coloring, and it is an easy option to find and turn on or off.  It also recently helped me catch an error that TeXworks nor Kile could catch.  TeXworks it also cross platform so it works for Windows, Mac, and Linux.  This is especially helpful since I just had to use a Windows machine and use Winedt (as a frontend and MikTeX as the TeX compiler), which has only a free-trial for 30 days that I just found out about.

One good thing about Kile and Texmaker is that they will restore an old session so you don't have to re-open everything like you do in TeXworks.  Texmaker has an "Restore Previous Session" selection under the File menu.  However, only after you have opened up files before and closed Texmaker without closing the files.  Kile does the same except it does it automatically when the program is opened.

Anyways, TeXworks (as a frontend and TeXlive as the compiler) is what I am going to be trying out for now.  Really, Texmaker and Kile are not bad at all.  It is just more of a personal preference for cross platform and aesthetics.

I have also been attempting to use Emacs and AUCTeX or GNU TeXmacs editor.  Right now, Emacs is a little scary looking (not enough GUI for me), and GNU TeXmacs seems to be a LaTeX frontend similar to LyX.  I will try to update more on these later as from what I hear learning Emacs can be quite powerful.

Shots of TeXworks (click to enlarge a bit):





Shots of Kile and Okular:




Shots of Texmaker:




Link to AUCTeX documentation: http://www.gnu.org/software/auctex/manual/auctex.pdf

Link to TeXworks documentation: http://ftp.ctex.org/pub/tex/tools/editors/TeXworks/manual.pdf

Link to GNU Emacs: http://www.gnu.org/software/emacs/

Link to GNU TeXmacs: http://www.texmacs.org/

Link to LyX: http://www.lyx.org/

Link to Texmaker: http://www.xm1math.net/texmaker/

Link to TeXworks: http://www.tug.org/texworks/

Link to Kile: http://kile.sourceforge.net/

Friday, January 21, 2011

Quickie: Kile LaTeX Editor - Shortcut for commenting

Ok this is something real quick, and I had a hard time finding for some reason. Every now and then when trying to save in Kile by pressing Ctrl+S I would accidentally hit something else and comment the line, which is a nice trick/shortcut to know but I couldn't figure out what I had hit. It is in fact Ctrl+D. To uncomment press Ctrl+Shft+D.