Menu

Jabref and Libreoffice

Help
Hesediel
2010-12-31
2012-11-08
  • Hesediel

    Hesediel - 2010-12-31

    there is a way for make jabref working with Libreoffice?

     
  • repunante

    repunante - 2011-01-17

    Any progress? I would like to use LibreOffice + Jabref.

     
  • Serge Stroobandt

    There exists a JabRef plugin for OpenOffice Writer though, if you don't mind:
    http://jabref.sourceforge.net/OOPlugin-jabref.php

    I guess, with manual coupling it should be possible to also link it up with
    LibreOffice, but I never tried that.

     
  • Hesediel

    Hesediel - 2011-03-19

    on4aa

    Yes i was usually to use jabref + openoffice's plugin, but now with the
    openoficce's passage to oracle i would like to use libreoffice also for linux
    but i cant make the open office plugin work with libreoffice

     
  • Archaeomanda

    Archaeomanda - 2011-04-19

    Hmm, this is not a good thing to hear. I was considering switching to
    LibreOffice.

    Have you contacted the LibreOffice people about it? What did they say?

     
  • Morten Omholt Alver

    I have used the plugin with LibreOffice on Linux - it's just a matter of
    giving the correct paths. On my LMDE installation it finds LibreOffice
    automatically. I'm not sure about Windows, it's possible that this needs some
    work there.

     
  • tagMacher

    tagMacher - 2011-05-01

    I never got around to trying the JabRef OOo plugin with OOo. Did a quick try
    with LibO 3.3 and JabRef 2.6 on MSWin7 Prof 64-bit just now - it worked fine
    for me after a manual connect - this involves just pointing to the LibO
    directory which was C:\Program Files (x86)\LibreOffice in my case. The
    default suggested style file may require a bit of work though to suit your
    requirements.

     
  • El Samuels

    El Samuels - 2011-10-16

    I have used the plugin with LibreOffice on Linux - it's just a matter of
    giving the correct paths.

    mortenalver, would you kindly let us know what you changed the paths to to
    make it work? I'm not computer guru, but I've not been able to do it
    successfully.

    Currently (and incorrectly), mine are set to:

    • [Path to OpenOffice executable: /usr/lib/libreoffice/program/soffice.bin

    • Path to OpenOffice library dir: /usr/lib/libreoffice/basis3.3

    • Program version: OpenOffice.org 3.x

    (I'm using it under Ubuntu 11.10, but it shouldn't be too different for LMDE
    . . . I hope)

    Thanks!

     
  • Morten Omholt Alver

    My current installation is OpenSUSE 64 bit. The paths used by the plugin are
    /usr/lib64/libreoffice/program/soffice.bin (for the executable) and
    /usr/lib64/libreoffice/basis3.3 (library dir).

    If this doesn't make sense for your system, try to run a "locate unoil.jar"
    and tell me what the output is.

     
  • El Samuels

    El Samuels - 2011-10-16

    Thank you so much for your help, mortenalver!

    My executable and library dir paths seem to emulate yours, but to no avail.

    "locate unoil.jar" returns:

    /usr/lib/libreoffice/basis3.4/program/classes/unoil.jar
    /usr/share/libreoffice/basis3.4/program/classes/unoil.jar

    If is also helps, the exact error message when trying to run the JABRef OOo
    plugin (withthe settings I gave above) is:

    ===================
    Could not connect to running OpenOffice.
    Make sure you have the UNO jars (unoil.jar, juh.jar, jurt.jar ad rild.jar)
    on your classplath,
    as well as the OpenOffice bin directory.
    Error message: /home/el/Documents/Research/default backup.sty (No such file
    or directory)
    ===================

    Essentially, I don't know if that final error message is relevant.

    (This might be a red herring, but I looked in the
    /usr/lib/libreoffice/program/java-set-classpath file and found nothing about
    those .jar files)

    Thank you again for any help you can provide.

     
  • Morten Omholt Alver

    I just noticed that a problem with loading the style file can lead to an error
    message indicating a problem with connecting to OpenOffice/LibreOffice. The
    error message shown in the previous post might indicate that this is happening
    there, so what I'd do in that situation is first to make sure that the style
    file selection is in order, then try to connect again.

    In the next JabRef version the OpenOffice plugin will be integrated as a
    standard part, and I'm working on streamlining style selection and (if
    possible) connection. There will also be a default style available if no
    external style file is selected.

     
  • El Samuels

    El Samuels - 2011-11-19

    It's working now-thank you.

    Critically, it was looking for a folder that didn't exist for the style file
    (wanted /Documents/Research to exist, but that had been moved to
    /Documents/Dropbox/Research).

    Oddly, no style file need be in that /Documents/Research folder; it can be
    empty and no error is returned anymore. The "Select style file" button in
    JabRef doesn't work to select the style (it turns grey when clicked, but
    nothing happens), so I can't customize it, but it's good enough.

    Thanks again! : )

     
  • Brian Napoletano

    I'm having a bit of trouble setting the paths properly in Ubuntu. I think I
    located the executable properly in:
    /usr/lib/libreoffice/program/soffice.bin

    The library, on the other hand, is confounding me. Searching for "unoil.jar"
    returns nada. Is there a file in the library directory I can search for to
    figure out where the heck it is?

    Thanks!

     
  • Rob Haeusler

    Rob Haeusler - 2012-09-13

    The following is the path I have for unoil.jar on my ubuntu 12.04:

    /usr/lib/libreoffice

    I was having the same problems as you, but it now appears to be working
    correctly.

     
  • Brian Napoletano

    Thanks for the response! Unfortunately, it does not seem to be cooperating on
    my computer. The output to the error console isn't particularly helpful,
    either, as I'm really not sure what it's saying:

    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/star/text/XTextRange
        at net.sf.jabref.oo.OOTestPanel.run(OOTestPanel.java:495)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at spin.Invocation.evaluate(Invocation.java:175)
        at spin.off.SpinOffEvaluator$1.run(SpinOffEvaluator.java:108)
        at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.ClassNotFoundException: com.sun.star.text.XTextRange
        at org.java.plugin.standard.StandardPluginClassLoader.loadClass(StandardPluginClassLoader.java:378)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 8 more
    

    On a side note, I'm running JabRef directly from the .jar file (rather than
    installing it through apt) because I couldn't get it to find my PDFs when I
    installed it through apt. I can't imagine why, but do you suppose that might
    be part of the problem?

    Thanks for the help!

    Brian

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.