texindy requires some more Perl and unfortunately the path tho the perl.exe in Windows' PATh environment variable.
The new EnvVarUpdate.nsh contains a function to modify Windows environment variables easily.
- there are some new packages required by LyX's supported document classes and example files
(this list is only used when LyX is installed the first time on a PC together with MiKTeX to shorten the installation time)
- the long awaited MiKTeX installer is available, this fixes many installation errors in LyX is installed for the first time (I will provide a new installer build as soon as I find more time)
The general problem is that Acrobat opens PDF files with write access so that PDF files cannot be modified externally by LyX/LaTeX.
The old pdfview used the programs pdfopen and pdfclose to open and close PDF files in Acrobat and it additionally closed and opened the PDF whenever it was changed (to simulate LyX's update button).
Since Acrobat DC (aka Acrobat 15) it is no longer possible to close PDF files in Acrobat. Due to changes in the Acrobat API also the pdfopen program can no longer be used.
Besides this the approach of updating the PDF whenever it changed was always a hack that often killed Acrobat. The reason is that one cannot immediately update the PDF view if the PDF is changed because depending on the size LaTeX needs up to several seconds to generate the PDF. If the PDF is opened while TeX is still creating is one get error messages from Acrobat Acrobat must be restarted - very annoying. During the years I experimented with a wait time to minimize these problems but of course it can never be solved.
The new pdfview version uses a completely different approach:
- it checks if the PDF is opened by Acrobat by reading the window name. If it is found this program windows will be closed. So Acrobat is not ended and other opened PDF files stay opened.
- to update the PDF view from within LyX one has to press the view button, not the update button. Only this way we know that TeX is ready and the PDF can be opened by Acrobat with write permissions.
- the installer now re-synchronize MiKTeX's package database before installing or updating LaTeX-packages. This assures that new packages and renamed packages can automatically be installed when they are missing (fixes bug #9370)
- update the list of LaTeX packages that have to be installed when LyX is installed via the bundle installer for the first time on a PC
- add support for Turkish spell-checking
As discussed with Vincent I added 3 new features:
* LyX can now also be installed over an existing installation of the same LyX version if the users really wants this.
(A message box appears recommending not to do so for test releases and when there are problems with an existing installation of the same release.)
* LyX can now also be installed if the uninstaller executable of a former LyX was accidentally deleted.
(That this case was not handled was more a bug. Thanks Vicent for the pointer.)
* If a user set MiKTeX's automatic package installation to "No" the installer will.
(As discussed with Vincent, if a user has disabled this MiKTeX feature he most probably know the consequences. So respect his decision.)
respect that and not re-enable it.
I would be happy if anybody can spend a translation of the changed installer message.
- known problem: if LyX 2.0.x is installed and you install 2.1rc1, the .lyx file associations will not be updated but if LyX 2.1 is installed on a new PC the file associations work (work is in progress)
- it turned out that the hack to install a stripped-down Perl directly to MiKTEX is not only error-prone, requires admin permission but that it is also not safe because MiKTeX changes the folder structure from time to time. With the new solution Perl is installed directly for LyX like we do for ImageMagick, Python etc.
- for pdfcrop support there is a bug in pdfcriop that the requirement is hardcoded to Ghostscript 32bit - I contacted the pdfcrop author to fix this
- the installer does nw the job of replacing the magyar.ldf with the fixed version [http://wiki.lyx.org/Windows/Hungarian]
- install the Mongolian hyphenation pattern to MiKTeX
- update eLyXer
- update to new MiKTeX installer that fixes a bug with updating Packages
- don't ship cbgreek because it is so huge that its download would last 10 minutes or more
- the installer will now recognize an already installed 64bit MiKTeX
- the installer will still install 32bit MiKTeX for new installations because biblatex does not yet work with 64bit MiKTeX
LyX 2.0.x supports currently 147 LaTeX-packages. When LyX is first installed on a PC it took therefore about 10 minutes to install all supported and required packages. With the new installation method the installation speed only depends on the Internet speed and lasts with an average bandwidth now only 3.5 minutes.
(chkconfig.ltx asks LaTeX for each package separately and after each package installation the file name database of LaTeX was rebuild. And that cost a lot of time/CPU power)
LaTeX.nsh:
- fix a MiKTeX configuration Problem on 64bit Windows issue discovered in #8417
- don't overwrite MiKTeX's package repository the user might have set purposely
- remove some unused code and simplify some code
- update to JabRef 2.9.2
- LaTeX.nsh: fixe http://nsis.sourceforge.net/Download
- settings.nsh: adapt path so that one needs to adapt less when using the installer source zip file
- add a readme how to build the installer
- LaTeX.nsh: assure that if MiKTeX is installed for all users also the missing packages will be installed during the configuration for all users
- configure.nsh: run configure.py twice to assure that really all missing packages are checked/installed
- LaTeX.nsh: fix bug that installer stopped working if LyX was installed the first time on a computer
- init.nsh:
- fix failing installation of Slovakian spellcheck dictionary
- expand list of available dictionaries as requested by users
- dictionaries.nsh: prevent case that the installer could run an infinite loop if the installation of dictionaries was interrupted
- settings.nsh: use a HTTP repository for MiKTeX instead of FTP because many companies deny FTP access by default in their firewalls
This is already done by the program pdfview every time it is called. This additionally fixes the bug that viewing PDF files could fail if Acrobat was not the default PDF viewer of the system while LyX was installed, but became later the default PDF viewer.
- to be able to support Adobe Reader/Acrobat XI I had to use new binaries for opening/closing PDFs. That way I found the solution for a long standing and super annoying PDF viewing bug (not 100% perfect but works for more than 95% of the cases, while formerly the view failed for all cases where LaTeX run more than once when updating a PDF view)
- avoid doubled semicolon in LaTeX editor path list
- correct path to the JabRef installation folder in LyX's PATH
- updated to JabRef 2.8.1
- rename the installer executables from LyX-205-x-Bundle.exe
- fix uninstallation of Metafile2EPS pinter
- fix un/installation of JabRef if the bundle version is executed without admin privileges
- some whitespace fixes
- dictionaries.nsh: code documentation and simplification
- lyx.nsi: comment out currently unused code
- init.nsh: some corrections and fix bug that info that JabRef and MiKTeX were installed together with LyX was deleted before the uninstaller was really run
- LaTeX.nsh: documentation and fix a bug (for an unknown reason SHCTX can be used to read and delte but not to write in the registry)
- gui.nsh: enable descriptions
- detection: move dictionary code to dictionaries
- detection.nsh:
- fixed detection of the LaTeX source file editors
- removed support for obsolete LaTeX source file editors
- init.nsh:
- don't allow to install an older LyX version over a newer one
- support dictionaries for new languages that will be supported by LyX 2.1
- remove registry entries of current LyX version when installing a newer version over it
- remove the error-prone method of finding dictionaries by renaming some
- add new dictionaries for future LyX 2.1 (more to come)
- update and correct some dictionary sizes
- fix detection of the possible 64bit programs jedit, Gimp, GhostScript and GSview
- remove detection of old Vim version
It is possible to install a newer lyX over an existing older LyX installation, but we cannot allow to install over the same lyX version. Therefore output the version number if this error message is shown
- settings.nsh: update to LyX 2.0.5
- thesaurus.nsh:
- don't download already existing dictionaries when installing over an existing LyX installation
- the list of available dictionaries is 120
- detection:
- detect existing dictionaries
- fix detection of Gimp and Photoshop
- init.nsh: detect existing dictionaries and modify the list of available dictionaries accordingly in the installer sections
- the proposed install folder is now "LyX 2.0" as discussed
- promote our wiki and also our website (as almost all other programs do as well and which is quite helpful)
- uninstall.nsh: don't uninstall the user preferences by default
- configure.nsh:
- set also the .lyx file association when the user is not admin
- fix the path in which the LyX start menu shortcut is executed
- thanks to the new version of ImageMagick no longer admin permissions are required
- init.nsh: iron out 2 non-admin residues
- language files: add missing entries and remove some unused ones
- fix an uninstallation bug that user settings were not remove if requested
- whitespace fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40814 a592a061-630c-0410-9148-cb99ea01b6c8
- fix a bug in detection of Gnumeric
- update to latest third-party products
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40688 a592a061-630c-0410-9148-cb99ea01b6c8
- fix bundle installer so that MiKTeX is installed before LyX
- fix some ImageMagick settings
- cleanups and visual feedback for new installations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40533 a592a061-630c-0410-9148-cb99ea01b6c8
- fix bug that LyX's LaTeX files were tried to install although the user denied to use LaTeX.nsh
- propose to add a desktop item for LyX (can be switched off by the user)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39584 a592a061-630c-0410-9148-cb99ea01b6c8
- fix 2 uninstaller issues
- remove support for AFPL Ghostscript (license clash)
- only install Ghostscript if not already installed
- in case there are several Ghostscript installations, use the newest one
- remove an unused variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39582 a592a061-630c-0410-9148-cb99ea01b6c8
- accept compound words is Aspell-only and thus not needed
- we use pdfview to show PDF files but this is only necessary if Acrobat or Adobe Reader is used
- update to latest MiKTeX version
- ImageMagick requires registry settings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39372 a592a061-630c-0410-9148-cb99ea01b6c8
- get rid if GSview (this will not be bundled)
- get rid of now unnecessary setting of PDF file format settings via lyxrc.dist
- fix deletion of LyX's preferences folder when the user selected this option in the uninstaller
- some fixes for the standard installer (that doesn't have the JabRef installation section)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38991 a592a061-630c-0410-9148-cb99ea01b6c8
status: (maybe there are false alarms)
- open then close -> 39 leaks
- open, load tutorial, close -> 3004 leaks
- open, load user guide, close -> 9059 leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38815 a592a061-630c-0410-9148-cb99ea01b6c8
- lyx.nsi: transform to Unicode
- settings.nsh: update to latest MiKTeX version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38783 a592a061-630c-0410-9148-cb99ea01b6c8
* updates for new dependencies packages
* use NSISdl plug-in for downloads
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37719 a592a061-630c-0410-9148-cb99ea01b6c8
* remove old text in uninstaller
* remove language selection in installer (now integrated in LyX prefs)
* updates for MSVC 2010
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37714 a592a061-630c-0410-9148-cb99ea01b6c8