Evince with Latex Backward Search.
How to use
Suppose you have a TeX source file "main.tex"
1. Using DVI src specials:
latex --src-specials main.tex
export LD_LIBRARY_PATH=/usr/local/lib/
/usr/local/bin/evince --editor="gedit +%l %f" main.dvi
2. Using SyncTex & DVI:
latex -synctex=1 main.tex
export LD_LIBRARY_PATH=/usr/local/lib/
/usr/local/bin/evince --editor="synctex edit -o %p:%x:%y:%o -x 'gedit +%%{line} %%{input}'" main.dvi
3. Using SyncTex & PDF:
pdflatex -synctex=1 main.tex
export LD_LIBRARY_PATH=/usr/local/lib/
/usr/local/bin/evince --editor="synctex edit -o %p:%x:%y:%o -x 'gedit +%%{line} %%{input}'" main.pdf
4. Create a BASH script /usr/local/bin/texpdf :
#!/bin/bash
fn=$1
fn=${fn%'.tex'}
export LD_LIBRARY_PATH=/usr/local/lib/
latex --src-specials $fn.tex && latex --src-specials $fn.tex && dvipdfmx $fn.dvi && rm $fn.nav $fn.snm $fn.blg $fn.aux $fn.log texput.log $fn.out $fn.toc -f && (/usr/local/bin/evince --editor="gedit +%l %f" $fn.dvi &)
30 Day Summary May 16 2013 — Jun 15 2013
|
12 Month Summary Jun 15 2012 — Jun 15 2013
|
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.