Custom Lyx and LaTeX classes in the document tree

2013-10-23 Thread Janosch Maier
Hi there!

I am currently working on various Lyx files, thate reside in a tree that
looks the following:

doc
|
+-document1
+-document2
+-document3
+-...

The documents are build using cmake on different machines (Linux and OSX).

I have created a custom Lyx class with corresponding LaTeX class, that
should be used for alle the documents. The files reside in /doc/layout.

When I link my class files tho the appropriate locations:
~/.lyx/layouts
~/.texmf/tex/latex/local/classname/classname.cls
and chose the class in the Lyx editor, the documents compile.

Is there any way to make Lyx look in the /doc/layout folder for my classes?

Unfortunately it is not possible to copy the class files on all systems,
that are used for building. A solution using environment variables would
be fine, as I can set them using my makefile.

Regards
Janosch
-- 
Janosch Maier maierjano...@gmail.com -- http://phynformatik.de
This E-Mais is signed via GnuPG http://gnupg.org/. My public key:
0xEB21B1DE


Custom Lyx and LaTeX classes in the document tree

2013-10-23 Thread Janosch Maier
Hi there!

I am currently working on various Lyx files, thate reside in a tree that
looks the following:

doc
|
+-document1
+-document2
+-document3
+-...

The documents are build using cmake on different machines (Linux and OSX).

I have created a custom Lyx class with corresponding LaTeX class, that
should be used for alle the documents. The files reside in /doc/layout.

When I link my class files tho the appropriate locations:
~/.lyx/layouts
~/.texmf/tex/latex/local/classname/classname.cls
and chose the class in the Lyx editor, the documents compile.

Is there any way to make Lyx look in the /doc/layout folder for my classes?

Unfortunately it is not possible to copy the class files on all systems,
that are used for building. A solution using environment variables would
be fine, as I can set them using my makefile.

Regards
Janosch
-- 
Janosch Maier maierjano...@gmail.com -- http://phynformatik.de
This E-Mais is signed via GnuPG http://gnupg.org/. My public key:
0xEB21B1DE


Custom Lyx and LaTeX classes in the document tree

2013-10-23 Thread Janosch Maier
Hi there!

I am currently working on various Lyx files, thate reside in a tree that
looks the following:

doc
|
+-document1
+-document2
+-document3
+-...

The documents are build using cmake on different machines (Linux and OSX).

I have created a custom Lyx class with corresponding LaTeX class, that
should be used for alle the documents. The files reside in /doc/layout.

When I link my class files tho the appropriate locations:
~/.lyx/layouts
~/.texmf/tex/latex/local/classname/classname.cls
and chose the class in the Lyx editor, the documents compile.

Is there any way to make Lyx look in the /doc/layout folder for my classes?

Unfortunately it is not possible to copy the class files on all systems,
that are used for building. A solution using environment variables would
be fine, as I can set them using my makefile.

Regards
Janosch
-- 
Janosch Maier  -- http://phynformatik.de
This E-Mais is signed via GnuPG . My public key:
0xEB21B1DE