>>>>> "Wil" == Wil Hunt <[EMAIL PROTECTED]> writes:

Wil> Hey all, I'm currently writing a study guide for a class, and
Wil> thus need to skip over some chapters in the book that are not
Wil> being covered in the class. I've found the
Wil> \setcounter{section}{...} command, and this works great for the
Wil> generated documents (post LaTeX). Unfortunately, Lyx (1.3.5) does
Wil> not appear to know how to parse the ERTs, which is not entirely
Wil> surprising, but it does get confusing when I'm looking at section
Wil> numbers in the Lyx editor that do not match up with the sections
Wil> in the book.

You can try to use the Comment layout, and nest in there the sections
you do not want to cover.

See the attached file for an example. It is not as nice as I would
like, but it works...

JMarc

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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 Comment

These are not there
\begin_deeper 
\layout Section

A section I will not cover
\layout Section

Another one
\end_deeper 
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
setcounter{section}{2}
\end_inset 


\layout Section

This one is covered
\the_end

Reply via email to