Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13554 > unrolled thread

Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica 9

Started byMurray Eisenberg <murray@math.umass.edu>
First post2013-02-19 06:09 +0000
Last post2013-02-24 04:31 +0000
Articles 4 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica 9 Murray Eisenberg <murray@math.umass.edu> - 2013-02-19 06:09 +0000
    Re: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica awnl <awnl@gmx-topmail.de> - 2013-02-19 23:52 +0000
    Re: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica Murray Eisenberg <murray@math.umass.edu> - 2013-02-21 03:26 +0000
    Re: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica Ingolf Dahl <ingolf.dahl@telia.com> - 2013-02-24 04:31 +0000

#13554 — Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica 9

FromMurray Eisenberg <murray@math.umass.edu>
Date2013-02-19 06:09 +0000
SubjectIngolf Dahl's "SetFaceAndFont" palette broken in Mathematica 9
Message-ID<kfv4uq$3fr$1@smc.vnet.net>
This refers to Ingolf Dahl's palette SetFaceAndFont -- see:

   http://www.familydahl.se/mathematica/#SetFaceAndFont

I've been using it for some years as the quickest way to apply various 
formatting to selected text. E.g., in a Text cell select a Mathematica 
name and click the palette's button that changes the font to Courier. Or 
select some text and change its font to Times Italic. Or change the 
background color for the selection to a light yellow.

But with Mathematica 9 (or at least 9.0.1), clicking one of the 
palette's buttons now applies the effect to the entire cell -- not just 
to the selection.

Has anybody else experienced this? What might be the reason for the 
change in behavior and how might it be fixed?

---
Murray Eisenberg                                    murray@math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305





[toc] | [next] | [standalone]


#13558 — Re: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica

Fromawnl <awnl@gmx-topmail.de>
Date2013-02-19 23:52 +0000
SubjectRe: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica
Message-ID<kg137l$86e$1@smc.vnet.net>
In reply to#13554
Am 19.02.2013 07:09, schrieb Murray Eisenberg:
> This refers to Ingolf Dahl's palette SetFaceAndFont -- see:
>
>     http://www.familydahl.se/mathematica/#SetFaceAndFont
>
> I've been using it for some years as the quickest way to apply various
> formatting to selected text. E.g., in a Text cell select a Mathematica
> name and click the palette's button that changes the font to Courier. Or
> select some text and change its font to Times Italic. Or change the
> background color for the selection to a light yellow.
>
> But with Mathematica 9 (or at least 9.0.1), clicking one of the
> palette's buttons now applies the effect to the entire cell -- not just
> to the selection.
>
> Has anybody else experienced this? What might be the reason for the
> change in behavior and how might it be fixed?

I think this is a bug/inconsistancy of version 9. The following 
simplification shows the problem:

Button["Courier12",
   SetOptions[NotebookSelection[InputNotebook[]], FontSlant -> "Plain",
     FontFamily -> "Courier", FontWeight -> "Plain", FontSize -> 12],
   Evaluator -> None
   ] // CreatePalette

pressing the button with a selection in another notebook behaves 
different in version 9 to previous versions, and I think the 
version-9-behavior is wrong. I don't have an idea how to fix this, though...

hth,

albert


[toc] | [prev] | [next] | [standalone]


#13567 — Re: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica

FromMurray Eisenberg <murray@math.umass.edu>
Date2013-02-21 03:26 +0000
SubjectRe: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica
Message-ID<kg4461$r5m$1@smc.vnet.net>
In reply to#13554
Thanks! I'm reporting this as a bug to support@wolfram.com.


On Feb 19, 2013, at 6:53 PM, awnl <awnl@gmx-topmail.de> wrote:

> Am 19.02.2013 07:09, schrieb Murray Eisenberg:
>> This refers to Ingolf Dahl's palette SetFaceAndFont -- see:
>>
>>    http://www.familydahl.se/mathematica/#SetFaceAndFont
>>
>> I've been using it for some years as the quickest way to apply various
>> formatting to selected text. E.g., in a Text cell select a Mathematica
>> name and click the palette's button that changes the font to Courier. Or
>> select some text and change its font to Times Italic. Or change the
>> background color for the selection to a light yellow.
>>
>> But with Mathematica 9 (or at least 9.0.1), clicking one of the
>> palette's buttons now applies the effect to the entire cell -- not just
>> to the selection.
>>
>> Has anybody else experienced this? What might be the reason for the
>> change in behavior and how might it be fixed?
>
> I think this is a bug/inconsistancy of version 9. The following
> simplification shows the problem:
>
> Button["Courier12",
>   SetOptions[NotebookSelection[InputNotebook[]], FontSlant -> "Plain",
>     FontFamily -> "Courier", FontWeight -> "Plain", FontSize -> 12],
>   Evaluator -> None
>   ] // CreatePalette
>
> pressing the button with a selection in another notebook behaves
> different in version 9 to previous versions, and I think the
> version-9-behavior is wrong. I don't have an idea how to fix this, though...
>
> hth,
>
> albert
>
>

---
Murray Eisenberg                                    murray@math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305





[toc] | [prev] | [next] | [standalone]


#13592 — Re: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica

FromIngolf Dahl <ingolf.dahl@telia.com>
Date2013-02-24 04:31 +0000
SubjectRe: Ingolf Dahl's "SetFaceAndFont" palette broken in Mathematica
Message-ID<kgc533$gas$1@smc.vnet.net>
In reply to#13554
Unfortunately I have not version 9.0.1 available yet, so I cannot check or
correct the behavior of my "SetFaceAndFont" palette. In my earlier version
it works. When I can, I will try to make a new version of the palette. It is
nice to hear that some find it useful.

Ingolf Dahl

> -----Original Message-----
> From: Murray Eisenberg [mailto:murray@math.umass.edu]
> Sent: den 21 februari 2013 04:28
> To: mathgroup@smc.vnet.net
> Subject: Re: Ingolf Dahl's "SetFaceAndFont" palette broken in
Mathematica
> 
> Thanks! I'm reporting this as a bug to support@wolfram.com.
> 
> 
> On Feb 19, 2013, at 6:53 PM, awnl <awnl@gmx-topmail.de> wrote:
> 
> > Am 19.02.2013 07:09, schrieb Murray Eisenberg:
> >> This refers to Ingolf Dahl's palette SetFaceAndFont -- see:
> >>
> >>    http://www.familydahl.se/mathematica/#SetFaceAndFont
> >>
> >> I've been using it for some years as the quickest way to apply
> >> various formatting to selected text. E.g., in a Text cell select a
> >> Mathematica name and click the palette's button that changes the font
> >> to Courier. Or select some text and change its font to Times Italic.
> >> Or change the background color for the selection to a light yellow.
> >>
> >> But with Mathematica 9 (or at least 9.0.1), clicking one of the
> >> palette's buttons now applies the effect to the entire cell -- not
> >> just to the selection.
> >>
> >> Has anybody else experienced this? What might be the reason for the
> >> change in behavior and how might it be fixed?
> >
> > I think this is a bug/inconsistancy of version 9. The following
> > simplification shows the problem:
> >
> > Button["Courier12",
> >   SetOptions[NotebookSelection[InputNotebook[]], FontSlant -> "Plain",
> >     FontFamily -> "Courier", FontWeight -> "Plain", FontSize -> 12],
> >   Evaluator -> None
> >   ] // CreatePalette
> >
> > pressing the button with a selection in another notebook behaves
> > different in version 9 to previous versions, and I think the
> > version-9-behavior is wrong. I don't have an idea how to fix this,
though...
> >
> > hth,
> >
> > albert
> >
> >
> 
> ---
> Murray Eisenberg                                    murray@math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower            phone 413 549-1020 (H)
> University of Massachusetts                               413 545-2838 (W)
> 710 North Pleasant Street                         fax   413 545-1801
> Amherst, MA 01003-9305
> 
> 
> 
> 
> 


[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web