Arbortext Command Language > Commands > find_pi_string
  
find_pi_string
find_pi_string [string]
This alias scans forward from the cursor in the current document (and wraps around) for the next occurrence of a processing instruction tag having a value matching string. 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.
find_pi_string is the quickest way to find specific processing instruction tags or names of style options, where string is the tag name or style option.
Suppose you want to find a _kern processing instruction tag with attribute value set to 3pt. Use the following method:
1. 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.
2. At the command line, type: eval $selection.
3. Press ENTER. An evaluation panel displays the value of the highlighted tag:
<!Pub _kern Amount="3pt"
4. 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:
fps 'Pub _kern Amount="3pt"'
5. Delete the example tag you inserted before pressing ENTER.
fps is a synonym for find_pi_string.
Examples
find_pi_string newpage
fps italic
fps 'hyphen-point'
fps 'Pub _kern'
fps 'Pub _texmac Tex="$\circ$"'
Related Topics
find_pi_value command
find_pi command
insert_pi command
Modify Processing instruction command
Touchup processing instructions
Finding processing instructions