Hello Folks,

first off thanks for a great programm I use daily.

Version of lyx I use: 1.1.6fix2 compiled on a Redhat 7.1

I have found two bugs that I believe have not been fixed:

First Bug:

When using limits (shortcut Meta-M l) on a strukture ,ie an integral,  the
limits are put in the right places as expected.
When copy and pasting a math-equation or formula the limits get lost.

Second Bug:

Primarily a Problem with the Index: When inserting an index-entry of the
preecding word LyX also uses the formatting of said word (ie fat). This
doesn't really matter until you do some TeX in mathmode in the
index-entry , when makeindex pucks. 
You get around this bug buy turning of bold just before adding an index
entry. 

Attached are two short LyX-File plus their latex Export to document these 
behaviours.


Michael Abshoff
%% LyX 1.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside,german]{article}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{babel}
\setlength\parskip{\smallskipamount}
\setlength\parindent{0pt}
\usepackage{makeidx}
\makeindex
\usepackage{amssymb}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{lastpage}
\usepackage{stmaryrd}
\usepackage{eufrak}
\usepackage{color}
\usepackage{graphics}
\usepackage[scanall]{psfrag}
\usepackage{tocloft}
\usepackage{multicol}
\usepackage{matex}

\makeatother
\begin{document}
\textbf{Index entry of proceeding word in fat text\index{\begin{math} \displaystyle\sum_1^n \end{math}}
- Index in Mathmode}

Same not fat:\index{\begin{math} \displaystyle\sum_1^n \end{math}}

\printindex{}
\end{document}
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{lastpage}
\usepackage{stmaryrd}
\usepackage{eufrak}
\usepackage{color}
\usepackage{graphics}
\usepackage[scanall]{psfrag}
\usepackage{tocloft}
\usepackage{multicol}
\usepackage{matex}
\end_preamble
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\float_placement !htpb
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle fancy

\layout Standard


\series bold 
Index entry of proceeding word in fat text
\begin_inset LatexCommand \index{\begin{math} \displaystyle\sum_1^n \end{math}}

\end_inset 

 - Index in Mathmode
\layout Standard

Same not fat:
\begin_inset LatexCommand \index{\begin{math} \displaystyle\sum_1^n \end{math}}

\end_inset 


\layout Standard


\begin_inset LatexCommand \printindex{}

\end_inset 


\the_end
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{lastpage}
\usepackage{stmaryrd}
\usepackage{eufrak}
\usepackage{color}
\usepackage{graphics}
\end_preamble
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\float_placement !htpb
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle fancy

\layout Standard


\series bold 
Writing some stuff with limits in Mathemode:
\begin_inset Formula \[
\int\limits _{b_{1}}^{a_{1}}\int\limits _{b_{2}}^{a_{2}}f\left( x,y\right) \, 
\mathbf{d}x\, \mathbf{d}y\begin{array}[b]{c}
!\\
=
\end{array}\int\limits _{a_{2}}^{a_{2}}\int\limits _{b_{1}}^{a_{1}}f\left( x,y\right) 
\, \mathbf{d}y\, \mathbf{d}x\]

\end_inset 

After copy and paste:
\begin_inset Formula \[
\int _{b_{1}}^{a_{1}}\int _{b_{2}}^{a_{2}}f\left( x,y\right) \, \mathbf{d}x\, 
\mathbf{d}y\begin{array}[b]{c}
!\\
=
\end{array}\int _{a_{2}}^{a_{2}}\int _{b_{1}}^{a_{1}}f\left( x,y\right) \, 
\mathbf{d}y\, \mathbf{d}x\]

\end_inset 


\the_end
%% LyX 1.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside,german]{article}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{babel}
\setlength\parskip{\smallskipamount}
\setlength\parindent{0pt}
\usepackage{amssymb}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{lastpage}
\usepackage{stmaryrd}
\usepackage{eufrak}
\usepackage{color}
\usepackage{graphics}


\makeatother
\begin{document}
\textbf{Writing some stuff with limits in Mathemode:\[
\int\limits _{b_{1}}^{a_{1}}\int\limits _{b_{2}}^{a_{2}}f\left( x,y\right) \, \mathbf{d}x\, \mathbf{d}y\begin{array}[b]{c}
!\\
=
\end{array}\int\limits _{a_{2}}^{a_{2}}\int\limits _{b_{1}}^{a_{1}}f\left( x,y\right) \, \mathbf{d}y\, \mathbf{d}x\]
After copy and paste:\[
\int _{b_{1}}^{a_{1}}\int _{b_{2}}^{a_{2}}f\left( x,y\right) \, \mathbf{d}x\, \mathbf{d}y\begin{array}[b]{c}
!\\
=
\end{array}\int _{a_{2}}^{a_{2}}\int _{b_{1}}^{a_{1}}f\left( x,y\right) \, \mathbf{d}y\, \mathbf{d}x\]
}
\end{document}

Reply via email to