On Fri, 19 Jan 2007, Steve Litt wrote:
Hi Steve,
I was going through some old posts. Below you talk about a document you've
written:
> http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
Do you think it should be linked to from the wiki page about
documentation related to LyX?
Regards,
/Christian
Hi all,
As you know, for years I've been trying to understand and describe LyX
environment creation/modification, and I think I just made some more
progress:
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
This document, called LyX, LaTeX and TeX begins with a simple explanation of
TeX, with several examples. The document makes the point that it's very
difficult to understand LaTeX without basic understanding of TeX, similar to
how it would be difficult to understand the C++ Standard Template Library
(STL) without a basic understanding of C++.
It then goes on to explain a few things about LaTeX, including the answer to
the question I asked (and Ingar Pareliussen answered) here on LyX-Users --
why do you need the \let\endoldenv=\endenv when modifying a LaTeX environment
using that old TeX trick.
Finally, it discusses getting the new environment working in LaTeX first, and
then putting a LyX wrapper around the LaTeX in a .layout file.
Enjoy!
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
SteveT
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr