On Tue, May 23, 2000 at 11:26:23PM +0200, Lars Gullik Bjønnes wrote:
> Joseph Zitt <[EMAIL PROTECTED]> writes:
> 
> | > You can make a copy of report.layout (f.ex. myreport.layout) and add
> | > your environments to that. I guess that report.layout contains encough
> | > examples on how to add environments so that you will be able to do it
> | > fairly easy. (also look at the .inc files)
> | 
> | Well, there may well be people for whom it is easy... but then there are
> | also people who like configuring sendmail...
> 
> Huh?
> 
> | >From what I can tell, this involves putting odd parameters in four or
> | five fuzzily defined files hidden in obscure places. Over the past
> 
> Obscure place: /usr/local/lyx/layouts/

Hmm... 

[jzitt@dhcp-140 jzitt]$ ls /usr/local/lyx/layouts/
ls: /usr/local/lyx/layouts/: No such file or directory

... but there do appear to be appropriately named files in
/usr/share/lyx/layouts/

> cp /usr/local/lyx/layouts/report.layot ~/.lyx/layouts/myreport.layout

This is a variant on a book format, so I'm trying

cp /usr/share/lyx/layouts/book.layout ~/.lyx/layouts/mybook.layout

> Now add your environments to that. This will be the _only_ file that
> you have to touch.

OK, adding styles to it, such as 

Style score1
  CopyStyle Paragraph
  LatexType Environment
  LatexName score1 
  Margin Static
  LeftMargin "MM"
  Align left
END

> 
> "And how do I add my environments to myreport.layout"
> 
> Look in other .layout files and .inc files and look for environments
> that has the similar funcitionality. Then add a similar blurm to
> myreport.layout.

OK, so now I've saved that, and created a document using that as the
document layout. Things are displaying OK onscreen... but
generating the DVI I get an error for each component, saying that
in each case it's doing a \begin{score0} (for example), and that
style is not found.

It strikes me that, following these directions, I don't see how it
will notice the file containing the actual latex environments. 

I *think* I'm getting closer...


> | couple of months, I haven't been able to puzzle out what needs to be
> | where.
> 
> You have puzzled to much.

Still puzzling...

> | I *would* like to be able to take some time out from having my
> | computer play mindgames with me, and actually be able to write the
> | freakin' book *sigh*.
> 
> You know you _could_ begin writing the book before all framework was
> in place.

Actually, much of the book is strictly formatted, requiring the 
styles that I'm trying to use. Writing without those formats would
be akin to writing a conventional music book without notes and
staves -- possible, but far from efficient.

-- 
|> ~The only thing that is not art is inattention~ --- Marcel Duchamp <|
| [EMAIL PROTECTED]           http://www.metatronpress.com/jzitt |
| Latest CD: Jerusaklyn                  http://www.mp3.com/josephzitt |
| Comma: Voices of New Music    Silence: the John Cage Discussion List |

Reply via email to