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.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s