[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Problem customizing engine for preview-latex
From: |
Mirko Vukovic |
Subject: |
Re: [AUCTeX] Problem customizing engine for preview-latex |
Date: |
Wed, 6 Oct 2010 17:27:35 -0400 |
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}.
>
> --
> Ralf
>
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':
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 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
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
No auxiliary output files.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
<*> ...tions,footnotes]{preview}[2004/11/05]\fi} r
egion.tex
! Emergency stop.
<*> ...tnotes]{preview}[2004/11/05]\fi} region.tex
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.
/home/paperwork/my-reports/2785--2010-10--semiannual-report
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%