Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-21 Thread Jack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

An enhanced version of Gem abstraction [text3d_ml]...

Added :
clear message : to clear text
replace message : to replace a line at a certain position
add message : to add a line at the end of the text

Now [text3d_ml] returns the number of lines.

If needed for people using a pd version < 0.46, it should not be
difficult to change [text] with [textfile] or [msgfile] (zexy) and
[list fromsymbol] with [any2bytes] (moocow).
++

Jack



Le 17/06/2015 11:51, Jack a écrit :
> Here a final version of [text3d_ml]. Should be faster and without
> error. ++
> 
> Jack
> 
> 
> 
> Le 16/06/2015 22:38, Jack a écrit :
>> Yes, you need Pd 0.46.0 minimum, for [list fromsymbol], [list 
>> tosymbol] and [text] familly objects used in this abstraction.
>> ++
> 
>> Jack
> 
> 
>> Le 16/06/2015 16:26, IOhannes m zmölnig a écrit :
>>> On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
 I haven't list from symbol (last vanilla ...)
> 
>>> it's called [list fromsymbol] (without the space between 'from'
>>>  and 'symbol') and it is included in Pd-vanilla since 0.46-0.
> 
>>> most likely you don't have "last vanilla" (which is 0.46-6).
> 
>>> fgmards IOhannes
> 
> 
> 
>>> ___ 
>>> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and 
>>> account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
>> ___ 
>> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and 
>> account-management ->
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> 
> 
> ___ 
> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and
> account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVhqopAAoJEOuluecjw8GU0ZQH/2cPOLfF/84Tsz5xrFbpcId1
6kHKikNtl/UJnCLJVi4ZKlxj4oI12lJPIFPkJJH/lTHTxDUYnkIXYtMZGlZA6bHM
DW+onFWJiAO1If1oXvApITR0f6bU+/DKuL1s2QbOwvNAMvyvb0i72rQ0q03LGj47
feNuO+J8zfMaaOupfCbmJu32rvGrjMl9HOUKDRybRmAm1UySBmuSQBLBNmiTD5Kb
s1WnDUWKFsyGWxJwc6EXtmZa8LWRkV++gYlTp392yam1vxotJT9Q6otxt8CfmiTd
4vFOGA7WHGekJMAdSt3rCwdCX4MEEsBVFA2XVZUlE7NAwi7zkoQK/Fsah1QpptA=
=ZIHb
-END PGP SIGNATURE-

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-17 Thread Jack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Here a final version of [text3d_ml].
Should be faster and without error.
++

Jack



Le 16/06/2015 22:38, Jack a écrit :
> Yes, you need Pd 0.46.0 minimum, for [list fromsymbol], [list 
> tosymbol] and [text] familly objects used in this abstraction. ++
> 
> Jack
> 
> 
> Le 16/06/2015 16:26, IOhannes m zmölnig a écrit :
>> On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
>>> I haven't list from symbol (last vanilla ...)
> 
>> it's called [list fromsymbol] (without the space between 'from' 
>> and 'symbol') and it is included in Pd-vanilla since 0.46-0.
> 
>> most likely you don't have "last vanilla" (which is 0.46-6).
> 
>> fgmards IOhannes
> 
> 
> 
>> ___ 
>> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and 
>> account-management ->
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> ___ 
> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and
> account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVgUM9AAoJEOuluecjw8GUqwgH/3F3Yg7rFhdhgeYIxf1P3lZ9
p5dE2To3lRg1r6S7Xhhz+/LcM4a7aQhbkofeMwnKMMUbM0oD3UOgcdY2/yJxZ6rO
qeBAs0CIkXybDd+nSNpiTkSHzqMYSmlyZpcTTtAIdvEvjS+D1AAYPyxRZHq3EYen
ERz8xX8/eVm986y3fmf5Fovkau1cmKPboosLcK/SAfvtT1moEZ8tPzTO3rh4TaJi
5HJNXVfwP72xxPOJh26yl4vj07sui4VnfM3HuFfSe2QQOyP2UMLVsb8td0Aq083v
yXnlv7/qrUxQK3qe2XbndHi9ymTtSArR7n1ujhCsgmqMvS4wonfM39SJqBIRaUo=
=aY+X
-END PGP SIGNATURE-


text3d_ml.pd
Description: application/puredata


text3d_ml-help.pd
Description: application/puredata
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-16 Thread Jack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yes, you need Pd 0.46.0 minimum, for [list fromsymbol], [list
tosymbol] and [text] familly objects used in this abstraction.
++

Jack


Le 16/06/2015 16:26, IOhannes m zmölnig a écrit :
> On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
>> I haven't list from symbol (last vanilla ...)
> 
> it's called [list fromsymbol] (without the space between 'from'
> and 'symbol') and it is included in Pd-vanilla since 0.46-0.
> 
> most likely you don't have "last vanilla" (which is 0.46-6).
> 
> fgmards IOhannes
> 
> 
> 
> ___ 
> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and
> account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVgIlDAAoJEOuluecjw8GUqxEH/1XuLm4t/3oJ/hwktkFdb3Ye
8LkIATYKmG4y0JTgMZdQdaEf0r3CmC1VJIW9Vx5RtQbFAkXsn+yOCZZHvdyPwHXX
czgSb2as80px4r34qm2dwo/nXvdHWYVi/iZ0qujtzGxryU7XjNnoPFjmoZDSjJRZ
PhBfZga33cbZw75ESLj/vJOgzch8kd0TTV1va8FKykE8vSOEOQ0fWEgETzf/r/As
8n1EFZTK04DV9HjFEzmdF6bZbkGnTMaUnyPw7aV2aZ4uoeZvLx5z/EpmHx3az53y
Eyg00aykVWSa8WTt/WmdTpZDQBSK8AUQKuBr69RDgSu/YdDP3afqaegtUtW8p1c=
=iOCZ
-END PGP SIGNATURE-

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-16 Thread IOhannes m zmölnig
On 06/16/2015 04:06 PM, Philippe Boisnard wrote:
> I haven't list from symbol (last vanilla ...) 

it's called [list fromsymbol] (without the space between 'from' and
'symbol') and it is included in Pd-vanilla since 0.46-0.

most likely you don't have "last vanilla" (which is 0.46-6).

fgmards
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-16 Thread Philippe Boisnard
I haven't list from symbol (last vanilla ...) 

this abstract doesn't work for me  I can't test

Le 16 juin 2015 à 15:44, Jack a écrit :

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
> 
> Here the abstraction "text3d_ml".
> Don't knw how to manage the error when the text object is empty. Maybe
> with the -k option and a default text ?
> ++
> 
> Jack
> 
> 
> 
> Le 15/06/2015 10:49, IOhannes m zmoelnig a écrit :
>> On 2015-06-15 10:21, Alexandros Drymonitis wrote:
>>> On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig
>>>  wrote:
>>> 
 On 2015-06-14 10:16, Philippe Boisnard wrote:
> Hello
> 
> I have created a little abstract, usefull for me :
> [text3dml] I share this.
> 
 
 thanks for sharing.
 
 i wonder why you are using dynamic patching instead of just
 inserting '\n' where you want a linebreak?
 
>>> how can you use this? the '\' is not permitted in Pd, you get the
>>> "keycode 92: dropped" message...
>> 
>> '\n' is not meantas a Pd-literal. it just denotes the line-feed
>> character (ascii value: 10, usually written as "\n"). how you get
>> it into Pd is another matter, though quite simple... e.g. to get it
>> as a symbol, uise: [10( | [makefilename %c]
>> 
>> but when working with [list fromsymbol], you get ASCII (well
>> UTF-8) values anyhow, so you can just insert '10' instead. also Gem
>> eats [string( messages that allow you to use unicode values 
>> directly, so you can use '10' as well. be careful that when using
>> [list fromsymbol] or some other raw data, you might need to convert
>> from UTF-8 to unicode, for which there exists an abstraction in the
>> repository (and i'm too lazy to search for it now; but it has been
>> mentioned a number of times on this list).
>> 
>> fgmasdr IOhannes
>> 
>> 
>> 
>> 
>> 
>> 
>> ___ 
>> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and
>> account-management -> http://lists.puredata.info/listinfo/pd-list
>> 
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1
> 
> iQEcBAEBAgAGBQJVgCg0AAoJEOuluecjw8GUoTwH/191YRYVNjQUdBAX/M0/56Mh
> HLdmRf4JjGKyODrgBeLfmh0Rrlpa1/hdj7FNrHC/ujU6qwUCna+InqGLUdxx7Vas
> klFXDJ9kjawBlqPnAnZg4YcavCoMFxgZ0soCaCap4h7JFYWOnr74crtobpxbbgI3
> A3lQmr+eNahPNcGvBpJFTdqhK/V03U3MwGbbNXxteaSf9U/J+kGR7Cy0KwVAYqeh
> yHfIWS9bneAPU4Zmxz1wzMWM1Vuo9mMpXbDyFVjD/Rrd6KtcOmcBEqgsg0vnDkHN
> 7yemqnoRAVpQ6hCoJZZuZtYBCIbMvhbkJ6ol6vfPIv6aqIfcLCExsYdADVfcxVU=
> =BIRQ
> -END PGP SIGNATURE-
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-16 Thread Jack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Here the abstraction "text3d_ml".
Don't knw how to manage the error when the text object is empty. Maybe
with the -k option and a default text ?
++

Jack



Le 15/06/2015 10:49, IOhannes m zmoelnig a écrit :
> On 2015-06-15 10:21, Alexandros Drymonitis wrote:
>> On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig
>>  wrote:
>> 
>>> On 2015-06-14 10:16, Philippe Boisnard wrote:
 Hello
 
 I have created a little abstract, usefull for me :
 [text3dml] I share this.
 
>>> 
>>> thanks for sharing.
>>> 
>>> i wonder why you are using dynamic patching instead of just
>>> inserting '\n' where you want a linebreak?
>>> 
>> how can you use this? the '\' is not permitted in Pd, you get the
>> "keycode 92: dropped" message...
> 
> '\n' is not meantas a Pd-literal. it just denotes the line-feed
> character (ascii value: 10, usually written as "\n"). how you get
> it into Pd is another matter, though quite simple... e.g. to get it
> as a symbol, uise: [10( | [makefilename %c]
> 
> but when working with [list fromsymbol], you get ASCII (well
> UTF-8) values anyhow, so you can just insert '10' instead. also Gem
> eats [string( messages that allow you to use unicode values 
> directly, so you can use '10' as well. be careful that when using
> [list fromsymbol] or some other raw data, you might need to convert
> from UTF-8 to unicode, for which there exists an abstraction in the
> repository (and i'm too lazy to search for it now; but it has been
> mentioned a number of times on this list).
> 
> fgmasdr IOhannes
> 
> 
> 
> 
> 
> 
> ___ 
> Pd-list@lists.iem.at mailing list UNSUBSCRIBE and
> account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVgCg0AAoJEOuluecjw8GUoTwH/191YRYVNjQUdBAX/M0/56Mh
HLdmRf4JjGKyODrgBeLfmh0Rrlpa1/hdj7FNrHC/ujU6qwUCna+InqGLUdxx7Vas
klFXDJ9kjawBlqPnAnZg4YcavCoMFxgZ0soCaCap4h7JFYWOnr74crtobpxbbgI3
A3lQmr+eNahPNcGvBpJFTdqhK/V03U3MwGbbNXxteaSf9U/J+kGR7Cy0KwVAYqeh
yHfIWS9bneAPU4Zmxz1wzMWM1Vuo9mMpXbDyFVjD/Rrd6KtcOmcBEqgsg0vnDkHN
7yemqnoRAVpQ6hCoJZZuZtYBCIbMvhbkJ6ol6vfPIv6aqIfcLCExsYdADVfcxVU=
=BIRQ
-END PGP SIGNATURE-


text3d_ml-help.pd
Description: application/puredata


text3d_ml.pd
Description: application/puredata
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-15 Thread IOhannes m zmoelnig
On 2015-06-15 10:21, Alexandros Drymonitis wrote:
> On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig 
> wrote:
> 
>> On 2015-06-14 10:16, Philippe Boisnard wrote:
>>> Hello
>>>
>>> I have created a little abstract, usefull for me : [text3dml]
>>> I share this.
>>>
>>
>> thanks for sharing.
>>
>> i wonder why you are using dynamic patching instead of just inserting
>> '\n' where you want a linebreak?
>>
> how can you use this? the '\' is not permitted in Pd, you get the "keycode
> 92: dropped" message...

'\n' is not meantas a Pd-literal.
it just denotes the line-feed character (ascii value: 10, usually
written as "\n").
how you get it into Pd is another matter, though quite simple...
e.g. to get it as a symbol, uise:
 [10(
 |
 [makefilename %c]

but when working with [list fromsymbol], you get ASCII (well UTF-8)
values anyhow, so you can just insert '10' instead.
also Gem eats [string( messages that allow you to use unicode values
directly, so you can use '10' as well. be careful that when using [list
fromsymbol] or some other raw data, you might need to convert from UTF-8
to unicode, for which there exists an abstraction in the repository (and
i'm too lazy to search for it now; but it has been mentioned a number of
times on this list).

fgmasdr
IOhannes






signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-15 Thread Alexandros Drymonitis
On Mon, Jun 15, 2015 at 10:41 AM, IOhannes m zmoelnig 
wrote:

> On 2015-06-14 10:16, Philippe Boisnard wrote:
> > Hello
> >
> > I have created a little abstract, usefull for me : [text3dml]
> > I share this.
> >
>
> thanks for sharing.
>
> i wonder why you are using dynamic patching instead of just inserting
> '\n' where you want a linebreak?
>
how can you use this? the '\' is not permitted in Pd, you get the "keycode
92: dropped" message...
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [text3dml] => text3d multiline with all accents

2015-06-15 Thread IOhannes m zmoelnig
On 2015-06-14 10:16, Philippe Boisnard wrote:
> Hello
> 
> I have created a little abstract, usefull for me : [text3dml] 
> I share this.
> 

thanks for sharing.

i wonder why you are using dynamic patching instead of just inserting
'\n' where you want a linebreak?
also i think that it should be possible to create that abstraction with
vanilla-only objects (apart from the Gem part, obviously) using the new
[list *symbol] objects (which however, requires a recent version of Pd)


fgadmr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list