Sunday, October 16, 2011

Configuring TeXstudio with the Okular viewer


TeXstudio:
1. Quick build and forward search 
Follow the menu Options/Configure TexStudio/Commands and change the configuration 
 a. Latex
latex -src -interaction=nonstopmode %.tex


 b. DVI Viewer 

 okular --unique %.dvi#src:@?c:m.tex

 c. PS Viewer 

 okular --unique %.dvi#src:@?c:m.tex
2. Spelling checker
Follow the menu Options/Configure TexStudio/General and change the configuration.
Download the dictionary at http://wiki.services.openoffice.org/wiki/Dictionaries, extract the archive file and point the Spelling dictionary to the extracted files 
Okular:
Inverse Search: 
1. Follow the menu Settings/Configure Okular/Editor/
2. Select Custom Text Editor from the "Editor" combo box and enter Command 

 texstudio -line %l %f


No comments: