bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] formatting error


From: Jobst Hoffmann
Subject: Re: [Bug-AUCTeX] formatting error
Date: Thu, 07 Jul 2005 14:09:19 +0200

Am Donnerstag, den 07.07.2005, 13:43 +0200 schrieb Ralf Angeli:
> * Jobst Hoffmann (2005-07-07) writes:
> 
> > In line 2653 of latex.el enable-multibyte-characters is called directly,
> > having no mule this leads to an error; in line 2663 it's called again,
> > but after the check, if nule is working.
> 
> Fixed in CVS.  Thanks for the report.
> 
Thank you very much for your quick response. But my other problem is
still around: automatically generated stuff like 
---8<------------------------------------
\begin{slide}
% \begin{main}
\ifvop{%
\lstdefinestyle{localStyle}{caption={main},%
firstline=20,lastline=23}%
}
{%
\lstdefinestyle{localStyle}{%
title={main},%
firstline=20,lastline=23}%
}
\lstinputlisting[style=localStyle]%
{%
/home/ax006ho/TeX/tests/texpower/fill.java%
}% \end{main}
\end{slide}
---8<------------------------------------

will be formatted by C-c C-q C-e to
---8<------------------------------------
\begin{slide}
    % \begin{main}
    \ifvop{%
\lstdefinestyle{localStyle}{caption={main},%
firstline=20,lastline=23}%
}
{%
\lstdefinestyle{localStyle}{%
title={main},%
firstline=20,lastline=23}%
}
\lstinputlisting[style=localStyle]%
{%
/home/ax006ho/TeX/tests/texpower/fill.java%
}% \end{main}
\end{slide}
---8<------------------------------------

but I'm expecting 

---8<------------------------------------
\begin{slide}
    % \begin{main}
    \ifvop{%
      \lstdefinestyle{localStyle}{caption={main},%
        firstline=20,lastline=23}%
    }
    {%
      \lstdefinestyle{localStyle}{%
        title={main},%
        firstline=20,lastline=23}%
    }
    \lstinputlisting[style=localStyle]%
    {%
      /home/ax006ho/TeX/tests/texpower/fill.java%
    }% \end{main}
\end{slide}
---8<------------------------------------
 
as it comes out if I'm formatting the environment linewise by hand (M-q)

Are there any chances to get the correct behaviour?

Happy aucTeXing!
-- 
Prof. Dr. Jobst Hoffmann            Tel:   (0049)-2461-99-3159
Fachhochschule Aachen Abt. Jülich   Fax:   (0049)-2461-99-3189
Fachbereich 3                       email: address@hidden







reply via email to

[Prev in Thread] Current Thread [Next in Thread]