* WinEdt News.txt Last modified on Tuesday, March 15, 2011 18:28 __________________________________________________________________ WinEdt 5 series have been around for over nine years and it is time to move on, do away with some legacy issues, and start the WinEdt 6 project. Before proceeding to install WinEdt 6, please read the following important information pertaining to upgrading: WinEdt 6 is installed parallel to WinEdt 5 and you can continue to use WinEdt 5 and possibly uninstall WinEdt 6 if you prefer the old version. You should not attempt to install WinEdt 6 over the existing WinEdt 5.x on your system! IMPORTANT: WinEdt 6 is not compatible with WinEdt 5! You cannot import your old customized settings into this version. You will have to customize WinEdt 6 from scratch. Hundreds of hours went into improving WinEdt appearance and interface. If your customizations are more important than the new looks and functionality of WinEdt 6 then you should stick with your customized version rather than upgrading to WinEdt 6 series! Upgrading WinEdt 6 series from here on will be easy. Transition from WinEdt 5, however, does require some manual work if you want to customize WinEdt 6. Again, your old settings cannot be imported directly into WinEdt 6!!! NOTE: At this stage many/ most components on www.winedt.org will not automatically install into WinEdt 6 unless they have been updated and they state that they are WinEdt 6-compatible. This applies to all components that involve changes to the Menu and/or Toolbar... Advanced users can, of course, install such components manually and make them WinEdt 6-compatible by rewriting menus and toolbars in the new format. REGISTRATION: WinEdt 6 series requires a new registration number. You can take advantage of the trial period and see if you want to use this version or you prefer the older WinEdt 5.x series. Should you opt for WinEdt 6 and already have a license for WinEdt 5, you will need to purchase an upgrade license from www.winedt.com (see the Tables at the Registration page: upgrade rates are at the bottom). Exceptions will be made (upon request) to users that have purchased a license or an upgrade within the last year and to users that make contributions to winedt.org, provide useful answers on the Mailing List, or help with WinEdt project in some other way... This is your chance to get involved! ------------------------------------------------------------------ So much for the bad news. Now to the new features... ------------------------------------------------------------------ WinEdt 6 [Build 20110315 (v. 6.0)] ================================== - A problem with locating source files from MiKTeX log files has been fixed - A problem with silent install has been fixed - Support for MetaFont has been added - New functionality with aux directory has been added... - Uninstalling WinEdt 6 no longer removes WinEdt 7 application data folder and more... WinEdt 6 [Build 20101215 (v. 6.0)] ================================== - NSIS configuration has been added. This way WinEdt edits and compiles its own installation scripts... - Enhanced Installation Options (Admin vs. Private Installation, etc...) - Enhanced Icons for filetype associations (much better appearance with large icons) - DDE Fix for Adobe X (http://forums.adobe.com/message/3323310) - A problem with properly restoring Execution Modes Settings with Default configuration have been fixed (introduced by accident in Build 20101207 when support for NSIS compiler has been added)... - Two minor bug fixes: local images for Options Interface AV with generic [non-TeX] Wizard - Forward Search with PDF-XChange v.2.5 can now highlight a box (not just a proper page). - Some oddities with undoing and redoing with free caret interface have been fixed. - PDF Alternative Viewer #4 in Execution Modes now works properly (before it would use the value for Viewer #3)... - Some minor enhancements to default settings... WinEdt 6 [Build 20101121 (v. 6.0)] ================================== - This build uses NSIS Setup Installer (with more install and uninstall options)... Silent Install or Uninstall uses a command line switch /S and /D= (/D must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported). This can come handy for network installations! - Problems with automatic licensing on Win7 networks have been fixed... - Bug with RegEx containing 8-bit characters or strings has been fixed... - Some problems with WinEdt appearance with 120 dpi screen resolution and Classic Windows Theme (or sometimes non-default themes) have been fixed... In particular, the buttons in the toolbar in Options Interface could become invisible under such settings. - Refresh oddities with dialogs when switching from mouse to keyboard UI have been fixed... - INI Scripts (accessible through the Options Interface) now allow input directive, eg.: %INCLUDE="ConfigEx\Script.ini" This should simplify installation of Configuration Components from WinEdt.org. Double-clicking on Active String %INCLUDE="?" opens a local copy of included script for editing. %%INCLUDE includes the script and ignores the rest of the file (useful if the script is supposed to replace the contents of the original). %%INCLUDE="ConfigEx\Script.ini" is a shorter equivalent of %INCLUDE="ConfigEx\Script.ini" [END] %include does the same as %INCLUDE except that it ignores the directive if the specified file does not exist (include only if it exists). These directives have been added to highlighting and active strings for INI files. - Comments in the default Private.ini provide some guidance on how (not) to use this feature, its limitations, and possible problems... - There is now only one BackgroundSchemes.ini configuration containing a few examples of background schemes. By default they are all disabled but it is just a matter of changing ENABLED=0 to ENABLED=1 and reloading the script in order to enable any of the pre-defined schemes. Comments in the file provide further guidance (eg. for those that want to use "fancy" bitmaps for background)... - The same for Toolbar.ini. There are still predefined alternatives but your choice of toolbars (and possible customizations and additions) should be maintained in this file. Comments in Toolbar.ini provide additional guidance... - The Options Interface has been modified in order to accommodate the above changes with Background Schemes and Toolbar. - Context Popup Menu in the Options Interface now contains Expand All and Collapse All items. - Labels in Tree and Gather now contain comments to show how to collect labels with other packages (including listing, beamer, cleveref, etc...). If you are using any of these and would like WinEdt to collect labels in alternative formats remove the comments and reload the modified script... - Fixed right margin can now be changed in Font Schemes for a particular scheme. If not specified (or specified as 0) then the default one as specified under Wrapping applies... Default settings use this feature to reduce right margin for ASCII documents (such as my emails): FONT_SCHEME="ASCII Documents" MODE="ASCII|EDT;INI" RIGHT_MARGIN=67 - Yet another PDFTeX engine has been added to the execution modes: LuaTeX and LuaLaTeX are now there... - Gather interface now uses ICON (if specified) in its list control... - WinEdt did not provide an option to auto-match delimiters in response to mouse click. Delimiters are matched when they are typed and when you move the cursor over them with Left and Right Arrows. The following options in Delimiters.ini (accessible through the Options Interface -> Delimiters!) control this functionality: AUTO_MATCH_LEFT_RIGHT=1 AUTO_MATCH_TOGGLED=1 MATCH_MOVE_OVER=1 Three new options were introduced to further control this feature: MATCH_MOVE_TO=1 MATCH_ON_CLICK=1 MATCH_ON_TYPE=1 - It is now possible to use the same shortcut for different menu items in different configurations... - Using a double-shortcut and then reloading Popup Menus through Options Interface resulted in AV. Fixed... - It is now possible to use variables (such as %H,%B,%!B,%!H, etc...) in the execution modes. This is particularly handy for portable installations where TeX System or other accessories are installed relative to WinEdt (but the drive letter of the USB stick may change)... Furthermore, PDF Page in in Execution Modes allows you to specify and choose from 4 alternative PDF Viewers (beside the default one that is auto-detected). - TeX System macros for MiKTeX defines a response for "e": // "e" Response with Environment Variable: SetEnvVar('MIKTEX_EDITOR', !'WinEdt.exe "[Open(|%f|);SelPar(%l,7);]"'); - TeX System macros for TeX Live defines a response for "e": // "e" Response with Environment Variable: SetEnvVar('TEXEDIT', !'WinEdt.exe "[Open(|%s|);SelPar(%d,7)]"'); - This build contains macros that work with ConTeXt Mark IV (previous versions were designed for older version of ConTeXt). If you are upgrading from older version of WinEdt make sure that the executable for ConTeXt in WinEdt's Execution Modes is set context.exe (instead of old texexec.exe)... If you want to use old ConTeXt you will have modify the menu: ITEM="ConTeXt" CAPTION="Co&nTeXt" CONFIGURATION="Default;MiKTeX;TeX Live" IMAGE="TeXConTeXt" SAVE_INPUT=1 // ConTeXt Mark IV MACRO="Exe('%b\Exec\TeX\ConTeXt.edt');" // ConTeXt Mark II // MACRO="Exe('%b\Exec\TeX\ConTeXt_old.edt');" REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY" - New options and enhancements to Execution Modes (including a new page that allows specification of environment variables such as BIBINPUTS and TEXINPUTS)... MIKTEX_EDITOR and TEXEDIT variables can also be defined in this page (if automatic detection is TeX System macros does not work). - Startup macro has been modified to make this work and it now also supports Local Startup... - RunConsole and WinExe macros now contain extra parameters to deal with oddities pertaining to differences between MiKTeX's texify.exe and other executables. MiKTeX's error with initializing GUI Framework (when install on demand package maintenance is triggered during compilation due to a missing package) should no longer be a problem if you are running MiKTeX in WinEdt's Console -- regardless of choices in MiKTeX's Options ("Ask me first" or "Yes")... The default macro %B\Exec\ExeCompiler.edt has been modified accordingly in order to handle the exceptions. - Error Detection now finds proper source file even when the filename in log file is split in two lines and contains a mix of \ and / in path specification... - An Exception when using Unindent (Shift+Tab) at the beginning of an empty line has been fixed. - Auto-Scrolling while selection with mouse is now "smooth" -- it does not accelerate when you want to stop... - WinEdt is now more selective if it has to activate an already running instance of itself. It is no longer enough for the caption of an existing Windows to match -- also the build and patch of that window's application must match. - A few macros have been fixed (eg. Active String SHORTCUT="" now works properly with an empty argument). - Windows Tooltips are now properly positioned when WinEdt is running on a secondary monitor. - SetFileMode('.'); resets mode depending on the file extension (overwriting any previously set mode)... - Do macro now has an extra parameter Protected:0/1. Do(!"Browse(0,'','%p');",1); IfOK('Prompt("OK")','Prompt("NOK")'); which would execute Macro in "protected mode" and consequently does not stop the execution if the Browse interface has been canceled. There are only about dozen macro functions that act like Browse (EnterReg, EnterLongReg, Open, Exe, GetDim, GetCouter, GetLobgString, GetString, WrS, ReadFile, Browse, McrLoadFromFile, McrSaveToFile) and they could then be executed in a protected mode through Do macro (if desired)... - Line 66 in ExeCompiler.edt macro has been fixed to: IfStr("%!5","","<>",!"JMP(!'GUI-Done');"); instead of (typo): IfStr("%!5'","","<>",!"JMP(!'GUI-Done');"); which prevented the option Enter Extra Switches on Spot (Execution Modes) from working properly for most accessories... - Erase Output Files macro now deletes *.aux, etc... (rather than just %N.aux). It also preserves the option "Include Subfolders" for the next time WinEdt is started (as a part of dynamic data). - Default settings have the option "Use --synctex..." in Execution Modes | PDF Viewer disabled in order to avoid problems related to a bug in MiKTeX 2.8 or 2.9 (when a filename contains a space this option causes TeX to fail)... Also older versions of MiKTeX and TeX Live do not support this option! - If you decide not to create User Profiles during installation you should enable Local Folder Creation. If User Profiles are enabled then Application Data Folder is used for %b otherwise %b=%B\Local is used. This levels the ground for all users regardless of whether they created a user profile or not (eg. portable installations should not enable user profiles)... Local data is preserved during updates or upgrades. Command switches to suppress default behavior are available for advanced users with very special needs. Wizard clearly display the current %B and %b folder in the readonly control in its first page. If you disable both options then %b=%B and you are assumed to know how to Backup and Restore (preserve) your settings during upgrades... The User Profiles Page of the Wizard allow you to type custom Application Data folder for WinEdt (used only if User Profile Creation is Enabled). This (user-specific) folder is stored in Windows Registry (HKCU)... It should not be used for Portable installations that cannot rely on Registry. %B\Local is a good choice for such installations! - Maintenance has been simplified: by default %b contains all your customized settings and these settings are always preserved during upgrades. Options -> Maintenance Menu contains and item "Cleanup" that removes all local (%b) copies if ini (configuration) and edt (macros) that are identical to the default ones in (%B). Both folders can be browsed from the first page of the Wizard (on Win7/ Vista you may have to start WinEdt as Administrator before you can browse a protected %B folder). Furthermore, the context menu in the Options Interface now has an option "Show Custom Flags" which will cause all branches in this interface that contain local copies of ini or edt files to be flagged with an extra icon. If you first perform a cleanup and then "flag" custom scripts in this interface you'll have a pretty good idea where do your settings differ from the defaults. You can then open local and default (readonly) copy of such a script, use Windows Menu -> Split Left command to align both files next to each other and the use Next Difference (Search Menu) to see the differences. You can then decide if you want to incorporate any of the new default changes into your custom settings... All WinEdt settings are stored in ini files (accessible through the Options Interface) where they can be modified. Before changes become effective you must load a modified script (they are not automatically loaded during startup as many users assume!). The command Rebuild All in the Maintenance menu will load all scripts and thus rebuild the compiled version of your settings (WinEdt.dnt) while Rebuild Local loads only local scripts. Only the compiled version is loaded during the startup (significantly reducing the startup time). However this version is NOT meant to be edited manually (dnt stands for Do Not Touch). These settings are computer generated based on the loaded ini files! Maintenance menu allows you to create a backup of local copies of ini files as well as your current compiled settings WinEdt.dnt. The context menu in the Options Interface contains items to manually create backup for a selected item or else open its backup copy for readonly editing (if it exists). Compiled Settings can restore backup or default compiled version WinEdt.dnt -- restoring requires a restart of WinEdt. These actions are there if you want to quickly compare applied default settings with your custom ones or if you have to do an emergency restore after your customizations went (really!) bad. For example, you could use Default command, restart WinEdt (now it uses default settings) and then use Rebuild command to reload your custom settings or use the Options Interface to load only the selected ones (certainly not those that have been "corrupted")! In any case, you can either use default settings, stick with your customized settings as they are (ignoring any changes or additions to the defaults) or perform selective upgrades by comparing your settings to the additions (where these are of any interest to you -- such as eg. [perhaps] LuaTeX interface in this version). And if you are moving to another computer and you want to import identical configuration from you other machine: copy the contents of %b folder and you have it! - Cleanup macro in previous build of WinEdt had a problem because edt and ini files were edited without trimming extra spaces at the end of lines and without trimming empty lines at the end of file. This could cause the macro to declare two scripts different even if they differ in some trivial trailing space or empty line. The default scripts have now been cleaned of such spaces and by default WinEdt now trims them when editing such scripts. The following changes have been made to Defaults: TRIM_SPACES=1 FILTER="*;INI;EDT|DATA;Binary" TRIM_LINES=1 FILTER="*;INI;EDT|DATA;Binary" You may have to remove ini files from your project (Recent File List) if you want these changes effective for local scripts that you have already edited (or else use Document Settings Dialog to manually change the values). WinEdt 6 [Build 20100317 (v. 6.0)] ================================== Bug Fixes: - [DICTIONARIES*] now works as expected... - Options Interface can be shown from the context popup menu without causing problems... - A few Filter Sets (containing double quotes) for highlighting were not properly defined in FilterSets.ini -- fixed. - A fix to Load Config.edt in TeX Live folder ([C]onfig.edt typo)... New: - Execution Modes TeX System (for MiKTeX) now has an extra option: Maintain MiKTeX as Administrator When enabled MiKTeX Maintenance Menu Items (and toolbar) uses MiKTeX's Admin Maintenance Accessories... Execution Modes initialize the variable 'MiKTeX-Admin' to '_admin' or '' (empty) and menu items use this variable as follows (in the default settings): ITEM="MiKTeX_Options" CAPTION="MiKTeX &Options" IMAGE="MacroScript" MACRO="Run('mo%$(|MiKTeX-Admin|);.exe');" REQ_FILTER="%$('TeX-Bin');\mo%$('MiKTeX-Admin');.exe" - In Wizard| User Profiles it is now possible to type a custom user application data folder and then press "Create/ Update User Profile" Button to make this folder your custom application data folder... - During installation there is a new option: Create &Local Application Data This option (with Create User Profile Disabled!!!) is suitable for portable installations on pen drives or custom installations for one user where local data is stored in %b=%B\Local and it is preserved there during upgrades... Between these two options there should really be no need to edit Get Application Data Folder.edt macro script (unless you have very, very special needs). MetaPost and DTX Mode additions: - Added command completion in MetaPost mode - Added support for building Index and Change History in DTX mode - Added gathering of Changes in DTX mode - Insert Comment and Remove Comment have been adjusted to work in MetaPost and DTX modes - Added support for inserting stuff in MetaPost and DTX documents The following *.ini files were (slightly) modified from previous build to accommodate the above fixes and new functionality: MainMenu FilterSets Switches Keywords Dictionaries Gather Tree - Create user Profile Macro has been modified so that executes Startup if %b has been changed... WinEdt 6 [Build 20100309 (v. 6.0)] ================================== - Settings, Preferences and Appearance Dialogs have been replaced with the new (customizable) Options Interface. It provides a tree control that can be used to edit new categories (68 of them) of INI files. Most new Keywords in WinEdtEx.dat correspond to the Options that were scattered in the above dialogs. There is plenty to explore there: Options -> Options and read Help for guidance... - INI files have been implemented for Menu Setup, Dictionary Manager and Highlighting Dialogs as well. - No .ini files are loaded during WinEdt's Startup. Compiled (computer generated raw data) is stored and loaded from WinEdt.dnt (Do Not Touch). This makes startup faster and safer. Modifications have to be done through the new Options Interface and loaded immediately in the same interface. All .ini files are stored in %b\ConfigEx folder... - All Images and Icons used by WinEdt have been redesigned and the appearance of WinEdt and consistency of its GUI has changed quite a bit. Most users should find this an improvement (especially on Windows with Themes enabled). And for others: WinEdt 5.5 is still there (exactly as it was) and you can, of course, continue to use your current (customized) version of WinEdt indefinitely. No need to upgrade if you are happy with what you have!!! ------------------------------------------------------------------ CONFIGURATIONS: =============== Configurations Filters for Menu and Toolbar have been introduced. It is even possible to specify sub-configurations (eg. MiKTeX:HTML) which means that all (menu and toolbar) items enabled for MiKTeX or HTML will be visible. Changing the configuration no longer rewrites any menus or toolbar - Configuration filter makes items visible or invisible and disabled. This works very well as opposed to rewriting menus and toolbar which is slow and results in flickering. The code is clean and newly written (rather than patched)... There is no longer any need for Update Configurations in the Maintenance: Configuration filters for menus and toolbar take care of this! New Variable %!C expands to the Current Configuration SetConfig("Configuration",ForceMenuUpdate: 0..1); (Menu and Toolbar are updated if the configuration is changed or if the update is forced). If used properly, this makes WinEdt more versatile than ever! ------------------------------------------------------------------ TOOLBAR: ======== In the Options Interface you can immediately chose from a bunch of Toolbar Settings that may be suitable for your work (1 or 2 rows). Functionality and appearance have been substantially extended and changed. The previous toolbar was too restrictive because the layout of two (or more) rows was such that it forced one to match separators or else it looked odd. This means that sometimes buttons that do not really belong there were included just to fill the space. Now each Row is an independent toolbar and they are vertically separated: freedom at last! Toolbar is now edited and loaded through the new Options interface. By default there are some initial choices and they can be easily modified. The following properties are implemented: [TOOLBAR] TOOLBAR="Name" INVISIBLE CONFIGURATION WIDTH HEIGHT BUTTON NAME TYPE HINT IMAGE MENU Mostly default values suffice. For example omitting the image file means that the button inherits the image from the menu item (as it should). Menu Item ID should be specified as a string parameter for BUTTON. For example: BUTTON="Set_Main_File" BUTTON="Remove_Main_File" BUTTON="|" is separator and BUTTON="-" is divider These two are the only ones that take custom WIDTH as a parameter. In the absence of HINT specification the (stripped of &) caption of the menu item is used (as it should be). If WIDTH and HEIGHT for each toolbar are omitted the (default) dimensions specified in the header of TOOLBAR section are used. That is a preferred way as toolbars should look the same... INVISIBLE and CONFIGURATION filters make it possible to link a toolbar or certain item/ button to a particular configuration. TYPE (3..8) has to be specified for buttons that implement additional functionality: 0 (default) = ordinary button (no need to specify TYPE) 1 separator (no need to specify if you use "|" as a ID) 2 divider (no need to specify if you use "-" as a ID) 3 Check Button (currently up) 4 Check Button (currently down) 5 Drop Down Menu - clicking on the button only displays this menu 6 Drop Down Menu - Button has a fixed menu item associated with it 7 Drop Down Menu - choosing any menu item associates this item with the button and executes it.. 8 The same as 7 except that choosing a menu does not execute this item 7 and 8 change the icon, hint and MENUID when you make menu selection. This is suitable for a bunch of TeX / LaTeX / PDFTeX / AMSTeX ... Compilers and reduces the clutter in the toolbar. Such buttons are used in the new default toolbar! 3 and 4 could be used for options such as SRC specials on or off etc... Finally items in the dropdown menus are specified as MENU="MENUID" MENU="-" for menu separator NAME is there only for future use for macros that can query and set the status of buttons... It may only be useful for buttons that implement dynamic drop-downs or up/down state. The following macros are available to manipulate buttons: BtnClick("Name","MenuItem"); Simulates a click on the button or its drop-down menu item... BtnGetDown("Name", Register: 0..9); Returns: 1 or 0 for Type 4 and 3 (respectively) BtnSetDown("Name", down: -1..1); -1=up; 0=toggle the value; 1=down (Type 3 and 4 only) BtnGetMenuItem("Name", Register: 0..9); Menu Item Associated with this button (can change for types 6..8) For example it is now possible to introduce a menu item with a single shortcut (eg. Ctrl+T): TeX Compiler BtnClick('TeX Compile'); The main advantage being a single shortcut that executes whatever you select in the drop-down menu. It might be useful to have such an item and omit shortcuts for TeX executables present in the drop-down... Or else perhaps Compile and Preview macros for TeX Mode should take advantage of this. We'll see... Currently all images must be 16x16 and they are loaded from \Buttons\Images (local and global) at startup or later through the Options Interface (or LoadImages Macro). Old Toolbar.dat files cannot be loaded in the new version. WinEdt.btn file no longer exists in the new version: New 16x16 (24-bit) bitmaps can be simply put in the %B\Bitmaps\Images or (private) %b\Bitmaps\Images folder and WinEdt will automatically load them when restarted or through the Options Interface. Contributions with quality images that are not included in the default settings (but can be used for additional configurations) are welcome! ------------------------------------------------------------------ MENU: ===== ALL Menu Images have been revisited and are now used consistently in the Menu and Toolbar (hundreds of hours of work went into this). Te&X menu has been separated from &Accessories. &View Menu has been introduced to toggle visibility of certain GUI controls. No menu or toolbar rewriting is required when switching configurations (only visibility of items changes - much faster and less flickering!). Special menus where file lists are stored can be main Menu or Submenus IDs. WinEdt no longer automatically adds recent file list (it must be included in the menu setup -- that's why ShowFileList; macro was implemented: simpler is better!). [MAIN_MENU] FILE_MENU PROJECT_MENU WINDOWS_MENU MENU CAPTION DISABLED INVISIBLE CONFIGURATION IMAGE SUBMENU END ITEM MACRO SHORTCUT SAVE_INPUT START_FOLDER DEFINITION REQ_FILTER REQ_DOCUMENT REQ_FILE REQ_MAIN_FILE REQ_SELECTED_TEXT REQ_MODIFIED_TEXT REQ_CLIPBOARD_TEXT REQ_A_MODIFIED_DOCUMENT REQ_UNDO_INFO REQ_REDO_INFO REQ_UNDO_BUFFER REQ_WORKING_STATUS ITEM="-" is interpreted as a (horizontal) menu separator. The same for Popup Menus except 3 special menus are different: [POPUP_MENUS] CLIENT_POPUP TEXT_POPUP SELECTED_POPUP When WinEdt exports Menus the SHORTCUT value contains a scan code followed by the English description of the shortcut: SHORTCUT="16576::Ctrl+`" Scan-codes make loading the menu faster and they also preserve shortcuts when switching keyboards or installing WinEdt on a non-English keyboard. If you edit Menu.ini directly you don't have to specify a scan code. However, avoid specifying shortcuts that may not exist on other keyboards. For example on an English keyboard there is no Ctrl++ (Ctrl+Shift+= is a proper shortcut in this case)... To avoid duplicating quotes in strings that contain macro definitions it is now possible to specify "raw" strings (the rest of the line) in WinEdt's .ini files. For example MACRO=:IfSel("0","=","Ins('\RCSMark{}');CharLeft;","InsLabel('\RCSMark','{','}')"); rather than MACRO="IfSel(""0"",""="",""Ins('\RCSMark{}');CharLeft;"",""InsLabel('\RCSMark','{','}')"");" There are no longer shortcuts for invisible popups. Use Popup macro instead to implement double or triple shortcuts (this was on my to-do list). Each menu should have a unique ID that can be used to refer to this item in the Toolbar or by Menu and Popup Macros. Thus translating the menu does not affect any functionality since IDs should be left alone (only Captions are subject to translations). Menu() and Popup() macros now first use MenuIDs and only if this fails menu captions are used (for compatibility with the old version). Old Menu.dat files cannot be loaded in the new version. There may be some manual editing required to change any old menu.dat file into menu.ini that can be used with the new version. WinEdt.img file no longer exists in the new version. ------------------------------------------------------------------ - Things have changed between Config and Exec folders. There is more stuff in Exec and less in Config (Load Config.edt etc...). - WinEdt now uses new macros: MACRO="Exe('%b\Exec\PDF\PDF Preview.edt');" MACRO="Exe('%b\Exec\PDF\PDF Search.edt');" MACRO="Exe('%b\Exec\PDF\PDFCloseDoc.exe');" Configuration (TeX System)-sensitive: MACRO="Exe('%b\Exec\TeX\DVI Preview.edt');" MACRO="Exe('%b\Exec\TeX\DVI Search.edt');" etc... (more consistent macro script names and configuration-sensitive functionality!) - New PDF Macros should work with Adobe, Sumatra, GSView, Foxit or PDF-XChange (compatible with the new Exec Modes but not with old ones!)... Adobe 9 can no longer restore previous position after a document has been recompiled (at the moment there is no remedy for this!). - New Macro MDISplit is used for new items in Window Menu. Split Left or Split Top can be used to quickly tile documents and make them ready for comparison. Compare commands in the Search Menu work with such documents (it is no longer required to first minimize all documents and tile the two that are to be compared -- which was rather annoying with many documents opened). - Highlighting of switches now allows specification of background color. Furthermore background can be painted with gradient (left to right). - New Parameters used for portable installation: %H - drive of %B %h - drive of %b %!H - %B up to the first instance of \WinEdt %!h - %b up to the first instance of \WinEdt This can be used to specify TeX Root relative to WinEdt (drive letter may depend on where you plug your portable device!). - TeX Menu now contains items for ConTeXt and MetaPost. - New: support for compiling MetaPost documents and Documented LaTeX (DTX). -WinEdt now supports long Project Lists stored in a file (rather than windows registry). The default file is: %b\WinEdt-PrjList.dat and it can be adjusted in the (simplified) Project Manager section of the Options Interface. This makes WinEdt portable (if installed on a removable device [without automatic profile creation]) since it no longer uses Windows registry for any of its settings or registration... Also WinEdt now maintains a list of up-to 999 recent projects. - New Macros: IfCMDSwitch("Char","Then","Else"); ShowFileList; ShowProjectList; ReloadImages; SetBTN macro is out as there is no .btn file anymore! - New variables: %!C Variable gives the current configuration %* used for parameters in Filetype Associations (before a global register %2 was used and that was not a good idea) - ADVANCED! New Command Line Switches: -X command line switch suppresses using of the profile. Startup macro contains the lines: IfCMDSwitch(!"I",!"JMP('no_profile_update');"); // Install Run IfCMDSwitch(!"X",!"JMP('no_profile_update');"); // No Profile... (-x,-Y,-y,-Z,-z switches are admissible but have no predefined meaning. They can have an effect in combination with the above macro...) - Compile and Preview items in Accessories Menu call new mode-sensitive macros. They in turn call TeX Compile or HTML Help Compiler (or any other accessory or appropriate previewer if properly customized) depending on the mode of the main file/ current document... That's why they have generic (Borland-style) shortcuts. ALL Macros in Exec folder have been revisited... - Advanced menu now contains interfaces for new Menu and Toolbar ini files. - WinEdt console now no longer uses RTF control but is based on a custom code. This makes it more robust, less flickering and gives it a more console-like keyboard interface... - Tree Form has an extra (optional) toolbar at the bottom. This interface can be used to show or hide forms that are by default docked at the bottom of the screen (Console, Errors, Gather, Find in Files, and Macro Recorder). ------------------------------------------------------------------ The information below pertains to what was initially uploaded as a beta version of WinEdt 5.6. However, due to substantial changes to WinEdt's GUI WinEdt 5.6 project has been abandoned in favor of the new version 6.0 (and the beginning of the new series of WinEdt 6). ------------------------------------------------------------------ - A bug fix with the new option to prevent wrapping of comments (Options -> Advanced -> Environments): WRAP_SOFT_COMMENTS=0 // Do not Wrap Comments in Soft Mode! Previously a paragraph was not wrapped if the next line contained a comment... - A filter has been put in place to prevent (unwanted) activation of active strings with wildcards. Both typing, and, double-clicking response is now more selective... - SendMail (MAPI) functionality did not work properly with Outlook Express. The problem was that the Main Windows Handle was passed as a parameter (instead of the Application Handle). This resulted in broken keyboard and mouse interface inside the mailer as well as unwanted modal task in the taskbar. Fixed. - The Insert key now has the old default functionality (toggle Insert Mode). It can be adjusted in Options Interface -> Advanced -> Common Macros... - Select All functionality (refresh oddity) has been fixed and vertical scroll bar is now properly resized after such selection has been replaced with a smaller text. Previously the last line would end up at the top of the screen... - Console applications (TeX, LaTeX, and all) now call new common macros in Exec\TeX folder. A new macro ExeCompiler.edt in Exec folder takes care of actual execution as defined in the Execution Modes. By default console applications run in WinEdt's Console docked at the bottom of WinEdt's Window. The appearance and position of this Window can be adjusted through the Forms Section of the Options Interface (just like Tree and Gather Control). Visibility of WinEdt console can be toggled through a new menu item in the Accessories Menu (Ctrl+Shift+C). Note that Console allows keyboard input. When Activated and Focused it captures keyboard input. To give focus back to the Active MDI Window, use ESC key of click on the text or use Ctrl+Shift+C to hide and disable the console. Only one application at the time can be run in WinEdt's Console (which is usually what you want when you are compiling a TeX Document). Execution Modes dialog allows you to change default properties pertaining to the execution of TeX accessories. In particular, you can disable the "WinEdt Console" option and press "Apply to All" button to establish previous mode of execution using a separate Windows Console ("black box"). For some applications this may be a preferred method... At this stage it is up to beta testers to experiment and provide feedback and solutions. My testing with MiKTeX 2.7 and TeX Live 2007 did not reveal any problems with the new default settings and the new console. - The accessories menu and toolbar contains "Compile" and "Compile Selected" items (F9 and Shift+F9). At the moment these two items can be configured in the Execution Modes (compile to dvi, ps or pdf and use 3 different methods to create pdf). Advanced users may take a look at the macros that do the job (the same set is used for MiKTeX and TeX Live) and come up with improvements and new ideas how to quickly configure these two items. The "Compile" item should be defined for the most common kind of compilation that you encounter for your work. That may vary from one user to another... - It is not required that TeXify item in the accessories menu contains texify.exe as an executable (in particular, TeX Live has no texify.exe!). You could specify your favorite TeX Compiler (eg. xelatex.exe) and possibly enable 3 custom iterations in the Execution Modes to let WinEdt's Macro run BibTeX and MakeIndex up to 3 times (as required to get compiled document up-to-date). - Redirection of TeX Aux files to another folder may not work with all accessories and TeX Systems (this was also the case in 5.5). It assumes that they support *-directory=dir switches and that Aux folder already contains subfolders for documents placed relative to the main file. If you encounter problems with this you should consult the macros and the documentation/ help for TeX accessory in question and see if you can come up with an elegant solution (eg. by using the command prompt to achieve what you want). And if it cannot be done than you'll have to give up this feature or resort to some brute force solution in order to allow such accessory process files in "remote/non-default" folders... If you cannot find the way to accomplish the task from the Command Prompt then it is unlikely that a WinEdt macro can do anything about it! - WinEdt Macro engine was subject to substantial changes that were required to accommodate and ever increasing number of macro functions. The old case sentence executing code on the stack was stretched to the limit and something had to be done about it. Users should not notice any difference except for improved macro execution speed and performance. You should know that it is always possible that some unintentional change in the behavior of macro scripts might result from this... If so, we'll deal with it. - New macros for execution of console applications (inside WinEdt's Interface): RunConsole("Command","Folder","Caption", no_Reset,no_Show,no_Echo,no_Console,no_hide_Console: 0..1); SetConsoleCharset(s: -1..4; charset: 0..255); s = -1: use charset value (0..255) 0: Custom (as specified in Highlighting| Forms) 1: Editor default 2: Windows default 3: ANSI 4: OEM SetConsoleText("Text", GOTO_End,Append: 0..1); GetConsoleText(Register: 0..9); SetConsoleInfo("Info Caption"); GetConsoleInfo(Register: 0..9); ShowConsole(Visible: -1..1, test_Visibility: 0..1); FocusConsole(Focused: -1..1, test_Focus: 0..1); ResetConsole; IfConsoleRunning("Then Macro","Else Macro"); - ShowExecutionModes macro function has been stripped of parameters for extra files that are no longer used (not compatible with the old one!!!): ShowExecutionModes('Execution Modes - MiKTeX',> '%b\Exec\MiKTeX\ExeMode.edt',> '%b\Exec\MiKTeX\ExeMode_Backup.edt',> '%b\Exec\MiKTeX\ExeMode_Custom.edt',> '%b\Exec\MiKTeX\ExeMode_Default.edt',> 1); // Extended Mode with Extra Pages for TeX System and TeX Output - Execution Modes Interface has been redone to allow new options with WinEdt console execution. - New macro to remove extra/ redundant spaces from the command line (except inside double-quotes): TrimCommandLine("Command", Register: 0..9); - Search -> Hide Errors Menu Command (CtrL+Shift+E) now hides the console as well: ShowErrorLog(0);ShowConsole(-1); - Tree and Gather interface now allows some extended processing and specifications in order to include more useful information pertaining to Bibliography Items: EXTENDED="@{}()\" EXITEMS="author,title,year,@" EXLINELIMIT=16 CAPTION="%?: %!?" If you don't want this in the Tree or Gather comment out this lines and use CAPTION="%?" to display only bib label. Extra processing might be a bit slower in huge bibliography files (data bases). In Gather form docked at the bottom long captions with Author, Title,... make sense. - Macro GDIPopup has extra parameters: GDIPopup("Page","Caption",Refresh,Sort,Track_onClick,Track_onDblClick,OK_onDblClick:0..1, "Selected Item", "Filter String",Remove_Filter:0..1,Show_Buttons:-1..1, New: Extended_Items:0..1, // Show Extended Bib Data for \cite{} Extended captions must be enabled for Gather interface or else GDIPopup interface always shows short captions. List_Separator_Mode: 0..2, "Separator_Char"); List_Separator_Mode 0 - don't allow multiple selections 1 - allow multiple selections extra edit control is made visible when you press Separator Character (by default comma) 2 - allow multiple selections extra edit control is initially visible - A new Global Options under the [ENVIRONMENTS] section: WRAP_SOFT_COMMENTS=0 // Do not Wrap Comments in Soft Mode! This property is automatically on in Semi-Soft Wrapping (where wrapping such lines would cause problems with compilation!). - Tree Branches now allow specification of # which is expanded to the number of items inside. For Example: BRANCH="Bibliography (# Items)" Repeat ## twice to include character # in this string (if required). - Input Directives (Tree.ini) now allow specification of the CAPTION. Advanced users can change the way the filename will appear in the tree (eg. by stripping off the PATH or Filetype similar to the FILENAME directive). Custom processing takes place after FILENAME has been processed. %? refers to the unprocessed caption (filename)... - New Switch for comments in LaTeX Documents: \begin{comment} .... \end{comment} - New Switch for verbatim: \verb/?/... - A few enhancements to MUI (including multiple selections in list boxes as documented in Macro Manual). - HTML Compiler now calls TtH for TeX Mode (before it was disabled for this mode and it only worked for HTML Help Files). - Document Tabs now respond to middle click (close the associated document) and double-click on the empty portion (open a new document). The same as Firefox or IE7... - WinEdt now comes with LaTeX Help e-book (HTML File with documentation for LaTeX and other TeX Accessories). WinEdt's Help Menu has an interface for it in its Help Menu... ================================================================== Bug Fixes: ========== - A problem with finding files in the project tree when PATH is being used in WinEdt's Input Directives has been fixed. GetTree macro now correctly qualifies such files (as do other functions that depend on such files such as FindInFiles). - \#{...} and \#~{...} RegEx filters now allows expressions that span over one line if the expression contains > or **. - A Bug with \# RegEx in FindInString has been fixed. - The caret is now properly positioned when large extra line spacing is specified Font section of the Options Interface... - A bug for LstGetItem has been fixed (it now correctly returns an item as specified by the index parameter). - Word Count now properly ignores text in softly wrapped comments (bug fix)... - A delimiter matching bug with (unlikely) constructions like $\$$ or $$\$$$ has been fixed. - WinEdt (in the background) is now properly displayed in the taskbar on Vista even if it is running a modal dialog... - Windows Classic Appearance Fixes: - Unwanted Horizontal Bar no longer appears when not necessary in softly wrapped documents! - A Refresh Oddity with Document Tabs after WinEdt has been resized has been fixed. ================================================================== - Commands (in the menu) have been replaced by macros: simple is better.... CMD(""); macro still exist for compatibility with old macros. Macros give menu items functionality (Commands, Documents and Utilities no longer exist). A bunch of macros have been introduced to replace the old commands... The file WinEdtCMD.dat describes macro equivalents of old commands (this file is loaded and parameters to CMD macro are replaced by their macro equivalents [...] on the right). - Long Macro definitions in HTML (Insert) menu have been replaced with macro scripts (the same for a few long items in Popup Menus). Neat and tidy.... - The following Macros have extra parameters (extended functionality as documented in Macro Manual): Popup SetSort SortLines GetColor GDIPopup - The following Macros have less parameters (as documented in Macro Manual): ShowExecutionModes SetIndent - All Import/ Export macros have been deleted. The new Options interface makes them redundant... The following macros no longer exist: // Legacy Windows (doesn't work on Windows >= 6) WinHelp HelpKeyword SendToDOS // Not used any more ... SetBTN SetGUI // Obsolete Configuration Macros // Can be adjusted by loading an INI file // Some Settings are now mode-sensitive ... // Use LoadConfig if you really must overwrite this settings from a macro // Tabs.ini and Font Schemes for mode-sensitive settings SetTabs // Project Manager SetRestorePrj // Backup .. File Status Detection SetBackup SetAutoSave SetIdleSave SetUpdateDrives // Editor .. Defaults SetEditor SetModeDef // Events Handlers SetOnStartup SetOnExit SetOnMDIOpen SetOnMDIActivate SetOnPrjClose SetOnPrjOpen // Import/ Export Functionality AddDictionary RemoveDictionary AddMode DelMode AddActive DelActive ActiveOK AddBackground DelBackground AddFilters DelFilter AddSwitches DelSwitch AddKeywords DelKeyword AddColumns DelColumn HighlightingOK AddMenus AddPopups AddTranslations // Import *.dat ... LoadDictionaries LoadProject LoadMenus LoadPopups LoadToolBar LoadStatusLine LoadBookmarks LoadColors LoadBackground LoadFilters LoadSwitches LoadKeywords LoadColumns LoadSettings LoadLanguage LoadActive LoadTranslations LoadDelimiters LoadPreferences LoadModes LoadDefaults LoadFont LoadTemplates LoadPrint LoadSort // Export *.dat ... ExtractDictionaries ExtractProject ExtractMenus ExtractPopups ExtractToolBar ExtractStatusLine ExtractBookmarks ExtractColors ExtractBackground ExtractFilters ExtractSwitches ExtractKeywords ExtractColumns ExtractSettings ExtractLanguage ExtractActive ExtractTranslations ExtractDelimiters ExtractPreferences ExtractModes ExtractDefaults ExtractFont ExtractTemplates ExtractPrint ExtractSort ================================================================== Then folding for 6.1 and transition from (my heavily customized) Delphi 7 to Delphi 2010 and unicode... __________________________________________________________________ WinEdt 5 [Build 20071003 (v. 5.5)] (Official Release) ===================================================== (see History.txt)... __________________________________________________________________ The file "...WinEdt\Doc\History.txt" contains a complete history of additions and fixes since the release of WinEdt32 (from Y2K on)... __________________________________________________________________