On Tue, 2006-02-07 at 21:42 +0100, Uwe Stöhr wrote: > Hello LyXers, > > I got an interesting email from Henri Adriaens, a author of powerdot. He > reports me his problems with the implementation of powerdot for LyX. I > mean that they are interesting enough to talk about it to make life > easier for package authors to provide a LyX layout file. > > Here is the original email: > > -------- Original-Nachricht -------- > Hi Uwe, > > and above all, I don't like it at all that the gui places restrictions > on the latex that can be used in lyx. Have a look at the immense > effort I had to do to support lyx in powerdot, especially the `file' > method that writes the body of a slide verbatim to a helper file to be > able to execute it multiple tiles (overlays). The most tricky thing is > to be able to read the end of a slide and the beginning of the next: > \lyxend\lyxslide{Title} > The first token has to be read verbatim, the second not as it needs to > be executed again. So we also need to write "\lyxslide{Title}" to > another file and input it. But wait! If we input it and it does > "method=file" again, we will be stuck with an EOF in the input stream > which can't be processed by verbatim macros. \scantokens then? No, it > has the same bug of adding an EOF. > > This is all so much simpler with > \begin{slide}[method=file]{Title} > \end{slide} > \begin{slide}{Title}... > > as be can just embed verbatim macros here. No dirty tricks and lots of > slow, extra files needed. And all this trouble just because > environments can't have arguments in lyx... Oh my dear...
That would be easy to fix... > Anyway, just some hints that might make lyx more accepted in the latex > community. > > Could you please confirm that the original problem was solved? We can > talk about my objections against lyx later if you or someone else in > the lyx development is interested in it :)) > > Cheers, > -Hendri. - Martin
signature.asc
Description: This is a digitally signed message part