Article - CS310767

Text is repeated before and after hyphenation if JavaScript calls a context control stream in Arbortext Advanced Print Publisher

Modified: 26-Oct-2023   


Applies To

  • PTC Arbortext Layout Developer 12.0 to 12.2.2.0
  • PTC Arbortext Advanced Print Publisher 11.2 F000

Description

  • 2 context control stream
    • context
    • contextInline
  • contextInline offers the possibility to process 1- (n) attributes in different numbers of elements
  • Called with APP PI's, the behaviour is correct
formatting.output('<?contextup "context",0><?contextup "contextInline",1>');
  • Called by JavaScript words in the hyphenation area are partially repeated in the next line
formatting.contextAdd(template.content.getContexts("context"), 0);
formatting.contextAdd(template.content.getContexts("contextInline"), 1);
     User-added image
This is a printer-friendly version of Article 310767 and may be out of date. For the latest version click CS310767