[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled |
Date: |
Thu, 12 May 2016 18:45:42 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Update of bug #47907 (project octave):
Category: Plotting => Plotting with OpenGL
Item Group: Crash => Incorrect Result
Status: None => Need Info
Operating System: Microsoft Windows => Any
Summary: Plot with tex legend => TeX rgb color syntax not
handled
_______________________________________________________
Follow-up Comment #1:
Thanks for your bug report. For the future, bug reports that contain multiple
issues are hard to deal with, it is much better and easier for us if separate
issues are reported individually. I'll do my best to address these.
1. I think this is a known problem, looks exactly like bug #44338. Thanks for
confirming.
2. Your submitted files show that bold works, but your color syntax doesn't
work, that may be a bug.
The following syntax does work
plot (1:10); legend ('\color{red}{\bf a line}');
if that is a viable workaround for you.
3. I don't see any transparency, it looks like a solid legend box to me with
no visible grid lines. Am I reading this wrong or looking at the attached
image wrong?
So I'm retitling this to the single remaining issue, that appears to be a TeX
color syntax that doesn't work.
I'm not TeX expert, so bowing out now, but here are a couple of simple
examples.
This works in Octave
axes ()
axis ([0, 10, 0, 10]);
text (5, 5, '\color{red}{Hello world}');
But the following does not work, using the syntax provided by the OP in this
bug report.
axes ()
axis ([0, 10, 0, 10]);
text (5, 5, '\color{[1 0 0]}{Hello world}');
Is this valid TeX syntax? Is this syntax supported by Octave?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47907>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47907] Plot with tex legend, anonymous, 2016/05/12
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled,
Mike Miller <=
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled, Michael Godfrey, 2016/05/12
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled, Mike Miller, 2016/05/12
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled, Rik, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Rik, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Rik, 2016/05/24