After some kind help from Micha and Charles, I have 1.4.1 running
apparently smoothly (the screen still appears a bit sluggish, which I
recall seeing in other posts about 1.4.1--but that's not an issue for
me yet... ;-). An important problem I immediately encountered involves
the way it interprets the enumeration environment in older files.
What happens in my exams is an apparent reset of the counter after any
deliberate page break. As a chunk of my exams includes several pages
of m/c questions, this is a real problem. I have included a gutted
example exam which shows this behavior.
Additionally, a conversion error occurs some (but not all) other files
which generates the following error:
==========
daddy:/usr/share/lyx/lyx2lyx# python lyx2lyx -o /tmp/ex1.lyx
~/Chemistry/chem18/tests/e1/c8_e1_a_2001.lyx
Warning: An error ocurred in 241, <function convert_ert_paragraphs at
0xb7bce5a4>
Traceback (most recent call last):
File "lyx2lyx", line 91, in ?
sys.exit(main(sys.argv))
File "lyx2lyx", line 84, in main
file.convert()
File "/usr/share/lyx/lyx2lyx/LyX.py", line 328, in convert
conv(self)
File "/usr/share/lyx/lyx2lyx/lyx_1_4.py", line 2256, in
convert_ert_paragraphs k = find_token(file.body, "\\newline", k, j)
File "/usr/share/lyx/lyx2lyx/parser_tools.py", line 35, in find_token
if lines[i][:m] == token:
IndexError: list index out of range
==========
I have included 2 versions of this (names different than the above). It
apparently stems from having code in the exam associated with an old,
non-existent chemistry drawing package. Is this something I am going
to have to clean up manually? The exams contain material I need to
access.
Many thanks,
Kenward
--
In a completely rational society, the best of us would aspire to be
_teachers_ and the rest of us would have to settle for something less,
because passing civilization along from one generation to the next
ought to be the highest honor and the highest responsibility anyone
could have. - Lee Iacocca
#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{multicol}
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
\ifcase#1\or a\or b\or c\or d\or e\or ab\or ac\or ad\or ae\or bc\or bd\or
be\or cd\or ce\or de\or abc\or abd\or abe\or acd\or ace\or ade\or bcd\or bce\or
bde\or cde\or abcd\or abce\or abde\or acde\or bcde\or abcde
[EMAIL PROTECTED]
\renewcommand\labelenumii{(\myalph{enumii})}
\usepackage{mdwlist}
\newcommand{\bgnm}{\begin{multicols}}
\newcommand{\ndm}{\end{multicols}}
\end_preamble
\language american
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize default
\spacing single
\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 true
\end_header
\begin_body
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
hfill{}
\end_layout
\end_inset
Name:
\bar under
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\InsetSpace ~
\bar default
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
vfill
\end_layout
\end_inset
\end_layout
\begin_layout Subsection*
General instructions:
\end_layout
\begin_layout Itemize
Put your name on this test and your Scantron form!
\end_layout
\begin_layout Itemize
\series bold
No scratch paper is allowed.
\series default
Use the exam itself for this purpose.
\end_layout
\begin_layout Itemize
Much of this test is multiple choice.
Your answers for these should be placed on the 882 Scantron form.
Be very careful to properly erase choices if you make a mistake!
\end_layout
\begin_layout Itemize
All other answers go on the test itself.
No extra sheets of paper should be used.
\end_layout
\begin_layout Itemize
Unless otherwise suggested, there is only one answer per problem.
\end_layout
\begin_layout Itemize
Some problems have more than 5 answers given.
If you choose an
\series bold
answer that is labeled with several letters
\series default
(e.g.
the last answer to problem 5 is labeled
\begin_inset Quotes eld
\end_inset
(ae)
\begin_inset Quotes erd
\end_inset
) then
\emph on
mark all those letters
\emph default
for that particular problem.
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
vfill
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\newpage
\end_layout
\begin_layout Enumerate
1
\end_layout
\begin_deeper
\begin_layout Enumerate
a
\end_layout
\begin_layout Enumerate
b
\end_layout
\begin_layout Enumerate
c
\end_layout
\end_deeper
\begin_layout Enumerate
A chemical reaction
\end_layout
\begin_deeper
\begin_layout Enumerate
a
\end_layout
\begin_layout Enumerate
b
\end_layout
\begin_layout Enumerate
c
\end_layout
\end_deeper
\begin_layout Enumerate
According to a science fiction novel, the
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{5}
\end_layout
\end_inset
a
\end_layout
\begin_layout Enumerate
b
\end_layout
\begin_layout Enumerate
c
\end_layout
\begin_layout Enumerate
d
\end_layout
\begin_layout Enumerate
e
\end_layout
\begin_layout Enumerate
f
\end_layout
\begin_layout Enumerate
g
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
An und
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{5}
\end_layout
\end_inset
Mg
\end_layout
\begin_layout Enumerate
Al
\end_layout
\begin_layout Enumerate
Sr
\end_layout
\begin_layout Enumerate
Fe
\end_layout
\begin_layout Enumerate
Pb
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
The formula
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{5}
\end_layout
\end_inset
63
\end_layout
\begin_layout Enumerate
84
\end_layout
\begin_layout Enumerate
114
\end_layout
\begin_layout Enumerate
116
\end_layout
\begin_layout Enumerate
118
\end_layout
\begin_layout Enumerate
132
\end_layout
\begin_layout Enumerate
210
\end_layout
\begin_layout Enumerate
221
\end_layout
\begin_layout Enumerate
228
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
A particle
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{3}
\end_layout
\end_inset
4
\end_layout
\begin_layout Enumerate
5
\end_layout
\begin_layout Enumerate
6
\end_layout
\begin_layout Enumerate
9
\end_layout
\begin_layout Enumerate
10
\end_layout
\begin_layout Enumerate
11
\end_layout
\begin_layout Enumerate
15
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Standard
\newpage
\end_layout
\begin_layout Enumerate
The lowest
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{5}
\end_layout
\end_inset
\begin_inset Formula $-$
\end_inset
2
\end_layout
\begin_layout Enumerate
27
\end_layout
\begin_layout Enumerate
2
\end_layout
\begin_layout Enumerate
\begin_inset Formula $-$
\end_inset
27
\end_layout
\begin_layout Enumerate
3
\begin_inset Formula $^{\circ}$
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
suspend{enumerate}
\end_layout
\end_inset
The next two questions refer to the figure below,
\newline
\end_layout
\begin_layout Standard
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
\begin_layout Standard
\align center
\begin_inset Graphics
filename Chemistry/chem11/tests/E1_rxnProds.eps
display color
width 100text%
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
resume{enumerate}
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
What
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{5}
\end_layout
\end_inset
one
\end_layout
\begin_layout Enumerate
two
\end_layout
\begin_layout Enumerate
three
\end_layout
\begin_layout Enumerate
four
\end_layout
\begin_layout Enumerate
five
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
What
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{3}
\end_layout
\end_inset
ACD
\end_layout
\begin_layout Enumerate
AC
\begin_inset Formula $_{2}$
\end_inset
D
\end_layout
\begin_layout Enumerate
AC
\begin_inset Formula $_{2}$
\end_inset
D
\begin_inset Formula $_{2}$
\end_inset
\end_layout
\begin_layout Enumerate
BCD
\begin_inset Formula $_{2}$
\end_inset
\end_layout
\begin_layout Enumerate
BC
\begin_inset Formula $_{2}$
\end_inset
D
\end_layout
\begin_layout Enumerate
BC
\begin_inset Formula $_{2}$
\end_inset
D
\begin_inset Formula $_{2}$
\end_inset
\end_layout
\begin_layout Enumerate
B
\begin_inset Formula $_{2}$
\end_inset
D
\begin_inset Formula $_{2}$
\end_inset
\end_layout
\begin_layout Enumerate
BC
\end_layout
\begin_layout Enumerate
BC
\begin_inset Formula $_{2}$
\end_inset
\end_layout
\begin_layout Enumerate
CD
\end_layout
\begin_layout Enumerate
C
\begin_inset Formula $_{2}$
\end_inset
D
\end_layout
\begin_layout Enumerate
CD
\begin_inset Formula $_{2}$
\end_inset
\end_layout
\begin_layout Enumerate
C
\begin_inset Formula $_{2}$
\end_inset
D
\begin_inset Formula $_{2}$
\end_inset
\end_layout
\begin_layout Enumerate
D
\end_layout
\begin_layout Enumerate
D
\begin_inset Formula $_{2}$
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
The
\end_layout
\begin_deeper
\begin_layout Enumerate
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
bgnm{2}
\end_layout
\end_inset
Constant Composition
\end_layout
\begin_layout Enumerate
Multiple Proportions
\end_layout
\begin_layout Enumerate
Conservation of Energy
\end_layout
\begin_layout Enumerate
Conservation of Mass
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ndm
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Standard
\newpage
\end_layout
\begin_layout Enumerate
Which
\end_layout
\begin_deeper
\begin_layout Enumerate
A hypothesis
\end_layout
\begin_layout Enumerate
A hypothesis
\end_layout
\begin_layout Enumerate
A theory
\end_layout
\begin_layout Enumerate
A theory
\end_layout
\begin_layout Enumerate
A hypothesis
\end_layout
\end_deeper
\begin_layout Enumerate
Sodium and potassium
\end_layout
\begin_deeper
\begin_layout Enumerate
are metals
\end_layout
\begin_layout Enumerate
are
\end_layout
\begin_layout Enumerate
have
\end_layout
\begin_layout Enumerate
have
\end_layout
\begin_layout Enumerate
have
\end_layout
\end_body
\end_document
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{ochem}
\end_preamble
\language american
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 0.7in
\topmargin 0.7in
\rightmargin 0.7in
\bottommargin 0.7in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Title
An Organic Experience
\layout Author
Exam 1
\layout Standard
\pagebreak_top
Name the following:
\layout Standard
\layout Standard
\layout Standard
On the lower left of the picture below, draw the ring-flipped version.
On the lower right, draw a different stereoisomer.
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
medskip{}
\newline
\backslash
hfill{}
\newline
\backslash
hfill{}
\newline
\backslash
vfill{}
\end_inset
\layout Standard
\pagebreak_top
Draw all possible chair isomers of
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
vfill{}
\newline
\backslash
vfill
\newline
\backslash
vfill
\end_inset
\layout Standard
Below are shown two organic acids.
(Each is the conjugate acid of the organic base shown on the right, created
after loss of an H
\begin_inset Formula $^{+}$
\end_inset
from the acid on the left.) The K
\begin_inset Formula $_{a}$
\end_inset
's given are estimates of the actual K
\begin_inset Formula $_{a}$
\end_inset
's for these acids.
Which of the two acids on the left is more acidic than the other?
\layout Standard
\pagebreak_top
Alcohols react
One reaction we will study shortly involves the substitution of a halogen
for the
\begin_inset Formula $-$
\end_inset
OH of the alcohol.
Written simply as
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="1">
<features>
<column alignment="center" valignment="top" width="0pt">
<row>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\layout Standard
R
\begin_inset Formula $_{3}$
\end_inset
C
\begin_inset Formula $-$
\end_inset
OH
\begin_inset Formula $+$
\end_inset
H
\begin_inset Formula $-$
\end_inset
X
\begin_inset Formula $\longrightarrow$
\end_inset
R
\begin_inset Formula $_{3}$
\end_inset
C
\begin_inset Formula $-$
\end_inset
X
\begin_inset Formula $+$
\end_inset
H
\begin_inset Formula $-$
\end_inset
OH
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Give as many reasons as you can why this should be.
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
bigskip{}
\newline
\backslash
hfill{}
\newline
\backslash
begin{chemistry}
\newline
defaulz
\newline
multiline(1,,,B) {
\newline
formula(L,R){atom("HO",C,TR) atom("$
\backslash
ominus$",BL,B) saveXY(#1)}
\newline
formula(L,R){atom("$+$")}
\newline
formula(L,R){atom("C",C,C) saveXY(#3,0,s) branch{ bond(-120); bond(110,<.)
saveXY(#2,-80,N); bond(125,<<);}
\newline
bond(0) atom("X",C,T) saveXY(#4)}
\newline
emove(#1,-50,20,#2,190,5) emove(#3,80,20,#4,100,20)
\newline
;}
\newline
savecontext(#1)
\newline
arrow(-90,15,-){} nospace arrow(0,35,-){}
\newline
formula(L,R) {atom("HO",,R) bond(0,o) atom("C",C,C)
\newline
branch{bond(70,<.); bond(110,<<); bond(-90);}
\newline
bond(0,o) atom("X",L) }
\newline
bracket() arrow(0,35,-){} nospace arrow(90,15){}
\newline
multiline(1,,B,R) {
\newline
formula(L,R){_oh(-) bond(0) atom("C",C,C)
\newline
branch{bond(70,<.); bond(55,<<); bond(-60);}
}
\newline
formula(L,R){atom("$+$")}
\newline
formula(L,R){atom("X") _neg(30)}
\newline
;}
\newline
savecontext(#2)
\newline
formula(L,R){ bond(0,s,NN) atom("( X $=$ F or I )")}
\newline
setcontext(#1,R)
\newline
arrow(0,60){}
\newline
\backslash
end{chemistry}
\newline
\backslash
hfill{}
\newline
\backslash
bigskip{}
\end_inset
\the_end
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\end_preamble
\language american
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 0.7in
\topmargin 0.7in
\rightmargin 0.7in
\bottommargin 0.7in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Title
An Organic Experience
\layout Author
Exam 1
\layout Standard
\pagebreak_top
Name the following:
\layout Standard
\layout Standard
\layout Standard
On the lower left of the picture below, draw the ring-flipped version.
On the lower right, draw a different stereoisomer.
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
medskip{}
\newline
\backslash
hfill{}
\newline
\backslash
hfill{}
\newline
\backslash
vfill{}
\end_inset
\layout Standard
\pagebreak_top
Draw all possible chair isomers of
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
vfill{}
\newline
\backslash
vfill
\newline
\backslash
vfill
\end_inset
\layout Standard
Below are shown two organic acids.
(Each is the conjugate acid of the organic base shown on the right, created
after loss of an H
\begin_inset Formula $^{+}$
\end_inset
from the acid on the left.) The K
\begin_inset Formula $_{a}$
\end_inset
's given are estimates of the actual K
\begin_inset Formula $_{a}$
\end_inset
's for these acids.
Which of the two acids on the left is more acidic than the other?
\layout Standard
\pagebreak_top
Alcohols react
One reaction we will study shortly involves the substitution of a halogen
for the
\begin_inset Formula $-$
\end_inset
OH of the alcohol.
Written simply as
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="1">
<features>
<column alignment="center" valignment="top" width="0pt">
<row>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\layout Standard
R
\begin_inset Formula $_{3}$
\end_inset
C
\begin_inset Formula $-$
\end_inset
OH
\begin_inset Formula $+$
\end_inset
H
\begin_inset Formula $-$
\end_inset
X
\begin_inset Formula $\longrightarrow$
\end_inset
R
\begin_inset Formula $_{3}$
\end_inset
C
\begin_inset Formula $-$
\end_inset
X
\begin_inset Formula $+$
\end_inset
H
\begin_inset Formula $-$
\end_inset
OH
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Give as many reasons as you can why this should be.
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
bigskip{}
\newline
\backslash
hfill{}
\newline
\newline
\backslash
hfill{}
\newline
\backslash
bigskip{}
\end_inset
\the_end