Favicon

calling JabRef from WinEdt

Hi,
    I use JabRef in combination with WinEdt to import BiBteX keys into my tex documents. I usually use the WinEdt tool "push selection to WinEdt" in JabRef to export my selected keys so that I get for example "cite{article1,book1,whatever}" directly in the WinEdt editor by pressing a single button on the JabRef toolbar . On the website: http://www.winedt.org/Plugins/ I came across the following description:

You can use the following line to call JabRef from WinEdt:
[IfisMode('BibTeX', '%!m', 'LetReg(0,"%p\%n%t");', 'LetReg(0,"");'); Run('"javaw" -jar "JabRef-1.5.jar" "%!0"', '%p');]

(Create a new Macro item in a menu of your choice (e.g. Applications). You might have to specify the full path to both javaw and JabRef.) If the current file is a BibTEX file, it will be opened in JabRef, otherwise an empty instance will open.


Could anyone be kind enough to explain what's the above do and how can I create this macro.


Thanks

Best Regards,
Y.Calleecharan





Nicolas Vaughan | 5 Sep 14:25

Re: calling JabRef from WinEdt

Its simply a macro called by a menu item or a toolbar button. Follow these instructions:

1.Enter Menu Setup -> Shortcuts
2. Insert -> Macro
3. Label it 'JabRef' (or whatever you like)
4. In the Macro space paste the command you found. Be careful with the path. In my case I use the following:
    [IfisMode('BibTeX', '%!m', 'LetReg(0,"%p\%n%t");', 'LetReg(0,"");'); Run('"javaw" -jar "d:\Tex\Jabref\JabRef-2.4.jar" "%!0"', '%p');]
    (Note I'm using JabRef version 2.4, so I chose this jar file and added it to the command).
5. Check 'Requieres open document'.
6. Add a shortcut if you wish.
7. If you wish to create a toolbar button, choose both a couple of images and a hint text (I chose the Java icon).
8. Close the Menu Setup dialog (by clicking 'ok').
9. Enter the Tool Bar Setup.
10. Choose the button which corresponds to the very same image you selected for the macro.
11. Add it to the toolbar by drag-and-dropping it.

Cheers,
Nicolas Vaughan


On Fri, Sep 5, 2008 at 2:59 AM, Yogeshwarsing Calleecharan <yogeshwarsing.calleecharan <at> ltu.se> wrote:
Hi,
    I use JabRef in combination with WinEdt to import BiBteX keys into my tex documents. I usually use the WinEdt tool "push selection to WinEdt" in JabRef to export my selected keys so that I get for example "cite{article1,book1,whatever}" directly in the WinEdt editor by pressing a single button on the JabRef toolbar . On the website: http://www.winedt.org/Plugins/ I came across the following description:

You can use the following line to call JabRef from WinEdt:
[IfisMode('BibTeX', '%!m', 'LetReg(0,"%p\%n%t");', 'LetReg(0,"");'); Run('"javaw" -jar "JabRef-1.5.jar" "%!0"', '%p');]

(Create a new Macro item in a menu of your choice (e.g. Applications). You might have to specify the full path to both javaw and JabRef.) If the current file is a BibTEX file, it will be opened in JabRef, otherwise an empty instance will open.


Could anyone be kind enough to explain what's the above do and how can I create this macro.


Thanks

Best Regards,
Y.Calleecharan






Favicon

Re: calling JabRef from WinEdt

Hi guys (Evaristo Arroyo F. and Nicolas Vaughan),
                                                                              Thanks for your emails. I can now call JabRef in WinEdt...cool feature! Since I'm using Windows, I can try to call JabRef.exe instead of JabRef-2.4.jar.

Best Regards
Y.Calleecharan


Nicolas Vaughan wrote:
Its simply a macro called by a menu item or a toolbar button. Follow these instructions:

1.Enter Menu Setup -> Shortcuts
2. Insert -> Macro
3. Label it 'JabRef' (or whatever you like)
4. In the Macro space paste the command you found. Be careful with the path. In my case I use the following:
    [IfisMode('BibTeX', '%!m', 'LetReg(0,"%p\%n%t");', 'LetReg(0,"");'); Run('"javaw" -jar "d:\Tex\Jabref\JabRef-2.4.jar" "%!0"', '%p');]
    (Note I'm using JabRef version 2.4, so I chose this jar file and added it to the command).
5. Check 'Requieres open document'.
6. Add a shortcut if you wish.
7. If you wish to create a toolbar button, choose both a couple of images and a hint text (I chose the Java icon).
8. Close the Menu Setup dialog (by clicking 'ok').
9. Enter the Tool Bar Setup.
10. Choose the button which corresponds to the very same image you selected for the macro.
11. Add it to the toolbar by drag-and-dropping it.

Cheers,
Nicolas Vaughan


On Fri, Sep 5, 2008 at 2:59 AM, Yogeshwarsing Calleecharan <yogeshwarsing.calleecharan <at> ltu.se> wrote:
Hi,
    I use JabRef in combination with WinEdt to import BiBteX keys into my tex documents. I usually use the WinEdt tool "push selection to WinEdt" in JabRef to export my selected keys so that I get for example "cite{article1,book1,whatever}" directly in the WinEdt editor by pressing a single button on the JabRef toolbar . On the website: http://www.winedt.org/Plugins/ I came across the following description:

You can use the following line to call JabRef from WinEdt:
[IfisMode('BibTeX', '%!m', 'LetReg(0,"%p\%n%t");', 'LetReg(0,"");'); Run('"javaw" -jar "JabRef-1.5.jar" "%!0"', '%p');]

(Create a new Macro item in a menu of your choice (e.g. Applications). You might have to specify the full path to both javaw and JabRef.) If the current file is a BibTEX file, it will be opened in JabRef, otherwise an empty instance will open.


Could anyone be kind enough to explain what's the above do and how can I create this macro.


Thanks

Best Regards,
Y.Calleecharan






Hongsheng Zhao | 6 Sep 10:53
Favicon

Re[2]: calling JabRef from WinEdt

On Saturday, September 6, 2008 at 16:20, yogeshwarsing.calleecharan <at> ltu.se wrote:
> Hi guys (Evaristo Arroyo F. and Nicolas Vaughan),
>                                                                    
> Thanks for your emails. I can now call JabRef in WinEdt...cool
> feature! Since I'm using Windows, I can try to call JabRef.exe instead of JabRef-2.4.jar.

That doesn't has matter with your Operating system, the JabRef itself
has some form of releases, including exe for win32, tar for all
platforms and etc.,  you should choose the file that best matches your architecture
or operating system from the list of files contained in its release:

http://sourceforge.net/project/showfiles.php?group_id=92314&package_id=97632&release_id=623522

Furthermore, even you use the exe file as the setup program of JabRef,
the actual program is still a tar ball at the the following  default
location: C:\Program Files\JabRef\JabRef-a.b.c.tar.  In fact, after
the installation has been completed with the exe, you will only rely
on the the above tar file to run the jabref, all of the other files in
the C:\Program Files\JabRef can be removed from there.

Sincerely yours,
--
Hongsheng Zhao <zhaohscas <at> yahoo.com.cn> 
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences 
GnuPG DSA: 0xD108493
2008-9-6

Evaristo Arroyo F. | 5 Sep 16:31

Re: calling JabRef from WinEdt

En Fri, 05 Sep 2008 03:29:36 -0430, Yogeshwarsing Calleecharan  
<yogeshwarsing.calleecharan <at> ltu.se> escribió:

> Hi,
> I use JabRef in combination with WinEdt to import BiBteX keys into my tex
> documents. I usually use the WinEdt tool "push selection to WinEdt" in  
> JabRef to
> export my selected keys so that I get for example  
> "cite{article1,book1,whatever}"
> directly in the WinEdt editor by pressing a single button on the JabRef  
> toolbar
> . On the website: http://www.winedt.org/Plugins/ I came across the  
> following
> description:
>
> You can use the following line to call JabRef from WinEdt:
>
> [IfisMode('BibTeX', '%!m', 'LetReg(0,"%p\%n%t");', 'LetReg(0,"");');  
> Run('"javaw"
> -jar "JabRef-1.5.jar" "%!0"', '%p');]
>
> (Create a new Macro item in a menu of your choice (e.g. Applications).  
> You might
> have to specify the full path to both javaw and JabRef.) If the current  
> file is
> a BibTEX file, it will be opened in JabRef, otherwise an empty instance  
> will
> open.
>
>
> Could anyone be kind enough to explain what's the above do and how can I  
> create
> this macro.
>
>
> Thanks
>
> Best Regards,
> Y.Calleecharan
>
>
>
>
>
>
> __________ Information from ESET Smart Security, version of virus  
> signature
> database 3416 (20080904) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com

--

-- 
Hola

That definition creates a macro that lets you call Jabref from  WinEdt,  
and if the file you're editing is one bibtex, then opens it.

On the other hand, you can insert quotation from WinEdt own, as long as  
the paper is enabled as "set main file." Then, when writing "\cite{}" and  
close the last key you get a list of possible benchmarks, as defined in  
this document in "\bibliography{}"

Atentamente,
Evaristo Arroyo F.


Gmane