As a follow-up to my earlier post,
http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg33433.html
here is as a proof of concept the fully functional (AFAIHBATE) patch
along the lines of the policy proposed there.
All it requires is in the layout files the line
LatexParam void
for all layouts that take an optional argument to serve as TOC entry,
and a line
\latexoptionstring short intro
(for example) under every \layout statement containing a (non-void)
short version. So it's remarkably non-intrusive. As you can tell
I'm proud of it; this old dog can still learn C++ tricks ;-)
The patch is here:
http://www.netby.dk/Oest/Europa-Alle/vermeer/opt.diff
Don't be bashful now, it's only 25K, much of it due to the addition
to FormParagraph. If you are at all interested in this, give it a try!
Martin
--
Martin Vermeer [EMAIL PROTECTED]
Helsinki University of Technology
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq
msg33456/pgp00000.pgp
Description: PGP signature
