|
From: Stavros M. <mac...@gm...> - 2025-07-07 22:03:20
|
Anyway, what I would prefer *instead* of coloring would be better
indentation, to make it easy to see the structure. In this example:
(%i1) set_plot_option ([grid, 30, 40]);
(%o1)
[[plot_format, gnuplot_pipes],
[grid, 30, 40],
[run_viewer, true],
[axes, true],
[nticks, 29],
[adapt_depth, 5],
[color, blue, red, green, magenta, black, cyan],
[point_type, bullet, box, triangle, plus, times, asterisk],
[palette, [gradient, green, cyan, blue, violet],
[gradient, magenta, violet, blue, cyan, green, yellow, orange,
red, brown, black]],
[gnuplot_preamble, ???], <<< should be *""*
[gnuplot_term, default]]
Sadly, *grind*, which you might think could produce this, does not.
On Mon, Jul 7, 2025 at 5:38 PM Stavros Macrakis <mac...@gm...> wrote:
> Ah, that does look terrible. I guess the idea was that command-like
> symbols (plot_format, grid, etc.) would be highlighted differently from
> arguments. But why are box and triangle in command color?
>
> I'm not a huge fan of syntax colorization, and if it's got to be done, why
> are we using such garish colors?
>
> Anyway, what I would prefer *instead* of coloring would be better
> indentation, to make it easy to see the structure. In this example:
>
> (%i1) set_plot_option ([grid, 30, 40]);
> (%o1) [[plot_format, gnuplot_pipes], [grid, 30, 40],
> [run_viewer, true], [axes, true], [nticks, 29], [adapt_depth, 5],
> [color, blue, red, green, magenta, black, cyan],
> [point_type, bullet, box, triangle, plus, times, asterisk],
> [palette, [gradient, green, cyan, blue, violet],
> [gradient, magenta, violet, blue, cyan, green, yellow, orange,
> red, brown, black]], [gnuplot_preamble, ], [gnuplot_term, default]]
>
>
> On Mon, Jul 7, 2025 at 4:52 PM Jaime Villate via Maxima-discuss <
> max...@li...> wrote:
>
>>
>> On 07/07/25 21:25, Raymond Toy wrote:
>>
>> On 7/7/25 12:48 PM, Jaime Villate via Maxima-discuss wrote:
>>
>> Hello,
>>
>> The syntax coloring in the HTML version of the manual seems very odd to
>> me. Some random keywords appear in red or blue. In my opinion, it would
>> look better without any coloring at all.
>>
>> Can you point out an example of this?
>>
>> Sure, look at the attachment.
>>
>> Regards,
>>
>> Jaime
>> _______________________________________________
>> Maxima-discuss mailing list
>> Max...@li...
>> https://lists.sourceforge.net/lists/listinfo/maxima-discuss
>>
>
|