On 3/13/11 7:44 PM, Tommaso Cucinotta wrote:
Il 13/03/2011 23:28, Julien Rioux ha scritto:
So I think an automatic tool, like a command-line cls2layout script,
is more urgent today than an editor as described in the wiki page.
You specify a .cls file, the tool parses it, identifies the
high-level macros and environments, and creates the .layout file for
it. That's it
Perhaps such a tool is already part of the intended work for the
layout editor project, but I couldn't figure this out, as the
description sounds rather like a point-and-click thing.
Good point. Normally you want to build a .layout that mimics the
effect of a .cls/.sty (or .dot) provided by the publisher. If you
could parse the latter files and automagically build a .layout, it
would be great.
I don't want to be difficult, but I think this is impossible. It might
be possible to produce an absolutely minimal sort of layout, but I can't
imagine doing much better than that or, for that matter, much better
than you would get by copying article.layout to myclass.layout.
rh