Re: wrapped boxquoting

2002-07-15 Thread Sudip Pokhrel

Hi Januk,

On Sat, 13 Jul 2002 17:18:35 -0700 GMT (Jul 14, 06:03 my time),
you [JA] wrote:

JA [Begin wrap2]
JA %IF:'%-
JA %SETPATTREGEXP=(?is-m)[^\n]+%-
JA %REGEXPMATCH=%COMMENT''':'%-
JA %-
JA %WRAPPED=_%SETPATTREGEXP=(?is-m)^(.*?)(\n((\w{0,5}(\\s*)+)?\n){1,}(.*)$|\z)%-
JA %-%-%-%-%-%REGEXPBLINDMATCH=%COMMENT%-
JA %-%-%-%-%-%SUBPATT=1_
JA %-
JA %COMMENT=_%SETPATTREGEXP=(?is-m)^.*?(\n((\w{0,5}(\\s*)+)?\n){1,}(.*)\s*$|\z)%-
JA %-%-%-%-%-%REGEXPBLINDMATCH=%COMMENT%-
JA %-%-%-%-%-%SUBPATT=5_
JA %-
JA %QINCLUDE=wrap2'
JA [ End  wrap2]

Januk like I said before the QTs are working fine but just noticed one
small issue:

1. This is the first line
2. This is the second line
3. This is the third line


When a paragraph with no extra lines between them like the one above is
copied, this is the result:

,- [ Begin Quote ] -
| 1. This is the first line 2. This is the second line 3. This is the
|third line
`- [  End Quote  ] -

Is there any way to correct this?







-- 

Cheers,
Sudip  For PM:- mailto:[EMAIL PROTECTED]


Sudip Pokhrel
Kathmandu-NP
PGP Key ID: 0xD93F5185
http://pgpkeys.mit.edu

-- Sys Info --
Using The Bat! v1.60q
on Windows 98 4.10 (Build   A )
H/W: Pentium IV 1.4 Ghz|256MB RAM|40GB HDD
[IE 5.0, Opera 6.03 (default)]



 
   Anything in parenthesis can (not) be ignored


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: wrapped boxquoting

2002-07-15 Thread Aza Lsaja


On Monday, July 15, 2002, Sudip Pokhrel[EMAIL PROTECTED] wrote:

 ,- [ Begin Quote ] -
 | 1. This is the first line 2. This is the second line 3. This is the
 |third line
 `- [  End Quote  ] -

How to make such qoute?
Sorry, I follow this thread but did not understand. It seems to me
you are talking about it at other list first. Can you point me, please?

I just copy the wrap2 and begin QT, but it's hanged my tb when
I execute it.

-- 
Regards,
Aza

Water which is too pure has no fish.


---  Yang Mudah dan Menghibur -
 Hosting menjadi mudah dan murah hanya di PlasaCom. Klik http://idc.plasa.com
 F1 Mania!! Ikuti F1 Game di Obelix Game Corner di http://www.plasa.com/infotel/f1.html
 
---
 


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: wrapped boxquoting

2002-07-15 Thread Januk Aggarwal

Hello Aza,

It was foretold that on Monday, July 15, 2002 at 14:23 GMT +0700, Aza
Lsaja [AL] would type:

AL I just copy the wrap2 and begin QT, but it's hanged my tb when
AL I execute it.

The wrap2 and bq2 templates are recursive templates.  TB didn't
support recursive templates before the 1.6x series, as the template
processing engine has changed significantly.

In TB v1.5x, both the true and false mini-templates of the %IF macro
would be executed before choosing which one to use.  Because the true
mini-template calls the recursive template again, you get stuck in an
infinite loop and have to kill TB from the task manager.

The moral is, do ***NOT*** use these templates in versions 1.5x and
lower.  If you really want them, upgrade your TB installation to the
latest version.

If you do upgrade, you'll also need Carsten's boxquoting templates.
They can be found in the TBTECH archive at:
http://www.mail-archive.com/tbtech@thebat.dutaint.com/msg01200.html

-- 
Thanks for writing,
 Januk Aggarwal

His nerves. His memory. And I can't remember the third thing.
   -Lee Trevino on the three things that go as a golfer ages.


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: wrapped boxquoting

2002-07-15 Thread Sudip Pokhrel

Hi Januk,

On Mon, 15 Jul 2002 00:27:18 -0700 GMT (Jul 15, 13:12 my time),
you [JA] wrote:

JA Of course, you don't have to use this linked version for
JA boxquoting lists. Carsten's original does an excellent job and
JA doesn't alter the formatting.

The problem arises when quoting lines that are not wrapped at 70-75
characters. Carsten's original pastes them as it is hence messing up
the entire boxquoting for the receiver.

Oh well ! As they say, you can't have everything

Thanks a lot for your help again Januk

-- 

Cheers,
Sudip  For PM:- mailto:[EMAIL PROTECTED]


Sudip Pokhrel
Kathmandu-NP
PGP Key ID: 0xD93F5185
http://pgpkeys.mit.edu

-- Sys Info --
Using The Bat! v1.60q
on Windows 98 4.10 (Build   A )
H/W: Pentium IV 1.4 Ghz|256MB RAM|40GB HDD
[IE 5.0, Opera 6.03 (default)]



 
   Define the Universe and give three examples. - Anonymous


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: wrapped boxquoting

2002-07-14 Thread Sudip Pokhrel

Hi Januk,

On Sat, 13 Jul 2002 17:18:35 -0700 GMT (Jul 14, 05:48 my time),
you [JA] wrote:

JA So I'm not sure where the problem is being introduced in your
JA template system. I imagine it must be from wrap2, so you could try
JA the following template.

It works now.. thanks a lot Januk !

-- 

Cheers,
Sudip  For PM:- mailto:[EMAIL PROTECTED]


Sudip Pokhrel
Kathmandu-NP
PGP Key ID: 0xD93F5185
http://pgpkeys.mit.edu

-- Sys Info --
Using The Bat! v1.60q
on Windows 98 4.10 (Build   A )
H/W: Pentium IV 1.4 Ghz|256MB RAM|40GB HDD
[IE 5.0, Opera 6.03 (default)]



 
   Life is tough, it's tougher when you're stupid. - John Wayne


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: wrapped boxquoting

2002-07-13 Thread Sudip Pokhrel

Hi Januk,

On Sat, 13 Jul 2002 01:25:09 -0700 GMT (Jul 13, 13:55 my time),
you [JA] wrote:

JA [Begin QT]
JA ,- [ Begin %CURSOR] -
JA %COMMENT='%clipboard'%-
JA %COMMENT='%-
JA %-%-%SETPATTREGEXP=(?is-m)^(.*)\n$%-
JA %-%-%REGEXPMATCH=%-
JA %-%-%-%-%QINCLUDE=#wrap2#'%-
JA %QINCLUDE=bq2
JA `- [  End  ] -
JA [End   QT]

JA Where wrap2 and bq2 are the wrap recursive engine and the
JA boxquoting recursive engines respectively.

This works except for one problem, please see my examples below:

,- [ Begin ] -
| There is only one paragraph here: notice the empty space
|
|
`- [  End  ] -

,- [ Begin ] -
| There are two paragraphs in this example, this one
| 
| and this one: please notice bigger empty space at the end
| 
| 
| 
`- [  End  ] -

,- [ Begin ] -
| Here we have copied three paragraphs.
| 
| The empty space at the end of the paragraph is getting bigger.
| 
| The empty space increases proportionally with the number of paragraphs
|  
|  
|  
|  
`- [  End  ] -



-- 

Cheers,
Sudip  For PM:- mailto:[EMAIL PROTECTED]


Sudip Pokhrel
Kathmandu-NP
PGP Key ID: 0xD93F5185
http://pgpkeys.mit.edu

-- Sys Info --
Using The Bat! v1.60q
on Windows 98 4.10 (Build   A )
H/W: Pentium IV 1.4 Ghz|256MB RAM|40GB HDD
[IE 5.0, Opera 6.03 (default)]



 
   Willpower: The ability to eat only one salted peanut


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: wrapped boxquoting

2002-07-13 Thread Januk Aggarwal

Hello Sudip,

On Saturday, July 13, 2002 at 14:45 GMT +0530, Sudip Pokhrel [SP]
heard voices say:

SP This works except for one problem, please see my examples below:
snip
SP | The empty space increases proportionally with the number of paragraphs

I can't really reproduce the problem.  All I get is 1 extra empty
line from wrap2, but that is taken care of by the template I gave you
previously.  So I'm not sure where the problem is being introduced in
your template system.  I imagine it must be from wrap2, so you could
try the following template.  However, I would check first if you
haven't miscopied the wrap2 template I referred to previously.

[Begin wrap2]
%IF:'%-
%SETPATTREGEXP=(?is-m)[^\n]+%-
%REGEXPMATCH=%COMMENT''':'%-
%-
%WRAPPED=_%SETPATTREGEXP=(?is-m)^(.*?)(\n((\w{0,5}(\\s*)+)?\n){1,}(.*)$|\z)%-
%-%-%-%-%-%REGEXPBLINDMATCH=%COMMENT%-
%-%-%-%-%-%SUBPATT=1_
%-
%COMMENT=_%SETPATTREGEXP=(?is-m)^.*?(\n((\w{0,5}(\\s*)+)?\n){1,}(.*)\s*$|\z)%-
%-%-%-%-%-%REGEXPBLINDMATCH=%COMMENT%-
%-%-%-%-%-%SUBPATT=5_
%-
%QINCLUDE=wrap2'
[ End  wrap2]


-- 
Thanks for writing,
 Januk Aggarwal

Is it OK to use the AM radio after noon?


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




wrapped boxquoting

2002-07-12 Thread Sudip Pokhrel

Hi Januk,

On Fri, 12 Jul 2002 11:34:01 -0700 GMT (Jul 13, 00:04 my time),
you [JA] wrote:

JA You want to use Carsten's boxquoting template in conjunction with
JA the wrap macro?

Yes.

JA I don't think I'll post the updated version here. If you want to
JA know more, we should move this conversation to the TBTECH list

OK

-- 

Cheers,
Sudip  For PM:- mailto:[EMAIL PROTECTED]


Sudip Pokhrel
Kathmandu-NP
PGP Key ID: 0xD93F5185
http://pgpkeys.mit.edu

-- Sys Info --
Using The Bat! v1.60q
on Windows 98 4.10 (Build   A )
H/W: Pentium IV 1.4 Ghz|256MB RAM|40GB HDD
[IE 5.0, Opera 6.03 (default)]



 
   Brevity is the soul of lingerie. - Dorothy Parker


__
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]