texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] copy LaTeX to clipboard Re: suggestions on how to add


From: François Poulain
Subject: Re: [Texmacs-dev] copy LaTeX to clipboard Re: suggestions on how to add a feature
Date: Mon, 20 Jul 2015 10:09:21 +0200

Hi,

Le Sun, 19 Jul 2015 12:27:45 -0500,
Stephen Crowley <address@hidden> a écrit :

> any hints where to look? scheme is not my forte ... I am trying to
> bind a key to the "Copy to LaTeX" function...

I guess you should call something like (clipboard-copy-export "latex"
"primary"). So, in order to define a shortcut you have to call 

(kbd-map
  "C-L"
  (clipboard-copy-export "latex" "primary"))

at any time in your TeXmacs session (with "C-L" meaning "Ctrl + L").
Probably you will want to add it to the
~/.TeXmacs/progs/my-init-texmacs.scm file.

I don't have a TeXmacs under the hand, so I did not tested it.

Adding an entry to the contextual menu is a bit more difficult.

Good luck
François

PS: your body's footer is harmful.

-- 
François Poulain <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]