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


Groups > comp.sys.mac.system > #71660

Re: Searching for "fraction slash"

From Savageduck <savageduck1@{REMOVESPAM}me.com>
Newsgroups comp.sys.mac.system
Date 2015-03-19 22:36 -0700
Message-ID <2015031922360580145-savageduck1@REMOVESPAMme.com> (permalink)
References <isw-D2F299.20370819032015@news-roam.garlic.com>
Subject Re: Searching for "fraction slash"

Show all headers | View raw


On 2015-03-20 03:37:08 +0000, isw said:

> I collect recipes. I use a database app (MacGourmet) to index them, and
> for that and other reasons, I like them to be very regular in
> appearance. (Do you have any idea how many different ways there are to
> abbreviate "tablespoons"?) I have a nifty AppleScript that runs through
> a recipe and does a whole lot of substitutions to regularize things.
> 
> Of course, recipe amounts frequently include fractions -- "1/2 tsp.",
> for example. Some of the recipes -- usually copied from web pages, where
> they look just fine -- have a weird appearance when opened in something
> like TextEdit where the three glyphs of the fraction run together and
> overlap.
> 
> TextEdit displays the fractions as overlapping, but it is not possible
> to select only the slash -- if you put the cursor over the slash of
> "1/2" and move it one way you select the "1", and the other you select
> the "2", but you can't highlight only the slash. Odd.
> 
> I opened one of the recipes with a hex editor, and found that the
> location of the slash contains "\u8260 ". A search revealed that is
> "&frasl" in HTML, which is evidently a "fraction slash". The Mac's
> Character Viewer thinks that "fraction slash" is U+0066, for what that
> is worth.
> 
> So all I want to do is find the thing so it can be replaced by a
> "regular" slash, but I need to know what to tell the AppleScript to look
> for, and I don't know how to do that.
> 
> Suggestions?
> 
> Isaac

In System Preferences Keyboard->Text there are options to set some 
fractions. On my Mac "1"+"/"+"2" will print ½ the same goes for ¼.

For a keystroke fraction slash rather than a forward slash "/" use 
option-shift+1 to give you a " ⁄ ", and thus 1⁄2, 3⁄4, 3⁄8 etc. instead 
of 3/4, 3/8. The difference is subtle with slight compression between 
the numerals and the slash. It is hardly worth the effort.

-- 
Regards,

Savageduck

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Searching for "fraction slash" isw <isw@witzend.com> - 2015-03-19 20:37 -0700
  Re: Searching for "fraction slash" Your Name <YourName@YourISP.com> - 2015-03-20 18:22 +1200
    Re: Searching for "fraction slash" isw <isw@witzend.com> - 2015-03-20 10:59 -0700
  Re: Searching for "fraction slash" Savageduck <savageduck1@{REMOVESPAM}me.com> - 2015-03-19 22:36 -0700
  Re: Searching for "fraction slash" Jolly Roger <jollyroger@pobox.com> - 2015-03-20 13:48 +0000
    Re: Searching for "fraction slash" -- solved isw <isw@witzend.com> - 2015-03-20 15:08 -0700
      Re: Searching for "fraction slash" -- solved Savageduck <savageduck1@{REMOVESPAM}me.com> - 2015-03-20 16:40 -0700
        Re: Searching for "fraction slash" -- solved Your Name <YourName@YourISP.com> - 2015-03-21 13:19 +1200
          Re: Searching for "fraction slash" -- solved Savageduck <savageduck1@{REMOVESPAM}me.com> - 2015-03-20 18:08 -0700
        Re: Searching for "fraction slash" -- solved isw <isw@witzend.com> - 2015-03-20 20:21 -0700
      Re: Searching for "fraction slash" -- solved Jolly Roger <jollyroger@pobox.com> - 2015-03-21 00:03 +0000
        Re: Searching for "fraction slash" -- solved isw <isw@witzend.com> - 2015-03-20 20:20 -0700
          Re: Searching for "fraction slash" -- solved Jolly Roger <jollyroger@pobox.com> - 2015-03-21 12:48 +0000
            Re: Searching for "fraction slash" -- solved isw <isw@witzend.com> - 2015-03-21 21:47 -0700
              Re: Searching for "fraction slash" -- solved Your Name <YourName@YourISP.com> - 2015-03-22 18:00 +1200
              Re: Searching for "fraction slash" -- solved Jolly Roger <jollyroger@pobox.com> - 2015-03-22 12:15 +0000
                Re: Searching for "fraction slash" -- solved Michelle Steiner <michelle@michelle.org> - 2015-03-22 08:39 -0700
                Re: Searching for "fraction slash" -- solved Jolly Roger <jollyroger@pobox.com> - 2015-03-22 15:47 +0000
                Re: Searching for "fraction slash" -- solved Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-23 02:54 +0000
                Re: Searching for "fraction slash" -- solved dempson@actrix.gen.nz (David Empson) - 2015-03-23 16:51 +1300
                Re: Searching for "fraction slash" -- solved Michelle Steiner <michelle@michelle.org> - 2015-03-22 21:42 -0700
                Re: Searching for "fraction slash" -- solved Jolly Roger <jollyroger@pobox.com> - 2015-03-23 13:25 +0000
                Re: Searching for "fraction slash" -- solved Jolly Roger <jollyroger@pobox.com> - 2015-03-23 13:23 +0000
                Re: Searching for "fraction slash" -- solved isw <isw@witzend.com> - 2015-03-22 21:27 -0700
      Re: Searching for "fraction slash" -- solved Your Name <YourName@YourISP.com> - 2015-03-21 13:19 +1200
        Re: Searching for "fraction slash" -- solved isw <isw@witzend.com> - 2015-03-20 20:16 -0700
          Re: Searching for "fraction slash" -- solved Jolly Roger <jollyroger@pobox.com> - 2015-03-21 12:40 +0000
          Re: Searching for "fraction slash" -- solved Your Name <YourName@YourISP.com> - 2015-03-22 09:57 +1200
            Re: Searching for "fraction slash" -- solved isw <isw@witzend.com> - 2015-03-21 22:09 -0700
              Re: Searching for "fraction slash" -- solved Your Name <YourName@YourISP.com> - 2015-03-22 19:19 +1200

csiph-web