Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #52521
| From | ErikRS <mac-dane@is.invalid> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Text Question |
| Date | 2013-11-23 01:14 +0100 |
| Organization | solani.org |
| Message-ID | <l6os1h$9ac$1@solani.org> (permalink) |
| References | <isw-9DE50A.12092018112013@[216.168.3.50]> <alpine.OSX.2.11.1311181521330.68657@mako.ath.cx> <isw-294A0A.22082618112013@[216.168.3.50]> |
isw wrote:
> David Ritz <dritz@mindspring.com> wrote:
>> isw <isw@witzend.com> wrote:
>>> I collect recipes. Of course, recipes frequently use amounts such as
>>> "1/2" or "1/4".
>>
>>> Sometimes, when I import recipes into Mac Gourmet from certain web
>>> sites, the fraction is sort of "compressed": the slash overlaps the
>>> digits in an odd way. Doesn't happen with many sites, but "Food
>>> Network" is one.
>>>
>>> Doing a manual edit to fix the problem, it appears that there is
>>> some invisible thing in there -- it takes three "delete" strokes to
>>> get rid of the 4 and the / of "1/4", for example.
>>
>> I believe you're asking about 8-bit characters, such as 1�2, ⅓, ,⅔ ¼
>> and ¾ (unicode 00BD, 2153, 2154, 00BC and 00BE).
>
> I don't think that's the problem. In fact, I have text substitution set
> up to replace "1/2" with the little one, and so forth. The replacement
> does not take place with the "raw" text, but does happen after I re-type
> the offending fraction, so I think that what is visible is not just a
> forward slash and a digit. Also, the need to do three "delete"
> operations to get rid of two visible glyphs ("/" and "4") is
> inconsistent with it being a single character.
I think David is on the right way here. MacGourmet isnot UTF-8 nor
UTF-16 compatible. It can handle various formats directly from a variaty
of website recipe libraries - those mostly based on HTML, XML or PDF but
also some various plain text sites. So it depends on from where you
import....
I had many problems solving these problems when I made the Danosh
translation of the MacGourmet 3.x and I gave up and just let the paths
stay 'as is' - including " / " ",/ ",/,' etc. and only translated the
text around these paths.
After saving the localization file I could then open it in XCode and fx.
correct a ",/," to " / " (the empty space represents a ciffer value from
0-9)
If it can help, the text parts of the 'engine' is nearly of same modus
as the one used in Apple Pages. But Mariner chose not to use Unicode as
the standard in MG3.x.
I'll suggest that you try to import to either Pages, NisusWriter Pro or
OpenOffice and 'clean' the text before saving as a PDF or TEXT file
which you then import to MacGourmet. - I know it's a kind of
double-work, but I think it's the only way to make a work-around. We
have the same problems in Danish where 1/2, 1/3, 1/4 3/4 etc are equal
to ⅓ ⅔ ¼ etc.
Cheers, Erik Richard
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Erik Richard Sørensen, Member of ADC, <mac-daneRE@MOVEstofanet.dk>
NisusWriter - The Future In Multilingual Text Processing - www.nisus.com
Openoffice.org - The Modern Productivity Solution - www.openoffice.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Text Question isw <isw@witzend.com> - 2013-11-18 12:09 -0800
Re: Text Question David Ritz <dritz@mindspring.com> - 2013-11-18 15:47 -0600
Re: Text Question isw <isw@witzend.com> - 2013-11-18 22:08 -0800
Re: Text Question ErikRS <mac-dane@is.invalid> - 2013-11-23 01:14 +0100
Re: Text Question Wes Groleau <Groleau+news@FreeShell.org> - 2013-11-19 01:40 -0500
Re: Text Question Salmon Egg <SalmonEgg@sbcglobal.net> - 2013-11-22 16:38 -0800
Re: Text Question isw <isw@witzend.com> - 2013-11-22 22:21 -0800
csiph-web