[Cuis-dev] Assignment and return in The Cuis Book
Juan Vuletich
juan at cuis.st
Wed Mar 1 16:29:49 PST 2023
On 3/1/2023 5:42 PM, Hilaire Fernandes wrote:
> Hi Juan,
>
> If I remember correctly, copying & pasting from the PDF book used to
> work. Likely the unicode symbol is not the right one in the book to
> match the newer Cuis handling of characters, may be it could be updated.
> Now there are codepoints 2191 (up arrow) and 2190 (left arrow),
> defined with two macros in the bookSetting.texinfo file. It can be
> changed to anything including := and ^
>
> Copy and pasting from the html book is working though.
>
> These symbols in the PDF book are for the esthetic of a printed book.
>
> If we edit these symbols, some obsolete paragraphs around the preface
> or introduction should be edited or removed.
>
> Hilaire
>
> Le 01/03/2023 à 20:48, Juan Vuletich a écrit :
>> Hi Hilaire, Folks,
>>
>> Right now, in the HTM version of the Cuis Book, we are using '^' and
>> ':=' for return and assignment. But in the PDF version, we are using
>> '↑' and '←'.
>>
>> I think this is an unnecessary complication. Also, pasting code from
>> the PDF version is currently broken.
>>
>> I think it is best to use only the ANSI return and assignment ('^'
>> and ':=') in all versions the Cuis Book, even if we still display $^
>> as an up arrow when it is a Smalltalk return, and allow $_ for
>> assignment, displaying it as a left arrow when used for Smalltalk
>> assignment.
>>
>> Thoughts? Opinions? Hilaire, do you think this is a good idea?
>>
>> Thanks!
>
>
>
Ok. Just pushed an update to make paste from the PDF work again.
We'd need to review all the code in the book, though. It seems that even
in the PDF sometimes ':=' is used.
Thanks,
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
More information about the Cuis-dev
mailing list