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}\, :=\,