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?
fontspecis essentially like LaTeX withoutinputenc, so you have to specify accents "the old way". Sofontspecis highly recommended (it gives also easy access to all system fonts in OpenType or TrueType format). It's not clear what you mean with inline preview. – egreg Oct 11 '12 at 21:59.dvifile that is than converted to a.pngimage. This image is shown to you. Afaik there is no possibility LaTeX could handle XeLaTeX stuff. (And I couldn't find a way to change the command that is called internally. Check the “Messages” tab to follow the internals.) – Qrrbrbirlbel Oct 11 '12 at 22:10