Hello,

First many public thanks to emacs-guru Seb. ! He gives me the necessary 
tips !
> In the mail archive I found a discussion about entering and publishing 
> mathematical formulas to html which dates bacck to the year 2005.  I am also 
> interested in entering and VIEWING mathemical formulas in a muse buffer.  Are 
> there currently any new developments in muse or modes compatible with muse 
> which facilitate these requirements.
>   
I'm also looking for having wysiswyg mathematical formulas with muse.
If I want perfect formulas I use latex or maths with muse...

Now I describe what I understand...

There are mathematical fonts in emacs by unicode.

With the default font I get the four roman, bold, italic, bold-italic 
fonts in emacs.
A lot of other fonts don't have this 4 styles. So I must keep this 
default font in emacs.
It's the  -Adobe-Courier-Medium-R-Normal--17-120-100-100-M-100-ISO8859-1
I get this information by [C-u C-x =] everywhere in the buffer.

But this font doesn't have mathematic utf char.

When I call "emacs -fn 10x20", this emacs-font has mathematics car.
I get them by (ucs-insert #x2200) = the \forall car. Range is from 
#2200=8704 to about 9000.
And muse-latex-mode eats them thanks to a \usepackage[utf8x]{inputenc} 
(or utf8 option)
But this font has no italic and no bold. I also get his complete name by 
[C-u C-x =] -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1 

The set-fontset-font emacs function links theses 2 fonts. It seems that 
the syntax depends of the emacs version.
[see (version) function in emacs.] I use the ubuntu emacs 22.2.1 version.

(set-fontset-font "fontset-default"  'mule-unicode-0100-24ff 
"-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1")

And I get AND italic AND bold AND bold-italic AND mathematics car !

Of corse there are no underscript and no superscript as \lim_{x\to 
0}x^x. Only one line writting...
But I feel it may be usefull (for me).

unicode has multi-lines ascii art mathematic caracters for \sum, \int 
and so but I'll not use them.

Then we may define new emacs-key as C-u\alpha for the (ucs-insert 
"alpha-code"), and so.

I prefer define emacs-key than face-translation because we can't 
overwrite a face_translation.
If I define the \alpha font-translation to alpha-utf-code-car I can't 
display \alpha in any muse file.

I'll also modify some muse-variable in order to print exactly what I see.
Thanks to Florian and Jean for your previous answers,
I find I must change muse-latex-header and muse-publish-markup-regexps.

F.

_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to