[LON-CAPA-users] disabling PRT

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Fri, 10 Sep 2004 14:44:21 -0400 (EDT)


Hi Ray,

> The question is: "Should all resources be functional wrt to PRT? or
> is there a category of resources which could be intended as
> web-only."

We really want as many things as possible to be printable.

>   Which makes me realize that I could have coded everything inside <web> 
> </web>tags, but it was not obvious to me at the time that this is what I 
> would always want (nor is it now).

This won't work.

Everything between <web> and </web> is unparsed.

<block condition="$external::target ne 'tex'>
</block>

Should work for the most part.

> On the other hand allowing people to switch off PRT from within PARM would 
> allow all users to decide whether they want PRT available in their course 
> resources.

Not a bad idea really...



-- 
guy@albertelli.com  LON-CAPA Developer  0-7-3-4-