Subject: mailing-list for TeXmacs Users
List archive
From : address@hidden- To: address@hidden
- Subject: Re: Re: Problem with keymappings
- Date: Sat, 6 Mar 2004 00:48:18 +0100 (CET)
David:
Your assumption was correct!
It was in fact a cache problem. I removed the cache and it worked OK!
I decided to do some more changes in the code to allow masculine and
ordfeminine to be generated with or without an underline because most
word processors (M$-Word, OpenOffice, etc...) don't display it and many
people (me included) don't like it!
So, to keep everybody happy (isn't the *nix world all about FREEDOM OF CHOICE
?)
the code is now:
in "kbd-text.scm":
("masculine" (make 'masculine))
("ordfeminine" (make 'ordfeminine))
("- masculine" (make '_masculine_))
("- ordfeminine" (make '_ordfeminine_))
in "std-symbol.ts":
(assign "masculine" (macro (rsup "o")))
(assign "ordfeminine" (macro (rsup "a")))
(assign "_masculine_" (macro (rsup (tabular (tformat
(cwith "1" "-1" "1" "-1" "cell-lsep" "0")
(cwith "1" "-1" "1" "-1" "cell-rsep" "0")
(cwith "1" "-1" "1" "-1" "cell-tsep" "0")
(cwith "1" "-1" "1" "-1" "cell-vcorrect" "n")
(cwith "1" "1" "1" "-1" "cell-bborder" "1ln")
(cwith "1" "1" "1" "-1" "cell-bsep" "2ln")
(twith "table-valign" "T")
(table (row (cell "o"))))))))
(assign "_ordfeminine_" (macro (rsup (tabular (tformat
(cwith "1" "-1" "1" "-1" "cell-lsep" "0")
(cwith "1" "-1" "1" "-1" "cell-rsep" "0")
(cwith "1" "-1" "1" "-1" "cell-tsep" "0")
(cwith "1" "-1" "1" "-1" "cell-vcorrect" "n")
(cwith "1" "1" "1" "-1" "cell-bborder" "1ln")
(cwith "1" "1" "1" "-1" "cell-bsep" "2ln")
(twith "table-valign" "T")
(table (row (cell "a")))))))))
What do you think about this?
Is it good enough for a patch?
--
-- Pedro
- Problem with keymappings, pmnntd, 03/01/2004
- Re: [TeXmacs] Problem with keymappings, Álvaro Tejero Cantero, 03/02/2004
- Re: [TeXmacs] Problem with keymappings, David Allouche, 03/03/2004
- Re: [TeXmacs] Problem with keymappings, Joris van der Hoeven, 03/03/2004
- <Possible follow-up(s)>
- Re: Problem with keymappings, pmnntd, 03/02/2004
- Re: [TeXmacs] Re: Problem with keymappings, David Allouche, 03/03/2004
- Re: Re: Problem with keymappings, pmnntd, 03/04/2004
- Re: [TeXmacs] Problem with keymappings, David Allouche, 03/05/2004
- Re: Re: Problem with keymappings, pmnntd, 03/06/2004
- Re: [TeXmacs] Re: Re: Problem with keymappings, Joris van der Hoeven, 03/07/2004
Archive powered by MHonArc 2.6.19.