On Wednesday 17 January 2007 08:40, Ingar Pareliussen wrote: > ty. 16. januar 2007 23:10 skreiv Steve Litt: > > On Tuesday 16 January 2007 16:41, Steve Litt wrote: > > > On Friday 21 January 2005 13:52, Matej Cepl wrote: > > > > Steve Litt wrote: > > <snip> > > > > What I want to know is this: where does \enddescription come from? > > > > I just realized neither \endolddescription nor \enddescription are used > > subsequently. What's the purpose of the line: > > > > \let\endolddescription=\enddescription > > Hi Steve, > > I am no LaTeX guru, but as I understand the two first lines: > \let\olddescription=\description > \let\endolddescription=\enddescription > are just there to rename the start and end names of the envirnoment so the > old and unchanges envirnoment still can be used.
You're absolutely right Ingar! I did a huge amount of experimentation today and found out the real story. When you say \end{olddescription} in the ending part of the modified version of description, the \end{olddescription} constructs the macroname \endolddescription and runs whatever is stored in that macro. Without saving \enddescription to \endolddescription, the call to \end{description} will end any environments started in the beginning section of the modified copy of \description, but it will not perform any explicit writes declared in the original end section of \description. I'll be covering this in a new LaTeX quickstart for LyX people. Thanks, SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/