You are not logged in.
I'm going to have to write some reports for my studies, and plan on using Latex.
I have some experience with Texmaker (Simple, not too much hassle.. compiles and does basically all the annoying work for you). But I'm still looking for competition for my Texmaker.
What are you guys using?
How are you compiling?
How's latex for you?
alf
Offline
I use Lyx whenever I have to do LaTex.
Offline
i use vim + latexmk.
Offline
I use vim with latexsuite.
Offline
vim. ~/.vimrc:
...
au BufNewFile,BufRead *.tex nmap <F5> ;w<CR>;silent !latexmk -quiet -pv "%"; latexmk -c "%"<CR><CR>;redraw!<CR>
au BufNewFile,BufRead *.tex set spell
...Last edited by Trilby (2013-01-21 16:39:09)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Vim in general.
Latex suite was too large for me, so I wrote somenthing with minimal functions I wanted:
" Vim plugin to improve writing in latex
" not so big as vimlatexsuite
if exists("g:loaded_simlatex") || &cp
finish
endif
let g:loaded_simlatex = 09
let s:keepcpo = &cpo
set cpo&vim
augroup filetypedetect
au! BufNewFile,BufRead *.tex call s:Simlatex_start()
augroup END
function! s:Simlatex_start()
setf tex
syntax on
inoremap <F6> <ESC>bcw\begin{<ESC>pa}<CR><CR>\end{<ESC>pa}<ESC>ki
" Space
inoremap <buffer> <silent> <S-Space> ~
inoremap <buffer> <silent> <Space> <C-R>=<SID>Tex_polish_sp()<CR>
inoremap <buffer> <silent> <CR> <C-R>=<SID>Tex_polish_sp()<CR><BS><CR>
endfunction
function! s:Tex_polish_sp()
if synIDattr(synID(line('.'),col('.')-1,0),"name") =~ '^texMath\|^texZone\^texRefZone'
return ' '
else
let s:col = col('.')
let s:linelenght = strlen(getline('.')) + 1
" put tilde after conjunction
if strpart(getline('.'),col('.') - 3, 2) =~? '^[[:space:]~(\[{]\?[aiouwz]$'
return '~'
" put tilde after initials and singular big letters
" after dot
elseif strpart(getline('.'),col('.') - 4, 3) =~? '^[[:space:]~(\[{]\?\u\.$'
return '~'
" put tilde after year, century
elseif strpart(getline('.'), col('.') - 8, 7) =~? '[0-9IVXLCM]\s\+\(r\|w\)\.[^a-ząśćźżłó]\{-}$'
s/[0-9IVXLCM]\zs\s\+\ze\(w\|r\)\.[^a-ząśćźżłó]\{-}\%#/\~/ei
exe 'normal '.s:col.'|'
if s:col == s:linelength
startinsert!
else
startinsert
endif
return ' '
" put tilde betweed number and unit
elseif strpart(getline('.'), col('.') - 10, 9) =~? '\(\d\|mln\|mld\|tys\.\)\s\+\(z³\|gr\|ha\|t\|mies\|godz\|min\|sek\|cm\|km\|mln\|mld\|tys\.\)[^a-z±æê³ñó¶¿¼]\{-}$'
s/\(\d\|mln\|mld\|tys\.\)\zs\s\+\ze\(z³\|gr\|ha\|m\|t\|mies\|godz\|min\|sek\|cm\|km\|mln\|mld\|tys\.\)[^a-z±æê³ñó¶¿¼]\{-}\%#/\~/ei
exe 'normal '.s:col.'|'
if s:col == s:linelength
startinsert!
else
startinsert
endif
return ' '
endif
endif
return " "
endfunction
let &cpo= s:keepcpo
unlet s:keepcpoIt's customized to my language (Polish) where we cannot leave words like: and, but, from at the end of a line.
Maybe you'll get inspired. It provides a mapping which I often use. I type the name of the environment and press <F6> and
it becomes:
\begin{environment}
|
\end{environment}Offline
I just use vim without latexsuite or any latex-related function ![]()
And I use tex2pdf to compile it to pdf, which is an script to do the "hard" part for you. (is not hard, is more like repetitive)
"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.
Offline
I use Emacs org-mode, which has excellent LaTex export. However, if you aren't familiar with Emacs, or willing to learn it, it might not be a good choice.
Offline
I use Lyx whenever I have to do LaTex.
This.
Offline
emacs, okular, make
Edit: BTW, it is LaTeX
Last edited by ewaller (2013-01-21 22:07:57)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
1) Vim with the latexbox and snipmate plugins for fast typing and PDF output
2) Zathura, which automatically updates the PDF currently open
I used to use Lyx, but found reconfiguring all the hotkeys really obnoxious. Learning plain LaTeX actually seemed simpler and easier, but that's just me.
Offline
Kile although there are some things I'm not totally happy with. I used TeXShop on OS X and can't find anything I like quite as much though Kile has some compensations. Okular. Vim for quick edits or when Kile becomes irritating.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I think gummi is nice.. the upshot being that it essentially live previews as you type.
Does vimlatex / latex suite allow you to quickly update & view the pdf when you want, e.g. with some keybind? This might be better so that the tex doesn't try to compile in the middle of math mode or something, causing errors.
I never really thought about it until someone mentioned it, but does gummi, which is constantly compiling/previewing, consume an overly large amount of power and take a hit on your battery life?
Offline
Does vimlatex / latex suite allow you to quickly update & view the pdf when you want, e.g. with some keybind?
There are several examples of precisely this in this thread. My vimrc contains only two *.tex specific rules, one for a keybinding to do specifically what you asked about.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'm more of the GUI-guy when it comes to regular scientific workload. Still i'm not that into WYSIWYG, that's why i choose the simple yet well-designed Texmaker.
Offline
As mentioned above Gummi is a very nice (compile as you type) latex editor. Highly recommended.
Offline
Regular vim here. Have tried vim-latexsuite and vim-auctex but neither does things quite as I would like them. Maybe I switched back to plain vim too quickly, also haven't properly configured the plugins to my wishes. Maybe I should...
Offline
vim-latexsuite
If you want a GUI I can also recommend gummi. It's nice and simple and has a preview as you type, also if you configure the snippets (http://dev.midnightcoding.org/projects/ … tshortcuts) to your needs it can save a lot of time.
Offline
Emacs with AUCTeX and RefTeX enabled. I can't imagine anything cooler especially when it comes to citing and referencing. The newest release of AUCTeX finally supports biber & biblatex (the successor of BibTeX) out of the box. And when doing maths you can preview the math snippets (or other things like tables/graphics) in the emacs buffer.
In fact, willing to be productive with LaTeX was the reason why I started learning emacs.
Last edited by ball (2013-01-22 16:39:07)
Offline
mralby wrote:I use Lyx whenever I have to do LaTex.
This.
+1 for LyX
Offline
I use Vim for all the text oriented stuff. The flavour of LaTeX is XeLaTeX with templates covering most of my needs.
I tried the majority of dedicated LaTeX editors & front-ends, but from all the bells and whistles I really need only syntax highlighting, decent navigation and editing features.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
geany, kile, vim
We are exactly the people our parents always warned us about.
Offline
Geany too, and sometimes Latexila, because it shows the file structure (sections, subsections etc) much better.
Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.
“No one without the knowledge of geometry may enter.“ Plato.
Offline
Texmaker, ftw!
I wrote my college theses with that and now i'm writing my PhD thesis in that. And for my .bib i use Jabref.
"Yo creo que los muertos son tiernos. ¿Nos besamos?"
Offline
vim with latex-box, much lighter and less intrusive than latex-suite.
But recently I use often vim to write markdown with latex snippets in it when needed, and convert it to whatever format needed with pandoc.
Mortuus in anima, curam gero cutis
Offline