Dear everybody:

Can I use the Lyx literate-book textclass to create a KOMA script
book, rather than just a boring old book?  For that matter, if one is
using a literate-article textclass, isn't there a way to specify the
*type* of article?

I realize I can output the tex file from the noweb document and change
book to scrbook, but it seems like it should be easier.

It this question clear?   I want the tex file created by LyX to have
"book" changed to "scrbook", as in this case:

>From this:

\batchmode
\makeatletter
\def\in...@path{{/tmp//}}
\makeatother
\documentclass[oneside,english]{scrbook}
...

to this:

\batchmode
\makeatletter
\def\in...@path{{/tmp//}}
\makeatother
\documentclass[oneside,english]{scrbook}
...

Hmm.  I've been looking at this quite a bit.

Am I right in guessing that there's no way to customize a book (noweb)
document inside the LyX document itself, but I can create a new layout
file that changes the literate-book.layout from this:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book,noweb.sty]{book (Noweb)}

to this:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrbook,noweb.sty]{book (Noweb)}

Supposing that is needed, can I ask a follow up question?

Suppose a document has to be used by many people who do not have the
customized layout file in their preferences folder.  Is there a way
that I could tell LyX to look for the layout file in the *same
directory* as the LyX file and the figures and bibliography?  If I
could do that, users might actually be able to edit a document without
customizing their layout collection.

PJ
-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

Reply via email to