Hello,

Perusing the source code, I stumbled upon this:

TeXmacs-1.99.1-src/src/Data/String/analyze.cpp:540:
===========================

   string
   roman_nr (int nr) {
     if (nr<0) return "-" * roman_nr(nr);


Should't it rather be:

     if (nr<0) return "-" * roman_nr( - nr);
                                      ^
                                      ?

Similarly, in lines 558 through 560:

   string
   alpha_nr (int nr) {
     if (nr<0) return "-" * alpha_nr(nr);

Shouldn't it be "-nr" for the last occurence of "nr"?


I tested it by typing into a document:

  \number <enter> -1 <right> roman <enter>

Texmacs crashed.

Regards,
Enrique

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to