tangle(1)


NAME

   tangle - translate WEB to Pascal

SYNOPSIS

   tangle [options] webfile[.web] [changefile[.ch]]

DESCRIPTION

   This  manual  page  is  not  meant  to  be  exhaustive.   The  complete
   documentation for this version of TeX can be found in the info file  or
   manual Web2C: A TeX implementation.

   The tangle program converts a Web source document into a Pascal program
   that may be compiled in the usual way with the on-line Pascal  compiler
   (e.g.,  pc(1)).   The output file is packed into lines of 72 characters
   or less, with the only concession to readability being the  termination
   of lines at semicolons when this can be done conveniently.

   The Web language allows you to prepare a single document containing all
   the information that is needed both  to  produce  a  compilable  Pascal
   program and to produce a well-formatted document describing the program
   in as much detail as the writer may desire.  The user of  Web  must  be
   familiar  with  both  TeX  and  Pascal.  Web also provides a relatively
   simple, although adequate, macro facility that permits a Pascal program
   to be written in small easily-understood modules.

   The  command line should have either one or two names on it.  The first
   is taken as the Web file (and .web is added if there is no  extension).
   If  there  is  another  name,  it is a change file (and .ch is added if
   there is no extension).  The change file overrides  parts  of  the  Web
   file, as described in the Web system documentation.

   The  output files are a Pascal file and a string pool file, whose names
   are formed by adding .p and .pool respectively to the root of  the  Web
   file name.

OPTIONS

   This  version  of  tangle understands the following options.  Note that
   some of these options may render the output unsuitable  for  processing
   by a Pascal compiler.

   --help Print help message and exit.

   --length number
          Compare  only  the  first  number characters of identifiers when
          checking for collisions.  The default is 32, the original tangle
          used 7.

   --loose
          When  checking  for  collisions  between  identifiers, honor the
          settings  of  the  --lowercase,  --mixedcase,  --uppercase,  and
          --underline options. This is the default.

   --lowercase
          Convert all identifiers to lowercase.

   --mixedcase
          Retain the case of identifiers.  This is the default.

   --strict
          When   checking   for   collisions  between  identifiers,  strip
          underlines and convert all identifiers to uppercase first.

   --underline
          Retain underlines (also known as underscores) in identifiers.

   --uppercase
          Convert all identifiers to uppercase.  This is the behaviour  of
          the original tangle.

   --version
          Print version information and exit.

ENVIRONMENT

   The  environment  variable  WEBINPUTS  is  used to search for the input
   files, or the system default if WEBINPUTS is not set.  See  tex(1)  for
   the details of the searching.

SEE ALSO

   pc(1), pxp(1) (for formatting tangle output when debugging), tex(1).

   Donald E. Knuth, The Web System of Structured Documentation.

   Donald  E.  Knuth,  Literate  Programming, Computer Journal 27, 97-111,
   1984.

   Wayne Sewell, Weaving a Program,  Van  Nostrand  Reinhold,  1989,  ISBN
   0-442-31946-0.

   Donald   E.  Knuth,  TeX:  The  Program  (Volume  B  of  Computers  and
   Typesetting), Addison-Wesley, 1986, ISBN 0-201-13437-3.

   Donald E. Knuth, Metafont: The  Program  (Volume  D  of  Computers  and
   Typesetting), Addison-Wesley, 1986, ISBN 0-201-13438-1.

   These last two are by far the largest extant examples of Web programs.

   There  is  an  active  Internet  electronic mail discussion list on the
   subject  of  literate  programming;  send  a  subscription  request  to
   litprog-request@shsu.edu to join.

AUTHORS

   Web  was designed by Donald E. Knuth, based on an earlier system called
   DOC (implemented by Ignacio Zabala).  The tangle and weave programs are
   themselves  written in Web. The system was originally ported to Unix at
   Stanford by Howard Trickey, and at Cornell by Pavel Curtis.





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.