[pstricks] Check for file version of pstricks-add.tex

Christoph Bersch usenet at bersch.net
Thu Mar 22 13:19:43 CET 2007

Herbert Voss wrote:
> Christoph Bersch schrieb:
>> I forgot to mention a crucial point, sorry. The \nlput command was
>> introduced before 2.81 (October 2005) but was buggy until this version.
>> A hack could be to check for the existence of another macro that was
>> introduced with version 2.81 (which one could this be?) although this
>> does not seem such a good idea to me.
> \documentclass{article}
> \usepackage{pstricks}
> \input pstricks-add
> \typeout{pstricks-add: \fileversion}
> \makeatletter
> \ifdim\fileversion pt<2.81pt

That works, thank you!


More information about the PSTricks mailing list