jabref icon indicating copy to clipboard operation
jabref copied to clipboard

JR doesn't send citation commands to TeXworks

Open Doc73 opened this issue 7 years ago • 11 comments

JabRef 4.0-beta3 Linux 4.11.0-0.bpo.1-amd64 amd64 on Debian 9 Stretch AMD64 Java 1.8.0_141

Steps to reproduce:

  1. Launch TeXworks and JabRef
  2. Select a bibliographic item
  3. Click on "Send to LaTeX editor"
  4. Nothing appens

In settings LaTeX editor is set to default /usr/bin/texworks.

Thank you very much in advance.

Doc73 avatar Sep 05 '17 13:09 Doc73

In fact, LatexEditor is a specific software (see http://www.latexeditor.org/). So, it makes sense that selecting LatexEditor as external program does not work for TeXworks. In fact, currently, TeXworks is not supported by JabRef (supported editors are Emacs, LatexEditor, Lyx/Kyle, Texmaker, TeXstudio, Vim and WinEdt.

mlep avatar Sep 05 '17 14:09 mlep

Yes, but

  1. LatexEditor is configured to point to /usr/bin/texworks
  2. I remember that in previous versions of JR it worked very well

Alternatively, can you add support for TW?

Doc73 avatar Sep 05 '17 14:09 Doc73

I could not find any information regarding commandline usage from Texworks, only that issue: You could try to see what --help offers https://github.com/TeXworks/texworks/issues/113 It would be nice if you could try to find information for inserting citation. In TexMaker for example it's -insert

Siedlerchr avatar Sep 06 '17 09:09 Siedlerchr

@Siedlerchr Unfortunately, --help offers only this:

Usage: texworks [opts/args] --help, -? Display this message --position=..., -p=... Open the following file at the given position (line or page) --version, -v Display version information

and I'm using the latest stable version 0.6.2 (Apr 2017). :-(

Doc73 avatar Sep 06 '17 10:09 Doc73

@Doc73 Sorry, then we have no chance to implement this. I would suggest creating an issue at the Texworks repository asking and referencing this.

Siedlerchr avatar Sep 06 '17 13:09 Siedlerchr

Yes, I understood. Many thanks! :-)

Doc73 avatar Sep 06 '17 13:09 Doc73

I close this issue now. If you have more information regarding the command line usage, then feel free to reopen it.

Siedlerchr avatar Sep 07 '17 19:09 Siedlerchr

Thanks to the work at Texworks, see this commit https://github.com/TeXworks/texworks/commit/c8689376aa2362e17322947173a467e02a216a62 the issue can now be solved from the JabRef side.

Steps for implementation:

  1. Implement a new PushToApplication app like the others
  2. Add an icon (ask maintainers for licensed/free svg) to the JabRefIcon ttf font (This will be a task for JabRef maintainers) in the meantime use a simple default icon

Siedlerchr avatar Jan 18 '24 16:01 Siedlerchr

Hi, can I work on this issue (and assign it to myself?)

vladdobre avatar Feb 23 '24 09:02 vladdobre

As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at.

Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback.

github-actions[bot] avatar Feb 23 '24 12:02 github-actions[bot]

@vladdobre Welcome to the club of open source developers. I assigned you and changed the state to "reserved".

koppor avatar Feb 23 '24 12:02 koppor

TeXWorks must be at least Version 0.6.9

Siedlerchr avatar Mar 21 '24 21:03 Siedlerchr