>>>>> "Ralph" == Ralph Clark <[EMAIL PROTECTED]> writes:

Ralph> I'm peripherally involved in a co-operative effort to get a new
Ralph> UK Linux magazine launched. Since the progenitor of this has
Ralph> asked for contributions to be submitted in LaTeX format I am
Ralph> advocating that contributors should be encouraged to use LyX so
Ralph> that a detailed LyX document template can be distributed which
Ralph> will allow these authors to send in their articles in an almost
Ralph> finished format and thus substantially reduce the amount of
Ralph> re-editing required.

That's a nice idea :)

Ralph> Anyway, the question I have is this: In outline, what is
Ralph> involved in creating such a detailed template for LyX? I note
Ralph> that there seem to be two things involved: templates themselves
Ralph> which it seems are just normal lyx documents in which you've
Ralph> substituted placeholder text, like entering the word 'Title'
Ralph> rather than an actual title. 

That's it.

Ralph> And document classes, which look
Ralph> kind of hard-wired. How difficult is it to create these and
Ralph> what do I read to find out how to do it?

You will need two things:

- a LaTeX document class (.cls file) which produces the kind of output
you expect. It will typically be based on article.cls. I guess some
work has already been done in this respect.

- a LyX textclass (.layout file) which describes for LyX what the
document class does. You will find a bunch of these in LyX
distribution, and their format is somewhat described in
Customization.lyx (with errors, unfortunately).

Ralph> And how do lyx-0.12 and lyx-1.0 differ in this context?

They are basically the same, but LyX 1.0 has a bunch of small
improvements that make life easier.

Ralph> I'm already reading the version 0.12 documentation but having a
Ralph> bit of hard time finding what I want. I just need a few
Ralph> pointers so I can get high-level answers to these vital
Ralph> questions without waiting to become proficent in basic LyX
Ralph> usage first.

So the advices are: (1) read the section of Customization.lyx devoted
to textclasses (2) browse in the exisiting textclasses to have a
feeling of what can (and should) be done and (3) ask again here if you
have questions.

JMarc

-- 
                +++ the lyx project user mailing list +++
                To unsubscribe from this list send mail to 
                         [EMAIL PROTECTED]
                    with the **Subject** unsubscribe.

Reply via email to