[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56338] [wish] Automatically escape Latex spec
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #56338] [wish] Automatically escape Latex special character when using -pdflatex for printing |
Date: |
Sat, 18 May 2019 15:00:35 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #56338 (project octave):
Severity: 3 - Normal => 1 - Wish
Item Group: Other => Feature Request
Status: None => Confirmed
Release: 5.1.0 => dev
Summary: printing the pie chart with -pdflatex does not
escape the %-sign => [wish] Automatically escape Latex special character when
using -pdflatex for printing
_______________________________________________________
Follow-up Comment #1:
The responsibility for handling Latex special characters belongs to the
programmer, rather than Octave. "help print" for -pdflatex says.
The text that is written to
the LaTeX file contains the strings *exactly* as they
were specified in the plot. If any special characters of
the TeX mode interpreter were used, the file must be
edited before LaTeX processing. Specifically, the
special characters must be enclosed with dollar signs
('$ ... $'), and other characters that are recognized by
LaTeX may also need editing (e.g., braces).
It might be possible to write some sort of script, in Octave or in a more
text-oriented language like Perl, that uses regular expressions to
automatically protect special characters.
This seems like a feature request.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56338>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/