POV-Ray : Newsgroups : povray.unofficial.patches : Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks Server Time
4 Dec 2024 02:45:11 EST (-0500)
  Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks (Message 1 to 9 of 9)  
From: David
Subject: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 4 May 2014 14:35:01
Message: <web.536687e44fb803b5726a91180@news.povray.org>
I've installed povray3_7_unofficial on my Mavericks mac laptop. When I open a
new file and try to use the double quotes key on my keyboard, I get:



After saving the file as demo.pos, when I try to render the file, I get this
error message.

"/Users/davidarnold/Documents/temp/demo.pov" line 1 Parse Error: Illegal
character in input file, value is d2.

Now if I create this code in BBEdit, save the file as demo.pov, then open it in
POVRay3_7_Unofficial, it looks like this:

include "colors.inc"
include "stones.inc"
And it renders just fine.

Why isn't the quotation key on my Mavericks Mac keyboard giving me the correct
quotation symbol in POVRay3_7_Unofficial? I also tried using Courier and
Helvetica, to no avail or difference.

David.


Post a reply to this message

From: Yvo Smellenbergh
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 5 May 2014 12:57:05
Message: <1ll6sbf.1srruyt6nhaf6N%yvo.s@cancel_This_gmx.net>
"David" <nomail@nomail> wrote:

Can you please tell me what you have selected in "Input Sources" on the
system Keyboard sytem preferences panel?

I don't see why you get '"' and then '‰' if you use the same key.
And it only happens after saving the file?
Nobody ever reported this... 

Yvo

> I've installed povray3_7_unofficial on my Mavericks mac laptop. When I
> open a new file and try to use the double quotes key on my keyboard, I
> get:
> 
> include "color.inc‰ include "stones.inc‰ After saving the file as
> demo.pos, when I try to render the file, I get this error message.
> 
> "/Users/davidarnold/Documents/temp/demo.pov" line 1 Parse Error: Illegal
> character in input file, value is d2.
> 
> Now if I create this code in BBEdit, save the file as demo.pov, then open
> it in POVRay3_7_Unofficial, it looks like this:
> 
> include "colors.inc" include "stones.inc" And it renders just fine.
> 
> Why isn't the quotation key on my Mavericks Mac keyboard giving me the
> correct quotation symbol in POVRay3_7_Unofficial? I also tried using
> Courier and Helvetica, to no avail or difference.
> 
> David.


-- ----------------------------------- MegaPOV at:
http://megapov.inetart.net MacMegaPOV at:
http://users.skynet.be/smellenbergh E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

From: Le Forgeron
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 5 May 2014 14:22:16
Message: <5367d6d8$1@news.povray.org>
Le 05/05/2014 18:57, Yvo Smellenbergh nous fit lire :
> "David" <nomail@nomail> wrote:
> 
> Can you please tell me what you have selected in "Input Sources" on the
> system Keyboard sytem preferences panel?
> 
> I don't see why you get '"' and then '‰' if you use the same key.
> And it only happens after saving the file?
> Nobody ever reported this... 
> 

In original message, I saw opening-quote and closing-quote (whereas
povray only wants straight-quote). Can it be related to editor mode or
something like that on Mac ?

If I was to see the same thing on my language, hitting:
#include "foo.inc"
would turns into
#include «foo.inc»
(which is also a no-no for povray)

(yep, I'm French, quotes are different) (and I have no Mac).

The issue is not the fonts, but the encoding (utf8 ?) generated by the "
key. Some smart layer is trying to make that an English text.

> Yvo
> 
>> I've installed povray3_7_unofficial on my Mavericks mac laptop. When I
>> open a new file and try to use the double quotes key on my keyboard, I
>> get:
>>
>> include "color.inc‰ include "stones.inc‰ After saving the file as
>> demo.pos, when I try to render the file, I get this error message.
>>
>> "/Users/davidarnold/Documents/temp/demo.pov" line 1 Parse Error: Illegal
>> character in input file, value is d2.
>>
>> Now if I create this code in BBEdit, save the file as demo.pov, then open
>> it in POVRay3_7_Unofficial, it looks like this:
>>
>> include "colors.inc" include "stones.inc" And it renders just fine.
>>
>> Why isn't the quotation key on my Mavericks Mac keyboard giving me the
>> correct quotation symbol in POVRay3_7_Unofficial? I also tried using
>> Courier and Helvetica, to no avail or difference.
>>
>> David.
> 
> 
> -- ----------------------------------- MegaPOV at:
> http://megapov.inetart.net MacMegaPOV at:
> http://users.skynet.be/smellenbergh E-mail: yvo(DOT)s(AT)gmx.net
>


Post a reply to this message

From: David
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 5 May 2014 16:35:01
Message: <web.5367f5c53fdee6cd77f09c70@news.povray.org>
> Can you please tell me what you have selected in "Input Sources" on the
> system Keyboard sytem preferences panel?

Answer: U.S.

Which stands for United States. Macbook Pro, Mavericks.


> I don't see why you get '"' and then '‰' if you use the same key.
> And it only happens after saving the file?

I open a New file from the File menu in the POVRary3_7_Unofficial software. I
then enter:



using the double quote key just  nest to the Resturn key on my Macbook Pro
keyboard.

Then I save the file as demo.pov.

Then I render, and I get this error:

"/Users/davidarnold/Documents/temp/demo.pov"
 line 1
Parse Error: Illegal character in input file, value is d2.

If I open a new file and save it as demo.pov, then enter the code



I get the same error.

D.


yvo### [at] cancel_This_gmxnet (Yvo Smellenbergh) wrote:
> "David" <nomail@nomail> wrote:
>
> Can you please tell me what you have selected in "Input Sources" on the
> system Keyboard sytem preferences panel?
>
> I don't see why you get '"' and then '‰' if you use the same key.
> And it only happens after saving the file?
> Nobody ever reported this...
>
> Yvo
>
> > I've installed povray3_7_unofficial on my Mavericks mac laptop. When I
> > open a new file and try to use the double quotes key on my keyboard, I
> > get:
> >
> > include "color.inc‰ include "stones.inc‰ After saving the file as
> > demo.pos, when I try to render the file, I get this error message.
> >
> > "/Users/davidarnold/Documents/temp/demo.pov" line 1 Parse Error: Illegal
> > character in input file, value is d2.
> >
> > Now if I create this code in BBEdit, save the file as demo.pov, then open
> > it in POVRay3_7_Unofficial, it looks like this:
> >
> > include "colors.inc" include "stones.inc" And it renders just fine.
> >
> > Why isn't the quotation key on my Mavericks Mac keyboard giving me the
> > correct quotation symbol in POVRay3_7_Unofficial? I also tried using
> > Courier and Helvetica, to no avail or difference.
> >
> > David.
>
>
> -- ----------------------------------- MegaPOV at:
> http://megapov.inetart.net MacMegaPOV at:
> http://users.skynet.be/smellenbergh E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

From: Yvo Smellenbergh
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 6 May 2014 12:18:16
Message: <1ll8l59.1l7kbop12acnq2N%yvo.s@cancel_This_gmx.net>
Can you e-mail me a screenshot after you typed:
#include "colors.inc"
And one after you saved and reopen the file in POV-Ray?
And please send me the scene file also.

POV-Ray unofficial uses the standard text input, I really have no idea
right now what is going on.
When I select US keyboard on my Mac Pro I have to press shift and a key
near the return key to type a "-character. Totally different key
compared to my Belgian keyboard but it works like expected.

Yvo


"David" <nomail@nomail> wrote:

> > Can you please tell me what you have selected in "Input Sources" on the
> > system Keyboard sytem preferences panel?
> 
> Answer: U.S.
> 
> Which stands for United States. Macbook Pro, Mavericks.
> 
> 
> > I don't see why you get '"' and then 'â•°' if you use the same key.
> > And it only happens after saving the file?
> 
> I open a New file from the File menu in the POVRary3_7_Unofficial software. I
> then enter:
> 
> #include "colors.inc‰
> 
> using the double quote key just  nest to the Resturn key on my Macbook Pro
> keyboard.
> 
> Then I save the file as demo.pov.
> 
> Then I render, and I get this error:
> 
> "/Users/davidarnold/Documents/temp/demo.pov"
>  line 1
> Parse Error: Illegal character in input file, value is d2.
> 
> If I open a new file and save it as demo.pov, then enter the code
> 
> #include "colors.inc‰
> 
> I get the same error.
> 
> D.
> 
> 
> yvo### [at] cancel_This_gmxnet (Yvo Smellenbergh) wrote:
> > "David" <nomail@nomail> wrote:
> >
> > Can you please tell me what you have selected in "Input Sources" on the
> > system Keyboard sytem preferences panel?
> >
> > I don't see why you get '"' and then 'â•°' if you use the same key.
> > And it only happens after saving the file?
> > Nobody ever reported this...
> >
> > Yvo
> >
> > > I've installed povray3_7_unofficial on my Mavericks mac laptop. When I
> > > open a new file and try to use the double quotes key on my keyboard, I
> > > get:
> > >
> > > include "color.incâ•° include "stones.incâ•° After saving the file as
> > > demo.pos, when I try to render the file, I get this error message.
> > >
> > > "/Users/davidarnold/Documents/temp/demo.pov" line 1 Parse Error: Illegal
> > > character in input file, value is d2.
> > >
> > > Now if I create this code in BBEdit, save the file as demo.pov, then open
> > > it in POVRay3_7_Unofficial, it looks like this:
> > >
> > > include "colors.inc" include "stones.inc" And it renders just fine.
> > >
> > > Why isn't the quotation key on my Mavericks Mac keyboard giving me the
> > > correct quotation symbol in POVRay3_7_Unofficial? I also tried using
> > > Courier and Helvetica, to no avail or difference.
> > >
> > > David.
> >
> >
> > -- ----------------------------------- MegaPOV at:
> > http://megapov.inetart.net MacMegaPOV at:
> > http://users.skynet.be/smellenbergh E-mail: yvo(DOT)s(AT)gmx.net


-- 
-----------------------------------
MegaPOV at:  http://megapov.inetart.net
MacMegaPOV at:  http://users.skynet.be/smellenbergh
E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

From: Nathan
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 27 May 2014 10:25:01
Message: <web.5384a00b3fdee6c1be97ff00@news.povray.org>
I have the same problem.  The solution is simple but annoying:  Right-click the
editor, choose Substitutions, and uncheck Smart Quotes.  The annoying thing is
that you must do it every single time you open a file; the setting does not
stick across launches of the app, or even from one window to the next.

This should be the default for all editor windows, and would fix the problem for
everyone.  It's got to be a simple fix of just flipping a boolean flag on the
standard editor widget in Xcode, I suspect.  Thanks for paying attention to it!

Nathan


yvo### [at] cancel_This_gmxnet (Yvo Smellenbergh) wrote:
> Can you e-mail me a screenshot after you typed:
> #include "colors.inc"
> And one after you saved and reopen the file in POV-Ray?
> And please send me the scene file also.
>
> POV-Ray unofficial uses the standard text input, I really have no idea
> right now what is going on.
> When I select US keyboard on my Mac Pro I have to press shift and a key
> near the return key to type a "-character. Totally different key
> compared to my Belgian keyboard but it works like expected.
>
> Yvo
>
>
> "David" <nomail@nomail> wrote:
>
> > > Can you please tell me what you have selected in "Input Sources" on the
> > > system Keyboard sytem preferences panel?
> >
> > Answer: U.S.
> >
> > Which stands for United States. Macbook Pro, Mavericks.
> >
> >
> > > I don't see why you get '"' and then 'â•°' if you use the same key.
> > > And it only happens after saving the file?
> >
> > I open a New file from the File menu in the POVRary3_7_Unofficial software. I
> > then enter:
> >
> > #include "colors.inc‰
> >
> > using the double quote key just  nest to the Resturn key on my Macbook Pro
> > keyboard.
> >
> > Then I save the file as demo.pov.
> >
> > Then I render, and I get this error:
> >
> > "/Users/davidarnold/Documents/temp/demo.pov"
> >  line 1
> > Parse Error: Illegal character in input file, value is d2.
> >
> > If I open a new file and save it as demo.pov, then enter the code
> >
> > #include "colors.inc‰
> >
> > I get the same error.
> >
> > D.
> >
> >
> > yvo### [at] cancel_This_gmxnet (Yvo Smellenbergh) wrote:
> > > "David" <nomail@nomail> wrote:
> > >
> > > Can you please tell me what you have selected in "Input Sources" on the
> > > system Keyboard sytem preferences panel?
> > >
> > > I don't see why you get '"' and then 'â•°' if you use the same key.
> > > And it only happens after saving the file?
> > > Nobody ever reported this...
> > >
> > > Yvo
> > >
> > > > I've installed povray3_7_unofficial on my Mavericks mac laptop. When I
> > > > open a new file and try to use the double quotes key on my keyboard, I
> > > > get:
> > > >
> > > > include "color.incâ•° include "stones.incâ•° After saving the file as
> > > > demo.pos, when I try to render the file, I get this error message.
> > > >
> > > > "/Users/davidarnold/Documents/temp/demo.pov" line 1 Parse Error: Illegal
> > > > character in input file, value is d2.
> > > >
> > > > Now if I create this code in BBEdit, save the file as demo.pov, then open
> > > > it in POVRay3_7_Unofficial, it looks like this:
> > > >
> > > > include "colors.inc" include "stones.inc" And it renders just fine.
> > > >
> > > > Why isn't the quotation key on my Mavericks Mac keyboard giving me the
> > > > correct quotation symbol in POVRay3_7_Unofficial? I also tried using
> > > > Courier and Helvetica, to no avail or difference.
> > > >
> > > > David.
> > >
> > >
> > > -- ----------------------------------- MegaPOV at:
> > > http://megapov.inetart.net MacMegaPOV at:
> > > http://users.skynet.be/smellenbergh E-mail: yvo(DOT)s(AT)gmx.net
>
>
> --
> -----------------------------------
> MegaPOV at:  http://megapov.inetart.net
> MacMegaPOV at:  http://users.skynet.be/smellenbergh
> E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

From: Yvo Smellenbergh
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 28 May 2014 13:02:39
Message: <1lmddvm.12v5624epkvt8N%yvo.s@cancel_This_gmx.net>
You can turn if off globally:
http://derflounder.wordpress.com/2014/02/01/disabling-smart-quotes-in-ma
vericks/

Yvo

Nathan <nca### [at] bentleyedu> wrote:

> I have the same problem.  The solution is simple but annoying:
> Right-click the editor, choose Substitutions, and uncheck Smart Quotes.
> The annoying thing is that you must do it every single time you open a
> file; the setting does not stick across launches of the app, or even from
> one window to the next.
> 
> This should be the default for all editor windows, and would fix the
> problem for everyone.  It's got to be a simple fix of just flipping a
> boolean flag on the standard editor widget in Xcode, I suspect.  Thanks
> for paying attention to it!
> 
> Nathan
> 
> 



-- ----------------------------------- MegaPOV at:
http://megapov.inetart.net MacMegaPOV at:
http://users.skynet.be/smellenbergh E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

From: Nathan
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 28 May 2014 21:15:01
Message: <web.538689933fdee6cdf1ff3790@news.povray.org>
Excellent, that worked great, thank you!

Still, POV, as a source code editor, should disable smart quotes by default.  As
is clear from the
confusion in this thread (both the OP's and some of the replies), it's a problem
as is.

Thanks again.

Nathan


yvo### [at] cancel_This_gmxnet (Yvo Smellenbergh) wrote:
> You can turn if off globally:
> http://derflounder.wordpress.com/2014/02/01/disabling-smart-quotes-in-ma
> vericks/
>
> Yvo
>


Post a reply to this message

From: Yvo Smellenbergh
Subject: Re: Quotation Marks Problem with POVRay3_7_Unofficial on Mac Mavericks
Date: 29 May 2014 04:00:37
Message: <5386e925@news.povray.org>
Smart quotes are diabled by default but there seems to be a bug in 
Mavericks (settings in interface builder are ignored).
I will hard-code it in the next release to fix it.

Yvo

On 2014-05-28 21:14:12 +0000, Nathan said:

> Excellent, that worked great, thank you!
> 
> Still, POV, as a source code editor, should disable smart quotes by 
> default.  As
> is clear from the
> confusion in this thread (both the OP's and some of the replies), it's 
> a problem
> as is.
> 
> Thanks again.
> 
> Nathan
> 
> 
> yvo### [at] cancel_This_gmxnet (Yvo Smellenbergh) wrote:
>> You can turn if off globally:
>> http://derflounder.wordpress.com/2014/02/01/disabling-smart-quotes-in-ma
>> vericks/
>> 
>> Yvo


-- 
-------------------------------------------------------------------------------------------


POV-Ray 3.7 unofficial: http://megapov.inetart.net/povrayunofficial_mac/
UberPOV Mac: http://megapov.inetart.net/uberpov_mac/index.html#Mac
MegaPOV: http://megapov.inetart.net
E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.