May 13, 2010
9:35 p.m.
On 13 May 2010, at 23:19, Stéphane Ducasse wrote:
On May 13, 2010, at 11:13 PM, Andrei Stebakov wrote:
When I copy and paste code snippets from the book, the compiler complains about the minus signs (which is different character from what Pharo expects):
For example the line from the book: (j > 1) ifTrue: [ (cells at: i at: j â 1) toggleState]. I have to change to (with "short" minus sign) (j > 1) ifTrue: [ (cells at: i at: j - 1) toggleState]. Otherwise the method doesn't get accepted. I wonder if this is a PDF issue and if it could be corrected?
this is a pdf issue. In my latex documents, using a lstlisting environment, this isn't a problem... Tested on OS X.
Best regards Stefan