Hi all,

Within LyX, I put in a list environment for several paragraphs, and within 
those, nested one itemize paragraph, as shown below:
===============================================
#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard
Steve was here
\end_layout

\begin_layout List
\labelwidthstring 00.00.0000
and now is gone 
\end_layout

\begin_layout Itemize
but left nis name
\end_layout

\begin_layout List
\labelwidthstring 00.00.0000
to carry on
\end_layout

\begin_layout Standard
I am the walrus
\end_layout

\end_body
\end_document
===============================================

I exported it to LaTeX, and here's what came out:

===============================================
%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
 \setlength{\leftmargin}{\labelwidth}
 \addtolength{\leftmargin}{\labelsep}
 \renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}

\usepackage{babel}
\makeatother
\begin{document}
Steve was here

\begin{lyxlist}{00.00.0000}
\item [{and}] now is gone 
\end{lyxlist}
\begin{itemize}
\item but left nis name
\end{itemize}
\begin{lyxlist}{00.00.0000}
\item [{to}] carry on
\end{lyxlist}
I am the walrus
\end{document}
===============================================
 
As you can see, my nesting an itemize paragraph ended the lyxlist environment, 
instead of nesting.

Does anyone know how I can force nesting?

Thanks

SteveT

Steve Litt
Books written in LyX:
        Troubleshooting Techniques of the Successful Technologist
        Twenty Eight Tales of Troubleshooting
        Troubleshooting: Just the Facts

Reply via email to