On Sun, Aug 13, 2017 at 12:25:54PM -0400, gregor herrmann wrote: > What po4a could maybe do is to mention in the documentation that the > string in "position=something" in addendums will be interpreted as a > Perl regexp later.
It's already the case: position (mandatory) a Perl regexp. The addendum will be placed near the line matching this regexp. Note that we're speaking about the translated document here, not the original. If more than a line match this expression (or none), the addition will fail. It is indeed better to report an error than inserting the addendum at the wrong location. (I just added "Perl" in the first sentence, but the doc is otherwise unchanged) If it's not explicit enough, please tell me how I could improve it. Thanks, Mt. -- If Java had true garbage collection, most programs would delete themselves upon execution. -- Robert Sewell
signature.asc
Description: PGP signature