From: sfeam (E. Merritt) <eam...@gm...> - 2011-10-23 17:41:44
|
On Saturday, 22 October 2011, pl...@pi... wrote: > http://piments.com/tmp/opera-tabs.png > > The three files here are: > 1. A web based URL with an svg from gnuplot before recent changes. > 2. An html wrapper on a local server that opera decides to display the > whole URL not the fn. > 3. File with "name" based top level svg title. So Firefox chooses to display different things, depending on exactly how you point it at the file. And other browsers make other choices. I think you are presenting a good case that we should not spend too much effort worrying about the <title> attribute. > [the] correct place to set this would seem to be when the file is opened, > ie as an option to set output. > Could you comment on whether that would fit the logic of more complex > plots? "set output" deals only with controlling the output stream. It knows nothing about the current terminal type or plot attributes. The one thing the program remembers after a "set output" command is the filename, which indeed is what the PostScript terminal currently uses as a title. But for other terminals it may make no sense at all. Consider: set output '|display png:-' Not very useful as a plot or window title :-) Is your objection to using the current command "set title" only that the title might not fit in a browser index tab? Ethan |