Stephen Cross (S.C.Cross@bnr.co.uk) points out that there is a quick and simple method for using FrameMaker to write Literate Programs:
  • Create two conditional_text tags (Special/Conditional Text...) Call the tags something like 'DocText' and 'CodeText'
  • Apply the CodeText Tag to all the code in the document
  • Apply the DocText Tag to everything else in the document
  • To Tangle the document simply change the Show/Hide options for the conditional text so that only the CodeText is shown
  • Save the Code to a text source file (File/Save As)
  • Later, Sriram Srinivasan (sriram@tcs.com) proposed another approach.