Subject: mailing-list for TeXmacs Users
List archive
From : Darcy Shen <address@hidden>- To: Vincent Douce Mathoscope <address@hidden>
- Cc: <address@hidden>
- Subject: Re: [TeXmacs] shorcuts
- Date: Wed, 25 Oct 2017 23:46:03 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=Fjd6xpMiEsCcmN5ccAR1BgINtM8D5mhBD9RXIXiYt9PpRjQDSFISca6RE/CVEoHofs4CfZYVZLM5 vvJ10TCgPOZMXHRrqFZJ1YHj9sZ9+BlnrnMfuAaPETkXZJkVeMAJ
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.scm
---- On Tue, 24 Oct 2017 19:29:53 +0800 Vincent Douce Mathoscope <address@hidden> wrote ----
(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.scm
---- On Tue, 24 Oct 2017 19:29:53 +0800 Vincent Douce Mathoscope <address@hidden> wrote ----
ok 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
- [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.