Hi Keita,

Ikumi Keita <ik...@ikumi.que.jp> writes:

> Thanks for your report. I confirmed what you say. This is basically a
> issue described in preview-latex manual[1]. However, the workaround
> mentioned there, namely putting
> \PreviewMacro*\textbf
> in the preamble, doesn't work because it is ignored by LaTeX as
> ,----
> | l.7 \PreviewMacro
> |                  *\textbf
> | 
> | ./tst-prv3.tex:7: LaTeX Error: Missing \begin{document}.
> `----
> . When I put \PreviewMacro*\emph after \begin{document}, document
> preview (C-c C-p C-d) does work but region preview doesn't.

Does this work in the preamble?

  \AtBeginDocument{\PreviewMacro*\textbf}

> I'll add \textbf in the default "prauctex.cfg".

Thanks for fixing this.

Best, Arash



_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#71690: ... Matt Mitchell
    • bug#71... Ikumi Keita
      • bu... Arash Esbati
        • ... Ikumi Keita
          • ... Matt Mitchell
            • ... Ikumi Keita
              • ... Arash Esbati
                • ... Jeremy Bryant via bug-auctex via Bug reporting list for AUCTeX
                • ... Arash Esbati

Reply via email to