Subject: mailing-list for TeXmacs Users
List archive
From : Vincent Douce Mathoscope <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] shorcuts
- Date: Wed, 25 Oct 2017 19:19:35 +0200
thank you Darcy
wonderful !
i can now creat my own shortcuts for [keyboard]->latex instruction
could i ask you one more thing ?
could you give me an example [keyboard]->menu item
for example, menu "file", "export...", "html"
i had a look on http://www.texmacs.org/tmweb/manual/webman-scheme.en.html as Marc advised me but could not figure me out how to catch a menu item..
i tried this :
––––––––––––––––––––––––––
;; doesn't work thought A-q neither A-Q neither A-f does not seem to exist in https://github.com/texmacs/texmacs/blob/master/src/TeXmacs/progs/generic/generic-kbd.scm
(kbd-map
("A-q" (make 'dfrac));;does not work
("A-Q" (make 'dfrac));;does not work
("C-u" (make 'dfrac))
("C-i" (make 'dfrac))
("A-f" (make 'dfrac)));;does not work
(kbd-map
(:profile macos)
("macos S-l" (Export Html...)))
–––––––––––––––––––––––––––––
Vincent
Le 25 oct. 2017 à 17:46, Darcy Shen <address@hidden> a écrit :Sorry, I just tried and found it not working.
(kbd-map ("C-f" (make 'dfrac)))
since Ctrl-F is a pre-defined shortcut in TeXmacs, for some reason(a bug?), it cannot be overrided.
Just try:
(kbd-map ("C-u" (make 'dfrac)))
it works at least on my Debian Unstable.
And to edit the `~/.TeXmacs/progs/my-init-texmacs.scm` (just for *nix)
You may open and edit it in TeXmacs via:
1. enable the Developer menu: Tool -> Developer
2. use Developer -> Open my-init-texmacs.scmok thank you Darcyjust to be sure :if i dont have installed the sources, can i juste craeate a my-init-texmacs.scm file in ~/.TeXmacs and put there your code ?because i just tried this without successi remember installing the sources was very long, i made it once with the help of Miguel..i am sincerely not sure i can reach it alonebut i will try these daysVincentLe 24 oct. 2017 à 12:40, Darcy Shen <address@hidden> a écrit :for \dfrac(kbd-map ("C-f" (make 'dfrac)))and you need to put the code snippet into `~/.TeXmacs/progs/my-init-texmacs.scm`.see https://github.com/texmacs/texmacs/blob/master/src/TeXmacs/progs/generic/generic-kbd.scm for the existing shortcuts and their configuration.hi everyoneis it possible to create shortcuts (and how can i do ?) so that :- ctfl F creates an \dfrac instead of a \frac- ctfl shift L or any other shortcut save a html version of the opened document at the same location with "replace yes" if necessary- ctfl shift X or any other shortcut save a latex version of the opened document at the same location with "replace yes" if necessary- ctfl shift P or any other shortcut save a pdf version of the opened document at the same location with "replace yes" if necessaryit would make me gain so much time.........thanks––––––––––––––––––––––––––
Vincent Douce06=°13=°11=°07=°26Bagnères de Bigorre 65200––––––––––––––––––––––––––
Vincent DouceMathoscope, éveilleur de mathématiques
http://mathoscope.xyz06=°13=°11=°07=°26Bagnères de Bigorre 65200
––––––––––––––––––––––––––
Vincent Douce
Vincent Douce
Mathoscope, éveilleur de mathématiques
http://mathoscope.xyz
http://mathoscope.xyz
06=°13=°11=°07=°26
Bagnères de Bigorre 65200
- [TeXmacs] shorcuts, Vincent Douce Mathoscope, 10/23/2017
- Re: [TeXmacs] shorcuts, marc lalaude-labayle, 10/24/2017
- Re: [TeXmacs] shorcuts, Vincent Douce Mathoscope, 10/24/2017
- Re: [TeXmacs] shorcuts, Darcy Shen, 10/24/2017
- Message not available
- Re: [TeXmacs] shorcuts, Darcy Shen, 10/25/2017
- Re: [TeXmacs] shorcuts, Vincent Douce Mathoscope, 10/25/2017
- Re: [TeXmacs] shorcuts, Darcy Shen, 10/25/2017
- Message not available
- Re: [TeXmacs] shorcuts, marc lalaude-labayle, 10/24/2017
Archive powered by MHonArc 2.6.19.