Tag Archives: MainMenu

Add automatic functionality to Cite and Ref buttons (WinEdt 6)

Automatically open Graphical prompts for choosing citations and references for citation and reference buttons.
1. Open MainMenu.ini file (in the options menu).
2. Find item: ITEM=”Citation”
3. For that item replace the MACRO by:
MACRO=”BeginGroup;LetReg(6,’\cite{‘);LetReg(7,’}’);LetReg(8,’Bib’);LetReg(9,’Bibliography Items’);Exe(‘%B\Macros\References\CommonMenuReferences.edt’);EndGroup;”
4. For the following item: ITEM=”Reference”, replace the MACRO by:
MACRO=”BeginGroup;LetReg(6,’\ref{‘);LetReg(7,’}’);LetReg(8,’Label’);LetReg(9,’Label Items’);Exe(‘%B\Macros\References\CommonMenuReferences.edt’);EndGroup;”
5. Right click on MainMenu, and Load script to update the buttons.