On Thu, Aug 29, 2002 at 07:49:27PM -0600, [EMAIL PROTECTED] wrote:
> On Fri, 2002-08-30 at 01:17, Dekel Tsur wrote:
> > If you want to define a new environment, use the following code
> >
> > \newcounter{enumisave}
[...]
>
> Where will I put the above code? Is it in my preamble?
In a layout file. Copy the layout file you use for your document
(e.g. article.layout) to ~/.lyx/layouts, and append to it the following lines
Style MyEnumerate
CopyStyle Enumerate
Preamble
\newcounter{enumisave}
...(the rest of the code)
EndPreamble
End
> > Another solution is not use a separate environment, but to put
> > an ERT macro (e.g. \noreset) before each enumerate you don't want its
> > number to reset.
> > If you prefer this solution, I can provide the necessary tex code.
>
> Can you send your TeX code to me so that I can check if it works with me?
Perhaps the solution of redefining the enumerate environment will be
simpler to use.
See the attached file.
> By the way, how can I successfully convert my LyX document that uses the
> CU-Thesis to a PDF file that supports links to the URLs?
\usepackage[ps2pdf]{hyperref} or \usepackage[pdftex]{hyperref},
depending on the way you generate the PDF.
> Lastly, what is the best and easiest way to make Bibliographies and
> References for my thesis format for a newbie like me?
With bibtex.
Use Pybliographer or gBib to generate the bibtex file.
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\newif\ifcontenum
\contenumfalse
\newcounter{enumisave}
\def\enumerate{%
\ifnum \@enumdepth >\thr@@\@toodeep\else
\advance\@enumdepth\@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\expandafter
\list
\csname label\@enumctr\endcsname
{\usecounter\@enumctr%
\ifcontenum\ifnum\@enumdepth=1 \setcounter{enumi}{\value{enumisave}}\fi\fi%
\def\makelabel##1{\hss\llap{##1}}}%
\fi}
\def\endenumerate{%
\ifnum\@enumdepth=1 \setcounter{enumisave}{\value{enumi}}\fi%
\endlist}
\end_preamble
\language american
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Enumerate
blah
\layout Enumerate
blah
\layout Standard
blah
\layout Enumerate
blah
\layout Enumerate
blah
\layout Standard
blah
\latex latex
\backslash
contenumtrue
\layout Enumerate
blah
\layout Enumerate
blah
\the_end