support for pview tagmode in libraries