Jean-Marc Lasgouttes wrote:
>>>>>>"Jorgen" == Jorgen Johansson <[EMAIL PROTECTED]> writes:
>>>>>
> 
> Jorgen> I have a similar problem. I am running Lyx 1.2.0a under cygwin
> Jorgen> on win2k. I recently did a new installation of 1.2.0a and
> Jorgen> upgraded another machine to 1.2.0a. I can not find any layout
> Jorgen> files in home/Administrator or home/user directories but in
> Jorgen> C:\cygwin\usr\local\share\lyx\layouts all layouts are
> Jorgen> available. Could I just copy the layouts form the share
> Jorgen> directory to my home directories
> Jorgen> C:\cygwin\home\user\.lyx\layouts ?
> 
> We have the following patch in cvs. Does it help?
> 
> JMarc
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: configure.m4
> ===================================================================
> RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/configure.m4,v
> retrieving revision 1.39.2.2
> retrieving revision 1.39.2.3
> diff -u -p -r1.39.2.2 -r1.39.2.3
> --- configure.m4      10 Jun 2002 12:57:38 -0000      1.39.2.2
> +++ configure.m4      15 Jul 2002 11:41:57 -0000      1.39.2.3
> @@ -164,11 +164,12 @@ if test ! -r ${srcdir}/chkconfig.ltx ; t
>  fi
>  
>  #### Adjust PATH for Win32 (Cygwin)
> -if test "x$OSTYPE" = xcygwin; then
> -  echo "configure: cygwin detected; path correction"
> -  srcdir=`cygpath -w "${srcdir}" | tr '\\\\' /`
> -  echo "srcdir=${srcdir}"
> -fi
> +case `uname -s` in
> +   CYGWIN*)
> +     echo "configure: cygwin detected; path correction"
> +     srcdir=`cygpath -w "${srcdir}" | tr '\\\\' /`
> +     echo "srcdir=${srcdir}" ;;
> +esac
>  
>  #### Create the build directories if necessary
>  for dir in bind clipart doc examples help images kbd layouts reLyX \

Sorry to have bothered.
I had not exported the OSTYPE=cywin variable properly. I exported the 
variable and ran the reconfigure from Lyx and now it works fine (without 
the patch).

Thank you for a great software. It has made my start with the Latex 
world much smoother.

jorgen



Reply via email to