[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: Problem customizing engine for preview-latex
From: |
Ralf Angeli |
Subject: |
[AUCTeX] Re: Problem customizing engine for preview-latex |
Date: |
Thu, 07 Oct 2010 16:54:02 +0200 |
* Mirko Vukovic (2010-10-06) writes:
> On Wed, Oct 6, 2010 at 4:46 PM, Ralf Angeli <address@hidden> wrote:
>> * Mirko Vukovic (2010-10-05) writes:
>>
>>> Running `Preview-LaTeX' on `_region_' with ``bmrtkztex
>>> "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}"
>>> "_region_.tex"''
>>
>> What happens if you run the command quoted above on the command line?
>> Assuming there is a _region_.tex file.
>>
>> I'd suspect that you get the following error as well:
>>
>>> ! Missing $ inserted.
>>> <inserted text>
>>> $
>>> <*> ...tions,footnotes]{preview}[2004/11/05]\fi} _
>>> region_.tex
>>>
>>> ! LaTeX Error: Missing \begin{document}.
>
> Yes. It seems that it tries to typeset `_' of `_region_.tex'. If I
> rename _region_.tex to region.tex, then it barfs on the `r':
Yes, because there is no "\input" before the file name.
If you use %' as an expander, you should use %` as well, just like in
the original value of `preview-LaTeX-command'.
--
Ralf