>>>>> "Thomas" == Thomas Templin <[EMAIL PROTECTED]> writes:
Thomas> In Layout > Latex Preamble (german Menu: Layout > Latex
Thomas> Vorspann)
Thomas> \InputIfFileExists{/home/user/.lyx/include/mymac.inc} works
Thomas> fine but \InputIfFileExists{~/user/.lyx/include/mymac.inc}
Thomas> does not. So, is there any way to tell Lyx to use a relative
Thomas> path like $LYX_INCLUDE_DIR ?
The ~/ notation is an unix notation, which LaTeX does not know about.
If you want your macros to be visible by latex, set the following
environment macro
[for sh/bash]
TEXINPUTS=~/user/.lyx/include:${TEXINPUTS} ; export TEXINPUTS
[for csh/tcsh]
setenv TEXINPUTS ~/user/.lyx/include:${TEXINPUTS}
JMarc