On Mon, Jul 11, 2022 at 11:16 AM Cottrell, Allin <cottrell(a)wfu.edu> wrote:
On Thu, Jul 7, 2022 at 3:38 PM Ignacio Diaz-Emparanza
<ignacio.diaz-emparanza(a)ehu.eus> wrote:
>
> I see that if I have a series with an underscore in the name, for example,
"PNB_SPAIN" and I make a graph and pass it to the graph page, the underscore is
interpreted as making a subscript (only for one character, the S in this example) in the
graph page. I guess this is unintentional and there is probably an escape character
missing somewhere right?
Thanks, Ignacio. I can confirm that effect. In the on-screen version
of the plot the underscore character appears as such, but in the graph
page version it invokes subscript mode. That's to do with the fact
that by default gnuplot goes into "enhanced" text mode. We should
either turn that off by passing the "noenhanced" option to gnuplot
when generating PDF graphs, or find a way to override enhanced mode
within a particular string.
The first of those two possibilities is now implemented in git. I
think you should find that underscores now appear as underscores in
graph page output.
Allin