[pstricks] Psset and accessing key values inside pstricks
Alan Ristow
ristow at ece.gatech.edu
Mon Feb 14 23:14:11 CET 2005
Richard Hensh wrote:
> I am successfully using tex4ht to process my latex source files.
>
> If I define the following (silly but useful example):
>
> \makeatletter
> \define at key[psset]{pstTxtBx}{name}{%
> \edef\psset at pstTxtBx@name{#1}%
> }
> \makeatother
> \psline[linecolor=blue,name=lineA](2,1)
> \psline[linecolor=red,name=lineB](-2,1)
>
> then subsequent processing using tex4ht allows me to access the name and do
> some fun things in the tex4ht config files with lineA, lineB etc.
>
> Does anyone know the naming convention used by the built-in keys. The docs
> seem to suggest a standard namiing convention that appear to be
>
> \XKV at psset@pst at linecolor@value
If I understand you correctly, you will have to open pstricks.tex and
search for psset or psk to get what you're after. As I recall, the keys
are not named in a way that is terribly systematic (more like several
separate systems), so I think you'll have to tabulate them from the .tex
file. If I'm wrong, I'm sure Herbert will be along to correct me shortly....
Alan
More information about the PSTricks
mailing list