* WinEdt News.txt Last modified on Saturday, March 23, 2002 at 18:29 ____________________________________________________________________ The official release of WinEdt 5.2 [Build: 20001213] has been uploaded to CTAN over a year ago. In the meantime WinEdt 5.3 went through an extensive alpha and beta testing stage. WinEdt 5.3 is now ready for the official release! New in this Version of WinEdt 5.3: ================================== After the installation is finished WinEdt displays a (consolidated) Configuration Wizard allowing you to quickly configure basic aspects of WinEdt and its integration with Windows and TeX. The Wizard keeps on appearing until the option "Show this Wizard next time" at the bottom of the dialog is unchecked. Later it can be started from the Options Menu... Check it out!!! The TeX Configuration Wizard is now implemented and documented for MiKTeX, fpTeX (web2c) and YandY TeX. WinEdt 5 [Build 20020323 (v. 5.3)] (official release) ===================================================== - More robust Backup and Restore macros to better preserve custom settings. User profile is upgraded with new files as required... - Minor fixes (a few typos in the documentation) and a few enhancements to the default interfaces (context sensitive help in popup menu)... - Slightly improved EOLN format handling when the document mode is changed... - Minor improvements when it comes to handling relative file specifications in the Project Tree... - WinEdt now properly installs or upgrades itself even if the previous instance was using user profiles (the defaults are the proper defaults that come with the new version)... - The Default Settings have now been stripped of all Alt+Ctrl (AltGr) shortcuts to avoid (too) many conflicts with different keyboards... - A bug with RegEx A**C has been fixed... - An oddity with overwriting a Selected Column (Block Mode) has been fixed. - A new shortcut Ctrl+Shift+E is (by default) used to Hide the Errors interface. - \OE and \oe have been added to the default Read and Write Translation Tables... - Help has been updated with the new Menu and Shortcuts Scheme (minor modifications mostly pertaining to Ctrl+Alt). WinEdt 5 [Build 20020317 (v. 5.3)] ================================== - Improved and extended Help, (Illustrated) Users Manual, Macro Manual and Documentation. See WinEdt's Help -> WinEdt Documentation Menu. CHECK IT OUT! - Doc Menu now contains a short LaTeX demo (graphics inclusion, colors, international characters, rotated tables and some useful TeX-ing advices and hints (7 pages). - A few shortcuts (Ctrl+Alt+[Shift]=) have been eliminated from the default setup to avoid conflicts with certain keyboards (French, Italian, Swedish)... - Wildcard "*" in strings is limited to one line to make the search in strings more compatible with the search in text. Use "**" if you want the search scope spanned over line terminators... - A few fixes and enhancements to the default Insert Menu. - A new parameter to suppress warning if the application is not running and it is not (properly) specified. Use IfOK after the macro to check the status of the execution: DDEOpen("Server Application","Service","Topic",Suppress_Warning:0..1); - A minor enhancements to the Block (Column) Delete operation... - Standard (ASCII) Wrapping Extension: By default (See Settings Dialog: Comments) WinEdt uses %% as a Hard Return when Standard ASCII Wrapping is enabled for TeX Mode. In the default settings "Shift+Ctrl+Enter" is assigned to the macro that in TeX Mode inserts %%+. Under some circumstances this strategy can ensure simple and efficient wrapping in your TeX documents (without restoring to "Conventional (Soft) Wrapping")... You should take advantage of this functionality is you want to enable wrapping for indented environments (which can be handy if you want nicely auto-formatted itemized environments). Hard returns may be required inside equations or tables to prevent WinEdt from re-formatting such environments as if they were plain text... - A better recovery should the WinEdt.ini file get corrupted (if possible a backup or else the default is automatically loaded). - Locale (language) specification for GetDate: GetDate(StrRegister: 0..9, "Format", "Locale"); This macro provides an interface to FormatDateTime function. The function takes current date and time and formats it as specified by the user in the "Format" parameter. The results is available in the local register %!0..%!9. If the Optional "Format" parameter is omitted or left empty then the function returns the previous value which (in English) is equivalent to the format: 'dddd, mmmm d, yyyy "at" hh:nn' Tuesday, September 1, 1998 at 16:49 The following is produced with 'dddd, mmmm d, yyyy' and Locale specified as: dimarts, març 12, 2002 Catalan Tuesday, March 12, 2002 English mardi, mars 12, 2002 French Dienstag, März 12, 2002 German martedì, marzo 12, 2002 Italian torek, marec 12, 2002 Slovenian Martes, Marzo 12, 2002 Spanish Note that it is up to your Windows Language Support to properly format the string according to the specified language's rules... - FormatString(); function now has an extra formatting command "capitals" to convert the initial capitals... - A few minor selection refresh oddities have been fixed... WinEdt 5 [Build 20020219 (v. 5.3)] ================================== - The Bookmarks Menu has been restored back to the default Ctrl+Shift+0..9 scheme to avoid problems with some keyboards that use Ctrl+Alt 0..9 for {,}, etc... Popup Menus are now defined as: =============================== Grave Ctrl+` (Invisible) Acute Ctrl+' (Invisible) Umlaut Shift+Ctrl+' (Invisible) Tilde Shift+Ctrl+` (Invisible) Circumflex Alt+Shift+Ctrl+6 (Invisible) Thus Ctrl+` followed by a character "a" produces "à", etc... This works with Western fonts! This is final solution for the default settings: I cannot please everyone and the conflict between Set Bookmark 6 and Circumflex in the default settings has to be resolved! If you have a problem with this scheme change your settings through the Options -> Menu Setup Dialog. For example go to the Popup Menus Tab Page and change the shortcut to Circumflex to a keystroke of your choice (it used to be Shift+Ctrl+6). - A few minor oddities in the Insert Menu have been fixed. - Improved Insert and Remove Comment Commands (Ctrl+Alt+Shift Left or Right). - The bullet character (ASCII 127) is now translated to highlighted (red+Bold) "*" in the Screen Translation Table. This makes bullets visible in non-Western version of Windows (with different fonts and encodings)... The translation and highlighting attributes can be changed in the Settings: Translations dialog and Highlighting| Filter Set dialog, respectively. - TeX Live 6 detection has been improved in the TeX System Macro. - Oddity with the TeX Configuration Wizard in YandY Configuration has been fixed... - To avoid confusion with Filetype Associations and Projects the filetype associations are now done without -V command switch... This can be customized (on per-filetype basis by editing the "...WinShell\Create WinEdt Filetypes.edt" macro script: Change the value assigned to Register 7): // Command Line Switches: // Affects the first instance of WinEdt // -V: Temporary Project // -0: Don't restore other documents // Empty: default... // Can be customized on per-filetype basis: // Search for %!7 or %$('WinEdt-Exe'); // and add, remove or change the switch LetReg(7,''); // Default Command Switch: None - Improved Combo box for the list interface (minor enhancement). - Additional bitmaps for Toolbar and Menu (mostly for XML Mode)... -------------------------- - Yet another bug with Optimized RegEx has been fixed: ">" in Softly Wrapped documents... - The Document Settings Dialog now displays the time when the file was last modified, Created or accessed... - A few enhancements to the macros and a few minor (bug) fixes have been implemented... Error Search has been further improved to filter out more Warnings in c-style error log file... - An (optional) alternative mode for bookmarks has been introduced: Floating Bookmarks mode always links the current bookmark to the current cursor (caret) position. The Appearance dialog has been modified to allow a selection of Standard or Floating Bookmark mode. Furthermore, for visual effect the appearance of the current bookmark can be selected to be different from others. Floating bookmarks closely resemble multiple instances of the same document. To avoid messing up the current position when text is being positioned through the tracking in the Gather interface or Error Search it is possible to set Zero as a "roaming" bookmark. With this option SetBookMark(0); (by default Ctrl+Alt+0) macro is always executed before any of the above interfaces resets the position in your document. Thus GOTOBookMark(0); (by default Ctrl+0) in the Standard mode brings you back to your last working position while in the floating bookmarks it prevents your last (proper/non-roaming) bookmark to be reset. Note that with this option enabled 0 should not be used as a real bookmark since it can get reset. With "roaming" approach it makes sense to define an inverse search as: WinEdt.exe -F "[SetBookMark('0');Open(|%f|);SelPar(%l,8)]" depending on whether or not you want your current bookmark reset to the new position when you initiate an inverse DVI Search from the previewer (such as YAP). Note that in the Floating Bookmark mode you can never erase the current bookmark. The context popup menu (displayed in response to the right mouse-click on the left margin) has been enhanced with context-sensitive bookmark commands... In addition to bookmarks, the status line contains the panel displaying A and B which can be used to switch between two different positions in the current document. Bookmarks and alternative position are preserved for the next session (they are part of the file attributes in the project list). Note that (by default) Ctrl+[Shift+]Backspace still moves you back (or forward) in the "ring" of recent positions in your document and Alt+Backspace [or Ctrl+Z] (initiates the undo) positions you to the place of the last change before undoing it with the next undo command. This, too, can come handy when navigating through large documents... Users that don't care for bookmarks may still choose the Floating Bookmarks since the left margin provides a useful visual effect pointing to the current line in a document. - To avoid the conflict with shortcuts to the Invisible Popup Menus for international characters the Circumflex Popup menu shortcut has been modified from Ctrl+Shift+6 to Ctrl+Alt+Shift+0..9 Popup Menus: ============ Grave Ctrl+` (Invisible) Acute Ctrl+' (Invisible) Umlaut Shift+Ctrl+' (Invisible) Tilde Shift+Ctrl+` (Invisible) Circumflex Alt+Shift+Ctrl+6 (Invisible) Thus Ctrl+` followed by a character "a" produces "à", etc... This works with Western fonts! This eliminates the conflict between the default shortcuts (Popup Menus have a priority over ordinary menu items). If you prefer some other scheme for Bookmarks you have to modify shortcuts in the Bookmarks Menu in the Menu Setup Dialog. However, note that in this case the shortcut to Circumflex disables the default shortcut to set the bookmark 6. Bookmarks can also be accessed through the double-shortcuts (Alt+=). You can check the Shortcut List and Menu Listing Tab in the Menu Setup Dialog for the list of all shortcuts and menus... Hint: the list can be copied and pasted into WinEdt and then printed for a quick reference. WinEdt 5 [Build 20020127 (v. 5.3)] ================================== - A refresh oddity with bookmarks has been fixed (auto wrapping). Bookmarks now "float" better when a paragraph is re-formatted... - TeX Configuration Macros have been fixed so as to allow easy switching between MiKTeX, fpTeX (web2c) and YandY TeX implementations. It has been tested with all configurations: the trick is that WinEdt inserts the binary folder of the current configuration in front of the PATH. As a consequence WinEdt Options -> Configurations Menu now contains two entries: Startup.edt where variables independent of the TeX system are initialized (GS, GSView, Acrobat [Reader])... TeX System.edt where variables specific to the current TeX System are initialized... For most users this should happen transparently (the default macros take care of everything). However, advanced users can now use more than one TeX system and switch between them at their convenience by executing the appropriate Configuration command in the Options -> Configurations Menu... - WinEdt's customizable menu was designed without taking into consideration a possibility of switching between configurations depending on the mode of a document or a temporary choice of a TeX system. Such extensions came to life later and the current mechanism is too static to handle them. Changing a shortcut for LaTeX in such settings becomes a nightmare (after the change is made in the Menu Setup one also has to manually update the configuration menu [eg. Config\MiKTeX]). Neglecting to update the configuration(s) would result in the loss of custom shortcuts after switching between different configurations... (at the moment MiKTeX, fpTeX, YandY TeX, HTML and ASCII configurations are included in the default settings while others [Perl, Fortran, Java, C, ...] are available from an ever growing collection at www.winedt.org). The Options -> Configurations menu now has a Maintenance Utility (macro) called "Update Configurations...". It can be used to apply the current settings (or a part of them) to any of the pre-defined configurations. Macro is rather sophisticated and it offers suitable choices (eg. common LaTeX Insert Menu for all TeX Configurations). It also disables components that are already updated thus providing a useful visual feedback. Furthermore, the macros to load configurations have been revisited and they can and do use a private copy of the configuration (%b - User Profile) if one is available. Private copies are automatically generated with the Maintenance Macro... The macro is sophisticated enough that it can extract, compare and update individual menus in the single Menu.dat file. Users that want to use configurations and also want to customize re-loadable [configuration-sensitive] menus (Insert, Accessories and Help) have to run the "Update Configurations..." Macro after their customizations to export the modified menus into the appropriate configuration components. - A new macro has been implemented: SortLines("Source String",Flags:0..1111,Table: 0..7,Result:0..9); Flags (from left to right): 1000 Remove Multiple 100 Ignore Length 10 Case Sensitive 1 Ascending It works regardless of the format (CR+LF or LF). - SearchInString function has been optimized (huge difference in large strings with non case-sensitive search). - A bug with backward search in selected strings has been fixed. - Document Settings Dialog now displays times when the file was last modified (created and accessed)... - Error Search dialog now has an "up/down" button which can be used to enable or prevent search for Warnings with the commands in Error's Dialogs Toolbar (Next and Previous Error). Warnings (TeX errors of type 2-4) are enabled only when this button is down. - Modified macro IfLogErrors and a new macro FindError have been implemented to make error recovery in background mode compilation more useful... The default macro scripts have been modified with new parameters: IfLogErrors("Then","Else", c-style: -1..1, type1,type2,type3,type4: -1..1, type_1_filter: 0..9); Used for Error Log file parsing and the execution flow control in compilation macros... c-style: -1 OFF 0 Default (depending on Error Settings) 1 ON type1-4: -1 OFF 0 only if the Warnings "button" is down 1 ON (if enabled type 1..4 in Error Settings) type_1_filter: 0 - OFF n - if the RegEx string " triggers ChangeEnv macro. \begin{?}} triggers CompleteEnv macro. \end{{ triggers completion (backward). - More RegEx oddities have been fixed:-( - Minor problems with scroll bar position when switching between instances have been fixed. - New Macro GetDocAsASCII(Register:0..9, "Filename", Translate: -1..1, EOLN: 0..4); Store the result in specified register. If Filename is empty (or the file is not currently opened) then the current document is exported. The Write translation is applied depending on the value of the Translate Parameter (-1=off, 0=default, 1=on). The line terminator can be specified as follows: 0: Default (usually CR+LF unless otherwise specified or imported) 1: CR+LF (Windows/DOS) 2: LF (UNIX) 3: CR (VMS) 4: LF+CR This macro can come handy if you want to export Softly Wrapped document as an ASCII file (reflecting the currently wrapped lines). For Example: // Get Main File or Current Document in Register 0 GetDocAsASCII(0,'%F'); // Save as *.tek OpenOutput('%P\%N.tek'); WrS('%!0'); CloseOutput; etc... - The following macros now allow default value parameters. %!? or %!x,%!y and %!z (respectively): GetLongString("Prompt","Caption","Default Value"); GetString("Prompt","Caption","Default Value"); GetDim("Label1","Label2","Caption","x","y"); GetCounter("Label","Caption","z"); - Binary Mode now supports Wrapping and Formatting in blocks of binary data (not extensively tested and rarely used: WinEdt is not designed as a binary or HEX editor!!!)... - A long list of minor enhancements and fixes (mostly of "look-and-feel" nature)... WinEdt 5 [Build 20011213 (v. 5.3)] ================================== - The Configuration Wizards have been consolidated: Shell and TeX Configuration Wizard can now be started from within the WinEdt Configuration Wizard (which is placed in the Options Menu). WinEdt is initially started with the Configuration Wizard Displayed and until the Option "Show this Wizard next time" at the bottom of the Wizard is unchecked the Wizard remains active on subsequent launches of the program. - TeX configuration Wizard has been simplified (it contains less checkboxes for Customization of the Execution Mode). - Project Menu has been split into Document and Project Menus to distinguish between settings pertaining to current document from the project manger commands... - Tool bar contains a few new buttons (an interface to frequently requested [font] commands). - WinEdt can now load UNICODE files. However, this does not imply that they can be edited as such. WinEdt converts them to ASCII and can convert them back to UNICODE when they are saved. This can result in loss of characters that are not available in the current ANSI Code Page. WinEdt warns you if this is the case. However, many UNICODE files are just inflated ASCII files and this extension enables WinEdt to handle such files as if they were ASCII. Document Settings Dialog now contains an extra control that displays the ANSI/UNICODE format of a document. - The menu items Insert and Remove Comment (in Edit| Move Menu) now properly handle HTML Mode [they were converted to macros]. Also in the default settings delimiter matching for <...> is enabled in HTML mode. - Active String \begin{?}> for TeX mode has been associated with a macro (based on Robert's ChangeEnv.edt) which does the following: if the closing \end environment is found it prompts you to change the environment name otherwise it completes the current environment (nice). - Improved highlighting for citations: \cite[...]{...} - Some Macros in the WinShell folder have been slightly improved and the information in the Shell Configuration Wizard has been simplified. - A bug with double-quotes inside strings have been fixed... - Backup and Auto Save now allows specification of backup files in folders that don't necessary exist. The Option Create folder if needed should be used to force WinEdt to create a folder. Also a prefix # (for filenames and path specifications) has been introduces to extract a unique path: for %P = C:\WinEdt\Doc %#P = C\WinEdt\Doc This makes it possible to specify C:\My Backups\%#P\%N.bak for global backup folder, etc... This works with UNC filenames as well (\\Server\...). - Requires File functionality affects the launch of compilers for new documents. Since many users find this behavior contra-intuitive (eg. a disabled LaTeX button is often taken as an indicator that WinEdt cannot find latex.exe) I've now decided to extend this functionality in a way that should cover more preferences. The default "Requires File" filed for LaTeX now reads: "%!M=TeX" As long as the current document (or the main file when set) has mode TeX[:submodes], the menu item is enabled. This can be combined with the rest of the menu item filters, eg. "%!M=TeX"?<%F>%P\%N.tex?<%F>%P\%N.texi This restores and enhances the "old" behavior in the sense that the document mode (rather than an extension) determines whether TeX compiler is enabled (and this applies to new documents as well). For dvips, DVI Preview, or dvi2pdf, the existence of the dvi file remains a "good" filter since all of the above actions will fail if the dvi source does not exist. But of course, it all boils down to the personal preferences and taste (simple vs. "smart" configuration). - WinEdt suffered from a bug in Delphi's VCL: when WinEdt Windows was tiled or cascaded an extra ghost Window was taken into consideration thus preventing WinEdt from being properly tiled with a previewer. After a long investigation the problem has now been fixed in my private VCL unit. - The input directives in the Preferences| Input dialog now allow specification with multiple parameters, such as \MYINCLUDE[?]{?}{?} the last parameter is considered to be the filename and the rest is ignored... - A bug with Remove Comment command with comments larger than one character have been fixed. - OpenOutput macro now correctly interprets the meaning of the Append parameter. - The default Macro Scripts for launching pdf-creating accessories have been improved to make sure that Acrobat Reader releases a document before the compilation starts. - Settings | Matching Dialog now has an extra parameter Timeout which can be used to specify the timeout (in milliseconds) for automatic matching of delimiters. In huge documents typing { at the beginning could result in a noticeable delay of 5-10 seconds, which is not acceptable for the automatic delimiter matching functionality... - A new Macro GetColor(Reg: 0..9,InitialColor: String); can be used to display the Common Colors Dialog and return the HEX RGB value of the selected color in the specified Register. Use IfOK function to see if the dialog was properly terminated... The color is specified as a 6-digit HEX RGB value. - Regular Expressions: a bug with the Optimized Regular Expressions has been fixed. The Option in the Context Popup Menu in the Find Dialog remains until this is confirmed. A few other RegEx oddities have been fixed as well.. - Regular Expressions: The Character # now has an ordinary meaning. \# has to be used for a filter. RegEx - New in WinEdt 5.3: ========================== ** stands for a wildcard that is not limited to one line it can come handy but it has to be used with care in large documents (especially with tags it can get slow!!!) a single * has the same meaning as before... \#{Expression} or \#~{Expression} can be used as filters in front of the next expression. The filter is calculated (backward) after the match to the next expression has been found and the filter is limited to one line (the beginning of the line in which the expression has been found - even if the line is only softly wrapped). The control sequence \# is being used instead of # to avoid compatibility problems with older RegEx (# was and remains an admissible (ordinary) character in strings). Examples: \#{\\}label all labels that are preceded by \ (\ is not a part of the match). \#~{\\}label all labels that are not preceded by \ (\ is not a part of the match). and \#~{\\\\}#{\\}label all labels that are preceded by \ but not \\... This can come handy and can significantly simplify the current method of handling such cases. Note that for a similar filter at the end of the expression one can use ~ (negative) or ~~ (positive). WinEdt 5 [Build 20010815 (v. 5.3)] ================================== - The default menu no no longer contains any documents or utilities. The macros Open and Run are used, instead. If you make modifications you should probably observe this practice which will make your configurations easier to upgrade or enhance (should the need for more sophisticated application launching of some accessory arise in the future, as it often does!). - The new Shell Configuration Wizard makes the following tasks easy and gives users choices when it comes to the integration of WinEdt with their Windows: -- Create Links and Shortcuts to WinEdt -- Filetype associations -- User profiles Creation and configuration -- Uninstalling In the default settings the Macro Menu Item: ShellWizard; is placed at the bottom of the Options Menu... The Wizard uses a series of WinEdt macros in WinShell folder. Since User Profiles are a reality on Win2000 systems (many users prefer to work without administrative privileges even if they are the sole users of the machine) the information no longer belongs to the Network folder but is now stored in the WinShell\Profiles folder. Creation of User Profiles is fully automated and WinEdt's Wizard explains a few basic concepts for users that don't know anything about it... New Macro: ShellWizard("Caption"); - WinEdt's "Configuration Wizard" in the Help Menu now only deals with Editor related issues (Wrapping, Project Manager, Application Launching, etc...). TeX- related issues are addressed in the new TeX Configuration Wizard that is placed in the Accessories menu and contains information specific to the selected TeX system (eg. MiKTeX, fpTeX or YandY TeX). New Macro: WinEdtWizard("Caption"); - The new TeX Configuration Wizard is placed in the Accessories Menu and contains TeX system specific information and diagnostic utility. [TeXWizard('*** WinEdt MiKTeX Configuration Wizard', '%B\Doc\Wizard-MiKTeX','%B\Exec\MiKTeX', '%b\Exec',1,1,1,1,1,1,0,0,'%b\Exec\MiKTeX');] The following macro has been implemented to cover different TeX system Wizards: TeXWizard("Caption","Doc folder containing .rtf files", "The folder where TeX system specific configuration is stored", "The folder where the current TeX system configuration is stored", Custom_Configuration: 0..1, BATCH_Configuration: 0..1, Direct_Configuration: 0..1, Background_Configuration: 0..1, Detached_Configuration: 0..1, isMiKTeX: 0..1, isfpTeX: 0..1, isYandYTeX: 0..1, "The folder where the local TeX system configuration is stored"); Note that the Doc Folder has to contain .rtf files that are displayed in the Wizard's .rtf control(s). The rest depends on the state of configuration and execution macros for the selected TeX system. For more information consult the macros in WinEdt's Exec\MikTeX folder. In particular, the macro TeXConfig.edt contains your selections pertaining to the execution mode and the macro Create TeX Configuration.edt provides a GUI for custom execution mode... The Startup macro executes TeXConfig.edt in Exec folder. The macro may appear complicated but it was prepared with differen preferences and different TeX systems in mind... Currently only MiKTeX configuration contains the Wizard and it uses a series of macro scripts in WinEdt WinEdt's Exec to launch MiKTeX's executables. The macros in Exec folder have been rewritten and now take into consideration many options that can be determined in the above Wizard... I will shortly prepare a similar setup for fpTeX and YandY TeX. For now they use the old configuration (Options->Configurations Menu). For now I'll wait for feedback regarding the new MiKTeX configuration... fpTeX and YandY TeX do not offer any Wizard or additional Configuration options at this stage... - New Macro for HTML Help: HTMLHelp("Help File.chm", Main_Window_is_the_Owner: 0..1, Mode: 0..5, "Keyword or Link", Get_Keyword: 0..1); If Main Window is the Owner WinEdt cannot be used until the Help Window is closed. Otherwise you can minimize the Help Window and continue to use WinEdt (the HTML Help Window is in Windows Task bar). Mode determines how is the HTML Windows called: 0: HH_DISPLAY_TOPIC 1: HH_DISPLAY_TOC 2: HH_DISPLAY_INDEX 3: HH_DISPLAY_SEARCH 4: HH_KEYWORD_LOOKUP 5: HH_ALINK_LOOKUP Keyword or Link can be passed in Modes 4 and 5, respectively. Get_Keyword parameter instructs WinEdt to pass the currently selected string as a keyword. It can come handy if you are using MiKTeX's Help for LaTeX which is defined in WinEdt's Menu as the following macro: HTMLHelp("%$('TeX-Root');\doc\latex\help\latex2e.chm",0,4,"",1); It is enabled only if the .chm file exists (should be the case in MiKTeX 2.1). If no word is selected WinEdt passes the current word or TeX command... If you need more information read MS documentation for HTML Help systems (the above macro is an interface to Windows API)... - The default settings use MiKTeX's HTML Help files (*.chm) which in MiKTeX 2.1 replace the older WinHelp (*.hlp) files. - New Macro(s) for Self-Installation Script(s): CreateLink("Destination", "Link Name", "File Path and Name", "Arguments", "Working Directory", "Description", "Icon Path", "Icon Index"); For more information consult the macro WinShell\Create WinEdt Links.edt Where this macro is being put to the test... GetBuild(Reg: 0..9); GetVersion(Reg: 0..9); GetCaption(Reg: 0..9); Store WinEdt's Version information in the specified register. - New Macro(s) to manipulate a special dialog interface used for WinEdt's Icons and Filetype associations (eg. from the Shell Configuration Wizard): ClearIconList; ShowIconList("Caption"); IfIconChecked(Index: 0..999, Level: 0..2,"Then Macro","Else Macro"); AddIconItem(Checked: 0..1, OpenWith_Checked: 0..1, UseIcon_Checked: 0..1, "Extension (eg. .tex)", "Description Extension (eg. TeX Document)", "Open_IconFilename.ico", "Explorer_IconFile", xChecked: 0..1, xOpenWith_Checked: 0..1, xUseIcon_Checked: 0..1); The last three optional parameters are used if no Item in the interface is checked. This comes handy, when the interface is called for the first time (nothing is associated with WinEdt) to provide the user with suitable defaults (rather than all items being unchecked). The dialog interface is slightly more complicated because it allows you to independently choose if WinEdt should open the files and if the assigned icon should be used in the explorer (that's why there are three levels 0..2 in the IfIconChecked macro). For more information consult the macro WinShell\Create WinEdt Filetypes.edt Where this interface is being put to the test... The Macro OpenIcons(",",",",",","); is no longer there as it has been replaced with the above interface that relies on WinEdt's Macro language rather than Windows ability to properly execute the .inf scripts... - New Macro IfFileLocked("Filename",flags:00000..11111, "Locked Macro","not Locked Macro","does not exist Macro"); Executes one of the three specified macros depending on the Status of file. Flags from left to right: Sharing: FILE_SHARE_DELETE FILE_SHARE_WRITE FILE_SHARE_READ Access: GENERIC_WRITE GENERIC_READ Used in the new and enhanced PDF macros to solve the problem with Acrobat locking the PDF files... - New Macro RunPrompt RunPrompt("Caption", isMacro: 0..1, isCustomFont: 0..1, isEmpty: 0..1; EraseList: 0..1); It is used in the "Accessories| Run" and "Macros| Define and Run Macro" Menu Items. It maintains a drop-down list of recently executed accessories and macros... - The macro OpenOutput now has an extra parameter Append: 0..1 OpenOutput("File Name", Append: 0..1); - The macro AddCheckList now has an extra parameter Enabled: 0..1 AddCheckList("Check Box Caption", Checked: 0..1, Enabled: 0..1); Add a new item to the list. Up to 999 items are admissible. - The macro Open(...) now has extra parameters: Open("Document Name", Readonly:-1..1, Update: -1..1, "Document Mode", SetFolder: -1..1, Main: 0..1); - the last parameter of the Registry Key Query function has an extended meaning: ' ' - Get the Default Key Value (as before) ' ' - Get the First Subkey Name ' ' - Get the Last Subkey Name This should address the automatic detection of future versions of Ghostscript in Startup.etd. The code is now modified as follows: // Get AFPL Ghostscript from Windows Registry Assign("GS-Version","%@('HKEY_LOCAL_MACHINE','SOFTWARE','AFPL Ghostscript',' ');"); // Get the last Key! //? Enter the version explicitly if the above failed to detect the latest installed version // Assign("GS-Version","7.00"); Assign("GS-Bin","%@('HKEY_LOCAL_MACHINE','SOFTWARE','AFPL Ghostscript','%$(|GS-Version|)','GS_DLL');"); Assign("GS-Lib","%@('HKEY_LOCAL_MACHINE','SOFTWARE','AFPL Ghostscript','%$(|GS-Version|)','GS_LIB');"); GetFilePath("%$('GS-Bin')", 0); Assign("GS-Bin","%!0"); // Prompt("%$('GS-Bin')"); // Debugging - Page specification in the Print dialog now allows %p and %P variables to stand for the Current Page and Total Page numbers, respectively. Parameter %S truncates the string unless Print Selected Text Option is enabled. To enter % use %%... Default: Page %p of %P%S (selected) - OpenProject and CloseProject macros now have an optional parameter _level which allows you to Open only nodes on level less or equal than the specified limit and close only the nodes greater or equal to the specified limit. The Tree Form provides a drop down buttons OpenAll and CloseAll where the dropdown Menu provides and interface to the above macros with levels (0=all) 2 and 3. - Open and Close Project event handlers now allow the specification of two macros: the first one is executed before the project is opened or closed and the other one is executed after. This should address the problem with the default folder after the documents have been restored... - Additional filter to prevent mistaking certain lines in TeX's Log file for c-style errors has been implemented... - A series of problems with using Large System Fonts have been addressed: the Dialogs and Forms (eg. Wizard) are now properly resized to accommodate all controls in different resolutions. Furthermore dropdown boxes and list controls now properly space lines when the font is larger: the items no longer overlap... The Spell Checking dialog now also displays a Cancel and OK button if you make it large enough for each button to fit in the panel on the right of the dialog. - Create User Profile macro has been modified to comply with the new distribution. - Some active strings were referring to %b instead of %B folder which disable their functionality after the User Profile is created. - The "Log File" menu item in the accessories has been renamed to "STD Log File" to make it clear that this document represents a STD Output+Error file captured by WinEdt while executing an application in a detached or background mode... - Enhanced and debugged version of Window switching macro: ActivateNextChild(Direction: -1..1, MDI Order: 0..2, Index: -1..99999); If the direction is 0 then you can specify the (zero-based) Index. Index=-1 is the last document... The direction can be based on the Tab Index or MDI Order (the same as as in the ListOpenedFiles function). Examples: ActivateNextChild(1,1); toggles between two documents ActivateNextChild(1); Next Tab ActivateNextChild(-1); Previous Tab ActivateNextChild(0,0,0); First Tab ActivateNextChild(0,0,-1); Last Tab ActivateNextChild(1,2); Next MDI Child (Ctrl+Tab) ActivateNextChild(-1,2); Previous MDI Child (Shift+Ctrl+Tab) The last two examples do not change the MDI Order. Others do: the newly activated child gets in front of the others... Note that this macro can be used to redefine the Next and Previous Child functionality. However, the MDI Shortcuts [Shift+]Ctrl+Tab cannot be suppressed and are always interpreted as the MDI Next and Previous commands. Windows Menu now contains the command to switch between documents (note the above restriction when it comes to assigning [Shift+]Ctrl+Tab shortcuts). You can place more such items based on the examples above and assign them shortcuts of your choice... In the new default settings the current document list is now packed in the Submenu at the bottom of the Windows Menu. If you don't like this Start the Menu Setup Dialog and delete the submenu at the end of the Windows Menu. Usually, the filenames are long and unless one uses the Windows Menu to switch between documents often it is best to keep the list in a submenu. The logic is the same as for the File and Project menus: if any of these menus end with an open and non-empty submenu then the list is maintained in this submenu rather than its parent (applies to File, Project and Windows menus, respectively). - A minor extension of the Prompt macro functionality (buttons 4 mode was added): Prompt("Prompt",Type,Buttons: 0..4, "Macro 1","Macro 2","Macro Yes/No: Cancel"); Displays the Dialog Box with the specified Prompt. Macro execution is resumed after the user closes the dialog box... Type: 0: Information 1: Confirmation 2: Warning 3: Error Buttons: 0: OK Cancel (Cancel terminates macro execution) 1: OK 2: OK Cancel (Cancel sets OK flag to 0) 3: Yes No 4: Yes No Cancel (Cancel sets OK flag to 0 and executes the last macro) Depending on the clicked button the associated macro is executed... - A few extra bitmaps for toolbar and menu and an enhanced appearance of the TeX (lion) icon... - Slightly improved BibTeX templates... - Oddities with Regular Expressions in softly wrapped lines have been addressed... WinEdt 5 [Build 20010613 (v. 5.3)] ================================== - WinEdt Macro Library is now on-line and alive: - A problem with saving dictionaries (which could result in a crash during WinEdt's closing cycle) has been finally pinpointed and fixed. - The default settings now display the right margin as a highlighted column for ASCII mode. You can quickly enable such functionality for other modes (or disable it altogether) in the Options -> Highlighting| Columns Dialog Help in that dialog explains the details... - The WinExe macro has been slightly modified: The priority has been removed from the flags and it is now a parameter on its own with admissible values: -1=low 0=normal 1=high - The "Requires File" filter functionality has been extended to prevent accidental compilation of a log (instead of a tex source): If the file is preceded by then the file existence is only checked if the filename equals foo otherwise the result is false. Thus specifying: <%F>%P\%N.tex?<%F>%P\%N.ltx?<%F>%P\%N.dtx?<%F>%P\%N.ins?<%F>%P\%N.texi as a filter makes sure that the LaTeX button is enabled only if the Main File (or the current document) is one of the above. - WinEdt now allows backup and auto-save specifications such as: C:\your backup folder\%n%t.bak or even %p\Backup folder\%n%t if you want to create a backup folder within a project. The same goes for Auto Saving specification (previous specifications with wildcards remain the same but if there are no wildcards WinEdt now parses the file and creates the specified backup folder(s) if necessary). - The Insert Overwrite switch now affects how the Block Mode Cut and Paste operation act (as many users were expecting)... - New Macros (not extensively tested): SetTree("Data", Reset_MainFile: 0..1); Tested on the situations below: GetTree(0);InsText("%!0"); *"C:\Alex\WinEdt\Samples\Thesis\Thesis.tex" * "C:\Alex\WinEdt\Samples\Thesis\ABS.tex" * "C:\Alex\WinEdt\Samples\Thesis\ACK.tex" * "C:\Alex\WinEdt\Samples\Thesis\T0.tex" * "C:\Alex\WinEdt\Samples\Thesis\T1.tex" * "C:\Alex\WinEdt\Samples\Thesis\T2.tex" * "C:\Alex\WinEdt\Samples\Thesis\T3.tex" * "C:\Alex\WinEdt\Samples\Thesis\xBib.bib" * "C:\Alex\WinEdt\Samples\Thesis\Thesis.bbl" ListOpenedFiles(0);InsText("%!0"); C:\Alex\Temp\macros2.txt C:\Alex\Temp\macros.txt C:\Alex\Temp\update.txt C:\Alex\Web\download.html C:\Alex\WinEdt\Macros\References\Reference.edt C:\Alex\Temp\x.tex C:\Alex\WinEdt\Samples\Thesis\Thesis.tex C:\Alex\WinEdt\Doc\Macros.txt C:\Program Files\WinEdt\WinEdt.mcr C:\Alex\WinEdt\WinEdt.run C:\Program Files\WinEdt\WinEdt.gdi C:\Program Files\WinEdt\Doc\News.txt -------- ListFolderFiles(Reg: 0..9, "Path", "filetype filter", recurse_subfolders: 0..1, relative_path: 0..3); Relative_path: 2 and 3 produces the following (3 lists folders even if they contain no files matching the filter): ListFolderFiles(0,"C:\Alex\Delphi",".pas;.dat",1,2);InsText("%!0"); C:\Alex\Delphi\ RootView\ Sources\ Exec.pas Tools.pas CatDel.pas etc... ListFolderFiles(0,"C:\Alex\Delphi",".pas;.dat",1,1);InsText("%!0"); Fixes\imglist.pas Graphics\About.pas Graphics\QuantCol.pas Graphics\SendWinEdt.pas Graphics\Quant.pas Graphics\Options.pas Graphics\ImageViewer.pas Graphics\Photo\Photo.pas Graphics\Photo\GraphicLib.pas Graphics\Photo\Frame1.dat ListFolderFiles(0,"C:\Alex\Delphi",".pas;.dat",1,0);InsText("%!0"); C:\Alex\Delphi\Fixes\imglist.pas C:\Alex\Delphi\Graphics\About.pas C:\Alex\Delphi\Graphics\QuantCol.pas C:\Alex\Delphi\Graphics\SendWinEdt.pas C:\Alex\Delphi\Graphics\Quant.pas C:\Alex\Delphi\Graphics\Options.pas C:\Alex\Delphi\Graphics\ImageViewer.pas WinEdt 5 [Build 20010402 (v. 5.3)] ================================== - A bug with lost Hard Returns when pasting text in Soft wrapping mode in the middle of the line is fixed. - "-D" Qualifier now produces an enhanced (%B\WinEdt.run) which can be used to track down any problems with event handlers (eg. access violation during the exit). - New macros: GetTag(Tag: 0..9, Register: 0..9); SetTag(Tag: 0..9, "Value"); can be used for advanced Search/ Replace Macros. - New Macro: ListOpenedFiles(Register: 0..9, Order Flag: -2..2, "Mode Filter", "Filetype Filter", New: 0..1, Readonly: 0..1); Order Flag: -2 - decreasing MDI Order (Ctrl+Shift+Tab) -1 - decreasing Tab Order (Right to Left) 0 - cyclic Tabs 1 - Increasing Tab Order (Left to Right) 2 - Increasing MDI Order (Ctrl+Tab) Filters can be used to select only certain documents. The result is a list of files starting in the first column and separated by CR+LF (EOLN). The list can be iterated with FindInString macro.... - New Macros: ActivateNextChild(Direction: -1..1, MDI Order: 0..1, Index: -1..99999); If the direction is 0 then you can specify the (zero-based) Index. Index=-1 is the last document... The direction can be based on the Tab Index or MDI Order (the same as as in the ListOpenedFiles function). In this group there is also previously existing macro that can be used when iterating through opened documents: ActivateChild("Caption"); WinEdt 5 [Build 20010328 (v. 5.3)] (Spring alpha edition) ========================================================= - A few reported bugs and oddities pertaining to bookmarks have been addressed... - A bug with Popup Gather Window initialized through an external file interface (not WinEdt.gdi) has been fixed [not commonly encountered and not used in the default settings] - Book Marks are now better preserved when a large portion of a document if re-formatted (or a softly wrapped document is wrapped or un-wrapped). - The Appearance| Background Dialog now contains an interface that allows you to set the background color for alternative view (this way the "B" View can be displayed on a gray background alerting you that you are working at an alternative position). The background colors can be chosen from the Colors Common dialog and they do not depend on the 16 colors specified for highlighting in the Preferences| Colors dialog... - Bookmarks require an increased Left Margin specification (in the Preferences| Shell dialog). This may result in an unwanted illusion that your text is indented. To remedy this problem you can now specify the highlighting (background color) for the bookmarks portion of the left margin by introducing a column with the first column -1 and the last column specifying the margin between highlighted area and the text (values -2..-4 are recommended). This is done in the Highlighting| Columns dialog (the same background as Line Numbers is recommended to keep the screen moderately highlighted). - The Appearance| Advanced Dialog now provides an interface to choose up to 12 different sets of 14x14 bitmaps used for bookmarks. Currently only the default set is provided. However, users that prefer different bitmaps (lighter or darker) should send me a set of 10 14x14 alternative bitmaps of their choice and I'll include them in WinEdt's Default settings... The interface to use them is already there (hurry up with the alternatives!)... Custom bookmarks are loaded from %b or %B \Bitmaps\Bookmarks folder containing files A0.bmp..A9.bmp, ... ,K0.bmp..K9.bmp. - Context Popup Menu on the Left margin now contains Goto commands for all set Bookmarks. - The following macros have been introduced to provide better control of the Error Log file parsing and the execution flow control in compilation macros: ErrorLogUpdate(Force Update: 0..1); Updates the log file... IfLogErrors("Then","Else",noWarnings:0..1); CloseSTDHandle(#0..3); 0 = STD Input 1 = STD Output 2 = STD Error 3 = All (currently opened) - A fix with the ExportDoc macro should take care of nested attributes... - A new macro BookMarkLineNumber(Reg: 0..9, BookmarkIndex: 0..9); stores the line number assigned to the Bookmark Index (-1=not set) in the specified register %!0..%!9. - The meaning of the value -1 and 2 in some Bookmark macro functions has been reversed (from the first release) for the consistency sake (2 usually stands for toggle). The documentation below has been updated with the changes... WinEdt 5 [Build 20010317 (v. 5.3)] (St. Patrick's alpha edition) =============================================================== - A few minor improvements in the default settings (including some minor fixes to the default macro scripts) - Get Mode Macro now parses the first two lines for the (optional) mode information... - The MDI Open Event handler is executed for New Templates - The "Quit Project" command removes the project from the list of recently opened projects - A new option "Track Files" in the Tree control (the selected node changes to the currently active document)... - A problem with a 512 character limit for environmental variables has been fixed... - GDI (Gather Interface) has an additional parameter for Pages in order to allow Pages always being sorted when displayed (see Doc\Gather.txt for details). - WinEdt now properly parses log files in UNIX format and recognizes extended C-style errors (including the FreePascal error log files). - The Tools Menu now has a new macro item Evaluate Integer Expression: LetRegNum(0,"%S");SetSel(0);Ins(" = %!0"); It uses WinEdt to calculate a selected expression and inserts the result at the end of selected text. WinEdt supports nested expressions with +,-,*, and / operators and standard evaluation rules... - The Menu Setup| Advanced dialog now has an option "Custom Masked Image List Additions" When enabled, this option instructs WinEdt to add images using Windows API rather than Delphi's VCL interface. This fix should accelerate the startup and addresses some problems with extremely long delays and/ or poor quality images in the tool bar or menu. It remains to be seen what is the general result, but on my system loading of bitmaps is decreased from 1 sec. to approx. 0.55 second without any loss of quality... - A new (powerful) macro WinExe: WinExe("Executable","Command Line","Startup Folder","Caption", Flags:000000..111111, Priority: -1..1, "STD Input","STD Output","STD Error"); 0/1 Flags (form left to right): Maximize Application Run in the Background Detached Process Synchronize: wait for the termination before resuming Use STD I/O/Error Handles (if specified by filenames) Use the Startup Directory in the names of redirected STD I/O Note that this macro allows you to re-direct console application's IO and Error stream to files and thus run such process in a detached mode (often much faster). It can also be used to synchronize sequences of actions, etc... Example: ======== WinExe('','C:\Alex\Delphi\Graphics\netpbm\bin\pngtopnm.exe',> 'C:\Alex\Delphi\Graphics\Temp','NetPbm', > // isMax isBack isDetached doSync StdIO UseDir > 011111,1,> // Input Output Error > 'Image.png',> 'Image.pnm',> ''); End; - Autosaving now allows you to use the Alternation measure as a trigger for saving: the Alternation counter is increased when a line is modified and a new position is in some other line or when a group of actions is completed (pretty much based on the information in the Undo buffer). Some commands such as inserting or deleting a string in a paragraph with auto wrapping on can trigger two alternations. When the Alternation count exceeds a threshold specified in the Preferences| Backup Dialog the Autosaving takes place (and the Alternation counter is reset back to 0). Furthermore, if you choose to redirect auto-save to files with a different extension (eg. *.*.sav or *.aus) you can instruct WinEdt to delete such files when the real file is saved or when WinEdt is closed. Such Autosaving can be combined with the existing one triggered by a timer (if you really want to be on a safe side)... - Support for 10 bookmarks per document with visual feedback: Before taking advantage of this feature you should increase the left margin in Options->Preferences| Shell Dialog to at least 14 (required for visual feedback) WinEdt implements the following macros that can be used to implement a custom Bookmark Keyboard interface of your choice: SetBookMark(Index: -1..9); GOTOBookMark(Index: -1..10, Center Line: 0..2, Extend Selection [if not greater than]: 0..15); ClearBookMarks(All Documents: 0..1); BookMarkLineNumber(Reg: 0..9, BookmarkIndex: 0..9); If the Center Line Parameter is set to 2 then the line is centered only if it is not visible while 0 completely suppresses line centering... Once you set the bookmark, the corresponding line is marked by an icon displaying the index of the bookmark. Bookmarks are floating (ie. they move if the text is inserted or deleted anywhere previous to the marked position). By default the following Keyboard interface has been implemented: Ctrl+Alt+0..9: SetBookMark(0..9); Ctrl+0..9: GOTOBookMark(0..9,1,0); Currently no Shortcut assigned: SetBookMark(-1); - Use the first available Book Mark (or 9 if all bookmarks are assigned) GOTOBookMark(-1,1,0) - Go to The Previous Bookmark (Backward) GOTOBookMark(10,1,0) - Go to The Next Bookmark (Forward) Note, however, that you can place these commands in an invisible Popup Menu and provide a double-shortcut scheme that you may be accustomed to from some other environment. To remove a bookmark you have to assign the same bookmark while you are in the marked line. In particular, marking the place twice adds and removes the bookmark... Alternatively you can assign the Macro ClearBookMarks to the shortcut of your choice. Bookmarks are preserved in WinEdt's Project file(s) if the corresponding option in the Preferences| Project dialog is enabled... Known Issue: Heavy Undoing and Redoing can result in misplaced bookmarks inside a paragraph (especially when auto wrapping is turned on). Solution: manually correct the bookmark after such undoing (if necessary). - In addition to Bookmarks, WinEdt maintains two different views of the same document. Although this functionality currently falls short of displaying split Windows with two different text segments it comes with a handy interface: The first panel in the status line displays the letter "A" or "B" for the primary and secondary view of the file. Clicking on this panel allows you to jump from one to another view with a single click. This can come in handy if you want to copy and paste some text segment into another position or if you are working on two places simultaneously. The view contains information about the selected text as well, and it is preserved in WinEdt's Project file (similarly to bookmarks). ChangeView(Flag: -1..2, Set View: 0..1, Center: 0..1); Flag: -1 - don't change the current view 0 - primary view (A) 1 - secondary view (B) 2 - toggle view Set View: 1 - (set the alternative view to the current view: makes sense with the flag -1) Center: 0 = never 1 = only if not visible on the screen 2 = always (if the line changes) If clicking on the Status Line Panel is not your preferred interface, you can assign a shortcut of your choice to the Macro Menu Item ChangeView(2); To make the first status line panel in an upgraded version of WinEdt visible, specify a non-empty string (eg. A) in the Appearance| Status Line Dialog. Remark: there is a good reason for WinEdt not yet simultaneously maintaining two different views on the screen. Such functionality will require an extra layer in WinEdt's screen management routines, and its implementation is not straightforward. A large chunk of complicated code will have to be rewritten, with lots of testing to be done before the result performs reasonably well on different platforms. For now I've decided against it but it remains on my to-do list... - The following macro has been introduced to add Line Numbers on the left of the text: ShowLineNumbers(Visible: 0..2); // Invisible=0 Visible=1 Toggle=2 Line numbers are displayed on the screen for reference, but they are not inserted in the text. NB: WinEdt also has a very different command "Enumerate Lines..." which inserts line numbers in the text (or selected block). This command modifies the text and has to be used with care (only if you really want the numbers to be inserted in your document)... By default the command is in the Tools Menu. The displayed line numbers are highlighted as specified in the Highlighting| Columns dialog: the first enabled column scheme with the first and the last column specified as 0 is applied. Note that selecting a dark background can result in flickering when the page is scrolled (choose a light background color). Right-clicking on the left margin (in the child window) brings up a popup menu that can be used to Erase the bookmarks and Toggle the presence of the Line Numbers. - A new macro interface for Save All functionality allows more demanding users to customize this action: SaveAll(Confirm: 0..1, Focus: 0..1, Project Files Only: 0..1, New Documents: 0..1, Readonly Documents: 0..1); With Confirm Option the macro prompts with a All/Yes/No/Cancel confirmation dialog. The document to which the confirmation applies is (optionally) brought in the foreground. The Project Files Only options determine if the Save All applies only to the files that are currently in the Project Tree... The remaining two (optional) parameters enable the action for new and readonly documents (respectively). - Occasionally you may want to export a document in some other format while preserving the highlighting scheme as used by WinEdt. This can be done through a macro ExportDoc. Below is an example of usage of this macro that exports a document in HTML format. Note that this macro does not perform any conversion on the TeX<->HTML level (or anything of this kind); it simply exports ASCII text with highlighting attributes as used by WinEdt. The example below is best viewed in
...
or ... HTML environment. The macro does not provide any header or trailer and the resulting file has to be embedded in an HTML document: // Export Highlighted Document in HTML Format // // If the filename is missing then Output File is considered: // if previously opened with OpenOutput Macro // in this case the file has to be closed with CloseOutput... // // RGB: 0 = HEX FF0000 (Red) // 1 = DEC 255 0 0 (Red) // 3 = PERCENT 100 0 0 (Red) // 4 = Fraction 1.00 0.00 0.00 (Red) // // Color Delimiter has to be entered for 1..3: // in out example ' ' is specified as RGB delimiter // // HTML_Export Translation Table should be defined to take care of: // // """" -> """ // " " -> " " // "&" -> "&" // "<" -> "<" // ">" -> ">" ExportDoc('%f.html', // Output File<> 0, // HEX RGB Format<> '', // RGB Color: Delimiter<> '">', // RGB Color: Trailing String<> '