Tag Info

Hot answers tagged

13

First things first. :) According to The Kile Handbook, chapter 13, "Kile's scripting feature allows for the execution of ECMAScript code. Scripts can be managed through the scripting panel in the sidebar." As a reference, both JavaScript and ActionScript are dialects of ECMAScript. Unfortunately, my answer won't TeX-related. But here we go. :) A quick ...


12

The undefined command is, in both cases, the the last token on the line after the error message, which is the documented behaviour here. Thus the issue is not with TeX or the amsmath package but with the parsing of the log file by Kile which appears to be in error given your description. Perhaps you should raise a bug report with the editor. Note that the ...


11

Simple answer: no. The align environment works very differently from equation: all of the material has to be read before any typesetting. (In that sense, it's similar to the beamer class frame environment, which people also ask similar questions about.) The material to be aligned has to be read before it is typeset to allow measurement, so it's not an option ...


10

Check this Ubuntu forums thread: How can I do an inverse search between okular and kile? Here is a summary of the required steps (not tested): Setup inverse search from Okular: Settings -> Configure Okular .. -> Editor -> Editor dropdown: "custom text editor" command: kile %f --line %l Set up Kile to tell LaTeX to add source info, i.e., set LaTeX ...


9

Go to Settings->Configure Kile Choose on the left Build Choose New and insert the name biber Now click on this new item and insert on the right into the field for the command /usr/local/texlive/2010/bin/x86_64-linux/biber (this example shows my path) Into the parameter field insert "%S" Now enable the Quick Build item on the left and add biber in the ...


9

You need to edit the xml file that provides the markup definitions. Depending on the distro, the file is /usr/share/apps/katepart/syntax/latex.xml ~/.kde4/share/apps/katepart/syntax/latex.xml /opt/share/apps/katepart/syntax/latex.xml /usr/share/kde4/apps/katepart/syntax/latex.xml You then need to add your environment name to <!-- filter the ...


9

AFAIK, Ubuntu ships with TeXLive 2009. The iso image is TeXLive 2011. There were many changes during this time. Also, tlmgr allows you to update the packages from the online repository. I used Debian TeXLive for many years, until changed to the current TeXLive at the end of 2011. I just got tired of manually updating my distribution with the new versions ...


8

To precise Andrey's answer: The todonotes package allows to use \todo commands to leave TODO notes in your documents. They are then displayed in the margin in draft mode, and removed in final mode. You can also generate a dynamic list of TODO notes with \listoftodos.


8

The syntax highlighting of Kile is governed by the general syntax highlighting scheme of katepart. The relevant file for LaTeX is called latex.xml, and can be found on Unix-like systems in /usr/share/apps/katepart/syntax/latex.xml or ~/.kde4/share/apps/katepart/syntax/latex.xml or /opt/share/apps/katepart/syntax/latex.xml or ...


7

As always, egreg has a great alternative solution for my crazy idea (kept at the bottom of this update, for historical reasons). :) There's a tool named texloganalyser (gotta love the spelling!) which might help us. It's shipped in TeX Live, so a quick texdoc texloganalyser (which redirects us to a perldoc texloganalyser) gives us all the flags we need: ...


7

The following works with pdflatex and feynmp: \usepackage{feynmp} \DeclareGraphicsRule{*}{mps}{*}{} \makeatletter \def\endfmffile{% \fmfcmd{\p@rcent\space the end.^^J% end.^^J% endinput;}% \if@fmfio \immediate\closeout\@outfmf \fi \ifnum\pdfshellescape=\@ne \immediate\write18{mpost \thefmffile}% \fi} \makeatother If ...


6

Word and LaTeX work quite differently. A lot of what has been said in answers to other questions (here and here) applies to working with Kile. Kile is just an editor. A lot of learning LaTeX is editor-independent. As has been already mentioned the Kile documentation will also be helpful. Kile is built on Kate, so the Kate documentation might be helpful for ...


6

Actually, Kile directly supports both a %TODO comment and a %FIXME comment. There may be others, but none of them seem to be documented anymore. Enter one of these and you will notice the syntax highlighting. To see all such comments in your TeX file or project look under the Structure tab in the side panel. You should see a tree of Sections, Figures, etc. ...


6

In the main menu of Kile, choose Settings and then Configure Kile. A window opens, in the left navigation tree choose Editor, Fonts & Colors. Then, on the right, click Highlighting Text Styles. Look for Math and change the green color to another one. Just double click on the green area next to Math and choose the color in the following color dialog.


6

In the German community UbuntuUsers a similar question was answered. Here the original Question: Kile: eigene Shortcuts definieren? So I answer this question in relation to the linked post. I tested my answer with Kile 2.1 beta 4 Open Kile go to: LaTeX -> User-Tags -> Edit User Tags Add your own user tag. If these settings are lost after a restart, use ...


6

You probably have tabs in your input file. You can, however, fix it without changing your input file, with either fancyvrb or listings; both packages allow also for making the type size smaller, so that the code fits in the margin. \documentclass{article} \usepackage{fancyvrb} % for simple solution \usepackage{listings,color} % for colored solution % for ...


6

(this answer only works for Linux users, sorry) There are two issues here. If you have a problem with the previewer user interface provided by Okular, I think there is not much you can do. You would probably need to fork Kile entirely to change that. If you have a problem with the PDF backend (poppler) you can compile a different PDF backend for Okular, ...


5

Kile text editor is inherited from the KDE general purpose editor (Kate), which provides an an option to set indentation according to some programming language conventions in: Tools -> indentation mode After the mode is set, Tools -> align is used to indent selected code. Unfortunately there is no indentation style for LaTeX, so you can write your own ...


5

The latest stable version of Kile (2.1.3) does not offer automatic updates. You can however update to the development version (Kile 3 beta 1) to get automatic updates and live preview. The dev version is in beta from quite some time and I use it in my production environment without issues. It is still a beta by the way, so there may be some rough edges. To ...


5

In my Kile version (2.1.0) I do have a "Settings" Menu which has a "Configure Kile" entry. Then I can configure "Build" and "Tools" execute any program I like. In fact, I have it configured to use either latexmk or my Makefile. You can even add buttons to the quick menu.


5

From http://www.winedt.com/about.html ... WinEdt has currently a limited capability to handle UTF-8 documents. Full support for Unicode is planned when a transition to the new version of Delphi will be completed. New functionality (like folding and full support for utf-8) is planned for future versions of WinEdt... This announcement has been on ...


5

put the following script as zzzz-texlive.sh into the directory /etc/profile.d/: export PATH=/usr/local/texlive/2011/bin/`uname -i`-linux:$PATH export MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH unset TEXINPUTS unset TEXMFCONFIG and restart the system


4

Switching my comment to an answer At the moment this setting is useless. By choosing LaTeX -> Bibliography -> book you will get all allowed keys of biblatex and normal bibliography-styles. For example: lastchecked isn't defined by jurabib and biblatex instead both packages provide the key urldate.


4

The problem is, as is shown in the LyX Wiki, that longtables do not work inside floats, and there is no possibility to give a caption inside the table. But the hack given in the mentioned LyX Wiki section does not help as soon as you define a table head, because then the line with the caption in ERT is moved below the \endhead command. Thus, you have to ...


4

The problem is some rather strange (to me) behavior of Kile: When you press the [Tab] key, it inserts two spaces into the document instead of a tab. But it also replaces any 8 consecutive spaces by a tab character. This obviously completely messes up any formatting. To fix this problem either use an editor with sane default settings or go to "Settings" > ...


4

put the .../texlive/bin/../ to your path and everything will be fine. A good idea is to create a file zzz-texlive.sh in /etc/profile.d/: export PATH=/usr/local/texlive/2010/bin/`uname -i`-linux:$PATH export MANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH export INFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH unset TEXINPUTS unset ...


4

Your setup clashes with the "paranoid" setting of TeX Live (and MiKTeX, also) when it comes to writing files. You see it in the information line /usr/local/bin/pdflatex: Not writing to ../fbm/Titlepage.aux (openout_any = p) The distribution is set up so that TeX programs never open for writing files whose path includes going up from the working directory, ...


4

This can be achieved by creating a custom auto completion file. Such a file has the extension cwl and (on my systom) has to be saved under ~/.kde4/share/apps/kile/completion/tex. The # is a comment char in such a file. In such a file you write the commands with the text you want to appear in the arguments. # custom auto-completion file # ...


4

\usepackage[utf8x]{inputenc} will not work any longer on Ubuntu/Kile. I had the same problem as I updated from 10.04 to 11.11. Now you simply have to use: \usepackage[utf8]{inputenc} Just remove the x from utf8x.


4

I was looking for the same thing, and could not find it. Below is a Kate script I've written to manage indentation for {} \begin and \end, handling escape characters. The script is submitted in the Master-branch in Kate's repository. I won't update any changes here. If it checks out, they plan to include it in the next release. If you want to try it out, ...



Only top voted, non community-wiki answers of a minimum length are eligible