LaTeX is a macro package implemented on Don Knuth's TeX programming language and is used primarily for creating high quality written documents. Note that http://tex.stackexchange.com is specifically dedicated to LaTeX questions (and TeX, and other related technologies).

learn more… | top users | synonyms

6
votes
4answers
11k views

Question about using pdflatex on RedHat in CentOS

I am a novice in using Linux systems. I was given an assignment of writing a document using LaTeX and converting the file into a pdf file to submit. So I tried using my CentOS to do so. The version ...
1
vote
2answers
222 views

Sed script inserting and appending in wrong place only in one particular place

I am trying to convert man pages to tex, and I keep getting \item[ in the beginning of the file and ] \hfill \\ After the part of the man pages where it shows ENV(1L). Everything else seems to ...
5
votes
3answers
351 views

Is troff/groff relevant anymore?

I've heard that troff/groff have largely been replaced by TeX. Is this true? The only thing that I know actually used troff nowadays is manpages. Is this also true? If not, what are some other uses?
5
votes
2answers
2k views

How to re-run vim auto-indentation on a tex file?

I have a LaTeX source file with its indentation messed up. I am looking for a way to force vim (may be through one of vim-latex-suite commands) to re-run the automatic indentation commands over the ...
3
votes
1answer
264 views

Unable to install Texmaker on Gentoo 3.8.13

I am using Gentoo 3.8.13 x86_64. I am trying to install Texmaker but I am facing some problem. emerge -av texmaker These are the packages that would be merged, in order: Calculating dependencies... ...
3
votes
1answer
645 views

apt installing more packages than specified as dependencies

I was trying to install texmaker from the repository. For installing the texlive I followed the steps described here. For this the control file I used is this. It has the file texlive-binaries in it. ...
3
votes
3answers
250 views

Install using synaptic ignoring dependencies

I was trying to install texmaker a latex editor in my debian system from synaptic. It shows in the dependency list texlive-base, texlive-common. etc as dependencies. But I have already installed ...
1
vote
1answer
67 views

latexmk with emacs only runs once instead of twice

I have latexmk setup to run through Auctex. I hit crtl + c crtl + c and the option latexmk is present. When I run a file that has new bibliography items, it says after compiling that I need to run ...
4
votes
1answer
168 views

Printing Latex source with a2ps

When I try to print out latex source code with a2ps somefile.tex I get error messages from egrep like egrep: Das Ende des angegebenen Intervalls ist nicht gültig which translates to "the end of ...
1
vote
0answers
165 views

how to setup AucTex with LuaTex in Emacs

How can I add to the list LuaTeX when I type Ctrlc Ctrlc? I was able to add Latexmk to the list by adding (add-hook 'LaTeX-mode-hook (lambda () (push '("Latexmk" "latexmk -pdf %s" TeX-run-TeX ...
1
vote
0answers
54 views

emacs auto indentation

I have Auctex and auto indentation set in my ~/.emacs but it doesn't work correctly for \end{enumerate}. If I had the following, (below is what would happen if I hit tab on the \end{enumerate} ...
1
vote
2answers
197 views

text color settings in emacs

I just switched to emacs from Vim today so I have no idea what I am doing. How do I change the syntax coloring in Emacs? Everything is green or light green. As you can see, latex tex is dark green ...
2
votes
1answer
109 views

Convert table in LaTeX

I copy the table from Calc (or Tracker) In my research I know three ways: 1: Record a macro: @a0f cw & <ESC>;.;.I\hline <ESC>A \\ (the spaces count ;) ) And then VG:normal ...
2
votes
1answer
71 views

extracting and copying parts of tex files into new tex files

I have a bunch of tex files in different folders on my system. The goal is to create new tex files (using a template, that has the title page, packages, new commands,...) that combines all the ...
1
vote
2answers
76 views

Latex auto package loading

In Windows, TexWorks loads the missing sty packages itself. In Linux it doesn't: how is this sty loading managed in Linux?
2
votes
1answer
4k views

How to install listings package in Kubuntu for LaTeX?

I installed LaTeX on my Kubuntu with those commands: sudo apt-get install abntex sudo apt-get install texmaker sudo apt-get install texlive-latex-base texlive-latex-extra texlive-latex-recommended ...
4
votes
2answers
3k views

Shellscript to print a directory tree and files's contents with a nice presentation

I'm trying to write a shellscript which prints a tree-view for a specific directory and it's subdirs to pdf via latex, as well as the titles and contents of all scripts contained within that primary ...
3
votes
1answer
199 views

Syntax highlighting of latex code blocks in ikiwiki

Is it possible to get syntax highlighting for LaTeX code blocks in ikiwiki (just something like it is automatically done in tex.sx)? To avoid misunderstandings: I don't mean math output produced for ...
3
votes
1answer
740 views

vim latex: disable quickfix

How can I disable latex's quickfix feature when editing tex files (having vimlatex installed). But I want to keep it for any other language… Pretty sure this is just a small flag, didn't find it ...
3
votes
2answers
121 views

Getting emacs to convert latex on the fly?

What's really nice about posting in the math stackexchange, and other forums, is that you can view the latex symbols right below as you're typing your post. Is there a way to do this in emacs? That ...
1
vote
1answer
247 views

TeXstudio: open file at line number n

I am creating a script to produce some .tex files with a lot of lines (a kind of automatic sample). The script finishes with texstudio /home/$USER/foo.tex where foo.tex is the file created before. ...
0
votes
2answers
2k views

Deleting many files except one type [duplicate]

Possible Duplicate: Deleting all files in a folder except files X, Y, and Z I am writing a script to compile many .tex files. After that, many auxiliaries files were created. So, I would ...
3
votes
1answer
921 views

Problem opening .dvi files

I would like to know why my Lubuntu 11.10 does not open my .dvi files created with Latex. Please, can anybody help me solve this problem? When I use evince L1.dvi, in the terminal, the evince ...
7
votes
2answers
4k views

yum require an older version of a package as dependency

I have installed TexLive 2012 via the official site and want to install epydoc which depends on an older version. However, when I try to install epydoc which depends on texlive, I get the below ...
2
votes
2answers
249 views

How to make a list and count LaTeX keywords in a source file?

I am a beginner, trying to make lists (and eventually count and make statistics) the LaTeX keywords appearing in some documents. Basically a LaTeX "valid" keyword can be identified by: The fact ...
4
votes
3answers
613 views

How to parse a file to extract 3 digits numbers kept in a “group number”

I am a beginner, and trying to write a shell script to parse a text file that is extracted from a standardization pdf file. I would like for each test group (identified by Group 0, Group 1... to get ...
3
votes
2answers
816 views

Insert multiline text into several files via commandline

I want to insert some code into multiple tex files foo*.tex in a directory, one line after \documentclass{.*}. Note that the files have different document classes so the .* is just a symbolic ...
3
votes
3answers
737 views

Compile all tex files in a directory

If I do pdflatex *.tex in a directory, only one tex file is compiled. Which syntax should I use that all *.tex files in the directory are compiled?
8
votes
7answers
3k views

How to sort (by whatever key) BibTex entries in `.bib` file?

I work with LaTeX and do versioning with Git. For bibliography management I use Mendeley. The problem is that each time Mendeley synchronizes it's .bib exports, they are in different order, what ...
4
votes
2answers
932 views

How do I get GrindEQ (Latex plugin for Word) to work with Word in Wine?

GrindEQ is a plugin for MS Word. It allows one to type LaTeX code into a Word document, then export that into Word's formatting (converts equations into Equation Editor equations, and takes care of ...
3
votes
3answers
635 views

Install pdflatex via SSH on Amazon EC2 instance

I need to install pdflatex on my Linux powered machine (Amazon EC2 instance, didn't decided yet which distribution would be the best so also feel free to give a hint) because I want to connect ...
1
vote
3answers
4k views

What is the native Gnome equivalent for Kile?

I was using Kile for editing Latex documents, but after latest package upgrade (I am running Debian Testing) all Kde applications are running reeeeaaaallllly slow - so I am looking for a temporary ...
3
votes
1answer
291 views

Installing Texlive on PC-BSD 8.2

How can I install TexLive on PC-BSD 8.2 and set all the environment variables?