Re:Lyx Win32 setup notes - some anotations
Milos Komarcevic <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > >> >4. Install Acrobat Reader on root path (may have to ignore install >> >warnings if you already have it installed in program files â leave >> >that copy there though!) Change folder path to remove any spaces. >> >(My second copy is installed as C:\Adobe\Reader) >>Don't do this! It doesn't matter in which path/folder it is installed. >>Two > >>installations are one too much and could cause troubles. > > I agree with this one. If you already have Acrobat Reader installed in > C:\Program Files you could use something like the attached > acroread.bat batch file to launch it. Just put it in a regularly name > directory without spaces (like C:\Adobe or even where your LyxWin32 > lives) and use it as the pdf viewer in LyX preferences. I think the concern about spaces in the path is misplaced in this case. I have the Win32 port running on three different versions of Windoze (98, ME, XP), with Acrobat Reader installed under C:\Program Files\... in all cases, and no problems using it. In no case is its directory on the system path, either. Just putting 'acrord32' as the viewer in the LyX preferences dialog works. (I'm not sure exactly how LyX locates it. Invoking acrord32.exe from a command prompt fails. Perhaps LyX looks in the registry?) In general, you can specify a path containing spaces for a viewer by (a) entering the full path in the preferences dialog and (b) escaping spaces. You may need to enclose the path in quotes (can't recall). This won't work with documents, since some latex programs apparently can't handle escaped spaces in the paths to their targets, but it seems to work ok for accessing programs. -- Paul
Re:Lyx Win32 setup notes - some anotations
>4. Install Acrobat Reader on root path (may have to ignore install >warnings if you already have it installed in program files â leave that >copy there though!) Change folder path to remove any spaces. (My >second copy is installed as C:\Adobe\Reader) Don't do this! It doesn't matter in which path/folder it is installed. Two installations are one too much and could cause troubles. I agree with this one. If you already have Acrobat Reader installed in C:\Program Files you could use something like the attached acroread.bat batch file to launch it. Just put it in a regularly name directory without spaces (like C:\Adobe or even where your LyxWin32 lives) and use it as the pdf viewer in LyX preferences. Avoid to edit the configure.bat manually!!! Actually I did have to edit the configure the configure.bat manually. The problem is when LyX and user's %HOME%/.lyx do not live on the same drive - Edit->Reconfigure fails from within LyX then. A minor change from %~p0 to %~dp0 everywhere in the batch file fixes that. I already posted this some time and was hoping Ruurd will consider this for future versions. So the only remaining mystery for me is the usage errors from updated sed 4.0.9 Regards, Milos @echo off rem Launcher for Acrobat Reader rem M. Komarcevic 2003 rem Place in a regularly named directory without spaces, rem e.g. C:\LyX or D:\Acro and use as PDF viewer in LyX preferences. rem Change the full path to AcroRd32.exe below if necessary. start "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" %1 exit@echo off rem Configure script for Win32 rem calls msys sh.exe rem written by Ruurd Reitsma echo %0 SET PATH=%~dp0..\..\bin;%PATH% echo %PATH% %~dp0..\..\bin\sh.exe --login %0
Re:Lyx Win32 setup notes - some anotations
[posted and mailed] [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: > > I can reconfigure without problems but following this there are still > couple of "bugs": > 1. Trying to read Latex configuration from the menu or the file in the > .../share/doc/ directory gives the message it is not a lyx file, the > file is not created i.e. it has 0 bytes. [...] > > The end of this long post is the output of the configure command [...] > > Output of /configure -dbg3 follows [skipping the parts that worked] > creating doc/LaTeXConfig.lyx > c:\Program Files\GnuWin32\bin\sed.exe: can't read > ./doc/LaTeXConfig.lyx.in: No s > uch file or directory [...] On top of anything else that might be going wrong, you seem to be missing at least one (and possibly two) files. Note the message that sed can't find LaTeXConfig.lyx.in. When I installed Ruurd's 1.3.3 port, that file and LyXConfig.lyx.in were both missing. Check your /doc directory, which is where they should be. If they are missing, either grab them from an older version, or from the source distribution, or e- mail me and I'll send you copies (they're small). Park the files in the doc directory and try again. -- Paul * Paul A. Rubin Phone:(517) 432-3509 Department of Management Fax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) * Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re:Lyx Win32 setup notes - some anotations
Hi Sorry for the long post. I tried this method. Thanks to Paul, Rob, Uwe, Milos, and the group( for the prompt personal and list postings. I can reconfigure without problems but following this there are still couple of "bugs": 1. Trying to read Latex configuration from the menu or the file in the .../share/doc/ directory gives the message it is not a lyx file, the file is not created i.e. it has 0 bytes. 2. All document styles work except article memoir and book memoir when lyx chokes and exits with asking me to send a error report to microsoft!! The end of this long post is the output of the configure command Is this a bug or you guys can use the article[memoir] book[memoir] classes. The layout files:(a) memoir-article & memoir-book.layout were obtained from the lyx postings and were created by Bennett Helm <[EMAIL PROTECTED]> and (b)memoirjuergen.layout created by Messrs. Jürgen Spitzmüller and Bennet Helm and reside in ..documents and settings/../.lyx/layouts directory. I looked at the layout files and they contain lines like: Input memoir.inc Input stdclass.inc where do these files reside maybe latex cannot find them Any help appreciated regards Vivek Output of /configure -dbg3 follows Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\proggies\lyx\share\lyx>configure -dbg3 configure \proggies\lyx\share\lyx\..\..\bin;C:\texmf\miktex\bin;C:\gs\gs8.00\bin;C:\Progra m Files\WinEdt Team\WinEdt;c:\program files\imagemagick-5.5.7-q16;C:\Perl\bin\;C :\Program Files\GnuWin32\bin;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\system32\WBEM;C:\Program Files\ATI Technologies\ATI Control Panel;C:\ Program Files\Common Files\Adaptec Shared\System;C:\cygwin;c:\localtexmf;C:\cygw in\bin;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin;C:\proggies\lyx\bin checking for a LaTeX2e program... (latex latex2e) +checking for "latex"... yes checking for the pdflatex program... (pdflatex) +checking for "pdflatex"... yes checking for a LaTeX -> LyX converter... (reLyX) +checking for "reLyX"... yes checking for a Noweb -> LyX converter... (noweb2lyx) +checking for "noweb2lyx"... yes checking for a Noweb -> LaTeX converter... (noweave) +checking for "noweave"... no checking for a HTML -> Latex converter... (html2latex) +checking for "html2latex"... no checking for a MSWord -> Latex converter... (wvCleanLatex word2x) +checking for "wvCleanLatex"... no +checking for "word2x"... no checking for Image converter... (convert) +checking for "convert"... yes checking for a Postscript interpreter... (gs) +checking for "gs"... yes checking for a Postscript previewer... (gv ghostview) +checking for "gv"... no +checking for "ghostview"... no checking for a PDF preview... (acroread gv ghostview xpdf) +checking for "acroread"... no +checking for "gv"... no +checking for "ghostview"... no +checking for "xpdf"... no checking for a DVI previewer... (xdvi windvi yap) +checking for "xdvi"... no +checking for "windvi"... no +checking for "yap"... yes checking for a HTML previewer... (mozilla file://$$p$$i netscape) +checking for "mozilla"... no +checking for "netscape"... no checking for a PS to PDF converter... (ps2pdf) +checking for "ps2pdf"... yes checking for a DVI to PS converter... (dvips) +checking for "dvips"... yes checking for a DVI to PDF converter... (dvipdfm) +checking for "dvipdfm"... yes checking for a *roff formatter... ('groff -t -Tlatin1 3180FName' nroff) +checking for "groff"... no +checking for "nroff"... no checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38) +checking for "chktex"... no checking for a spell-checker... (ispell) +checking for "ispell"... no checking for Octave... (octave) +checking for "octave"... no checking for Maple... (maple) +checking for "maple"... no checking for a fax program... (kdeprintfax ksendfax) +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx) +checking for "sgml2lyx"... no checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi) +checking for "sgmltools"... no +checking for "db2dvi"... no checking for a spool command... (lp lpr) +checking for "lp"... no +checking for "lpr"... yes checking for a LaTeX -> HTML converter... (tth latex2html hevea) +checking for "tth"... no +checking for "latex2html"... no +checking for "hevea"... no checking LaTeX configuration... auto +Inspecting your LaTeX configuration. +checking for LaTeX version... 2001/06/01 +checking for default encoding (this may take a long time) + checking for ec fonts... yes + checking for ec support in LaTeX format... yes +checking for document class IEEEtran [IEEEtran]... yes +checking for document class aa [aa]... no +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... yes +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart
Re:Lyx Win32 setup notes - some anotations
Rob Saunders published an installation guide for LyXWin: http://www.soton.ac.uk/~rds2/WinLyxsetupnotes.htm I would correct it to the following: --- >Basic Bits > >1. Download and install all packages from Ruurdâs page â link found at > http://www.lyx.org/ > >Now a few things to install â general rule here is install all direct >onto a root directory and ensure all folders holding the_program.exe >are in your path. This is unneccesary. Only ImageMagick must be in the PATH, see below. >2. Install Miktex (follow Ruurdâs link) > >3. Install Ghostscript and Ghost view (follow Ruurdâs link) You won't need Ghostview/ghostscript when you don't want to look into PostScript (.ps)-files. >4. Install Acrobat Reader on root path (may have to ignore install >warnings if you already have it installed in program files â leave that >copy there though!) Change folder path to remove any spaces. (My >second copy is installed as C:\Adobe\Reader) Don't do this! It doesn't matter in which path/folder it is installed. Two installations are one too much and could cause troubles. >5. Install the latest version of Image magick; At the moment Image >Magick site has pages missing, so I downloaded from >:http://meadowy.org/meadow/dists/snapshot/ImageMagick-i686-pc-windows.exe I mean, that this one is the version 5.5.6. The actual version 5.5.7 could be downloaded from: http://www.imagemagick.org/www/archives.html The ftp-sites listed there, have a folder 'binaries' here you choose the ImageMagick-5.5.7-Q16-windows-dll.exe, here a direct link: ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/binaries/ImageMagick-5.5.7-Q16-windows-dll.exe >The directory holding convert.exe NEEDS to be in your path IN FRONT of >any Windows directories This is automatically done by the installation process of ImageMagick >6. Install the latest version of Sed from the sed.exe setup file which >is here: >http://sourceforge.net/project/showfiles.php?group_id=23617&package_id= Here the correct link: http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=16429 >Rename the old version of sed (I renamed to âoldsedâ) found in >C:\\lyx\bin > >Ok, that should be the basics in place. >Fine tuning >Configure script needs the following changes (for at least lyx up to >1.3.3) >... Avoid to edit the configure.bat manually!!! The "fine tuning" should be done in LyX Preferences->file formats. E.g. if you want to open a pdf-viewer after using the menu View->PDF(PDFLaTeX), go to Preferences->File Formats, choose the format PDF(PDFLaTeX) and insert the name of the pdfviewer .exe-file in the field 'viewer'. (E.g. write 'acrobat', when you have the full version of Acrobat or 'gsview32' when you want to open the files with ghostview.) >Prepare for first run >... The rest is fine by me. But you could add the following: When you want LyX to apear with menu names in your language, download the file lyx_intl.rar from Ruurds page and unpack it in the folder where your LyX is installed. After starting LyX, you will have menues in the Win-system language. To change the menu language, define a new environment variable 'LANG'. E.g. you are working with an italian Windows, but want basque menues, define 'LANG=eu_EU'. How to define environment variables is explained here: http://www.vrjuggler.org/vrjuggler/2.0-alpha1/getting.started.guide/getting.started.guide/ch02.html -- I hope I could improve your installation-guide. regards Uwe