// ===============================================================================
// -*- DATA:INI:EDT -*-
//
// WinEdt Toolbar
//
// ===============================================================================

[BUILD]

REQUIRES=20140319

// ===============================================================================

// It is easy to add or remove buttons. For example if you want a button
// to start MiKTeX Update Wizard, you'll see that the menu item
// for it is already defined in the MiKTeX Menu:
//
//      ITEM="MiKTeX_Update_Wizard"
//      CAPTION="MiKTeX &Update Wizard"
//      IMAGE="Wizard"
//      MACRO=`ShellExecute('open',`+
//            `'%$(|TeX-Bin|);\internal\copystart%$(|MiKTeX-Admin|);.exe',`+
//            `'"%$(|TeX-Bin|);\internal\miktex-update%$(|MiKTeX-Admin|);.exe"');`
//      etc...
//
// All you have to do is insert a line:
//
//      BUTTON="MiKTeX_Update_Wizard"
//        CONFIG_FILTER="MiKTeX"
//
// at the desired position in the toolbar. The Configuration filter
// makes sure that this button is only visible for MiKTeX Configuration
// (but not for TeX Live!).

// Compile and Preview buttons are context sensitive. Defaults produce pdf
// via PDFTeXify. If this is your preferred format you may opt for a Small
// Toolbar and use only these two interfaces...

// ===============================================================================
//
// BUTTON TYPE:
//
//  0 (default) = ordinary button (no need to specify TYPE)
//  1 separator (no need to specify if you use "|" as ID)
//  2 divider (no need to specify if you use "-" as 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 when it is chosen from the drop-down menu
//
// ===============================================================================

// If you don't like a single Drop-Down Button for TeX Compilers you can replace
//  BUTTON="PDFTeXify"
//    NAME="TeX Compile"
//    TYPE=8
//    MENU="PDFTeXify"
//    MENU="PDFLaTeX"
//    MENU="PDFTeX"
//    MENU="-"
//    MENU="TeXify"
//    MENU="LaTeX"
//    MENU="TeX"
//    MENU="AMSTeX"
//    MENU="-"
//    MENU="ConTeXt"
//    MENU="-"
//    MENU="XeLaTeX"
//    MENU="XeTeX"
// with
//   BUTTON="PDFTeXify"
//   BUTTON="PDFLaTeX"
//   BUTTON="PDFTeX"
//   BUTTON="TeXify"
//   BUTTON="LaTeX"
//   BUTTON="TeX"
//   BUTTON="AMSTeX"
//   BUTTON="ConTeXt"
//   BUTTON="XeLaTeX"
//   BUTTON="XeTeX"
// or any subset of those compilers that you are actually using.
// Now you have a whole bunch of buttons instead of a drop-down...
//
// ===============================================================================

[TOOLBAR]

// ===============================================================================
// General properties ============================================================
// ===============================================================================

VISIBLE=1              // Is toolbar Visible?
SHOW_HINTS=1           // Show Hints when the mouse hovers over the button
SHOW_SHORTCUTS=1       // Hints Contain Menu Shortcuts (when assigned)
REFRESH=0              // Full refresh when resizing?
FLAT=1                 // Obsolete with Themes -- Toolbars are always flat!

// ===============================================================================
// TeX Toolbar Definition
// ===============================================================================

// Default Toolbar
// ===============

   %%INCLUDE="ConfigEx\Toolbars\Toolbar1d.ini" // 1-row Toolbar (Default)

// Below are a few examples of pre-defined TeX toolbar alternatives.
//
// You can remove the comment in any single one of them and reload the script to
// see how the alternative toolbar looks...
// You can not load these scripts directly because they are missing a
// section [TOOLBAR]!
//
// If you chose an alternative to the default toolbar below you can double-click
// on the Active String %INCLUDE and WinEdt will open the alternative script.
//
// It is easy to comment out unwanted buttons and/or add/uncomment
// the ones that you want in your custom toolbar!

// Alternatives:
// =============
//
// %%INCLUDE="ConfigEx\Toolbars\Toolbar1l.ini" // 1-row Toolbar (Large)
// %%INCLUDE="ConfigEx\Toolbars\Toolbar1s.ini" // 1-row Toolbar (Small)
// %%INCLUDE="ConfigEx\Toolbars\Toolbar1c.ini" // 1-row Toolbar (Custom)
// %%INCLUDE="ConfigEx\Toolbars\Toolbar2l.ini" // 2-row Toolbar (Large)
// %%INCLUDE="ConfigEx\Toolbars\Toolbar2s.ini" // 2-row Toolbar (Small)
// %%INCLUDE="ConfigEx\Toolbars\Toolbar2c.ini" // 2-row Toolbar (Custom)
// %%INCLUDE="ConfigEx\Toolbars\Toolbar5x.ini" // 2-row (WinEdt 5-style) Toolbar

// ===============================================================================
// WinEdt Toolbar: 2-row TeX Toolbar (Legacy)
// ===============================================================================

TOOLBAR="Toolbar_TeX1"
  CONFIG_FILTER="Default;MiKTeX;TeX Live"
  BUTTON="New"
    TYPE=6
    CONFIG_FILTER="Default"
    MENU="New"
    MENU="-"
    MENU="$New_ASCII_Doc"
    MENU="$New_ANSI_Doc"
    MENU="$New_DATA_Doc"
    MENU="$New_Macro_Doc"
    MENU="$New_HTML_Doc"
    MENU="$New_TeX_Doc"
    MENU="$New_BibTeX_Doc"
    MENU="$New_MetaPost_Doc"
    MENU="$New_NSIS_Doc"
    MENU="-"
    MENU="New_Document"
  BUTTON="New"
    TYPE=6
    CONFIG_FILTER="MiKTeX;TeX Live|Default"
    MENU="New"
    MENU="-"
    MENU="$New_ASCII_Doc"
    MENU="$New_ANSI_Doc"
    MENU="$New_DATA_Doc"
    MENU="$New_Macro_Doc"
    MENU="$New_TeX_Doc"
    MENU="$New_BibTeX_Doc"
    MENU="$New_MetaPost_Doc"
    MENU="-"
    MENU="New_Document"
  BUTTON="|"
  BUTTON="Open"
  BUTTON="Save"
  BUTTON="|"
  BUTTON="Undo"
  BUTTON="Redo"
  BUTTON="|"
  BUTTON="Cut"
  BUTTON="Copy"
  BUTTON="Paste"
  BUTTON="|"
  BUTTON="Find"
    TYPE=6
    MENU="Find"
    MENU="Find_in_Files"
    MENU="Replace"
    MENU="-"
    MENU="Incremental_Search"
  BUTTON="|"
  BUTTON="Spell_Check"
  BUTTON="|"
  BUTTON="Figure"
  BUTTON="Table"
  BUTTON="Hyperlink"
  BUTTON="|"
  BUTTON="Section"
    TYPE=6
    MENU="Part"
    MENU="Chapter"
    MENU="-"
    MENU="Section"
    MENU="Subsection"
    MENU="Subsubsection"
    MENU="-"
    MENU="Paragraph"
    MENU="Subparagraph"
    MENU="-"
    MENU="Appendix"
  BUTTON="|"
  BUTTON="Emphasize_(Italic)"
    TYPE=6
    MENU="Emphasize_(Italic)"
    MENU="Bold"
    MENU="Teletype"
    MENU="-"
    MENU="Color_(RGB)"
  BUTTON="Center_Env"
    TYPE=6
    MENU="Center_Env"
    MENU="Left_Env"
    MENU="Right_Env"
    MENU="-"
    MENU="Quote_Env"
    MENU="Verbatim_Env"
  BUTTON="Itemize"
    TYPE=6
    MENU="Itemize"
    MENU="Enumerate"
    MENU="Description"
    MENU="-"
    MENU="Cases"
  BUTTON="|"
  BUTTON="Tabular_(n_x_m)"
    TYPE=6
    MENU="Tabular_(n_x_m)"
    MENU="Tabbing_(n_x_m)"
    MENU="-"
    MENU="Array_(n_x_m)"
    MENU="Matrix_(n_x_m)"
  BUTTON="Equation"
    TYPE=6
    MENU="Equation"
    MENU="Equation*"
    MENU="-"
    MENU="Eqnarray"
    MENU="Eqnarray*"
    MENU="-"
    MENU="Multiline"
    MENU="Multiline*"
    MENU="-"
    MENU="Split"
    MENU="-"
    MENU="Gather_Env"
    MENU="Gather*"
    MENU="Align"
    MENU="Align*"
  BUTTON="Citation"
    TYPE=6
    MENU="Citation"
    MENU="Reference"
    MENU="Label"
    MENU="-"
    MENU="Footnote"
  BUTTON="Insert_Environment"
  BUTTON="|"
  BUTTON="Windows_Explorer"
    TYPE=6
    MENU="Windows_Explorer"
    MENU="Command_Prompt"
    MENU="Calculator"
    MENU="-"
    MENU="Notepad"
    MENU="MS_Paint"

TOOLBAR="Toolbar_TeX2"
  CONFIG_FILTER="Default;MiKTeX;TeX Live"
  BUTTON="Set_Main_File"
  BUTTON="Remove_Main_File"
  BUTTON="|"
  BUTTON="Tree_Show"
  BUTTON="Gather_Interface"
  BUTTON="|"
  BUTTON="TeX_Symbols"
  BUTTON="Character_Map"
  BUTTON="|"
  BUTTON="Compile"
    CONFIG_FILTER="Default"
  BUTTON="Compile_Selected"
    CONFIG_FILTER="Default"
  BUTTON="Preview"
    CONFIG_FILTER="Default"
  BUTTON="TeX:Compile"
    CONFIG_FILTER="MiKTeX;TeX Live|Default"
  BUTTON="TeX:Compile_Selected"
    CONFIG_FILTER="MiKTeX;TeX Live|Default"
  BUTTON="TeX:Preview"
    CONFIG_FILTER="MiKTeX;TeX Live|Default"
  BUTTON="|"
  BUTTON="Errors"
  BUTTON="WinEdt_Console"
  BUTTON="Erase_Output_Files"
    TYPE=6
    MENU="Erase_Output_Files"
    MENU="-"
    MENU="$Erase_AUX_File"
    MENU="-"
    MENU="$Erase_BBL_File"
    MENU="$Erase_IND_File"
    MENU="$Erase_GLS_File"
    MENU="-"
    MENU="$Erase_LOF_File"
    MENU="$Erase_LOT_File"
    MENU="$Erase_TOC_File"
    MENU="-"
    MENU="$Erase_MPX_File"
  BUTTON="|"
  BUTTON="PDFTeXify"
    NAME="TeX Compile"
    TYPE=8
    MENU="PDFTeXify"
    MENU="PDFLaTeX"
    MENU="PDFTeX"
    MENU="-"
    MENU="TeXify"
    MENU="LaTeX"
    MENU="TeX"
    MENU="AMSTeX"
    MENU="-"
    MENU="ConTeXt"
    MENU="-"
    MENU="LuaLaTeX"
    MENU="LuaTeX"
    MENU="-"
    MENU="XeLaTeX"
    MENU="XeTeX"
  BUTTON="|"
  BUTTON="BibTeX"
  BUTTON="Make_Index"
  BUTTON="Make_Glossary"
  BUTTON="|"
  BUTTON="MetaFont"
  BUTTON="MetaPost"
  BUTTON="|"
  BUTTON="dvi2pdf"
  BUTTON="DVIPS"
  BUTTON="ps2pdf"
  BUTTON="|"
  BUTTON="DVI_Preview"
  BUTTON="DVI_Search"
  BUTTON="PDF_Preview"
  BUTTON="PDF_Search"
  BUTTON="|"
  BUTTON="MiKTeX_Options"
    CONFIG_FILTER="MiKTeX"
  BUTTON="|"
  BUTTON="TeX_Live_Manager"
    CONFIG_FILTER="TeX Live"

// ===============================================================================
// Generic 1-row Toolbar Definition:
//    used for non-TeX configurations (HTML, NSIS and ASCII)
// ===============================================================================

TOOLBAR="Toolbar"
  CONFIG_FILTER="HTML;NSIS;ASCII"
  BUTTON="New"
    TYPE=6
    CONFIG_FILTER="HTML"
    MENU="New"
    MENU="-"
    MENU="$New_ASCII_Doc"
    MENU="$New_ANSI_Doc"
    MENU="$New_DATA_Doc"
    MENU="$New_Macro_Doc"
    MENU="$New_HTML_Doc"
    MENU="-"
    MENU="New_Document"
  BUTTON="New"
    TYPE=6
    CONFIG_FILTER="NSIS"
    MENU="New"
    MENU="-"
    MENU="$New_ASCII_Doc"
    MENU="$New_ANSI_Doc"
    MENU="$New_DATA_Doc"
    MENU="$New_Macro_Doc"
    MENU="$New_NSIS_Doc"
    MENU="-"
    MENU="New_Document"
  BUTTON="New"
    TYPE=6
    CONFIG_FILTER="ASCII"
    MENU="New"
    MENU="-"
    MENU="$New_ASCII_Doc"
    MENU="$New_ANSI_Doc"
    MENU="$New_DATA_Doc"
    MENU="$New_Macro_Doc"
    MENU="-"
    MENU="New_Document"
  BUTTON="|"
  BUTTON="Open"
  BUTTON="Save"
  BUTTON="|"
  BUTTON="Undo"
  BUTTON="Redo"
  BUTTON="|"
  BUTTON="Cut"
  BUTTON="Copy"
  BUTTON="Paste"
  BUTTON="|"
  BUTTON="Find"
    TYPE=6
    MENU="Find"
    MENU="Find_in_Files"
    MENU="Replace"
    MENU="-"
    MENU="Incremental_Search"
  BUTTON="|"
  BUTTON="Spell_Check"
  BUTTON="|"
  BUTTON="Set_Main_File"
  BUTTON="Remove_Main_File"
  BUTTON="|"
  BUTTON="Tree_Show"
  BUTTON="|"
  BUTTON="Character_Map"
  BUTTON="|"
  BUTTON="Emphasize_(Italic)"
    TYPE=7
    CONFIG_FILTER="HTML"
    MENU="Emphasize_(Italic)"
    MENU="Bold"
    MENU="Teletype"
    MENU="-"
    MENU="Color_(RGB)"
  BUTTON="|"
  BUTTON="Figure"
    TYPE=7
    CONFIG_FILTER="HTML"
    MENU="Figure"
    MENU="Table"
    MENU="-"
    MENU="Hyperlink"
  BUTTON="|"
  BUTTON="H1"
    TYPE=6
    CONFIG_FILTER="HTML"
    MENU="H1"
    MENU="H2"
    MENU="H3"
    MENU="H4"
    MENU="H5"
    MENU="H6"
  BUTTON="|"
  BUTTON="Itemize"
    TYPE=6
    CONFIG_FILTER="HTML"
    MENU="Itemize"
    MENU="Enumerate"
    MENU="Description"
    MENU="-"
    MENU="Cases"
  BUTTON="Par_Center"
    TYPE=6
    CONFIG_FILTER="HTML"
    MENU="Par_Center"
    MENU="Par_Left"
    MENU="Par_Right"
    MENU="Par_Justify"
  BUTTON="|"
  BUTTON="NSIS_Section"
    TYPE=6
    CONFIG_FILTER="NSIS"
    MENU="NSIS_Section"
    MENU="NSIS_Function"
    MENU="NSIS_Macro"
  BUTTON="|"
  BUTTON="HTML:HTML_Help_Compiler"
    CONFIG_FILTER="HTML"
  BUTTON="HTML:HTML_Preview"
    CONFIG_FILTER="HTML"
  BUTTON="|"
  BUTTON="NSIS:Compile_NSIS_Script"
    CONFIG_FILTER="NSIS"
  BUTTON="NSIS:Run_NSIS_Installer"
    CONFIG_FILTER="NSIS"
  BUTTON="|"
  BUTTON="Erase_Output_Files"
  BUTTON="|"
  BUTTON="Windows_Explorer"
    TYPE=6
    MENU="Windows_Explorer"
    MENU="Command_Prompt"
    MENU="Calculator"
    MENU="-"
    MENU="Notepad"
    MENU="MS_Paint"

// ===============================================================================

[END]
