* Writing article in italian
[not found] <trinity-134377bf-b769-4daa-97e4-a75707eca683-1610551723313@3c-app-mailcom-bs04>
@ 2021-01-14 18:51 ` steve-humphreys
2021-01-14 19:17 ` Eli Zaretskii
2021-01-14 20:14 ` Leo Butler
0 siblings, 2 replies; 14+ messages in thread
From: steve-humphreys @ 2021-01-14 18:51 UTC (permalink / raw)
To: Help Gnu Emacs
Am writing an article in italian and custamalily use @-commands for the
appropriate accented letters. Texinfo has the @documentlanguage command.
How should I proceed, and would I need to continue using @-commands
for accenting letters.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-14 18:51 ` Writing article in italian steve-humphreys
@ 2021-01-14 19:17 ` Eli Zaretskii
2021-01-14 19:41 ` steve-humphreys
2021-01-14 20:14 ` Leo Butler
1 sibling, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2021-01-14 19:17 UTC (permalink / raw)
To: help-gnu-emacs
> From: steve-humphreys@gmx.com
> Date: Thu, 14 Jan 2021 19:51:12 +0100
>
> Am writing an article in italian and custamalily use @-commands for the
> appropriate accented letters. Texinfo has the @documentlanguage command.
>
> How should I proceed, and would I need to continue using @-commands
> for accenting letters.
I think you should be able to type the accented letters directly if
you use @documentencoding UTF-8.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-14 19:17 ` Eli Zaretskii
@ 2021-01-14 19:41 ` steve-humphreys
2021-01-14 20:16 ` Eli Zaretskii
2021-01-14 20:24 ` Leo Butler
0 siblings, 2 replies; 14+ messages in thread
From: steve-humphreys @ 2021-01-14 19:41 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
How can I do that in Emacs?
> Sent: Friday, January 15, 2021 at 7:17 AM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Writing article in italian
>
> > From: steve-humphreys@gmx.com
> > Date: Thu, 14 Jan 2021 19:51:12 +0100
> >
> > Am writing an article in italian and custamalily use @-commands for the
> > appropriate accented letters. Texinfo has the @documentlanguage command.
> >
> > How should I proceed, and would I need to continue using @-commands
> > for accenting letters.
>
> I think you should be able to type the accented letters directly if
> you use @documentencoding UTF-8.
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-14 18:51 ` Writing article in italian steve-humphreys
2021-01-14 19:17 ` Eli Zaretskii
@ 2021-01-14 20:14 ` Leo Butler
1 sibling, 0 replies; 14+ messages in thread
From: Leo Butler @ 2021-01-14 20:14 UTC (permalink / raw)
To: steve-humphreys; +Cc: Help Gnu Emacs
steve-humphreys@gmx.com writes:
> ********************************************************
> Caution: This message was sent from outside the University of Manitoba.
> ********************************************************
>
> Am writing an article in italian and custamalily use @-commands for the
> appropriate accented letters. Texinfo has the @documentlanguage command.
>
> How should I proceed, and would I need to continue using @-commands
> for accenting letters.
You don't *need* to use the @-commands. If you set the document encoding
correctly, you can use an extended character set:
E.g.
@documentencoding UTF-8
There is more information in the texinfo manual:
C-h i d m texinfo C-m i documentencoding C-m
-----
For most output formats, this just works. For TeX output, you may need
to use
\DeclareUnicodeCharacter{<char>}{<macro>}
to define a mapping from the character with codepoint <char> (in
hexadecimal) to a TeX macro. E.g.
\DeclareUnicodeCharacter{3b1}{\alpha} % α
Leo
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-14 19:41 ` steve-humphreys
@ 2021-01-14 20:16 ` Eli Zaretskii
2021-01-14 20:24 ` Leo Butler
1 sibling, 0 replies; 14+ messages in thread
From: Eli Zaretskii @ 2021-01-14 20:16 UTC (permalink / raw)
To: help-gnu-emacs
> From: steve-humphreys@gmx.com
> Cc: help-gnu-emacs@gnu.org
> Date: Thu, 14 Jan 2021 20:41:45 +0100
>
> How can I do that in Emacs?
Add a line like this:
@documentencoding UTF-8
near the beginning of the document, preferably right after
@documentlanguage.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-14 19:41 ` steve-humphreys
2021-01-14 20:16 ` Eli Zaretskii
@ 2021-01-14 20:24 ` Leo Butler
2021-01-14 20:38 ` steve-humphreys
1 sibling, 1 reply; 14+ messages in thread
From: Leo Butler @ 2021-01-14 20:24 UTC (permalink / raw)
To: steve-humphreys; +Cc: help-gnu-emacs
steve-humphreys@gmx.com writes:
>
> How can I do that in Emacs?
There are at least two ways:
1. Use the C-x 8 prefix:
C-x 8 ^ e
==> ê
(For more info, try C-x 8 C-h, you will see a *Help* buffer open that
you can scroll through).
2. Define abbreviations for the particular mode you are using. In your
texinfo buffer, just do:
M-x edit-abbrevs C-m
and insert the abbreviations you want.
Best,
Leo
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-14 20:24 ` Leo Butler
@ 2021-01-14 20:38 ` steve-humphreys
2021-01-15 9:17 ` Robert Pluim
0 siblings, 1 reply; 14+ messages in thread
From: steve-humphreys @ 2021-01-14 20:38 UTC (permalink / raw)
To: Leo Butler; +Cc: help-gnu-emacs
Thank you Leo, that's exactly what I needed.
> Sent: Friday, January 15, 2021 at 8:24 AM
> From: "Leo Butler" <leo.butler@umanitoba.ca>
> To: steve-humphreys@gmx.com
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Writing article in italian
>
> steve-humphreys@gmx.com writes:
>
> >
> > How can I do that in Emacs?
>
> There are at least two ways:
>
> 1. Use the C-x 8 prefix:
>
> C-x 8 ^ e
> ==> ê
>
> (For more info, try C-x 8 C-h, you will see a *Help* buffer open that
> you can scroll through).
>
> 2. Define abbreviations for the particular mode you are using. In your
> texinfo buffer, just do:
>
> M-x edit-abbrevs C-m
>
> and insert the abbreviations you want.
>
> Best,
> Leo
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-14 20:38 ` steve-humphreys
@ 2021-01-15 9:17 ` Robert Pluim
2021-01-15 10:10 ` Gian Uberto Lauri
0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2021-01-15 9:17 UTC (permalink / raw)
To: steve-humphreys; +Cc: help-gnu-emacs, Leo Butler
>>>>> On Thu, 14 Jan 2021 21:38:58 +0100, steve-humphreys@gmx.com said:
steve-humphreys> Thank you Leo, that's exactly what I needed.
>> > How can I do that in Emacs?
>>
>> There are at least two ways:
>>
>> 1. Use the C-x 8 prefix:
>>
>> C-x 8 ^ e
>> ==> ê
>>
The C-x 8 method is complete, but somewhat cumbersome. You might
prefer using input methods, eg
C-\ italian-postfix
allows you to type
e'
and have it automatically be inserted as é
Thereʼs a whole host of input methods available, including ones that
cover all the latin accented characters, rather than just the Italian
ones. (info "(emacs)Input Methods") describes the details (including
how to activate input methods automatically).
Robert
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-15 9:17 ` Robert Pluim
@ 2021-01-15 10:10 ` Gian Uberto Lauri
2021-01-15 10:50 ` Robert Pluim
0 siblings, 1 reply; 14+ messages in thread
From: Gian Uberto Lauri @ 2021-01-15 10:10 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs, steve-humphreys, Leo Butler
>>>>> "RP" == Robert Pluim <rpluim@gmail.com> writes:
RP> The C-x 8 method is complete, but somewhat cumbersome. You might
RP> prefer using input methods, eg
RP> C-\ italian-postfix
RP> allows you to type
RP> e'
RP> and have it automatically be inserted as é
The "italian-postfix" is indeed the best solution (using compose keys
is even better IMHO). But if you use it only within Emacs is the best
and more reliable solution.
BTW, all that is good provided you have a keyboard with an easy to use
bacquote character, since most of accents in Italian are grave ones.
--
/\ ___ Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____ African word
//--\| | \| | Integralista GNUslamico meaning "I can
\/ coltivatore diretto di software not install
già sistemista a tempo (altrui) perso... Debian"
Warning: gnome-config-daemon considered more dangerous than GOTO
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-15 10:10 ` Gian Uberto Lauri
@ 2021-01-15 10:50 ` Robert Pluim
2021-01-15 16:28 ` steve-humphreys
0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2021-01-15 10:50 UTC (permalink / raw)
To: Gian Uberto Lauri; +Cc: help-gnu-emacs, steve-humphreys, Leo Butler
>>>>> On Fri, 15 Jan 2021 11:10:08 +0100, "Gian Uberto Lauri" <saint@eng.it> said:
>>>>> "RP" == Robert Pluim <rpluim@gmail.com> writes:
RP> The C-x 8 method is complete, but somewhat cumbersome. You might
RP> prefer using input methods, eg
RP> C-\ italian-postfix
RP> allows you to type
RP> e'
RP> and have it automatically be inserted as é
saint> The "italian-postfix" is indeed the best solution (using compose keys
saint> is even better IMHO). But if you use it only within Emacs is the best
saint> and more reliable solution.
Everyone has their preferences. Note also that along with the C-x 8
map, you also get a set of A- bindings which might be easier to use
(A- being ALT). And for yet more options: emacs-28 adds two new input
methods, 'compose' and 'iso-translate', which correspond to the X11 Compose
and C-x 8 methods, but without a prefix key. Choice is good :-)
saint> BTW, all that is good provided you have a keyboard with an easy to use
saint> bacquote character, since most of accents in Italian are grave ones.
(keyboard-translate ?' ?`)
(keyboard-translate ?` ?')
(I have no idea what a real Italian keyboard looks like)
Robert
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-15 10:50 ` Robert Pluim
@ 2021-01-15 16:28 ` steve-humphreys
2021-01-15 16:57 ` Robert Pluim
0 siblings, 1 reply; 14+ messages in thread
From: steve-humphreys @ 2021-01-15 16:28 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs, Gian Uberto Lauri, Leo Butler
Is there any command et insert letters with accent from my Emacs Init File
such as "e`"?.
> Sent: Friday, January 15, 2021 at 10:50 PM
> From: "Robert Pluim" <rpluim@gmail.com>
> To: "Gian Uberto Lauri" <saint@eng.it>
> Cc: help-gnu-emacs@gnu.org, steve-humphreys@gmx.com, "Leo Butler" <leo.butler@umanitoba.ca>
> Subject: Re: Writing article in italian
>
> >>>>> On Fri, 15 Jan 2021 11:10:08 +0100, "Gian Uberto Lauri" <saint@eng.it> said:
>
> >>>>> "RP" == Robert Pluim <rpluim@gmail.com> writes:
> RP> The C-x 8 method is complete, but somewhat cumbersome. You might
> RP> prefer using input methods, eg
>
> RP> C-\ italian-postfix
>
> RP> allows you to type
>
> RP> e'
>
> RP> and have it automatically be inserted as é
>
> saint> The "italian-postfix" is indeed the best solution (using compose keys
> saint> is even better IMHO). But if you use it only within Emacs is the best
> saint> and more reliable solution.
>
> Everyone has their preferences. Note also that along with the C-x 8
> map, you also get a set of A- bindings which might be easier to use
> (A- being ALT). And for yet more options: emacs-28 adds two new input
> methods, 'compose' and 'iso-translate', which correspond to the X11 Compose
> and C-x 8 methods, but without a prefix key. Choice is good :-)
>
> saint> BTW, all that is good provided you have a keyboard with an easy to use
> saint> bacquote character, since most of accents in Italian are grave ones.
>
> (keyboard-translate ?' ?`)
> (keyboard-translate ?` ?')
>
> (I have no idea what a real Italian keyboard looks like)
>
> Robert
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-15 16:28 ` steve-humphreys
@ 2021-01-15 16:57 ` Robert Pluim
2021-01-15 17:06 ` steve-humphreys
0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2021-01-15 16:57 UTC (permalink / raw)
To: steve-humphreys; +Cc: help-gnu-emacs, Gian Uberto Lauri, Leo Butler
>>>>> On Fri, 15 Jan 2021 17:28:11 +0100, steve-humphreys@gmx.com said:
steve-humphreys> Is there any command et insert letters with accent from my Emacs Init File
steve-humphreys> such as "e`"?.
Iʼm not sure I understand. If you want to programatically insert è,
then you just do
(insert ?è)
or even
(insert ?\N{LATIN SMALL LETTER E WITH GRAVE})
Robert
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-15 16:57 ` Robert Pluim
@ 2021-01-15 17:06 ` steve-humphreys
2021-01-18 15:09 ` Jean Louis
0 siblings, 1 reply; 14+ messages in thread
From: steve-humphreys @ 2021-01-15 17:06 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs, Gian Uberto Lauri, Leo Butler
Yes, that's what I liked to do. Thanks.
> Sent: Saturday, January 16, 2021 at 4:57 AM
> From: "Robert Pluim" <rpluim@gmail.com>
> To: steve-humphreys@gmx.com
> Cc: help-gnu-emacs@gnu.org, "Gian Uberto Lauri" <saint@eng.it>, "Leo Butler" <leo.butler@umanitoba.ca>
> Subject: Re: Writing article in italian
>
> >>>>> On Fri, 15 Jan 2021 17:28:11 +0100, steve-humphreys@gmx.com said:
>
> steve-humphreys> Is there any command et insert letters with accent from my Emacs Init File
> steve-humphreys> such as "e`"?.
>
> Iʼm not sure I understand. If you want to programatically insert è,
> then you just do
>
> (insert ?è)
>
> or even
>
> (insert ?\N{LATIN SMALL LETTER E WITH GRAVE})
>
> Robert
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Writing article in italian
2021-01-15 17:06 ` steve-humphreys
@ 2021-01-18 15:09 ` Jean Louis
0 siblings, 0 replies; 14+ messages in thread
From: Jean Louis @ 2021-01-18 15:09 UTC (permalink / raw)
To: steve-humphreys, Robert Pluim
Cc: help-gnu-emacs, Gian Uberto Lauri, Leo Butler
May use M-x set-input-method and M-x describe-input-method and try to find one of italian* input methods that work well your keyboard, so you will get scented letters easily. I use that all the time.
On January 15, 2021 5:06:51 PM UTC, steve-humphreys@gmx.com wrote:
>Yes, that's what I liked to do. Thanks.
>
>> Sent: Saturday, January 16, 2021 at 4:57 AM
>> From: "Robert Pluim" <rpluim@gmail.com>
>> To: steve-humphreys@gmx.com
>> Cc: help-gnu-emacs@gnu.org, "Gian Uberto Lauri" <saint@eng.it>, "Leo
>Butler" <leo.butler@umanitoba.ca>
>> Subject: Re: Writing article in italian
>>
>> >>>>> On Fri, 15 Jan 2021 17:28:11 +0100, steve-humphreys@gmx.com
>said:
>>
>> steve-humphreys> Is there any command et insert letters with
>accent from my Emacs Init File
>> steve-humphreys> such as "e`"?.
>>
>> Iʼm not sure I understand. If you want to programatically insert è,
>> then you just do
>>
>> (insert ?è)
>>
>> or even
>>
>> (insert ?\N{LATIN SMALL LETTER E WITH GRAVE})
>>
>> Robert
>>
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2021-01-18 15:09 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <trinity-134377bf-b769-4daa-97e4-a75707eca683-1610551723313@3c-app-mailcom-bs04>
2021-01-14 18:51 ` Writing article in italian steve-humphreys
2021-01-14 19:17 ` Eli Zaretskii
2021-01-14 19:41 ` steve-humphreys
2021-01-14 20:16 ` Eli Zaretskii
2021-01-14 20:24 ` Leo Butler
2021-01-14 20:38 ` steve-humphreys
2021-01-15 9:17 ` Robert Pluim
2021-01-15 10:10 ` Gian Uberto Lauri
2021-01-15 10:50 ` Robert Pluim
2021-01-15 16:28 ` steve-humphreys
2021-01-15 16:57 ` Robert Pluim
2021-01-15 17:06 ` steve-humphreys
2021-01-18 15:09 ` Jean Louis
2021-01-14 20:14 ` Leo Butler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).