Inactive

Project Summary

  Analyzed 4 days ago based on code collected 4 days ago.

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 &)

Share

In a Nutshell, latexince...

Languages

C
42%
Autoconf
26%
Make
20%
5 Other
12%
 
 

Lines of Code

 

Activity

30 Day Summary May 16 2013 — Jun 15 2013

12 Month Summary Jun 15 2012 — Jun 15 2013

Community

Ratings

Be the first to rate this project
 
Click to add your rating
 
Review this Project!
 
 
 

Creative Commons License 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.