The folowing picture are the L297 and L297A pinout and connection diagrams
(click to enlarge image). If compared to the standard L297, It lies on
the addition of a pulse doubler on the step clock input and the the
availability of the output of the direction flip flop.
PIN function of the L297A are identical to L297 standard except for pins 1 and 11. See completely about the L297 pin function here.