Re: rename - list of algorithms

2009-08-18 Thread Guenter Milde
On 2009-08-17, Ricardo Perrone wrote:

 I need to rename the list of algorithms to a more convenient name. For
 example: List of Algorithms --- Lista de Códigos (in Portuguese/Brazil
 language), but default Lyx behaviour changes it to 'Lista de
 Algoritmos' when i set default language to Portuguese (Brazil). 

 Anybody knows how can i solve this?

The name is most probably set by the 'babel' package. 

Look at it's documentation to find the command needed to change it
(something like \renewcommand{\algorithmname}{Lista de Algoritmos}).

Günter



Re: rename - list of algorithms

2009-08-18 Thread Guenter Milde
On 2009-08-17, Ricardo Perrone wrote:

 I need to rename the list of algorithms to a more convenient name. For
 example: List of Algorithms --- Lista de Códigos (in Portuguese/Brazil
 language), but default Lyx behaviour changes it to 'Lista de
 Algoritmos' when i set default language to Portuguese (Brazil). 

 Anybody knows how can i solve this?

The name is most probably set by the 'babel' package. 

Look at it's documentation to find the command needed to change it
(something like \renewcommand{\algorithmname}{Lista de Algoritmos}).

Günter



Re: rename - list of algorithms

2009-08-18 Thread Guenter Milde
On 2009-08-17, Ricardo Perrone wrote:

> I need to rename the list of algorithms to a more convenient name. For
> example: List of Algorithms ---> Lista de Códigos (in Portuguese/Brazil
> language), but default Lyx behaviour changes it to 'Lista de
> Algoritmos' when i set default language to Portuguese (Brazil). 

> Anybody knows how can i solve this?

The name is most probably set by the 'babel' package. 

Look at it's documentation to find the command needed to change it
(something like \renewcommand{\algorithmname}{Lista de Algoritmos}).

Günter



rename - list of algorithms

2009-08-17 Thread Ricardo Perrone
Hi,

I need to rename the list of algorithms to a more convenient name. For example: 
List of Algorithms --- Lista de Códigos (in Portuguese/Brazil language), but 
default Lyx behaviour changes it to 'Lista de Algoritmos' when i set default 
language to Portuguese (Brazil). I have tried to use ERT command 
\listof{algorithm}{Lista de Códigos}, but it was necessary to take out  
\usepackage{hyperref} to avoid some problems and the final result was not so 
good, because the algorithm's counter was reset to the begining. Anybody knows 
how can i solve this?

Thanks a lot
Ricardo






rename - list of algorithms

2009-08-17 Thread Ricardo Perrone
Hi,

I need to rename the list of algorithms to a more convenient name. For example: 
List of Algorithms --- Lista de Códigos (in Portuguese/Brazil language), but 
default Lyx behaviour changes it to 'Lista de Algoritmos' when i set default 
language to Portuguese (Brazil). I have tried to use ERT command 
\listof{algorithm}{Lista de Códigos}, but it was necessary to take out  
\usepackage{hyperref} to avoid some problems and the final result was not so 
good, because the algorithm's counter was reset to the begining. Anybody knows 
how can i solve this?

Thanks a lot
Ricardo






rename - list of algorithms

2009-08-17 Thread Ricardo Perrone
Hi,

I need to rename the list of algorithms to a more convenient name. For example: 
List of Algorithms ---> Lista de Códigos (in Portuguese/Brazil language), but 
default Lyx behaviour changes it to 'Lista de Algoritmos' when i set default 
language to Portuguese (Brazil). I have tried to use ERT command 
\listof{algorithm}{Lista de Códigos}, but it was necessary to take out  
\usepackage{hyperref} to avoid some problems and the final result was not so 
good, because the algorithm's counter was reset to the begining. Anybody knows 
how can i solve this?

Thanks a lot
Ricardo






list of algorithms

2009-04-19 Thread Niko Schwarz
 when I have the list of algorithms created,

\listof{algorithm}{List of Algorithms},


then latex says this:


TeX capacity exceeded, sorry [input stack size=5000].


does anyone have an idea? thanks,


niko


Re: list of algorithms

2009-04-19 Thread Uwe Stöhr

Niko Schwarz schrieb:

 when I have the list of algorithms created,
\listof{algorithm}{List of Algorithms},
then latex says this:

TeX capacity exceeded, sorry [input stack size=5000].


When you don't have the list of algorithm, you don't have this bug? If so, assure that the list is 
in the Standard environment and check if you perhaps have some of the conflicts with algorithms 
mentioned in the EmbeddedObjects manuals.


regards Uwe


list of algorithms

2009-04-19 Thread Niko Schwarz
 when I have the list of algorithms created,

\listof{algorithm}{List of Algorithms},


then latex says this:


TeX capacity exceeded, sorry [input stack size=5000].


does anyone have an idea? thanks,


niko


Re: list of algorithms

2009-04-19 Thread Uwe Stöhr

Niko Schwarz schrieb:

 when I have the list of algorithms created,
\listof{algorithm}{List of Algorithms},
then latex says this:

TeX capacity exceeded, sorry [input stack size=5000].


When you don't have the list of algorithm, you don't have this bug? If so, assure that the list is 
in the Standard environment and check if you perhaps have some of the conflicts with algorithms 
mentioned in the EmbeddedObjects manuals.


regards Uwe


list of algorithms

2009-04-19 Thread Niko Schwarz
 when I have the list of algorithms created,

\listof{algorithm}{List of Algorithms},


then latex says this:


TeX capacity exceeded, sorry [input stack size=5000].


does anyone have an idea? thanks,


niko


Re: list of algorithms

2009-04-19 Thread Uwe Stöhr

Niko Schwarz schrieb:

 when I have the list of algorithms created,
\listof{algorithm}{List of Algorithms},
then latex says this:

TeX capacity exceeded, sorry [input stack size=5000].


When you don't have the list of algorithm, you don't have this bug? If so, assure that the list is 
in the "Standard" environment and check if you perhaps have some of the conflicts with algorithms 
mentioned in the EmbeddedObjects manuals.


regards Uwe


Re: List of Algorithms

2003-12-31 Thread Herbert Voss
Christian Ridderström wrote:

you can change this in stdfloats.inc, copy this file
from /usr/local/share/lyx/layouts into your local
home dir ~/lyx/layouts
and then change the line with the title. Do this
change without a running LyX.


Is this sort of a bug? (i.e. that it has to be changed manually like this)
yes

Herbert




Re: List of Algorithms

2003-12-31 Thread Herbert Voss
Christian Ridderström wrote:

you can change this in stdfloats.inc, copy this file
from /usr/local/share/lyx/layouts into your local
home dir ~/lyx/layouts
and then change the line with the title. Do this
change without a running LyX.


Is this sort of a bug? (i.e. that it has to be changed manually like this)
yes

Herbert




Re: List of Algorithms

2003-12-31 Thread Herbert Voss
Christian Ridderström wrote:

you can change this in stdfloats.inc, copy this file
from /usr/local/share/lyx/layouts into your local
home dir ~/lyx/layouts
and then change the line with the title. Do this
change without a running LyX.


Is this sort of a bug? (i.e. that it has to be changed manually like this)
yes

Herbert




List of Algorithms

2003-12-30 Thread Eduard Ralph
Hi,
 
I haven't checked all Archives etc. but I ran into a problem with Lyx in the
German Version. If you insert a List to Algorithms table it creates an entry
with the title 'List of Algorithms' instead of the German one
'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
Figures' correctly in German and it also puts the right entry into the lyx
file it self. It appears to be a problem only during the generation of the
latex file.
 
Eduard Ralph


Re: List of Algorithms

2003-12-30 Thread Herbert Voss
Eduard Ralph wrote:

I haven't checked all Archives etc. but I ran into a problem with Lyx in the
German Version. If you insert a List to Algorithms table it creates an entry
with the title 'List of Algorithms' instead of the German one
'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
Figures' correctly in German and it also puts the right entry into the lyx
file it self. It appears to be a problem only during the generation of the
latex file.
you can change this in stdfloats.inc, copy this file
from /usr/local/share/lyx/layouts into your local
home dir ~/lyx/layouts
and then change the line with the title. Do this
change without a running LyX.
Herbert




Re: List of Algorithms

2003-12-30 Thread Christian Ridderström
On Tue, 30 Dec 2003, Herbert Voss wrote:

 Eduard Ralph wrote:
 
  I haven't checked all Archives etc. but I ran into a problem with Lyx in the
  German Version. If you insert a List to Algorithms table it creates an entry
  with the title 'List of Algorithms' instead of the German one
  'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
  Figures' correctly in German and it also puts the right entry into the lyx
  file it self. It appears to be a problem only during the generation of the
  latex file.
 
 you can change this in stdfloats.inc, copy this file
 from /usr/local/share/lyx/layouts into your local
 home dir ~/lyx/layouts
 and then change the line with the title. Do this
 change without a running LyX.

Is this sort of a bug? (i.e. that it has to be changed manually like this)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




List of Algorithms

2003-12-30 Thread Eduard Ralph
Hi,
 
I haven't checked all Archives etc. but I ran into a problem with Lyx in the
German Version. If you insert a List to Algorithms table it creates an entry
with the title 'List of Algorithms' instead of the German one
'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
Figures' correctly in German and it also puts the right entry into the lyx
file it self. It appears to be a problem only during the generation of the
latex file.
 
Eduard Ralph


Re: List of Algorithms

2003-12-30 Thread Herbert Voss
Eduard Ralph wrote:

I haven't checked all Archives etc. but I ran into a problem with Lyx in the
German Version. If you insert a List to Algorithms table it creates an entry
with the title 'List of Algorithms' instead of the German one
'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
Figures' correctly in German and it also puts the right entry into the lyx
file it self. It appears to be a problem only during the generation of the
latex file.
you can change this in stdfloats.inc, copy this file
from /usr/local/share/lyx/layouts into your local
home dir ~/lyx/layouts
and then change the line with the title. Do this
change without a running LyX.
Herbert




Re: List of Algorithms

2003-12-30 Thread Christian Ridderström
On Tue, 30 Dec 2003, Herbert Voss wrote:

 Eduard Ralph wrote:
 
  I haven't checked all Archives etc. but I ran into a problem with Lyx in the
  German Version. If you insert a List to Algorithms table it creates an entry
  with the title 'List of Algorithms' instead of the German one
  'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
  Figures' correctly in German and it also puts the right entry into the lyx
  file it self. It appears to be a problem only during the generation of the
  latex file.
 
 you can change this in stdfloats.inc, copy this file
 from /usr/local/share/lyx/layouts into your local
 home dir ~/lyx/layouts
 and then change the line with the title. Do this
 change without a running LyX.

Is this sort of a bug? (i.e. that it has to be changed manually like this)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




List of Algorithms

2003-12-30 Thread Eduard Ralph
Hi,
 
I haven't checked all Archives etc. but I ran into a problem with Lyx in the
German Version. If you insert a List to Algorithms table it creates an entry
with the title 'List of Algorithms' instead of the German one
'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
Figures' correctly in German and it also puts the right entry into the lyx
file it self. It appears to be a problem only during the generation of the
latex file.
 
Eduard Ralph


Re: List of Algorithms

2003-12-30 Thread Herbert Voss
Eduard Ralph wrote:

I haven't checked all Archives etc. but I ran into a problem with Lyx in the
German Version. If you insert a List to Algorithms table it creates an entry
with the title 'List of Algorithms' instead of the German one
'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
Figures' correctly in German and it also puts the right entry into the lyx
file it self. It appears to be a problem only during the generation of the
latex file.
you can change this in stdfloats.inc, copy this file
from /usr/local/share/lyx/layouts into your local
home dir ~/lyx/layouts
and then change the line with the title. Do this
change without a running LyX.
Herbert




Re: List of Algorithms

2003-12-30 Thread Christian Ridderström
On Tue, 30 Dec 2003, Herbert Voss wrote:

> Eduard Ralph wrote:
> 
> > I haven't checked all Archives etc. but I ran into a problem with Lyx in the
> > German Version. If you insert a List to Algorithms table it creates an entry
> > with the title 'List of Algorithms' instead of the German one
> > 'Algorithmenverzeichnis'. It creates all other Tables like the 'List of
> > Figures' correctly in German and it also puts the right entry into the lyx
> > file it self. It appears to be a problem only during the generation of the
> > latex file.
> 
> you can change this in stdfloats.inc, copy this file
> from /usr/local/share/lyx/layouts into your local
> home dir ~/lyx/layouts
> and then change the line with the title. Do this
> change without a running LyX.

Is this sort of a bug? (i.e. that it has to be changed manually like this)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




List of Algorithms - Caption Modification

2001-05-11 Thread Brett Jones

I have a style file for my univerity thesis format, which for the most part does
the job.

Only trouble is that if redefines the lists of figures and tables and doesn't
provide for lists of algorithms.  I would, of course, like the list of
algorithms to match the others, but I know almost nothing about latex.  I copied
all references to lists of tables and figures and changed them to refer to
algorithms, and it almost works.

The last problem is that the code that makes the lot and lof double spaced
doesn't seem to run on the algorithms.  I've included just this code.  Can
anyone tell me why it is not being run on the algorithm captions?

(I can also provide the whole style file if it would help.)

Thanks for any help,

Brett Jones


 applicable code --

% LIST OF FIGURES
\def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
 \fi\chapter*{LIST OF FIGURES\@mkboth
  {LIST OF FIGURES}{LIST OF FIGURES}}
 \singlespace
 \@starttoc{lof}\if@restonecol\twocolumn\fi
 \addtocontents{lof}{\noindent Figure \hfill Page}
 \addtocontents{lof}{\vskip 2ex}
 \doublespace
}

% indentation of figure caption in LOF
\def\l@figure{\@dottedtocline{0}{0em}{3em}}

% LIST OF TABLES
%
\def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
  \fi\chapter*{LIST OF TABLES\@mkboth
   {LIST OF TABLES}{LIST OF TABLES}}
 \singlespace
 \@starttoc{lot}\if@restonecol\twocolumn\fi
 \addtocontents{lot}{\noindent Table \hfill Page} %%
 \addtocontents{lot}{\vskip 2ex}
 \doublespace
}

% LIST OF ALGORITHMS
%
\def\listofalgorithms{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
  \fi\chapter*{LIST OF ALGORITHMS\@mkboth
   {LIST OF ALGORITHMS}{LIST OF ALGORITHMS}}
 \singlespace
 \@starttoc{loa}\if@restonecol\twocolumn\fi
 \addtocontents{loa}{\noindent Algorithm \hfill Page} %%
 \addtocontents{loa}{\vskip 2ex}
 \doublespace
}

% indentation of table caption in LOT
\let\l@table\l@figure
\let\l@algorithm\l@figure

\def\b{}  % a dummy definition used below

% Add an extra space between 2 captions in list of figures or tables.
% Also, place a period after the number.
\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
  ext@#1\endcsname}{#1}{\protect\numberline{\hfill\csname
  the#1\endcsname.\hspace{1em}}{\ignorespaces #2}}
  \addtocontents{\csname ext@#1\endcsname}{\vskip 2ex}

  % enable list of tables/figures when the first table/figure is found
  \ifnum \csname c@#1\endcsname = 1
 \immediate\write\@auxout{\string\globaldefs1} % enable LOT/F in aux file
 \immediate\write\@auxout{\string\b\csname ext@#1\endcsname true}
 \immediate\write\@auxout{\string\globaldefs0}
  \fi
  \begingroup
  \@parboxrestore
  \normalsize
  \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
  \endgroup}




List of Algorithms - Caption Modification

2001-05-11 Thread Brett Jones

I have a style file for my univerity thesis format, which for the most part does
the job.

Only trouble is that if redefines the lists of figures and tables and doesn't
provide for lists of algorithms.  I would, of course, like the list of
algorithms to match the others, but I know almost nothing about latex.  I copied
all references to lists of tables and figures and changed them to refer to
algorithms, and it almost works.

The last problem is that the code that makes the lot and lof double spaced
doesn't seem to run on the algorithms.  I've included just this code.  Can
anyone tell me why it is not being run on the algorithm captions?

(I can also provide the whole style file if it would help.)

Thanks for any help,

Brett Jones


 applicable code --

% LIST OF FIGURES
\def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
 \fi\chapter*{LIST OF FIGURES\@mkboth
  {LIST OF FIGURES}{LIST OF FIGURES}}
 \singlespace
 \@starttoc{lof}\if@restonecol\twocolumn\fi
 \addtocontents{lof}{\noindent Figure \hfill Page}
 \addtocontents{lof}{\vskip 2ex}
 \doublespace
}

% indentation of figure caption in LOF
\def\l@figure{\@dottedtocline{0}{0em}{3em}}

% LIST OF TABLES
%
\def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
  \fi\chapter*{LIST OF TABLES\@mkboth
   {LIST OF TABLES}{LIST OF TABLES}}
 \singlespace
 \@starttoc{lot}\if@restonecol\twocolumn\fi
 \addtocontents{lot}{\noindent Table \hfill Page} %%
 \addtocontents{lot}{\vskip 2ex}
 \doublespace
}

% LIST OF ALGORITHMS
%
\def\listofalgorithms{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
  \fi\chapter*{LIST OF ALGORITHMS\@mkboth
   {LIST OF ALGORITHMS}{LIST OF ALGORITHMS}}
 \singlespace
 \@starttoc{loa}\if@restonecol\twocolumn\fi
 \addtocontents{loa}{\noindent Algorithm \hfill Page} %%
 \addtocontents{loa}{\vskip 2ex}
 \doublespace
}

% indentation of table caption in LOT
\let\l@table\l@figure
\let\l@algorithm\l@figure

\def\b{}  % a dummy definition used below

% Add an extra space between 2 captions in list of figures or tables.
% Also, place a period after the number.
\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
  ext@#1\endcsname}{#1}{\protect\numberline{\hfill\csname
  the#1\endcsname.\hspace{1em}}{\ignorespaces #2}}
  \addtocontents{\csname ext@#1\endcsname}{\vskip 2ex}

  % enable list of tables/figures when the first table/figure is found
  \ifnum \csname c@#1\endcsname = 1
 \immediate\write\@auxout{\string\globaldefs1} % enable LOT/F in aux file
 \immediate\write\@auxout{\string\b\csname ext@#1\endcsname true}
 \immediate\write\@auxout{\string\globaldefs0}
  \fi
  \begingroup
  \@parboxrestore
  \normalsize
  \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
  \endgroup}




List of Algorithms - Caption Modification

2001-05-11 Thread Brett Jones

I have a style file for my univerity thesis format, which for the most part does
the job.

Only trouble is that if redefines the lists of figures and tables and doesn't
provide for lists of algorithms.  I would, of course, like the list of
algorithms to match the others, but I know almost nothing about latex.  I copied
all references to lists of tables and figures and changed them to refer to
algorithms, and it almost works.

The last problem is that the code that makes the lot and lof double spaced
doesn't seem to run on the algorithms.  I've included just this code.  Can
anyone tell me why it is not being run on the algorithm captions?

(I can also provide the whole style file if it would help.)

Thanks for any help,

Brett Jones


 applicable code --

% LIST OF FIGURES
\def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
 \fi\chapter*{LIST OF FIGURES\@mkboth
  {LIST OF FIGURES}{LIST OF FIGURES}}
 \singlespace
 \@starttoc{lof}\if@restonecol\twocolumn\fi
 \addtocontents{lof}{\noindent Figure \hfill Page}
 \addtocontents{lof}{\vskip 2ex}
 \doublespace
}

% indentation of figure caption in LOF
\def\l@figure{\@dottedtocline{0}{0em}{3em}}

% LIST OF TABLES
%
\def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
  \fi\chapter*{LIST OF TABLES\@mkboth
   {LIST OF TABLES}{LIST OF TABLES}}
 \singlespace
 \@starttoc{lot}\if@restonecol\twocolumn\fi
 \addtocontents{lot}{\noindent Table \hfill Page} %%
 \addtocontents{lot}{\vskip 2ex}
 \doublespace
}

% LIST OF ALGORITHMS
%
\def\listofalgorithms{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
  \fi\chapter*{LIST OF ALGORITHMS\@mkboth
   {LIST OF ALGORITHMS}{LIST OF ALGORITHMS}}
 \singlespace
 \@starttoc{loa}\if@restonecol\twocolumn\fi
 \addtocontents{loa}{\noindent Algorithm \hfill Page} %%
 \addtocontents{loa}{\vskip 2ex}
 \doublespace
}

% indentation of table caption in LOT
\let\l@table\l@figure
\let\l@algorithm\l@figure

\def\b{}  % a dummy definition used below

% Add an extra space between 2 captions in list of figures or tables.
% Also, place a period after the number.
\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
  ext@#1\endcsname}{#1}{\protect\numberline{\hfill\csname
  the#1\endcsname.\hspace{1em}}{\ignorespaces #2}}
  \addtocontents{\csname ext@#1\endcsname}{\vskip 2ex}

  % enable list of tables/figures when the first table/figure is found
  \ifnum \csname c@#1\endcsname = 1
 \immediate\write\@auxout{\string\globaldefs1} % enable LOT/F in aux file
 \immediate\write\@auxout{\string\b\csname ext@#1\endcsname true}
 \immediate\write\@auxout{\string\globaldefs0}
  \fi
  \begingroup
  \@parboxrestore
  \normalsize
  \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
  \endgroup}




Re: Problems with list of algorithms

2000-01-18 Thread Herbert Voss

Ralph Boland wrote:
 
 I attempted to put a list of algorithms in my document
 but I get a list of errors (seems to be two per algorithm).
 

I don't really know, where the problem is, but if choose
book or book - komascript than everything works well.

Herbert


-- 
[EMAIL PROTECTED]
http://www.perce.de



Re: Problems with list of algorithms

2000-01-18 Thread Herbert Voss

Ralph Boland wrote:
 
 I attempted to put a list of algorithms in my document
 but I get a list of errors (seems to be two per algorithm).
 

I don't really know, where the problem is, but if choose
book or book - komascript than everything works well.

Herbert


-- 
[EMAIL PROTECTED]
http://www.perce.de



Re: Problems with list of algorithms

2000-01-18 Thread Herbert Voss

Ralph Boland wrote:
> 
> I attempted to put a list of algorithms in my document
> but I get a list of errors (seems to be two per algorithm).
> 

I don't really know, where the problem is, but if choose
book or book - komascript than everything works well.

Herbert


-- 
[EMAIL PROTECTED]
http://www.perce.de



Problems with list of algorithms

2000-01-17 Thread Ralph Boland

I attempted to put a list of algorithms in my document
but I get a list of errors (seems to be two per algorithm).

Most say 

"undefined control sequence.  
\@dottedtocline ...sep mu\hbox{.}\mkern \@dotsep
mu$}\hfill \nobreak. \[EMAIL PROTECTED]
l.1 ...e{1}{\ignorespaces \nonbreakingspace}}{4}"

One of them is gives a slightly different message.

I have attached a  document with the problem.
I suspect that I am missing some style format
or package.  (I have had this problem before.
Unfortunately we don't have the lattest and greatest
version of latex and its packages.)

Can someone tell me what style that I am missing or
what else the problem is.

I am using lyx 1.0.4

Thanks

Ralph Boland


#This file was created by rboland Mon Jan 17 19:32:21 2000
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass amsbook
\begin_preamble
\makeatletter
\usepackage{showkeys}
\usepackage{epsfig}
\usepackage{floatflt}
%\usepackage{mssymb}
\usepackage{amssymb}
\usepackage{stmaryrd}
\usepackage{algorithm}
\newcommand{\tun}{\Rsh}
\newcommand{\stab}{\dag}
\newcommand{\mon}{\lightning}
\newcommand{\cir}{\circlearrowright}
\newcommand{\convex}{\lozenge}
\newcommand{\cov}{\complement}
\end_preamble
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 11
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\paperorientation portrait
\leftmargin 1.6in
\topmargin 1in
\rightmargin 1.4in
\bottommargin 1in
\secnumdepth 5
\tocdepth 5
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Chapter

A Problem with Lists of Algorithms.
\layout Standard

Date: 
\latex latex 

\backslash 
today
\latex default 
 
\layout Standard


\begin_inset LatexCommand \listofalgorithms{}

\end_inset 


\layout Section

Introduction
\layout Standard

I can't seem to get the list of algorithms feature to work.
\layout Standard

Here is a sample algorithm.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{BuildMMSP1}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Input: a simple 2-wind polygon 
\begin_inset Formula \( P \)
\end_inset 

 along with 
\begin_inset Formula \( \pi \left( P\right)  \)
\end_inset 

.
\layout Standard
\noindent \align left 
Output: A MSVP 
\begin_inset Formula \( M \)
\end_inset 

 of 
\begin_inset Formula \( P \)
\end_inset 

.
 
\layout Standard
\noindent \align left 
1.
 
\begin_inset Formula \( M:=\emptyset  \)
\end_inset 

.
\layout Standard
\noindent \align left 
2.
 Do a blocking monotone sweep of 
\begin_inset Formula \( \pi \left( P\right)  \)
\end_inset 

: For each 
\begin_inset Formula \( Q\in \pi \left( P\right)  \)
\end_inset 

 do
\layout Standard
\noindent \align left 
2.1.
 If 
\begin_inset Formula \( \textrm{ windows}\left( Q\right) =\emptyset  \)
\end_inset 

 then 
\layout Standard
\noindent \align left 
2.1.1.
 
\begin_inset Formula \( w\left( \textrm{door}\left( Q\right) \right) :=1 \)
\end_inset 


\layout Standard
\noindent \align left 
2.1 Else
\layout Standard
\noindent \align left 
3.
 Return
\begin_inset Formula \( \left( M\right)  \)
\end_inset 

.
\end_float 
\layout Standard

Many of the results in this sections are from 
\begin_inset LatexCommand \cite{CircRayLog4}

\end_inset 

.
 We have however made modifications to these results where necessary and
 added some results of our own.
\layout Subsection

Circular Arc - Chain Intersection Detection
\layout Standard

Here is another algorithm.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{IntDetect}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Preprocessing: 
\layout Standard
\noindent \align left 
input: a chain 
\begin_inset Formula \( C \)
\end_inset 

.
\layout Standard
\noindent \align left 
1.
 Compute 
\begin_inset Formula \( \textrm{Vor}_{\textrm{near}}\left( C\right)  \)
\end_inset 

 and 
\begin_inset Formula \( \textrm{Vor}_{\textrm{farNormal}}\left( C\right)  \)
\end_inset 

.
\layout Standard
\noindent \align left 
2.
 Preprocess 
\begin_inset Formula \( \textrm{Vor}_{\textrm{near}}\left( C\right)  \)
\end_inset 

 and 
\begin_inset Formula \( \textrm{Vor}_{\textrm{farNormal}}\left( C\right)  \)
\end_inset 

 for efficient point location.
\end_float 
\layout Standard

One last algorithms for good luck.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{AlgorithmIntDetect2}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Preprocessing: 
\layout Standard
\noindent \align left 
Input: a polygon 
\begin_inset Formula \( P \)
\end_inset 

.
\layout Standard
\noindent \align left 
1.
 Compute 
\begin_inset Formula \( C_{l}\, :=\, \textrm{chn}^{-}\left( \psi _{x}(P)\right)  \)
\end_inset 

 and 
\begin_inset Formula \( C_{r}\, :=\, \

Problems with list of algorithms

2000-01-17 Thread Ralph Boland

I attempted to put a list of algorithms in my document
but I get a list of errors (seems to be two per algorithm).

Most say 

"undefined control sequence.  
\@dottedtocline ...sep mu\hbox{.}\mkern \@dotsep
mu$}\hfill \nobreak. \[EMAIL PROTECTED]
l.1 ...e{1}{\ignorespaces \nonbreakingspace}}{4}"

One of them is gives a slightly different message.

I have attached a  document with the problem.
I suspect that I am missing some style format
or package.  (I have had this problem before.
Unfortunately we don't have the lattest and greatest
version of latex and its packages.)

Can someone tell me what style that I am missing or
what else the problem is.

I am using lyx 1.0.4

Thanks

Ralph Boland


#This file was created by rboland Mon Jan 17 19:32:21 2000
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass amsbook
\begin_preamble
\makeatletter
\usepackage{showkeys}
\usepackage{epsfig}
\usepackage{floatflt}
%\usepackage{mssymb}
\usepackage{amssymb}
\usepackage{stmaryrd}
\usepackage{algorithm}
\newcommand{\tun}{\Rsh}
\newcommand{\stab}{\dag}
\newcommand{\mon}{\lightning}
\newcommand{\cir}{\circlearrowright}
\newcommand{\convex}{\lozenge}
\newcommand{\cov}{\complement}
\end_preamble
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 11
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\paperorientation portrait
\leftmargin 1.6in
\topmargin 1in
\rightmargin 1.4in
\bottommargin 1in
\secnumdepth 5
\tocdepth 5
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Chapter

A Problem with Lists of Algorithms.
\layout Standard

Date: 
\latex latex 

\backslash 
today
\latex default 
 
\layout Standard


\begin_inset LatexCommand \listofalgorithms{}

\end_inset 


\layout Section

Introduction
\layout Standard

I can't seem to get the list of algorithms feature to work.
\layout Standard

Here is a sample algorithm.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{BuildMMSP1}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Input: a simple 2-wind polygon 
\begin_inset Formula \( P \)
\end_inset 

 along with 
\begin_inset Formula \( \pi \left( P\right)  \)
\end_inset 

.
\layout Standard
\noindent \align left 
Output: A MSVP 
\begin_inset Formula \( M \)
\end_inset 

 of 
\begin_inset Formula \( P \)
\end_inset 

.
 
\layout Standard
\noindent \align left 
1.
 
\begin_inset Formula \( M:=\emptyset  \)
\end_inset 

.
\layout Standard
\noindent \align left 
2.
 Do a blocking monotone sweep of 
\begin_inset Formula \( \pi \left( P\right)  \)
\end_inset 

: For each 
\begin_inset Formula \( Q\in \pi \left( P\right)  \)
\end_inset 

 do
\layout Standard
\noindent \align left 
2.1.
 If 
\begin_inset Formula \( \textrm{ windows}\left( Q\right) =\emptyset  \)
\end_inset 

 then 
\layout Standard
\noindent \align left 
2.1.1.
 
\begin_inset Formula \( w\left( \textrm{door}\left( Q\right) \right) :=1 \)
\end_inset 


\layout Standard
\noindent \align left 
2.1 Else
\layout Standard
\noindent \align left 
3.
 Return
\begin_inset Formula \( \left( M\right)  \)
\end_inset 

.
\end_float 
\layout Standard

Many of the results in this sections are from 
\begin_inset LatexCommand \cite{CircRayLog4}

\end_inset 

.
 We have however made modifications to these results where necessary and
 added some results of our own.
\layout Subsection

Circular Arc - Chain Intersection Detection
\layout Standard

Here is another algorithm.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{IntDetect}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Preprocessing: 
\layout Standard
\noindent \align left 
input: a chain 
\begin_inset Formula \( C \)
\end_inset 

.
\layout Standard
\noindent \align left 
1.
 Compute 
\begin_inset Formula \( \textrm{Vor}_{\textrm{near}}\left( C\right)  \)
\end_inset 

 and 
\begin_inset Formula \( \textrm{Vor}_{\textrm{farNormal}}\left( C\right)  \)
\end_inset 

.
\layout Standard
\noindent \align left 
2.
 Preprocess 
\begin_inset Formula \( \textrm{Vor}_{\textrm{near}}\left( C\right)  \)
\end_inset 

 and 
\begin_inset Formula \( \textrm{Vor}_{\textrm{farNormal}}\left( C\right)  \)
\end_inset 

 for efficient point location.
\end_float 
\layout Standard

One last algorithms for good luck.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{AlgorithmIntDetect2}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Preprocessing: 
\layout Standard
\noindent \align left 
Input: a polygon 
\begin_inset Formula \( P \)
\end_inset 

.
\layout Standard
\noindent \align left 
1.
 Compute 
\begin_inset Formula \( C_{l}\, :=\, \textrm{chn}^{-}\left( \psi _{x}(P)\right)  \)
\end_inset 

 and 
\begin_inset Formula \( C_{r}\, :=\, \

Problems with list of algorithms

2000-01-17 Thread Ralph Boland

I attempted to put a list of algorithms in my document
but I get a list of errors (seems to be two per algorithm).

Most say 

"undefined control sequence.  
\@dottedtocline ...sep mu\hbox{.}\mkern \@dotsep
mu$}\hfill \nobreak. \[EMAIL PROTECTED]
l.1 ...e{1}{\ignorespaces \nonbreakingspace}}{4}"

One of them is gives a slightly different message.

I have attached a  document with the problem.
I suspect that I am missing some style format
or package.  (I have had this problem before.
Unfortunately we don't have the lattest and greatest
version of latex and its packages.)

Can someone tell me what style that I am missing or
what else the problem is.

I am using lyx 1.0.4

Thanks

Ralph Boland


#This file was created by  Mon Jan 17 19:32:21 2000
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass amsbook
\begin_preamble
\makeatletter
\usepackage{showkeys}
\usepackage{epsfig}
\usepackage{floatflt}
%\usepackage{mssymb}
\usepackage{amssymb}
\usepackage{stmaryrd}
\usepackage{algorithm}
\newcommand{\tun}{\Rsh}
\newcommand{\stab}{\dag}
\newcommand{\mon}{\lightning}
\newcommand{\cir}{\circlearrowright}
\newcommand{\convex}{\lozenge}
\newcommand{\cov}{\complement}
\end_preamble
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 11
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\paperorientation portrait
\leftmargin 1.6in
\topmargin 1in
\rightmargin 1.4in
\bottommargin 1in
\secnumdepth 5
\tocdepth 5
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Chapter

A Problem with Lists of Algorithms.
\layout Standard

Date: 
\latex latex 

\backslash 
today
\latex default 
 
\layout Standard


\begin_inset LatexCommand \listofalgorithms{}

\end_inset 


\layout Section

Introduction
\layout Standard

I can't seem to get the list of algorithms feature to work.
\layout Standard

Here is a sample algorithm.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{BuildMMSP1}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Input: a simple 2-wind polygon 
\begin_inset Formula \( P \)
\end_inset 

 along with 
\begin_inset Formula \( \pi \left( P\right)  \)
\end_inset 

.
\layout Standard
\noindent \align left 
Output: A MSVP 
\begin_inset Formula \( M \)
\end_inset 

 of 
\begin_inset Formula \( P \)
\end_inset 

.
 
\layout Standard
\noindent \align left 
1.
 
\begin_inset Formula \( M:=\emptyset  \)
\end_inset 

.
\layout Standard
\noindent \align left 
2.
 Do a blocking monotone sweep of 
\begin_inset Formula \( \pi \left( P\right)  \)
\end_inset 

: For each 
\begin_inset Formula \( Q\in \pi \left( P\right)  \)
\end_inset 

 do
\layout Standard
\noindent \align left 
2.1.
 If 
\begin_inset Formula \( \textrm{ windows}\left( Q\right) =\emptyset  \)
\end_inset 

 then 
\layout Standard
\noindent \align left 
2.1.1.
 
\begin_inset Formula \( w\left( \textrm{door}\left( Q\right) \right) :=1 \)
\end_inset 


\layout Standard
\noindent \align left 
2.1 Else
\layout Standard
\noindent \align left 
3.
 Return
\begin_inset Formula \( \left( M\right)  \)
\end_inset 

.
\end_float 
\layout Standard

Many of the results in this sections are from 
\begin_inset LatexCommand \cite{CircRayLog4}

\end_inset 

.
 We have however made modifications to these results where necessary and
 added some results of our own.
\layout Subsection

Circular Arc - Chain Intersection Detection
\layout Standard

Here is another algorithm.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{IntDetect}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Preprocessing: 
\layout Standard
\noindent \align left 
input: a chain 
\begin_inset Formula \( C \)
\end_inset 

.
\layout Standard
\noindent \align left 
1.
 Compute 
\begin_inset Formula \( \textrm{Vor}_{\textrm{near}}\left( C\right)  \)
\end_inset 

 and 
\begin_inset Formula \( \textrm{Vor}_{\textrm{farNormal}}\left( C\right)  \)
\end_inset 

.
\layout Standard
\noindent \align left 
2.
 Preprocess 
\begin_inset Formula \( \textrm{Vor}_{\textrm{near}}\left( C\right)  \)
\end_inset 

 and 
\begin_inset Formula \( \textrm{Vor}_{\textrm{farNormal}}\left( C\right)  \)
\end_inset 

 for efficient point location.
\end_float 
\layout Standard

One last algorithms for good luck.
\layout Standard

\begin_float alg 
\layout Caption


\begin_inset LatexCommand \label{AlgorithmIntDetect2}

\end_inset 


\protected_separator 

\layout Standard
\noindent \align left 
Preprocessing: 
\layout Standard
\noindent \align left 
Input: a polygon 
\begin_inset Formula \( P \)
\end_inset 

.
\layout Standard
\noindent \align left 
1.
 Compute 
\begin_inset Formula \( C_{l}\, :=\, \textrm{chn}^{-}\left( \psi _{x}(P)\right)  \)
\end_inset 

 and 
\begin_inset Formula \( C_{r}\, :=\, \