Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add citation keys from JabRef #1022

Closed
matteofg opened this issue May 10, 2023 · 0 comments
Closed

Add citation keys from JabRef #1022

matteofg opened this issue May 10, 2023 · 0 comments

Comments

@matteofg
Copy link

JabRef allows to push citation keys to external programs (like emacs, TeXstudio, etc.), but not to TeXworks.

The problem was also discussed in an issue on JabRef repository (#3197).

I ask if it's possible to support this feature.

Matteo

stloeffler added a commit that referenced this issue Jan 12, 2024
Use `texworks --insert-text "..."` to insert some text into the top-most
open editor window. This should help support pushing content from
external programs such as, e.g., bibliography managers.

Note that this only works if an editor window is already open. It
effectively does nothing when there is no editor window open yet (e.g.,
if TeXworks was not running before).
stloeffler added a commit that referenced this issue Jan 12, 2024
--insert-cite is used by TeXstudio. Adding it as alias here allows
pushing from, e.g., JabRef by using the TeXstudio config and simply
pointing it to the TeXworks executable.

Note that, semantically, --insert-text should be preferred when
supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant