I've been using Emacs with the AUCTeX package to edit and compile my .tex documents lately, but there's something that's been bugging me. First, here is the short question:How can I costumize the default view command emacs runs when I type C^c C^c <enter>?I've read that it's done with the tex-view-dvi-command variable, but I've had no luck getting it to work at all.Now the explanation:It bugs me that whenever I type C^c C^c to compile, and then C^c C^c to view dvi, emacs doesn't automatically give focus to the dvi viewer (xdvi). Digging a little, I found out that the command "wmctrl -a main" gives focus to xdvi ("main" is the title of the xdvi window). So, if I can only customize AUCTeX's standard view command to include "&& wmctrl -a main" at the end, than my problem would be solved
I am a semi-noob on this and I have problems getting my emacs recognizing .tex as latex and even running latex-mode. Usually when you run latex-mode (M-x : latex-mode) emacs should switch to latex-mode, but nothing happens in my case. The menu bar still show the TeX options, highlighting remains the same etc.
I am running emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4), this is on a university system so I don't know much about it.
> uname -a Linux karakum 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 00:57:09 EST 2010 x86_64 x86_64 x86_64 GNU/Linux.
What I want is to be able to type something like "camin" (with the accented ") in Emacs, and get it to work after latexing it. An alternative would be to type "cami'on", but the first alternative would be much better. After googling it seems that this (or at least the second option) should be possible with not much hassle, but I just can't get it to work (maybe because I haven't got much sleep last week).
I'm trying to use emacs in the auctex mode. But Flymake complains about something I could not understand. This is the error it shows whenever I open a tex file.
Code: Flymake:Configuration error has occured while running (texify --pdf --tex-option=-c-style-errors PATH_TO_FILE_DIRECTORY/FILE_flymake.tex). Flymake will be switched OFF.
I have texify installed on my system. I also tried suggestions in the emacs wiki on FlymakeTex, added the following lines in my .emacs file:
Code: (defun flymake-get-tex-args (file-name) (list "pdflatex" (list "-file-line-error" "-draftmode" "-interaction=nonstopmode" file-name))) How do I stop this msg and use flymake.
I just want to upgrade my Slackware 13.1 kernel (2.6.33.4) to the latest stable kernel from kernel.org (2.6.38.2). I have never done anything like this and I am a Linux newbie, so I would appreciate a "Kernel Patching for Dummies" version if possible. I did do a search on this forum and most of what I read was over my head. I found an FAQ on kernelnewbies.org on "How To Apply A Patch" but when I attempted what they suggested, it said it couldn't find the file to patch at line 5 and asked me which file to patch. So I CTRL-Z'd out of there and came here. Here's what I tried:
I'm just texing a little report and I get the following error message: LaTeX Warning: Citation 'tzvp' on page 4 undefined on input line 74 I have made a bibliography in the classic way, i.e.
I'm trying to install a patch but when I copy it into terminal I get message " /home/john/patch-modules_v62-opensuse.sh 'vmware-7.1.3-2.6.37-rc5.patch' not found. copy it to the current '/home/john' directory. Exiting" But I have it in my home directory!
I'm trying to install a .sty, .cls, and a .bst (bibtex) file for latex. I'm currently using texlive in Ubuntu 10.10. I have the general idea of where to install these but whenever I try to compile the .tex I get an error that says permission is denied to the .cls file, so I'm not sure what's going on.
I've ran the mktexlsr and everything else, but I still get this problem. If I run sudo pdflatex <filename> I wind up compiling a pdf document that I can't access. Not sure if I have to add permissions to the .sty and .cls files after they've been copied.
Additionally, the .sty and .cls files I'm using aren't in the official texlive distribution so I would definitely need to install them myself.
I need to write a document in japanese using Latex, but i'd like to know what are the steps to do it from scratch. I'm not so familiar with Latex and i really need some advices, especially regarding the packages for the language and all. What are the necessary programs to get? Packages? libraries?
I am using the Gedit LaTeX Plugin 0.2 rc3 on ubuntu 10.04 with gedit 2.30.3. The problem is that it will not make pdf files. I do have rubber installed.
Question how can I update latex packages is there any easy way to do it in linux, such as in windows (miktex for example).I have installed all the TeX-live packages on the ubuntu software center. But I seem to have outdated older packages.03156397135
I was trying to do a school assignment in LaTeX. The assignment involves having the page split into three columns: the first column is for the quote, the second is for a reaction, and the third is for questions. These columns must be able to break in the middle of a row. I was trying to accomplish this using LaTeX.
First, I tried the longtable environment, but that would not allow me to pagebreak in the middle of a row. Then, I tried parcolumns, but for some reason, the second "row" had a huge space between the first two words. Does anyone know of an environment suitable for this kind of work?
I am totally new to LaTeX. I need to prepare a journal paper regarding my project work. I have some experience in preparing articles using LyX. The Elsevier group of journals has a format which is available as a zip file from [URL].. how to install this in a LaTeX environment like Kile?Is it possible to import this to an environment like LyX?
I got Kile installed and when I tired to run a template, it wouldn't compile. I ran it thru the cmd line and i see that I'm missing the required packages. I want to install the tucv package [1] and was getting started to do it manually but then I realize I needed to install a handful of other packages. I heard it was easier to install with the Package Manager. I looked at the tut and I'm stuck on finding the apt-line for CTAN.[URL]..
I installed the vim-latex suite. Syntax colors are working great, but the autoindent feature is not working like it works for .html and .f90 files. My .vimrc file is, as far as I can see, correct:
Code: syntax on " REQUIRED. This makes vim invoke Latex-Suite when you open a tex file. filetype plugin on " IMPORTANT: win32 users will need to have 'shellslash' set so that latex " can be called correctly. set shellslash " IMPORTANT: grep will sometimes skip displaying the file name if you " search in a singe file. This will confuse Latex-Suite. Set your grep " program to always generate a file-name. set grepprg=grep -nH $* .....
I'm trying to create a new .cls file for a journal called Bayesian Analysis. They supply a list of files called "latex macros" which I would like to use with Lyx to create the correct format. I've tried lots of things but no luck yet. This is the list of files I can get, Lyx 2.0, texmf, ubuntu 10.10
Hi. I work with large image files. On my ubuntu laptop, the 20 MB files take forever to form the little preview thumbnail icons on the desktop, and everything freezes up until they generate.
I'm poking around my preferences and options, but I can't seem to find a way to tell Ubuntu that I don't want it to form preview icons. Is there some way to turn them off?
I'm having trouble opening a pptx (powerpoint tex ie tex as in latex) file with LibreOffice. For the most part, LibreOffice opens the pptx file fine except for the fact that it is not translating certain mathematical symbols right. I really need to be able to open pptx files as many mathematicians are windows users. I figure there is a package or something I need to install but I don't know what it is.....
Our Matlab users met the problem in Ubuntu while using Latex interpreter in Matlab. Namely, eps and pdf files generation out of Matlab plot outputs plot legend and axes lables incorrectly. All the letters are mixed, impression that character spaces are too dense. We can't blame Matlab, since exactly the same examples with the same Matlab version work fine on CentOS. We tested Ubntu 9.10, 10.4 and 10.10 -- same problem. Matlab version R2010b.
In addition, jpg, png generated with no problems. It's eps and pdf only Matlab example: plot(1:1:10) xlabel('example','Interpreter','latex') ylabel('ExAmPlE','Interpreter','latex') a=legend('EXAMPLE example ExAmPle') set(a,'Interpreter','latex','Fontsize',13) print -depsc2 figure1 I am attaching a PDF, looks same as eps, but easier to display.
I'm trying to install Python and a LaTeX editor and can't really get either to work out. For texlive, I used 'sudo apt-get texlive-full', which didn't generate any errors, but I now can't seem to open the application. For Python, I used 'sudo apt-get update sudo apt-get install python2.6' which generated the error "Unable to lock directory /var/cache/apt/archives." I tried to remove a lock file that I read about on another post and open up SPM, but the error persisted.
i have installed ubuntu using WUBI, and it was working for the last 4 months. today i was trying to install lineno.sty file for latex files; using synaptic. while installing it some error message related to grub came and after the downloading was finish the system asked for rebooting. when i reboot the system it has gone to grub rescue mode. i have so many files saved in the ubuntu partition, i don't want to loose it.
Today i installed lucid and its working fine. But I have tones of .flv and .mp4 videos (from ..... ) which do not show a preview thumbnail when I have selected "Icon View" in Gnome. It shows the standard icon of a movie reel. Am I missing any settings? It used to work great in karmic.
If I want attach some images to e-mail or facebook, I can see just a names of files, usually numbers only. It is dificult to choose the right one, if I can not see prewiews. How can I do it?