Re: [fricas-devel] Struggling with OutputForm

2024-05-09 Thread Grégory Vanuxem
Hello, I looked more carefully at your suggestion, and, yes, 'pile' is very interesting for my purpose, but only in Format2D from what I have seen. Moreover it's not as simple as I like to switch to it, I didn't even know how. In algebra output "mode", look at this if I use the '=' operator.

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Grégory Vanuxem
Le mar. 7 mai 2024 à 13:41, Ralf Hemmecke a écrit : > On 5/7/24 13:22, Grégory Vanuxem wrote: > >> )set output algebra off > >> )set output formatted on > >> LOFC ==> List(OutputFormatterCategory) > >> setFormats!([Formatter Format2D] pretend LOFC)$FormattedOutput > >> pile(["long string",

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Ralf Hemmecke
On 5/7/24 13:22, Grégory Vanuxem wrote: )set output algebra off )set output formatted on LOFC ==> List(OutputFormatterCategory) setFormats!([Formatter Format2D] pretend LOFC)$FormattedOutput pile(["long string", "another long string"])$OutputForm It requires switching off algebra though,

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Grégory Vanuxem
Hello, Le mar. 7 mai 2024 à 11:16, Ralf Hemmecke a écrit : > > > is present in a string. Next, it's outputString in i-output.boot that > > needs a little tweaking for me. In fact, I've bypassed the part of the > > code that breaks lines. > > Well, you could set the output length to the maximum.

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Ralf Hemmecke
is present in a string. Next, it's outputString in i-output.boot that needs a little tweaking for me. In fact, I've bypassed the part of the code that breaks lines. Well, you could set the output length to the maximum. )set output length 245 There is also another option use Format2D. )set

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Grégory Vanuxem
Hi Waldek, Le lun. 6 mai 2024 à 18:17, Waldek Hebisch a écrit : > > On Mon, May 06, 2024 at 06:04:12PM +0200, Grégory Vanuxem wrote: > > No, it was just to be sure my string is good for Lisp. > > There is something fishy in your string, so you need to look at > it. PRINC is not good for this,

Re: [fricas-devel] Struggling with OutputForm

2024-05-06 Thread Waldek Hebisch
On Mon, May 06, 2024 at 06:04:12PM +0200, Grégory Vanuxem wrote: > No, it was just to be sure my string is good for Lisp. There is something fishy in your string, so you need to look at it. PRINC is not good for this, as it hides special characters. PRIN1 or maybe our PRETTYPRINT is better. If

Re: [fricas-devel] Struggling with OutputForm

2024-05-06 Thread Grégory Vanuxem
No, it was just to be sure my string is good for Lisp. Right now, the output with 'message': (3) -> b (3) 4×4 Matrix{BigFloat}: 0.371081 0.814431 0.0635363 0.0915533 0.545815 0.0246686 0.1221 0.182735 0.0559515 0.0243745 0.879007 0.17473 0. 232553 0.467648

Re: [fricas-devel] Struggling with OutputForm

2024-05-06 Thread Waldek Hebisch
On Mon, May 06, 2024 at 05:22:06PM +0200, Grégory Vanuxem wrote: > Hello, > > I am struggling with OutputForm and frankly I do not want to be angry > today. Maybe you have used it, even not a lot? My question is very > simple, how do I prevent OutputForm processing, or how to bypass > interpreter

[fricas-devel] Struggling with OutputForm

2024-05-06 Thread Grégory Vanuxem
Hello, I am struggling with OutputForm and frankly I do not want to be angry today. Maybe you have used it, even not a lot? My question is very simple, how do I prevent OutputForm processing, or how to bypass interpreter rules, just in case the interpreter has its own rules also, from memory I