TeXstudio: Building and Compiling Issue

I am using TeXstudio, and am running into some difficulties. I have MikTex (evidently this is needed), but it still won't compile. If I add any new content to my LateX document, and then click the green arrow button, it loads an old version of my document, but doesn't include the newly typed content.

How can this be fixed?

Problem with scrolling in TeXStudio

I am using Macbook Pro and TeXStudio. While viewing the Tex file, the page is always scrolling back to the top automatically. How to solve this ?

Why OSX Texstudio cannot compile this?

I have tried the following MWE on Windows 7 and OSX (Mavericks) with different front ends. Windows Tex system is Miktex 2.9 and on OSX it is MacTeX 2013. In all cases PdfLaTeX is run and write18 (or shell escape) is enabled. The result:

  1. Winedt+Miktex on windows, code compiles with no problem.
  2. Texstudio+Miktex on windows, code compiles with no problem.
  3. Texmaker+Miktex on windows, code compiles with no problem.
  4. Texshop+MacTex on Mavericks, code compiles with no problem.
  5. Texmaker+MacTeX on Mavericks, code compiles with no problem.
  6. Texstudio+MacTeX on Mavericks, code does not compile correctly, the figure does not show and is replaced by an empty square.

My guess is that there is something wrong with the way auto-pst-pdf operates when it is called via Texstudio under OSX. Probably in the first run that latex+dvips+ps2pdf is called via shell.

Can anyone verify this odd behavior of Texstudio under OSX or suggest a solution? Here is the MWE:

\documentclass{article}
\usepackage{graphicx}
\usepackage{microtype}
\usepackage{auto-pst-pdf}
\begin{document}
This is a test. 
\bigskip
\includegraphics[width=5in]{example-image-a.eps}
\end{document}

Error: Command crashed: biber.exe

This is my first time using biber in TexStudio and I got this error:

Error: Command crashed: biber.exe ""

I have declared

\usepackage[backend=biber]{biblatex}

Set my default bibliography to biber

What goes wrong?

Update 1:

I manage to run it now by "running my TexStudio" as administrator which is weird as I do not have to run it as administrator for using other packages

However I got the error message:

Entity: line 1957: parser error : expected '>' Bell2005Bell2005

and found these in log

"\x{fffd}" does not map to ascii at C:\Users\X\AppData\Local\Temp\par-4469677561\cache-6bef6bfac2f8155f13b160f6720d3dbe6a10b684\inc\lib/Biber/Utils.pm line 949. "\x{fffd}" does not map to ascii at C:\Users\X\AppData\Local\Temp\par-4469677561\cache-6bef6bfac2f8155f13b160f6720d3dbe6a10b684\inc\lib/Biber/Utils.pm line 949. "\x{fffd}" does not map to ascii at C:\Users\X\AppData\Local\Temp\par-4469677561\cache-6bef6bfac2f8155f13b160f6720d3dbe6a10b684\inc\lib/Biber/Utils.pm line 949. "\x{fffd}" does not map to ascii at C:\Users\Digua\AppData\Local\Temp\par-4469677561\cache-6bef6bfac2f8155f13b160f6720d3dbe6a10b684\inc\lib/Biber/Utils.pm line 949.

WARN - BibTeX subsystem: C:\Users\X\AppData\Local\Temp\Yy0v0remZD\x.bib_35980.utf8, line 1968, warning: possible runaway string started at line 1955 INFO - Overriding locale 'English_United States.1252' default tailoring 'variable = shifted' with 'variable = non-ignorable' INFO - Sorting 'entry' list 'none' keys INFO - No sort tailoring available for locale 'English_United States.1252'

Update 2 after adding the packages

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

the above problem no longer exist but after the first compilation using pdflatex ( 1. pdflatex->2. bibier->3. pdflatex), I got the warning in log:

'babel/polyglossia' detected but 'csquotes' missing.

Second step (runnning biber) is fine, with the following messages:

Process started: biber.exe "t"
INFO - This is Biber 1.8
INFO - Logfile is 't.blg'
INFO - Reading 't.bcf'
INFO - Using all citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'mems.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'mems.bib'
INFO - Overriding locale 'English_United States.1252' default tailoring 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting 'entry' list 'none' keys
INFO - No sort tailoring available for locale 'English_United States.1252'
INFO - Writing 't.bbl' with encoding 'UTF-8'
INFO - Output to t.bbl
Process exited normally

Final compilation gives errors:

Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX
Missing { inserted
Missing } inserted
Undefined control sequence
Undefined control sequence
Undefined control sequence
Undefined control sequence
Missing { inserted
Missing } inserted
Extra }, or forgotten $
Missing } inserted
Undefined control sequence
Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX
'babel/polyglossia' detected but 'csquotes' missing.
Overfull \hbox (3.80615pt too wide) in paragraph
Overfull \hbox (14.87988pt too wide) in paragraph
Overfull \hbox (0.31851pt too wide) in paragraph
Overfull \hbox (4.94199pt too wide) in paragraph
Overfull \hbox (1.34059pt too wide) in paragraph
Overfull \hbox (7.74234pt too wide) in paragraph
Overfull \hbox (0.64954pt too wide) in paragraph
Overfull \hbox (0.59695pt too wide) in paragraph
Overfull \hbox (0.84393pt too wide) in paragraph
Overfull \hbox (6.73877pt too wide) in paragraph
Overfull \hbox (2.74342pt too wide) in paragraph
Overfull \hbox (6.36723pt too wide) in paragraph
Overfull \hbox (3.95943pt too wide) in paragraph
Overfull \hbox (8.18732pt too wide) in paragraph
Overfull \hbox (3.7426pt too wide) in paragraph
Overfull \hbox (11.34412pt too wide) in paragraph
Overfull \hbox (9.60242pt too wide) in paragraph
Overfull \hbox (1.88995pt too wide) in paragraph
Overfull \hbox (3.0841pt too wide) in paragraph
Overfull \hbox (1.00458pt too wide) in paragraph
Overfull \hbox (9.6214pt too wide) in paragraph

All these error point to the line \printbibliography

\documentclass{article}
\usepackage[british]{babel}
\usepackage[]{url}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber, style=ieee, urldate=comp]{biblatex}

\renewbibmacro*{bbx:savehash}{}

\addbibresource{mems.bib}

\begin{document}
\nocite{*}

\printbibliography

\end{document}

Disable slash insertion on TeXstudio

Everytime I'm in the math mode and there already is a \ typed and I type another one, TeXstudio replaces the old one with the new one instead of let me having a \\ typed. This is annoying me and I would like to disable it, but I can't find where to do it. Can someone help?

How to put placeholder in macros in TexStudio

For example, if I launch the macro, \vec{·} will be inserted and the cursor will be automatically jumps to · so that I can type in. It just like Ctrl+Shift+F for \frac{·}{·}. In TexMaker the placeholder seems to be #INS#, but it doesn't work in TexStudio.

Is there an Autocorrect feature in TeXStudio 2.6.2?

I was wondering if there's an Autocorrect feature in TexStudio 2.6.2 that works like in MS Word so that if I have to type a certain word many times, the editor writes it for me as soon as I press spacebar after I finish typing the shortcut for that particular word. (Eg. phl --> photolithography)

I've already searched StackExchange for similar questions and read Qrrbrbirlbel's comment here. I've tried my hand at the Macros but it's not working properly, maybe some bug that needs TeXStudio to re-start for it take action or maybe I simply don't know how to make it work. Can someone help me, please?

Accidentally Converted Latex into Binary

My .tex file, I'm pretty sure has become a binary file. It begins with this:

\%PDF-1.5
\%ÐÔÅØ
6 0 obj <<
/Length 1662      
/Filter /FlateDecode
>>
stream

and there's a lot of odd symbols. I'm using TeXstudio to compile my documents and when I click the 'view' button I get the document as it looked previously so I'm assuming all the data is still there, but is there any way to get this back into a latex form so I can continue actually using it, or do I have to begin from scratch?

How to fix this error when launching texindy in windows using TeXstudio editor?

I noticed that recently, when I launch texindy using the shortkey in TeXstudio F12 it throws an error:

Process started: texindy.exe

usage: texindy.pl [-V?h] [-qv] [-iglr] [-d magic] [-o outfile.ind] [-t log] \ [-L lang] [-C codepage] [-M module] [-I input] [idx0 idx1 ...] GNU-STYLE LONG OPTIONS FOR SHORT OPTIONS: -V / --version -? / -h / --help -q / --quiet -v / --verbose -i / --stdin -g / --german -l / --letter-ordering -r / --no-ranges -d / --debug (multiple times) (supported: script, keep_tmpfiles, markup, level=n) -o / --out-file -t / --log-file -L / --language -C / --codepage -M / --module (multiple times) -I / --input-markup (supported: latex, omega) C:\texlive\2013\bin\win32\runscript.tlu:650: command failed with exit code 1: perl.exe c:/texlive/2013/texmf-dist/scripts/xindy/texindy.pl

Process exited with error(s)  

Below is a screenshot of texindy configuration in TeXstudio:
enter image description here

When I use arara to compile there is no problem with xindy, here is the arara code:

% arara: xelatex: { shell: true }
% arara: makeglossaries
% arara: biber
% arara: xelatex: { shell: true }   
% arara: xelatex: { shell: true } 

This is an excerpt from arara log file.txt regarding xindy:

added glossary type 'main' (glg,gls,glo)
xindy  -L english -C utf8 -I xindy -M "phdmain" -t "phdmain.glg" -o "phdmain.gls" "phdmain.glo"
Opening logfile "phdmain.glg" (done)
Reading indexstyle...
Loading module "iaheC42kMp"...
Loading module "lang/english/utf8-lang.xdy"...
Loading module "lang/english/utf8.xdy"...
Finished loading module "lang/english/utf8.xdy".
Finished loading module "lang/english/utf8-lang.xdy".
Loading module "phdmain.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "phdmain.xdy".
Finished loading module "iaheC42kMp".
Finished reading indexstyle.
Finalizing indexstyle... (done)

This is an excerpt from the running messages while compiling the document successfully using arara:

Status: SUCCESS

Running MakeGlossaries...

makeglossaries version 2.07 (2013-06-17)
added glossary type 'main' (glg,gls,glo)
xindy  -L english -C utf8 -I xindy -M "phdmain" -t "phdmain.glg" -o "phdmain.gls" "phdmain.glo"

Opening logfile "phdmain.glg" (done)
Reading indexstyle...
Loading module "iaheC42kMp"...
Loading module "lang/english/utf8-lang.xdy"...
Loading module "lang/english/utf8.xdy"...
Finished loading module "lang/english/utf8.xdy".
Finished loading module "lang/english/utf8-lang.xdy".
Loading module "phdmain.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "phdmain.xdy".
Finished loading module "iaheC42kMp".
Finished reading indexstyle.
Finalizing indexstyle... (done)

Reading raw-index "oxOB1i9YoU"...
Finished reading raw-index.

Processing index... [10%] [20%] [30%] [40%] [50%] [60%] [70%] [80%] [90%] [100%]
Finished processing index.

But as I said when I invoke xindy alone it throws the error mentioned in the beginning of the question.

So what am I missing here? how to fix this error?

Note:
TeXstudio version: 2.6.4
Xindy version: 2.4
Distribution TexLive2013

Why does TexStudio stop working when I put \usepackage{graphicx}?

I am writing a .tex document in TexStudio.

When I have to insert an image I am using

\begin{figure}
\centering
\includegraphics[width=0.9]{./...}
\caption{...}
\label{...}
\end{figure}

And, to support \includegraphics, I am doing

\usepackage{graphicx}

But just after putting that, I am having error like

Missing \begin{document}. m
Missing $ inserted ...previous=i;a.selectedItem=h},1)}false!==a._
Misplaced alignment tab character & ...1)}false!==a._trigger("select",c,{item:h})&
Misplaced alignment tab character & ...)}false!==a._trigger("select",c,{item:h})&&
Extra }, or forgotten $ ....element.val();a.close(c);a.selectedItem=h}
Misplaced alignment tab character & ...r:function(){a.menu.element.is(":visible")&
Misplaced alignment tab character & ...:function(){a.menu.element.is(":visible")&&
Misplaced alignment tab character & ...t.is(":visible")&&a.element.val()!==a.term&
Misplaced alignment tab character & ....is(":visible")&&a.element.val()!==a.term&&
Extra }, or forgotten $ ...ent.val()!==a.term&&a.element.val(a.term)}}
Misplaced alignment tab character & ...left:0}).hide().data("menu");d.fn.bgiframe&
Misplaced alignment tab character & ...eft:0}).hide().data("menu");d.fn.bgiframe&&
Extra }, or forgotten $ ....fn.bgiframe&&this.menu.element.bgiframe()}
Misplaced alignment tab character & ...tOption.apply(this,arguments);a==="source"&
Misplaced alignment tab character & ...Option.apply(this,arguments);a==="source"&&
Misplaced alignment tab character & ...ement[0].ownerDocument)[0]);a==="disabled"&
Misplaced alignment tab character & ...ment[0].ownerDocument)[0]);a==="disabled"&&
Misplaced alignment tab character & ...nt[0].ownerDocument)[0]);a==="disabled"&&b&
Misplaced alignment tab character & ...t[0].ownerDocument)[0]);a==="disabled"&&b&&
Misplaced alignment tab character & ...rDocument)[0]);a==="disabled"&&b&&this.xhr&
Misplaced alignment tab character & ...Document)[0]);a==="disabled"&&b&&this.xhr&&
Misplaced alignment tab character & ...ons.source;this.source=function(c,f){a.xhr&
Misplaced alignment tab character & ...ns.source;this.source=function(c,f){a.xhr&&
Misplaced alignment tab character & ...s:function(h){this.autocompleteRequest===e&
Misplaced alignment tab character & ...:function(h){this.autocompleteRequest===e&&
Misplaced alignment tab character & ...or:function(){this.autocompleteRequest===e&
Misplaced alignment tab character & ...r:function(){this.autocompleteRequest===e&&
Misplaced alignment tab character & ...onse:function(a){if(!this.options.disabled&
Misplaced alignment tab character & ...nse:function(a){if(!this.options.disabled&&
Misplaced alignment tab character & ...e:function(a){if(!this.options.disabled&&a&
Misplaced alignment tab character & ...:function(a){if(!this.options.disabled&&a&&
Misplaced alignment tab character & this.element.val()&
Misplaced alignment tab character & this.element.val()&&
Misplaced alignment tab character & ...Item})},_normalize:function(a){if(a.length&
Misplaced alignment tab character & ...tem})},_normalize:function(a){if(a.length&&
Misplaced alignment tab character & ...malize:function(a){if(a.length&&a[0].label&
Misplaced alignment tab character & ...alize:function(a){if(a.length&&a[0].label&&
Misplaced alignment tab character & ...lement.is(":visible"))if(this.menu.first()&
Misplaced alignment tab character & ...ement.is(":visible"))if(this.menu.first()&&
Misplaced alignment tab character & ...t()&&/^previous/.test(a)||this.menu.last()&
Misplaced alignment tab character & ...()&&/^previous/.test(a)||this.menu.last()&&
Extra }, or forgotten $ ...idget:function(){return this.menu.element}}
Missing } inserted ...peRegex:function(a){return a.replace(/[-[\]
Too many }'s ...peRegex:function(a){return a.replace(/[-[\]
\begin{document} ended by \end{trivlist}. ...peRegex:function(a){return a.replace(/[-[\]
Extra \endgroup ...peRegex:function(a){return a.replace(/[-[\]
Missing $ inserted ...tion(a){return a.replace(/[-[\]{}()*+?.,\\^
Missing { inserted ...ion(a){return a.replace(/[-[\]{}()*+?.,\\^$
Missing } inserted ...ion(a){return a.replace(/[-[\]{}()*+?.,\\^$
You can't use `macro parameter character #' in horizontal mode ...n(a){return a.replace(/[-[\]{}()*+?.,\\^$|#
..........................................

Can anyone please help??