Arbortext Command Language > Commands > find_pi_value
  
find_pi_value
find_pi_value [value]
This alias searches forward from the cursor in the current document for the next processing instruction with a value exactly matching value. If you do not supply the argument, a response panel prompts you to do so. If the string exists, the processing instruction tag is highlighted and the cursor is placed to the right of the tag to facilitate modification.
To determine the value for value, you can use the following method. For example, to find a string of 3pt within a _kern processing instruction tag:
Insert an example of a processing instruction tag with the same attribute values as the tag you want to find (for example, _kern tag modified to 3pt). Highlight this tag.
At the command line, enter:
eval $selection
Press ENTER. An evaluation panel displays the value of the highlighted tag.
At the command line, type: fps followed by a space and the result from the eval $selection output (minus the delimiting angle brackets and initial question mark) surrounded by single quotes. For example:
fpv 'Pub _kern Amount="3pt"'
Delete the example tag you inserted before pressing ENTER.
Examples
find_pi_value 'Pub _newpage'
fpv 'Pub _font Posture="italic"'
fpv 'Pub _hyphen-point'
fpv 'Pub _kern Amount="2pt"'
fpv 'Pub _texmac Tex="$\circ$"'
Related Topics
find_pi_string command
find_pi command
insert_pi command
Modify Processing instruction command
Touchup processing instructions
Finding processing instructions