Tag Info

New answers tagged

0

Adding the following to the .vimrc fixes it: let g:Tex_ViewRule_pdf='evince 2>/dev/null' This redirects evince's error stream to the "black hole" device file.


0

I have found the Ubuntu packages to be out of date, making it difficult acquire various latex libraries. I would suggest: http://www.tug.org/texlive/quickinstall.html


1

OK, just for future reference. If you have installed the whole version of TeX, say via MikTeX, then TeXStudio needs some time to check all packages. It will use mpm.exe (miktex package manager) to do that. The only solution is to wait. It just does it once :)


1

Another editor is Sublime Text where you can set up LaTeX compilation fairly easy with packages LaTeXTools or LaTeXing and have diff functionality in a variety of ways with Glue A package allowing to access your OS console, so you directly run commands like svn diff. FileDiffs A package allowing to diff different files or sections of files. Also, there ...


0

You can change the dictionary with M-xispell-change-dictionaryRET. It's also possible to select the dictionary using the menu Tools > Spell Checking > Change Dictionary.... In addition, you can specify the spelling language on a per-file basis with the file local variable ispell-local-dictionary, whose description (C-h v ispell-local-dictionary RET) ...


7

As of two days ago the online TeX editor ShareLaTeX has added change tracking to its features. Especially nice is that since it is online and requires you to have an account, it will automatically identify the user who enters the comment. Here is a link to their blog post explaining the new feature. It does have some limitations, though. See the big IDE ...


0

If you mean that you have problem with TeXMaker to stop doing the "special" accents like á,à,ã... and the only thing you can type is ~a,'a, etc. (when you pres accented letters on keyboard) I guess it's a SCIM config problem. For Linux like operating system I fix the problem installing the ibus-qt4 package: Debian/Ubuntu: $>sudo apt-get install ibus-qt4 ...


16

There's a tool called latexdiff which highlights differences between 2 tex files. You call it this way: latexdiff [ OPTIONS ] old.tex new.tex > diff.tex And then you run pdflatex on diff.tex and you will get a new pdf file which highlights changes in the document (quite similar to the review option in MS Word). Later edit: If you wish to compare ...


24

Well emacs of course:-) (M-x ediff to show diffs)


1

The version of Kile provided by ppa:kile/livepreview is broken in Ubuntu (crashes during initial tool list configuration), so you'll need to build an up to date version of (which will include the live preview feature) from source. To build from source in Ubuntu (original, generic instructions here): # Install a LaTex back end sudo apt-get update sudo ...


2

If you tell LaTeX the encoding of a certain file were latin1, but it is utf-8 in reality, you might encounter strange effects and errors. Even worse: changing encoding while writing... The encoding of a file is not stored in the file. It might be necessary to reencode your file, here is how to do that: How do I change the encoding of my files?


7

You can tell LaTeX what character encoding you are using with for example \usepackage[utf8]{inputenc} or \usepackage[latin1]{inputenc} With Emacs+AUCTeX the editor will recognize that line as well, and change the file's character coding if necessary. With other editors you might not be so lucky. Other than that, it's not really stored in the LaTeX file ...


8

something like for i in *.tex do sed -i -e 's/Q^{h}_{\([a-zA-Z]*\)}/\\q\1 /g' $i done Probably does something. (Save a copy of your files first:-)


2

As noted before, a true syntax checker for LaTeX (or any other TeX format) is strictly impossible due to TeX's Turing-completeness. However, you can find the most common errors with the lacheck script, included in your TeX distribution.


0

You might want to check out the "Exam" document class. You can use it to write an assignment or exam in LaTeX and include space for the the solutions (but not include the solutions themselves). Then you can change one statement and print another copy that includes solutions. The only other way I can think of to do what you seem to want is to do a lot of ...



Top 50 recent answers are included