Re: [AUCTeX] beamer

2018-03-03 Thread giacomo . boffi
Arash Esbati writes: > I'm not sure if we have an issue with the manual of preview here, but > IIRC, one must pass the environments option(s) explicitly to preview.sty > if loaded in .tex file, `active' alone doesn't suffice. This code > produces the desired result: > > \documentclass{beamer} >

Re: [AUCTeX] beamer

2018-03-03 Thread giacomo . boffi
Ciao Mosè, thank you for the working solution > (with-eval-after-load "preview" > (add-to-list 'preview-default-preamble >"\\PreviewEnvironment*{frame}" t)) that you have posted. Preview's info manual suggests to customize the "preview-default-preamble" variable but it's more or

Re: [AUCTeX] beamer

2018-03-03 Thread Arash Esbati
Mosè Giordano writes: > 2018-02-28 23:53 GMT+01:00 : >> I have two files, test1.tex >> >> \documentclass{beamer} >> \begin{document} >> \begin{frame} >> \[ a = \begin{bmatrix} 2 & 4 \\ 7 & 3 \end{bmatrix} \] >> \end{frame} >> \end{document} >> >> and test2.tex (* note that here I load preview.