I've installed MiKTeX 2.9 and TeXStudio 2.4. I found suggestions on the web to change the default compiler to XeLaTeX, to provide accentuated words (I am portuguese!), to handle any type of images (pdf, eps, jpg, etc) and also to use system fonts. This seemed very interesting, as I usually use pdfLaTeX. However, I am dealing with some problems that I would like to solve.
First, I found that even with XeLaTeX we need to provide the
fontspec package such as to have accentuated words (well, I could use pdfLaTeX and
fontenc package with the same results). Is that right? If I build a file written in portuguese with XeLaTeX and without
fontspec I get no accents.
Second, when I use
fontspec package, the Inline preview of TeXStudio does not work. Is there any known bug or incompatibility of
fontspec with inline preview?
So the problem is: Compiling with XeLaTeX and
fontspec provides me with accents but no inline preview. Compiling with XeLaTeX without
fontspec provides me inline preview and no accents!
What am I missing?