2

Is there any tool that can take a sample.web and sample.ch file and produce a merged.web file as output?

  • 1
    I'm familiar with WEB, but what exactly is ch, again? (It may even be beneficial to produce something of an MWE -- maybe a minimal WEB file, a minimal change file, and what the result should be after mysteryprog sample.web sample.ch -o merged.web (say).) – Sean Allred Mar 29 '13 at 12:00
  • 1
    *.ch means change file. – codefx Mar 29 '13 at 12:02
  • 1
    Yes, I am looking for the mysteryprog. I read that platform dependent changes to a .web program should be made by adding a change file (.ch). I am trying to find if there is a program that can produce the resulting merge.web file. – codefx Mar 29 '13 at 12:05
  • 2
    The whole point of a .ch file is to use it along with the .web with tangle to extract the program. – Joseph Wright Mar 29 '13 at 12:08
  • 1
    So, tagging of of Joseph's comment, merging the web and change files would be a violation of intent -- it was never meant to be that way. It's like making new paragraphs in LaTeX by saying \newline\newline. If you need platform-dependent documentation, I would believe you'd use weave similarly. – Sean Allred Mar 29 '13 at 12:10
2

The tool is tangle try:

   tangle inputfile changefile outputfile poolfile

If not available with standard distributions, try ctangle. Also instructive is to read webman. Good reference here.

  • 1
    I thought weave was for extracting the .tex part of a WEB file – Joseph Wright Mar 29 '13 at 13:36
  • @JosephWright You right, running low on memory. Both can be used though on changefiles, one for docs and another for PASCAL. By the time you compile TeX is a 21 step process:) – Yiannis Lazarides Mar 29 '13 at 13:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.