all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to type math symbols in gnu emacs 2.12.19
@ 2011-02-16 18:18 a.efremov
  2011-02-16 20:26 ` Peter Dyballa
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: a.efremov @ 2011-02-16 18:18 UTC (permalink / raw
  To: help-gnu-emacs

Hello,
I run gnu emacs 2.12.19 on my linux f9 box. Upgrade is not an option
at least for a while. How I can type math symbols? No problem to
install additional el file. I'm not after for overkill solution but
rather for easy typing. Math symbols aren't my primary language I work
with. But sometimes usual i,j,k,l,m,n dont fit well or already in use.
It will be nice and more clear just type math. symbol on the go.
thank you in advance.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
  2011-02-16 18:18 how to type math symbols in gnu emacs 2.12.19 a.efremov
@ 2011-02-16 20:26 ` Peter Dyballa
       [not found] ` <mailman.15.1297888024.10461.help-gnu-emacs@gnu.org>
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2011-02-16 20:26 UTC (permalink / raw
  To: a.efremov; +Cc: help-gnu-emacs


Am 16.02.2011 um 19:18 schrieb a.efremov:

> I run gnu emacs 2.12.19 on my linux f9 box.

No, such an ancient version from the swinging sixties cannot be  
compiled today! (At least not a "linux f9 box".)

--
Greetings

   Pete

To drink without thirst and to make love all the time, madam, it is  
only these which distinguish us from the other beasts.
				– Beaumarchais




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
       [not found] ` <mailman.15.1297888024.10461.help-gnu-emacs@gnu.org>
@ 2011-02-16 22:19   ` a.efremov
  2011-02-17  1:30     ` Stefan Monnier
  0 siblings, 1 reply; 10+ messages in thread
From: a.efremov @ 2011-02-16 22:19 UTC (permalink / raw
  To: help-gnu-emacs

On Feb 16, 9:26 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 16.02.2011 um 19:18 schrieb a.efremov:
>
> > I run gnu emacs 2.12.19 on my linux f9 box.
>
> No, such an ancient version from the swinging sixties cannot be  
> compiled today! (At least not a "linux f9 box".)
>
> --
> Greetings
>
>    Pete
>
> To drink without thirst and to make love all the time, madam, it is  
> only these which distinguish us from the other beasts.
>                                 – Beaumarchais

Oh sorry, error in version, obvious. Emacs 22.2.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
  2011-02-16 18:18 how to type math symbols in gnu emacs 2.12.19 a.efremov
  2011-02-16 20:26 ` Peter Dyballa
       [not found] ` <mailman.15.1297888024.10461.help-gnu-emacs@gnu.org>
@ 2011-02-16 23:00 ` Peter Dyballa
       [not found] ` <mailman.29.1297897214.10461.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2011-02-16 23:00 UTC (permalink / raw
  To: a.efremov; +Cc: help-gnu-emacs


Am 16.02.2011 um 19:18 schrieb a.efremov:

> How I can type math symbols?


In which mode?

Can you consider installing GNU Emacs 23.2? It could make things easier.

--
Greetings

   Pete

If all else fails read the instructions.
				- Donald Knuth




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
  2011-02-16 22:19   ` a.efremov
@ 2011-02-17  1:30     ` Stefan Monnier
  0 siblings, 0 replies; 10+ messages in thread
From: Stefan Monnier @ 2011-02-17  1:30 UTC (permalink / raw
  To: help-gnu-emacs

> Oh sorry, error in version, obvious. Emacs 22.2.1

Then C-u C-\ TeX RET will put you in "TeX input method" where you can
enter math symbols using TeX notation.  I.e. just type \alpha to get
an α.


        Stefan


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
       [not found] ` <mailman.29.1297897214.10461.help-gnu-emacs@gnu.org>
@ 2011-02-17  1:47   ` a.efremov
  2011-02-17  9:41     ` Peter Dyballa
       [not found]     ` <mailman.1.1297935718.3842.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 10+ messages in thread
From: a.efremov @ 2011-02-17  1:47 UTC (permalink / raw
  To: help-gnu-emacs

On Feb 17, 12:00 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 16.02.2011 um 19:18 schrieb a.efremov:
>
> > How I can type math symbols?
>
> In which mode?
>
> Can you consider installing GNU Emacs 23.2? It could make things easier.

[self@galaxy7 emacs-23.2]$ ./configure --with-xpm=no --with-jpeg=no --
with-png=no --with-gif=no --with-tiff=no
checking for alloca... no
checking whether `alloca.c' needs Cray hooks... no
checking stack direction for C alloca... -1
configure: error: a system implementation of alloca is required

[self@galaxy7 emacs-23.2]$ rpm -ql glibc-headers-2.8-8.x86_64 | grep
alloca
/usr/include/alloca.h

It's not clear why alloca is not found. I'm not sure about emacs 23.2

I have emacs-22.2-5.fc9.x86_64 that's ok for me. I only look for  few
common math symbols

Copy/past in emacs doesnt work properly as well or it seems to have a
weird look. For some symbols it's just fine.

thank you,


def ≟(a: A)(implicit e: Equal[A]): Boolean

def ≠(a: A)(implicit e: Equal[A]): Boolean

def ≤(a: A)(implicit o: Order[A]): Boolean

def ≥(a: A)(implicit o: Order[A]): Boolean

def ≨(a: A)(implicit o: Order[A]): Boolean

def ≩(a: A)(implicit o: Order[A]): Boolean

def ≮(a: A)(implicit o: Order[A]): Boolean

def ≯(a: A)(implicit o: Order[A]): Boolean

def ≰(a: A)(implicit o: Order[A]): Boolean

def ≱(a: A)(implicit o: Order[A]): Boolean

def ⊹(a: ⇒ A)(implicit s: Semigroup[A]): A


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
  2011-02-17  1:47   ` a.efremov
@ 2011-02-17  9:41     ` Peter Dyballa
       [not found]     ` <mailman.1.1297935718.3842.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2011-02-17  9:41 UTC (permalink / raw
  To: a.efremov; +Cc: help-gnu-emacs


Am 17.02.2011 um 02:47 schrieb a.efremov:

> checking for alloca... no
> checking whether `alloca.c' needs Cray hooks... no
> checking stack direction for C alloca... -1
> configure: error: a system implementation of alloca is required


The file config.log can give you more details.


When the buffer's encoding is set to UTF-8 you can simply type the  
maths characters on your keyboard. When you set read-quoted-char-radix  
to 16 you can insert them by typing C-q 2 2 6 b <something not  
hexadecimal> or C-q 1 d 7 4 a <something not hexadecimal> to insert  
the character from this position in Unicode (U+226B or U+1D74A). UTF-8  
support is improved in GNU Emacs 23.x.


When you copy something in a modern windowing system, then not only  
some text is copied (and this text can be copied in many different  
coding systems) but also text attributes (bold, not upright, at 24  
pt). And this combination is inserted by pasting it into some buffer –  
in a different text encoding. Some customisation can be done in the  
windowing system and some in GNU Emacs.

--
Greetings

   Pete

There is no national science just as there is no national  
multiplication table; what is national is no longer science.
				– Anton Checov




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
       [not found]     ` <mailman.1.1297935718.3842.help-gnu-emacs@gnu.org>
@ 2011-02-17 12:13       ` a.efremov
  2011-02-17 13:07         ` Peter Dyballa
  2011-02-17 23:50         ` Tim X
  0 siblings, 2 replies; 10+ messages in thread
From: a.efremov @ 2011-02-17 12:13 UTC (permalink / raw
  To: help-gnu-emacs

On Feb 17, 10:41 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 17.02.2011 um 02:47 schrieb a.efremov:
>
> > checking for alloca... no
> > checking whether `alloca.c' needs Cray hooks... no
> > checking stack direction for C alloca... -1
> > configure: error: a system implementation of alloca is required
>
> The file config.log can give you more details.
>
> When the buffer's encoding is set to UTF-8 you can simply type the  
> maths characters on your keyboard. When you set read-quoted-char-radix  
> to 16 you can insert them by typing C-q 2 2 6 b <something not  
> hexadecimal> or C-q 1 d 7 4 a <something not hexadecimal> to insert  
> the character from this position in Unicode (U+226B or U+1D74A). UTF-8  
> support is improved in GNU Emacs 23.x.
>
> When you copy something in a modern windowing system, then not only  
> some text is copied (and this text can be copied in many different  
> coding systems) but also text attributes (bold, not upright, at 24  
> pt). And this combination is inserted by pasting it into some buffer –  
> in a different text encoding. Some customisation can be done in the  
> windowing system and some in GNU Emacs.
>
> --
> Greetings
>
>    Pete
>
> There is no national science just as there is no national  
> multiplication table; what is national is no longer science.
>                                 – Anton Checov

hello,

adding soft link definitely helps to build binary > ll /usr/lib64/
libX11.*
lrwxrwxrwx 1 root root      11 2011-02-17 12:46 /usr/lib64/libX11.so -
> libX11.so.6

emacs runs. Unicode symbols are ok on display. instead of just \xxx as
it was with emacs-22.
But. Menu doesnt work at all, emacs always pop up File-menu. then very
unfriendly black menu bar ..
[self@galaxy7 emacs-23.2]$ ldd /usr/local/bin/emacs
        linux-vdso.so.1 =>  (0x00007fffe01ff000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00000034ab000000)
        libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003898a00000)
        libm.so.6 => /lib64/libm.so.6 (0x00000034a8400000)
        libc.so.6 => /lib64/libc.so.6 (0x00000034a8000000)
        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003898200000)
        libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0
(0x00000034aac00000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00000034aa000000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000034a8800000)
        /lib64/ld-linux-x86-64.so.2 (0x00000034a6e00000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00000034aa800000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00000034aa400000)

I have a feeling that emacs is broken and doesnt work as expected. in
my configuration. Dont know what I should look at to spot the problem.

many thanks you for help,


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
  2011-02-17 12:13       ` a.efremov
@ 2011-02-17 13:07         ` Peter Dyballa
  2011-02-17 23:50         ` Tim X
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2011-02-17 13:07 UTC (permalink / raw
  To: a.efremov; +Cc: help-gnu-emacs


Am 17.02.2011 um 13:13 schrieb a.efremov:

> Dont know what I should look at to spot the problem.


Look at output of './configure --help' and set appropriate options.  
Study config.log.

Set X resources:

	Emacs*Background:	AliceBlue
	Emacs*BorderColor:	aquamarine
	Emacs*BorderWidth:	2
	Emacs*Foreground:	Black
	Emacs*bitmapIcon:	on
	Emacs*cursorColor:	OrangeRed2
	Emacs*pane.background:	LightCyan
	Emacs*pointerColor:	DarkOrchid4
	Emacs*tool-bar.attributeBackground:	honeydew1
	Emacs*toolBar:	0
	Emacs*verticalScrollBar.background:	LightSkyBlue1
	Emacs*verticalScrollBar.throughColor:	LightGrey
	Emacs*waitForWM:	false
	Emacs.FontBackend:	xft,ftx,x
	Emacs.dialog*.font:	-*-lucidatypewriter-bold-r-*-sans-9-*-*-*-*-*- 
iso10646-1
	Emacs.dialog*background:	RosyBrown4
	Emacs.dialog*borderColor:	yellow
	Emacs.dialog*borderWidth:	2
	Emacs.dialog*foreground:	SpringGreen3
	Emacs.font:	Lucida Sans Typewriter-6
	Emacs.menu*borderColor:	DeepSkyBlue
	Emacs.menu*borderWidth:	3
	Emacs.menu*shadowThickness:	3
	Emacs.menu.attributeBackground:	lavender
	Emacs.menu.attributeForeground:	DarkRed
	Emacs.pane.dialog.faceName:	Bauhaus-9:style=Regular
	Emacs.pane.menubar.faceName:	Libris ADF Std-9:style=Bold
	Emacs.pane.menubar.margin:	2
	Emacs.pane.menubar.shadowThickness:	3

or set up a gtkrc file (depending on the X toolkit used).

Read GNU Emacs (and possibly GTK) documentation.

--
Greetings

   Pete

Wasting time is an important part of living.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: how to type math symbols in gnu emacs 2.12.19
  2011-02-17 12:13       ` a.efremov
  2011-02-17 13:07         ` Peter Dyballa
@ 2011-02-17 23:50         ` Tim X
  1 sibling, 0 replies; 10+ messages in thread
From: Tim X @ 2011-02-17 23:50 UTC (permalink / raw
  To: help-gnu-emacs

"a.efremov" <a.efremov@javasmith.org> writes:

> On Feb 17, 10:41 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
>> Am 17.02.2011 um 02:47 schrieb a.efremov:
>>
>> > checking for alloca... no
>> > checking whether `alloca.c' needs Cray hooks... no
>> > checking stack direction for C alloca... -1
>> > configure: error: a system implementation of alloca is required
>>
>> The file config.log can give you more details.
>>
>> When the buffer's encoding is set to UTF-8 you can simply type the  
>> maths characters on your keyboard. When you set read-quoted-char-radix  
>> to 16 you can insert them by typing C-q 2 2 6 b <something not  
>> hexadecimal> or C-q 1 d 7 4 a <something not hexadecimal> to insert  
>> the character from this position in Unicode (U+226B or U+1D74A). UTF-8  
>> support is improved in GNU Emacs 23.x.
>>
>> When you copy something in a modern windowing system, then not only  
>> some text is copied (and this text can be copied in many different  
>> coding systems) but also text attributes (bold, not upright, at 24  
>> pt). And this combination is inserted by pasting it into some buffer –  
>> in a different text encoding. Some customisation can be done in the  
>> windowing system and some in GNU Emacs.
>>
>> --
>> Greetings
>>
>>    Pete
>>
>> There is no national science just as there is no national  
>> multiplication table; what is national is no longer science.
>>                                 – Anton Checov
>
> hello,
>
> adding soft link definitely helps to build binary > ll /usr/lib64/
> libX11.*
> lrwxrwxrwx 1 root root      11 2011-02-17 12:46 /usr/lib64/libX11.so -
>> libX11.so.6
>
> emacs runs. Unicode symbols are ok on display. instead of just \xxx as
> it was with emacs-22.
> But. Menu doesnt work at all, emacs always pop up File-menu. then very
> unfriendly black menu bar ..
> [self@galaxy7 emacs-23.2]$ ldd /usr/local/bin/emacs
>         linux-vdso.so.1 =>  (0x00007fffe01ff000)
>         libX11.so.6 => /usr/lib64/libX11.so.6 (0x00000034ab000000)
>         libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003898a00000)
>         libm.so.6 => /lib64/libm.so.6 (0x00000034a8400000)
>         libc.so.6 => /lib64/libc.so.6 (0x00000034a8000000)
>         libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003898200000)
>         libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0
> (0x00000034aac00000)
>         libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00000034aa000000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00000034a8800000)
>         /lib64/ld-linux-x86-64.so.2 (0x00000034a6e00000)
>         libXau.so.6 => /usr/lib64/libXau.so.6 (0x00000034aa800000)
>         libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00000034aa400000)
>
> I have a feeling that emacs is broken and doesnt work as expected. in
> my configuration. Dont know what I should look at to spot the problem.
>
Many modern Linux distributions that use a package system have the
ability to ensure necessary dev libraries and other required tools for
building a package are installed and will install them if there not. 

For example, under Debian based systems, you have apt-get --build-dep
<package> which will install all the necessary build dependencies for a
package. This can be very useful when you want to build a later version
from sources as it takes away some of the pain of ensuring all necessary
packages are installed. 

So, when I wanted to build emacs 24 from sources, the first thing I did
was run 

apt-get --build-dep emacs23

which ensured all the necessary packages to build emacs 23 were
installed. Then all I had to do was manually add any new libraries used
by emacs 24 (in this case, there were none). 

I believe (from memory) rpm has a similar facility. Recommend you look
into it as it will help ensure your system has the necessary libs for
building emacs - may make life easier. 

If you still have problems, check the config.log file. It will tell you
what was not available and what you may still need to install.

Tim


-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-02-17 23:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 18:18 how to type math symbols in gnu emacs 2.12.19 a.efremov
2011-02-16 20:26 ` Peter Dyballa
     [not found] ` <mailman.15.1297888024.10461.help-gnu-emacs@gnu.org>
2011-02-16 22:19   ` a.efremov
2011-02-17  1:30     ` Stefan Monnier
2011-02-16 23:00 ` Peter Dyballa
     [not found] ` <mailman.29.1297897214.10461.help-gnu-emacs@gnu.org>
2011-02-17  1:47   ` a.efremov
2011-02-17  9:41     ` Peter Dyballa
     [not found]     ` <mailman.1.1297935718.3842.help-gnu-emacs@gnu.org>
2011-02-17 12:13       ` a.efremov
2011-02-17 13:07         ` Peter Dyballa
2011-02-17 23:50         ` Tim X

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.