How to use PushToTeXstudio

TXS - Help
neverwaste
2013-05-21
2013-05-22
  • neverwaste
    neverwaste
    2013-05-21

    Hi group,

    I download PushToTeXstudio-1.0.jar and PushToTeXstudio-1.0.zip.
    Could you please post some notes on how to use them with texstudio?
    My platform is Win7 32bit + textudio 2.5.2.
    And I have my own .bib file containing several references.
    Thank you in advance.

    Zhi

     
  • Denis Bitouzé
    Denis Bitouzé
    2013-05-21

    Hi group,

    Hi Zhi,

    1. Open JabRef
    2. Go to Plugins -> Manage plugins
    3. Click on "Install Plugin"
    4. Pick up PushToTeXstudio-1.0.jar
    5. Click on "Close"
    6. Back to JabRef main interface, click on the drop down list (second to last icon)
    7. Select TeXstudio

    Before real use, if you plan to use biblatex, I recommend the following settings in JabRef:

    1. Right click on the TeXstudio plugin icon to open "Settings" and replace \cite by \autocite and click on "OK"
    2. Back to JabRef main interface, go to Options -> Preferences and:
      1. click on "General" and choose UTF-8 (or maybe UTF-16) in the "Default Encoding" drop down list
      2. click on "Advanced" button and check the "Biblatex mode" checkbox

    In order to use this plugin with TeXstudio:

    1. Open a .tex file in TeXstudio and a .bib file in JabRef
    2. Put the cursor in TeXstudio where you want to cite reference(s)
    3. Switch to Jabref, select the reference(s) you want to cite and click on the TeXstudio plugin icon
    4. An \autocite command is inserted in TeXstudio and its mandatory argument contains the (list of) key(s) of the references you have selected.

    Thank you in advance.

    You're welcome.

    This could be inserted in the MediaWiki in this section, but I couldn't figure out haw to add pages (maybe I don't have the permission to write on it).

     
    • Tim Hoffmann
      Tim Hoffmann
      2013-05-21

      Denis, thanks for the description.

      This could be inserted in the MediaWiki in this section, but I couldn't figure out haw to add pages (maybe I don't have the permission to write on it).
      I've added it to the wiki. And I've also given you editing permissions. (Unfortunately, sf only allows to set permissions on a per-user basis - not for all members at once).

       
      • Denis Bitouzé
        Denis Bitouzé
        2013-05-22

        Denis, thanks for the description.

        You're welcome: I just explained this to my Ph.D. students so it was fresh in my mind :)

        I've added it to the wiki. And I've also given you editing permissions.

        OK. I made some minor corrections.

         
  • Tim Hoffmann
    Tim Hoffmann
    2013-05-21

    Note 1: The .zip contains the source code. You don't need this unless you want to modify the plugin yourself. The .jar contains the compiled plugin.

    Note 2: The plugin is already included in JabRef for versions >= 2.9. So you don't need to download it separately.

     
    • Denis Bitouzé
      Denis Bitouzé
      2013-05-22

      The plugin is already included in JabRef for versions >= 2.9.

      I wasn't aware of this. Nice!

       
  • Unfortunately, sf only allows to set permissions on a per-user basis -
    not for all members at once).

    There is the user tmxwiki (with password tmxwiki) who has admin rights
    for the wiki, so everyone can give himself the rights

     
  • neverwaste
    neverwaste
    2013-05-22

    Thanks for your quick reply.I followed your instructions and
    got some results.

    The default \site{} works with my settings as following
    \bibliographystyle{model3-num-names}
    \bibliography{docear}
    while the first row is .bst from journal's website,the second row
    is .bib generated from jabref.

    But the \autosite{} solution but it failed saying
    Undefined control sequence.

    I will also try the >=2.9 version,Thank all of you .

     
    Last edit: neverwaste 2013-05-22
    • Denis Bitouzé
      Denis Bitouzé
      2013-05-22

      I guess you meant \(...)cite instead of \(...)site.

      But the \autosite{} solution but it failed saying
      Undefined control sequence.

      Indeed, \autocite works only with biblatex package. This package, used in conjunction with biber backend, is much more powerful than the old bibtex.

       
      • neverwaste
        neverwaste
        2013-05-22

        oh sorry, spelling mistake. i did mean \cite and \autocite.
        my configuration is:

        1. in texstudio->options menu->command->
          biber: c:/program files/miktex 2.9/miktex/bin/biber.exe
        2. in texstudio->bibliography menu->type: biblatex
        3. jabref configuration are as you said, utf-8 / utf-16, both tried
          but still can not work. probably i missed something.

        i am not sure whether i could use \autocite, since the paper will
        be submitted to a elsevier, i don't know whether they can recognize it.

         
  • Denis Bitouzé
    Denis Bitouzé
    2013-05-22

    but still can not work. probably i missed something.

    Yes, biblatex needs some adaptations from bibtex. Here is a tutorial, but in French, sorry.

    i am not sure whether i could use \autocite, since the paper will
    be submitted to a elsevier, i don't know whether they can recognize it.

    If the class and/or packages provided by elsevier don't make use of biblatex, refrain using it and just use ordinary bibtex.