Jean-Marc Lasgouttes wrote:
> Angus> Jean-Marc, I've been looking through the changes to the 1.3.x
> Angus> tree since I started this effort to merge Ruurd's LyX/Win port
> Angus> into the official sources. As a result, I've added descriptions
> Angus> of a number of small fixes to status.13x, attached.
>
> These changes look good to me, except that this one
>
> +- LyX now passes all external scripts to the relevant interpretter
> + explicitly. This means that Windows can now run the script even when
> + it doesn't have a "recognized" file extension.
>
> should be in document input/output (I think) and 'interpreter' is
> mis-spelt (I think).
Thank you :)
> Angus> I've also tried to describe the 'bigger picture' that Windows
> Angus> users will see when they compare LyX 1.3.6 to Ruurd's port. See
> Angus> porting-changes.txt. I'd imagine that this should be merged
> Angus> into status.13x but it could probably do with some more polish.
> Angus> No doubt you'll have your own ideas...
>
> This looks good, although I think it should be shorter: I would mostly
> remove the first paragraph and start with something like
>
> LyX is now officially supported under window 9x, 2000 and XP [add or
> remove OSs there]. The Windows port has almost the same
> functionality as its Unix counterpart. The following things do not
> work, however:
>
> * The spellchecker only works with the GNU aspell library.
> * The lyxserver does not work.
> * The "autosave" facility which makes a back-up of your document every
> 5 or so minutes and which runs asynchronously on unix machines will
> block execution on Windows.
>
> And so on... I know that it is a bit terse for so much work, but we
> want people to actually read it :) We could have a more long-winded
> version on the wiki.
>
> The part about file location should be written also for people who use
> OSX (BTW, windows does not know about `application bundle'). A table
> giving the common locations for the three packaging models would
> problably be (mostly) enough (OK, of course we needs a couple
> sentences to make it intelligible).
I just cut and pasted your suggestion above. Thanks. However, I've no idea
how to make the packaging bit shorter as it contains important user
information. Maybe this file is the wrong place to put it? Ditto for the
"File names with spaces" stuff?
Anyway, attached are revisions of both docs.
Angus
--
Angus
LyX is now officially supported under Windows. The Windows port has
almost the same functionality as its Unix counterpart. Beware,
however, that it still suffers from the following limitations:
* The spellchecker works only with the GNU aspell library.
* External processes cannot communicate with LyX through a "named pipe".
* The "autosave" facility which makes a back-up of your document every
5 or so minutes and which runs asynchronously on unix machines will
block execution on Windows.
Packaging
MacOS, Unix and Windows each have different traditions for
where an application should look for various files. We have tried to
follow this tradition, so, if the lyx binary is found at
$PREFIX/bin/lyx then LyX will expect to find its support files at:
Unix $PREFIX/share/lyx
MacOS $PREFIX/Resources/lyx
Windows $PREFIX/Resources/lyx
Similarly, it will typically expect to find a user's customization
of these support files at:
Unix $HOME/.lyx
MacOS $HOME/.lyx
Windows C:\Documents and Settings\USERNAME\Application Data\lyx
LyX also has default locations for the user's documents and for its
temporary workspace directories, although these can be reset in the
preferences file. Respectively:
Unix $HOME
MacOS $HOME
Windows C:\Documents and Settings\USERNAME
Unix /tmp
MacOS /tmp
Windows C:\Documents and Settings\USERNAME\Local Settings\Temp
LyX is fully relocatable. That is, it will continue to work
perfectly if installed with a 'non-standard' $PREFIX. Windows users
should note that we decided not to use the rats' nest that is the
Windows Registery. Instead, we recommend that you use the new
"\path_prefix" variable in your preferences file to tell LyX where
to find things like acroread and ImageMagick's convert utility. Eg
\path_prefix "C:\Program Files\Adobe\Acrobat 7.0\Reader;C:\Program
Files\ImageMagick-6.2.1-Q16"
You can set this data either by editing your preferences file
directly or by using the "PATH prefix:" entry in the Paths pane of
the Preferences dialog.
"File names with spaces"
The observant among you will notice that the Windows version of the
paths above contain spaces. We have worked hard to make this release
of LyX work well with such file names. Modern LaTeX distributions,
such as MikTeX 2.4 can handle such paths, although you'll have to
jump through some hoops to be able to use the resulting .dvi
file. See http://wiki.lyx.org/LaTeX/FilesWithSpecialChars for
details and a script with which to post-process the .dvi file output
by the latex compiler.
LyX will try and ascertain automatically whether your latex compiler
can handle such file names, but you can also override its findings
by adding
\tex_allows_spaces true
(or false) to your preferences file.
Index: status.13x
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/Attic/status.13x,v
retrieving revision 1.1.2.246
diff -u -p -r1.1.2.246 status.13x
--- status.13x 13 May 2005 13:12:18 -0000 1.1.2.246
+++ status.13x 17 May 2005 14:25:26 -0000
@@ -35,6 +35,12 @@ What's new
level operation like selection by double-click or index entry
defaults.
+- The converters defined in the lyxrc.defaults and preferences files
+ can now use a "$$s" placeholder to tell LyX to look for the
+ converter in its support directories. A typical example is:
+
+ \converter lyxpreview ppm "python $$s/scripts/lyxpreview2ppm.py" ""
+
- The ``annote'' field of BibTeX entries is now shown in citation preview.
- update the aastex textclass to AASTeX 5.2
@@ -63,7 +69,7 @@ What's new
REVTeX 4, since the functionality is already provided by the class.
- Fix output of mathbb and mathcal symbols via the math panel
- (xforms only) [bug 1214].
+ (XForms only) [bug 1214].
- Fix output of footnotes on the titlepage, which did not work with
the memoir class [bug 1677].
@@ -73,7 +79,7 @@ What's new
- When reading an equation, don't parse \| following a \left or \right as |.
-- Fix positionning of error insets after graphics and external insets.
+- Fix positioning of error insets after graphics and external insets.
- When executing generating PDF, handle properly pdfTeX warnings [bug 1824].
@@ -87,6 +93,22 @@ What's new
- remove detection of a PS interpreter in lib/configure, since we do
not use it.
+- Remove from convertDefault.sh the test that "convert" really succeeded
+ as it reported failures on Windows that were actually successes.
+ See, eg, http://marc.theaimsgroup.com/?l=lyx-users&m=110561697803860&w=2
+
+- No longer quote the name of the external executable in lyxpreview2ppm.py.
+ Windows didn't like that.
+
+- Windows users are now able to define and use their own graphics converters
+ because the command is now quoted correctly.
+
+- Given a Windows-style path, don't forget to mangle the drive letter too when
+ generating a unique temporary file name.
+
+- LyX now passes all external scripts to the relevant interpreter explicitly.
+ This means that Windows can now run the script even when it doesn't have
+ a "recognized" file extension.
* User Interface:
@@ -97,6 +119,10 @@ What's new
- Make LyX behave normally when a file has been open from the Explorer
[Windows only].
+- Windows users will find that graphics files are now converted to a
+ "loadable" format asynchronously. That is, LyX will not block
+ execution whilst graphics files are displayed on screen.
+
- Fix font metrics problems with Qt/Win 3.2.1.
- Fix bindings for depth-increment/decrement for LyX/Mac.
@@ -107,7 +133,7 @@ What's new
- Semantic improvements in the Insert>Cross reference dialog.
-- When showing a preview of a bibtex entry in the Insert>Citation
+- When showing a preview of a BibTeX entry in the Insert>Citation
Reference dialog, handle \% correctly.
- Fix display of citations when using 'et al.'
@@ -122,12 +148,17 @@ What's new
- Fix "longtable" user interface in the tabular dialog [bug 1061] [qt only]
+- Remove the "child process" dialog, with which a user could kill child
+ processes spawned by LyX. It was decided that this functionality belonged
+ with the OS.
+
+- Post convertDefault.sh's error messages to STDERR.
* Configuration/Installation:
- Enable XForms frontend to build with picky versions of 'make'.
-- Fix link error with some compiler/os combinations [bug 1702].
+- Fix link error with some compiler/OS combinations [bug 1702].
- Fix link error with Cygwin.