General :: Getting Emacs Recognizing .tex As Latex And Even Running Latex-mode?
Jul 5, 2010
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.
View 12 Replies
ADVERTISEMENT
Jan 29, 2011
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.
View 1 Replies
View Related
Jul 28, 2010
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).
View 2 Replies
View Related
May 28, 2011
I'd like to use emacs auctex and its preview-latex feature. However I get an error
Code:
gs -dOutputFile=(_region_.prv/tmp3086MfS/pr1-3.png) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=png16m -r94.1897x94.1727
GS>{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne
code....
View 1 Replies
View Related
Feb 2, 2011
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.
[Code]....
View 2 Replies
View Related
Jan 24, 2010
I'm using ubuntu and I'd like to write latex documents. In windows, I was using miktex and texniccenter, but I think these softwares don't work on linux. What are the best softwares in linux to write latex documents, and how to install them ?
View 14 Replies
View Related
Aug 22, 2011
When I compile a LaTeX document in the terminal like so:
latex document.tex
How do I then abort the process? Ctrl-C doesn't work.
View 2 Replies
View Related
Jul 12, 2011
i would like to ask about latex in linux, if i want to use a package to draw a feynman diagram in latex(kile) but it doesn't exist in my computer, what i must suppose to do ?
View 4 Replies
View Related
Oct 31, 2010
Reading and revising LaTex 20-page documents seems to be much more easier with a printout (hardcopy) then reading them off a screen. However, I cannot edit the document in real-time (just scrabble comments on the paper) which is cumbersome.
So it there a tablet or even better an ebook device (with e-ink which is easier on the eyes) where I can read document similarly to a printout and edit them in real-time?
View 5 Replies
View Related
Aug 16, 2010
The following are the two tex input files written in vi and compiled with pdflatex. In the first case the document details (author, date etc) are displayed as desired but are omitted in the second case. The only difference is the use of maketitle.
Case 1:
documentclass{article}
author{Name}
date{}
itle{Title}
Begin{document}
maketitle
Text to be inputted
end{document}
Case 2:
documentclass{article}
author{Name}
date{}
itle{Title}
Begin{document}
Text to be inputted
end{document}
View 2 Replies
View Related
Apr 1, 2010
using TTF-font with LaTeX?
View 6 Replies
View Related
Feb 7, 2011
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.
View 2 Replies
View Related
May 5, 2010
A few days ago there was a huge TexLive update. Since I've installed the updates I get following error, when running pdfLatex:
Code:
kpathsea: Running mktexfmt pdflatex.fmt
So I guess it can't find pdflatex.fmt, but I don't know what to do against it.
View 2 Replies
View Related
Jun 18, 2010
Today I discovered a strange issue regarding LaTeX. I am currently working on my thesis and sometimes edit it on my laptop with F13 x86_64, and others with my office's Mac (Leopard). Fedora has TexLive installed (default Latex distribution) and I believe the Mac has its default distribution as well.
The problem is that the Mac seems to compile the document better (Latex + Bibtex + Latex + dvips + ps2pdf): page distribution looks better for one thing, space is better used. I notice that images (EPS) are rendered with an extra blank space on the bottom when compiling in Linux (which might be responsible for the page's arrangement).
Is there something I can do to fix this? Some option that perhaps the Mac has as a default but must be specified in Linux?
View 2 Replies
View Related
Jul 21, 2010
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?
View 1 Replies
View Related
Oct 18, 2010
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.
[URL]
View 3 Replies
View Related
Dec 16, 2010
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
View 6 Replies
View Related
Dec 19, 2010
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?
View 4 Replies
View Related
Jun 28, 2009
I have some strange behavior in Latex. I have added labels to all of my tables (currently there are 3) and my figure (currently there is only 1). So far I only notice this behavior with tables, though it may happen with figures as well...I will have to add another figure to test that.However, what is happening is that my list of tables is correctly generating the numbers of the tables (which are 3.1, 3.2, and 4.1). In the resulting PDF document, the tables have the correct numbers in the captions as well. The odd thing is that when I attempt to reference them using ef, it is printing the Chapter.Section[.Subsection] number the table is located in instead of the table's number itself.Right now I have two tables inside of Chapter 3 Section 3. They are as follows:
Code:
egin{table}[htdp]
egin{center}
[code]....
View 3 Replies
View Related
Sep 24, 2010
I am working on a literature project, and my school rules say to put the abstract in twice, both in Norwegian and English.
I have gotten LaTeX to accept this, but the page numbering is not good. it seems that I get this order (page numbers in ()
titlepage
Norwegian abstract(I)
blank page (II)
English abstract(I)
[Code].....
will I have to manually set the counter for each part of the preface to get a continuous count? Using report class
View 2 Replies
View Related
Jan 8, 2011
I'm trying to install LaTeX on my laptop, but when I type this...
sudo apt-get install texlive all I get is an error message:
E: unable to locate package texlive I also need to install BiBTeX.
View 4 Replies
View Related
Dec 19, 2015
I have a problem with compiling bibliography in Latex running on Debain Jessie. I have even tried to compile the stock example provided by ShareLatex web site, and it still doesn't work.I keep getting same error messages, when I run my own files AND the stock example:
I found no citation commands---while reading file document.aux
I found no ibdata command---while reading file document.aux
I found no ibstyle command---while reading file document.aux
View 1 Replies
View Related
Jun 28, 2010
I am creating a documentation (in English) where I need to write some Sanskrit words. My OS is debian-5.0.4. I have texlive-latex3 and have installed latex-sanskrit. Problem is what US-English keyboard will produce the Sanskrit letters. My 'Latex-A Document Preparation System' by Leslie Lamport gives the commands for some Western languages - Greek, Swedish, French. Is any document/manual available to suit my purpose?
View 5 Replies
View Related
May 18, 2010
I am currently working on a large document using LATEX and have bumped into a problem. Here is the thing: I write this document in several machines, there is a Mac at school, some Ubuntu based machine, and this Fedora 12 x64 laptop. The thing is that I compile the document periodically on these machines and I WOULD expect the results to be similar, but they are not because the resulting PDF is of inferior quality! (fonts do not look very well when they are zoomed in).
Mac OSX's latex-produced-PDFs are of higher quality than their Linux counterparts. Is there something I can do to fix that? Install an extra package perhaps?
View 11 Replies
View Related
Jan 24, 2010
I write my courses with Latex and I used Kdvi to read them. Since there is Okular the rendreing is very bad and I have to use back xdvi which works perfectly but is less friendly. I have no problem with pdf files. Did somebody exprience the same thing? How is it possible to solve it? I forgot to say that the problem occurs with opensuse 11.2, 11.2 and I've updated to the last version of Okular
View 6 Replies
View Related
Aug 6, 2011
I downloaded texlive-latex-doc by YaST. I would have a question:
1. I can't find it on my OpenSuse 11.4. Where was downloaded?
View 8 Replies
View Related
Apr 23, 2010
I have installed gedit latex pugin but I am not able to compile the tex file from the gedit.Ihave rubber installed as well
View 2 Replies
View Related
Jun 12, 2010
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?
View 2 Replies
View Related
Jan 4, 2011
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]..
View 1 Replies
View Related
Feb 1, 2011
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 $* .....
View 1 Replies
View Related