[
  {
    "path": ".gitignore",
    "content": "/README-in.txt\nautom4te.cache/*\nbuild/*\n/guile-wm.info\n/web/*\n\n"
  },
  {
    "path": "AUTHORS",
    "content": "Guile-WM is written and maintained by Mark Witmer (mark@markwitmer.com), Copyright (c) 2013.\n\nDave Thompson (dthompson2@worcester.edu) submitted a patch fixing a crash in tinywm\n"
  },
  {
    "path": "COPYING",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<http://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<http://www.gnu.org/philosophy/why-not-lgpl.html>.\n"
  },
  {
    "path": "ChangeLog",
    "content": ""
  },
  {
    "path": "INSTALL",
    "content": "Installation Instructions\n*************************\n\nCopyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,\nInc.\n\n   Copying and distribution of this file, with or without modification,\nare permitted in any medium without royalty provided the copyright\nnotice and this notice are preserved.  This file is offered as-is,\nwithout warranty of any kind.\n\nBasic Installation\n==================\n\n   Briefly, the shell commands `./configure; make; make install' should\nconfigure, build, and install this package.  The following\nmore-detailed instructions are generic; see the `README' file for\ninstructions specific to this package.  Some packages provide this\n`INSTALL' file but do not implement all of the features documented\nbelow.  The lack of an optional feature in a given package is not\nnecessarily a bug.  More recommendations for GNU packages can be found\nin *note Makefile Conventions: (standards)Makefile Conventions.\n\n   The `configure' shell script attempts to guess correct values for\nvarious system-dependent variables used during compilation.  It uses\nthose values to create a `Makefile' in each directory of the package.\nIt may also create one or more `.h' files containing system-dependent\ndefinitions.  Finally, it creates a shell script `config.status' that\nyou can run in the future to recreate the current configuration, and a\nfile `config.log' containing compiler output (useful mainly for\ndebugging `configure').\n\n   It can also use an optional file (typically called `config.cache'\nand enabled with `--cache-file=config.cache' or simply `-C') that saves\nthe results of its tests to speed up reconfiguring.  Caching is\ndisabled by default to prevent problems with accidental use of stale\ncache files.\n\n   If you need to do unusual things to compile the package, please try\nto figure out how `configure' could check whether to do them, and mail\ndiffs or instructions to the address given in the `README' so they can\nbe considered for the next release.  If you are using the cache, and at\nsome point `config.cache' contains results you don't want to keep, you\nmay remove or edit it.\n\n   The file `configure.ac' (or `configure.in') is used to create\n`configure' by a program called `autoconf'.  You need `configure.ac' if\nyou want to change it or regenerate `configure' using a newer version\nof `autoconf'.\n\n   The simplest way to compile this package is:\n\n  1. `cd' to the directory containing the package's source code and type\n     `./configure' to configure the package for your system.\n\n     Running `configure' might take a while.  While running, it prints\n     some messages telling which features it is checking for.\n\n  2. Type `make' to compile the package.\n\n  3. Optionally, type `make check' to run any self-tests that come with\n     the package, generally using the just-built uninstalled binaries.\n\n  4. Type `make install' to install the programs and any data files and\n     documentation.  When installing into a prefix owned by root, it is\n     recommended that the package be configured and built as a regular\n     user, and only the `make install' phase executed with root\n     privileges.\n\n  5. Optionally, type `make installcheck' to repeat any self-tests, but\n     this time using the binaries in their final installed location.\n     This target does not install anything.  Running this target as a\n     regular user, particularly if the prior `make install' required\n     root privileges, verifies that the installation completed\n     correctly.\n\n  6. You can remove the program binaries and object files from the\n     source code directory by typing `make clean'.  To also remove the\n     files that `configure' created (so you can compile the package for\n     a different kind of computer), type `make distclean'.  There is\n     also a `make maintainer-clean' target, but that is intended mainly\n     for the package's developers.  If you use it, you may have to get\n     all sorts of other programs in order to regenerate files that came\n     with the distribution.\n\n  7. Often, you can also type `make uninstall' to remove the installed\n     files again.  In practice, not all packages have tested that\n     uninstallation works correctly, even though it is required by the\n     GNU Coding Standards.\n\n  8. Some packages, particularly those that use Automake, provide `make\n     distcheck', which can by used by developers to test that all other\n     targets like `make install' and `make uninstall' work correctly.\n     This target is generally not run by end users.\n\nCompilers and Options\n=====================\n\n   Some systems require unusual options for compilation or linking that\nthe `configure' script does not know about.  Run `./configure --help'\nfor details on some of the pertinent environment variables.\n\n   You can give `configure' initial values for configuration parameters\nby setting variables in the command line or in the environment.  Here\nis an example:\n\n     ./configure CC=c99 CFLAGS=-g LIBS=-lposix\n\n   *Note Defining Variables::, for more details.\n\nCompiling For Multiple Architectures\n====================================\n\n   You can compile the package for more than one kind of computer at the\nsame time, by placing the object files for each architecture in their\nown directory.  To do this, you can use GNU `make'.  `cd' to the\ndirectory where you want the object files and executables to go and run\nthe `configure' script.  `configure' automatically checks for the\nsource code in the directory that `configure' is in and in `..'.  This\nis known as a \"VPATH\" build.\n\n   With a non-GNU `make', it is safer to compile the package for one\narchitecture at a time in the source code directory.  After you have\ninstalled the package for one architecture, use `make distclean' before\nreconfiguring for another architecture.\n\n   On MacOS X 10.5 and later systems, you can create libraries and\nexecutables that work on multiple system types--known as \"fat\" or\n\"universal\" binaries--by specifying multiple `-arch' options to the\ncompiler but only a single `-arch' option to the preprocessor.  Like\nthis:\n\n     ./configure CC=\"gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64\" \\\n                 CXX=\"g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64\" \\\n                 CPP=\"gcc -E\" CXXCPP=\"g++ -E\"\n\n   This is not guaranteed to produce working output in all cases, you\nmay have to build one architecture at a time and combine the results\nusing the `lipo' tool if you have problems.\n\nInstallation Names\n==================\n\n   By default, `make install' installs the package's commands under\n`/usr/local/bin', include files under `/usr/local/include', etc.  You\ncan specify an installation prefix other than `/usr/local' by giving\n`configure' the option `--prefix=PREFIX', where PREFIX must be an\nabsolute file name.\n\n   You can specify separate installation prefixes for\narchitecture-specific files and architecture-independent files.  If you\npass the option `--exec-prefix=PREFIX' to `configure', the package uses\nPREFIX as the prefix for installing programs and libraries.\nDocumentation and other data files still use the regular prefix.\n\n   In addition, if you use an unusual directory layout you can give\noptions like `--bindir=DIR' to specify different values for particular\nkinds of files.  Run `configure --help' for a list of the directories\nyou can set and what kinds of files go in them.  In general, the\ndefault for these options is expressed in terms of `${prefix}', so that\nspecifying just `--prefix' will affect all of the other directory\nspecifications that were not explicitly provided.\n\n   The most portable way to affect installation locations is to pass the\ncorrect locations to `configure'; however, many packages provide one or\nboth of the following shortcuts of passing variable assignments to the\n`make install' command line to change installation locations without\nhaving to reconfigure or recompile.\n\n   The first method involves providing an override variable for each\naffected directory.  For example, `make install\nprefix=/alternate/directory' will choose an alternate location for all\ndirectory configuration variables that were expressed in terms of\n`${prefix}'.  Any directories that were specified during `configure',\nbut not in terms of `${prefix}', must each be overridden at install\ntime for the entire installation to be relocated.  The approach of\nmakefile variable overrides for each directory variable is required by\nthe GNU Coding Standards, and ideally causes no recompilation.\nHowever, some platforms have known limitations with the semantics of\nshared libraries that end up requiring recompilation when using this\nmethod, particularly noticeable in packages that use GNU Libtool.\n\n   The second method involves providing the `DESTDIR' variable.  For\nexample, `make install DESTDIR=/alternate/directory' will prepend\n`/alternate/directory' before all installation names.  The approach of\n`DESTDIR' overrides is not required by the GNU Coding Standards, and\ndoes not work on platforms that have drive letters.  On the other hand,\nit does better at avoiding recompilation issues, and works well even\nwhen some directory options were not specified in terms of `${prefix}'\nat `configure' time.\n\nOptional Features\n=================\n\n   If the package supports it, you can cause programs to be installed\nwith an extra prefix or suffix on their names by giving `configure' the\noption `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.\n\n   Some packages pay attention to `--enable-FEATURE' options to\n`configure', where FEATURE indicates an optional part of the package.\nThey may also pay attention to `--with-PACKAGE' options, where PACKAGE\nis something like `gnu-as' or `x' (for the X Window System).  The\n`README' should mention any `--enable-' and `--with-' options that the\npackage recognizes.\n\n   For packages that use the X Window System, `configure' can usually\nfind the X include and library files automatically, but if it doesn't,\nyou can use the `configure' options `--x-includes=DIR' and\n`--x-libraries=DIR' to specify their locations.\n\n   Some packages offer the ability to configure how verbose the\nexecution of `make' will be.  For these packages, running `./configure\n--enable-silent-rules' sets the default to minimal output, which can be\noverridden with `make V=1'; while running `./configure\n--disable-silent-rules' sets the default to verbose, which can be\noverridden with `make V=0'.\n\nParticular systems\n==================\n\n   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU\nCC is not installed, it is recommended to use the following options in\norder to use an ANSI C compiler:\n\n     ./configure CC=\"cc -Ae -D_XOPEN_SOURCE=500\"\n\nand if that doesn't work, install pre-built binaries of GCC for HP-UX.\n\n   HP-UX `make' updates targets which have the same time stamps as\ntheir prerequisites, which makes it generally unusable when shipped\ngenerated files such as `configure' are involved.  Use GNU `make'\ninstead.\n\n   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot\nparse its `<wchar.h>' header file.  The option `-nodtk' can be used as\na workaround.  If GNU CC is not installed, it is therefore recommended\nto try\n\n     ./configure CC=\"cc\"\n\nand if that doesn't work, try\n\n     ./configure CC=\"cc -nodtk\"\n\n   On Solaris, don't put `/usr/ucb' early in your `PATH'.  This\ndirectory contains several dysfunctional programs; working variants of\nthese programs are available in `/usr/bin'.  So, if you need `/usr/ucb'\nin your `PATH', put it _after_ `/usr/bin'.\n\n   On Haiku, software installed for all users goes in `/boot/common',\nnot `/usr/local'.  It is recommended to use the following options:\n\n     ./configure --prefix=/boot/common\n\nSpecifying the System Type\n==========================\n\n   There may be some features `configure' cannot figure out\nautomatically, but needs to determine by the type of machine the package\nwill run on.  Usually, assuming the package is built to be run on the\n_same_ architectures, `configure' can figure that out, but if it prints\na message saying it cannot guess the machine type, give it the\n`--build=TYPE' option.  TYPE can either be a short name for the system\ntype, such as `sun4', or a canonical name which has the form:\n\n     CPU-COMPANY-SYSTEM\n\nwhere SYSTEM can have one of these forms:\n\n     OS\n     KERNEL-OS\n\n   See the file `config.sub' for the possible values of each field.  If\n`config.sub' isn't included in this package, then this package doesn't\nneed to know the machine type.\n\n   If you are _building_ compiler tools for cross-compiling, you should\nuse the option `--target=TYPE' to select the type of system they will\nproduce code for.\n\n   If you want to _use_ a cross compiler, that generates code for a\nplatform different from the build platform, you should specify the\n\"host\" platform (i.e., that on which the generated programs will\neventually be run) with `--host=TYPE'.\n\nSharing Defaults\n================\n\n   If you want to set default values for `configure' scripts to share,\nyou can create a site shell script called `config.site' that gives\ndefault values for variables like `CC', `cache_file', and `prefix'.\n`configure' looks for `PREFIX/share/config.site' if it exists, then\n`PREFIX/etc/config.site' if it exists.  Or, you can set the\n`CONFIG_SITE' environment variable to the location of the site script.\nA warning: not all `configure' scripts look for a site script.\n\nDefining Variables\n==================\n\n   Variables not defined in a site shell script can be set in the\nenvironment passed to `configure'.  However, some packages may run\nconfigure again during the build, and the customized values of these\nvariables may be lost.  In order to avoid this problem, you should set\nthem in the `configure' command line, using `VAR=value'.  For example:\n\n     ./configure CC=/usr/local2/bin/gcc\n\ncauses the specified `gcc' to be used as the C compiler (unless it is\noverridden in the site shell script).\n\nUnfortunately, this technique does not work for `CONFIG_SHELL' due to\nan Autoconf limitation.  Until the limitation is lifted, you can use\nthis workaround:\n\n     CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash\n\n`configure' Invocation\n======================\n\n   `configure' recognizes the following options to control how it\noperates.\n\n`--help'\n`-h'\n     Print a summary of all of the options to `configure', and exit.\n\n`--help=short'\n`--help=recursive'\n     Print a summary of the options unique to this package's\n     `configure', and exit.  The `short' variant lists options used\n     only in the top level, while the `recursive' variant lists options\n     also present in any nested packages.\n\n`--version'\n`-V'\n     Print the version of Autoconf used to generate the `configure'\n     script, and exit.\n\n`--cache-file=FILE'\n     Enable the cache: use and save the results of the tests in FILE,\n     traditionally `config.cache'.  FILE defaults to `/dev/null' to\n     disable caching.\n\n`--config-cache'\n`-C'\n     Alias for `--cache-file=config.cache'.\n\n`--quiet'\n`--silent'\n`-q'\n     Do not print messages saying which checks are being made.  To\n     suppress all normal output, redirect it to `/dev/null' (any error\n     messages will still be shown).\n\n`--srcdir=DIR'\n     Look for the package's source code in directory DIR.  Usually\n     `configure' can determine that directory automatically.\n\n`--prefix=DIR'\n     Use DIR as the installation prefix.  *note Installation Names::\n     for more details, including other options available for fine-tuning\n     the installation locations.\n\n`--no-create'\n`-n'\n     Run the configure checks, but stop before creating any output\n     files.\n\n`configure' also accepts some other, not widely useful, options.  Run\n`configure --help' for more details.\n"
  },
  {
    "path": "LICENSE",
    "content": "GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. {http://fsf.org/}\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    {one line to give the program's name and a brief idea of what it does.}\n    Copyright (C) {year}  {name of author}\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see {http://www.gnu.org/licenses/}.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    guile-wm  Copyright (C) 2013  Mark Witmer\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n{http://www.gnu.org/licenses/}.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n{http://www.gnu.org/philosophy/why-not-lgpl.html}.\n"
  },
  {
    "path": "Makefile.am",
    "content": "dist_bin_SCRIPTS = guile-wm\ndist_data_DATA = wm-init-sample.scm\n\ninfo_TEXINFOS = guile-wm.texi\n\nSUBDIRS = module\n"
  },
  {
    "path": "Makefile.in",
    "content": "# Makefile.in generated by automake 1.14.1 from Makefile.am.\n# @configure_input@\n\n# Copyright (C) 1994-2013 Free Software Foundation, Inc.\n\n# This Makefile.in is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY, to the extent permitted by law; without\n# even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n# PARTICULAR PURPOSE.\n\n@SET_MAKE@\n\n\nVPATH = @srcdir@\nam__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'\nam__make_running_with_option = \\\n  case $${target_option-} in \\\n      ?) ;; \\\n      *) echo \"am__make_running_with_option: internal error: invalid\" \\\n              \"target option '$${target_option-}' specified\" >&2; \\\n         exit 1;; \\\n  esac; \\\n  has_opt=no; \\\n  sane_makeflags=$$MAKEFLAGS; \\\n  if $(am__is_gnu_make); then \\\n    sane_makeflags=$$MFLAGS; \\\n  else \\\n    case $$MAKEFLAGS in \\\n      *\\\\[\\ \\\t]*) \\\n        bs=\\\\; \\\n        sane_makeflags=`printf '%s\\n' \"$$MAKEFLAGS\" \\\n          | sed \"s/$$bs$$bs[$$bs $$bs\t]*//g\"`;; \\\n    esac; \\\n  fi; \\\n  skip_next=no; \\\n  strip_trailopt () \\\n  { \\\n    flg=`printf '%s\\n' \"$$flg\" | sed \"s/$$1.*$$//\"`; \\\n  }; \\\n  for flg in $$sane_makeflags; do \\\n    test $$skip_next = yes && { skip_next=no; continue; }; \\\n    case $$flg in \\\n      *=*|--*) continue;; \\\n        -*I) strip_trailopt 'I'; skip_next=yes;; \\\n      -*I?*) strip_trailopt 'I';; \\\n        -*O) strip_trailopt 'O'; skip_next=yes;; \\\n      -*O?*) strip_trailopt 'O';; \\\n        -*l) strip_trailopt 'l'; skip_next=yes;; \\\n      -*l?*) strip_trailopt 'l';; \\\n      -[dEDm]) skip_next=yes;; \\\n      -[JT]) skip_next=yes;; \\\n    esac; \\\n    case $$flg in \\\n      *$$target_option*) has_opt=yes; break;; \\\n    esac; \\\n  done; \\\n  test $$has_opt = yes\nam__make_dryrun = (target_option=n; $(am__make_running_with_option))\nam__make_keepgoing = (target_option=k; $(am__make_running_with_option))\npkgdatadir = $(datadir)/@PACKAGE@\npkgincludedir = $(includedir)/@PACKAGE@\npkglibdir = $(libdir)/@PACKAGE@\npkglibexecdir = $(libexecdir)/@PACKAGE@\nam__cd = CDPATH=\"$${ZSH_VERSION+.}$(PATH_SEPARATOR)\" && cd\ninstall_sh_DATA = $(install_sh) -c -m 644\ninstall_sh_PROGRAM = $(install_sh) -c\ninstall_sh_SCRIPT = $(install_sh) -c\nINSTALL_HEADER = $(INSTALL_DATA)\ntransform = $(program_transform_name)\nNORMAL_INSTALL = :\nPRE_INSTALL = :\nPOST_INSTALL = :\nNORMAL_UNINSTALL = :\nPRE_UNINSTALL = :\nPOST_UNINSTALL = :\nsubdir = .\nDIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \\\n\t$(srcdir)/Makefile.in $(srcdir)/Makefile.am \\\n\t$(top_srcdir)/configure $(am__configure_deps) \\\n\t$(dist_bin_SCRIPTS) $(top_srcdir)/build_aux/texinfo.tex \\\n\t$(dist_data_DATA) COPYING TODO build_aux/install-sh \\\n\tbuild_aux/missing build_aux/texinfo.tex \\\n\t$(top_srcdir)/build_aux/install-sh \\\n\t$(top_srcdir)/build_aux/missing\nACLOCAL_M4 = $(top_srcdir)/aclocal.m4\nam__aclocal_m4_deps = $(top_srcdir)/configure.ac\nam__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\\n\t$(ACLOCAL_M4)\nam__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \\\n configure.lineno config.status.lineno\nmkinstalldirs = $(install_sh) -d\nCONFIG_CLEAN_FILES =\nCONFIG_CLEAN_VPATH_FILES =\nam__vpath_adj_setup = srcdirstrip=`echo \"$(srcdir)\" | sed 's|.|.|g'`;\nam__vpath_adj = case $$p in \\\n    $(srcdir)/*) f=`echo \"$$p\" | sed \"s|^$$srcdirstrip/||\"`;; \\\n    *) f=$$p;; \\\n  esac;\nam__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;\nam__install_max = 40\nam__nobase_strip_setup = \\\n  srcdirstrip=`echo \"$(srcdir)\" | sed 's/[].[^$$\\\\*|]/\\\\\\\\&/g'`\nam__nobase_strip = \\\n  for p in $$list; do echo \"$$p\"; done | sed -e \"s|$$srcdirstrip/||\"\nam__nobase_list = $(am__nobase_strip_setup); \\\n  for p in $$list; do echo \"$$p $$p\"; done | \\\n  sed \"s| $$srcdirstrip/| |;\"' / .*\\//!s/ .*/ ./; s,\\( .*\\)/[^/]*$$,\\1,' | \\\n  $(AWK) 'BEGIN { files[\".\"] = \"\" } { files[$$2] = files[$$2] \" \" $$1; \\\n    if (++n[$$2] == $(am__install_max)) \\\n      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = \"\" } } \\\n    END { for (dir in files) print dir, files[dir] }'\nam__base_list = \\\n  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\\n/ /g' | \\\n  sed '$$!N;$$!N;$$!N;$$!N;s/\\n/ /g'\nam__uninstall_files_from_dir = { \\\n  test -z \"$$files\" \\\n    || { test ! -d \"$$dir\" && test ! -f \"$$dir\" && test ! -r \"$$dir\"; } \\\n    || { echo \" ( cd '$$dir' && rm -f\" $$files \")\"; \\\n         $(am__cd) \"$$dir\" && rm -f $$files; }; \\\n  }\nam__installdirs = \"$(DESTDIR)$(bindir)\" \"$(DESTDIR)$(infodir)\" \\\n\t\"$(DESTDIR)$(datadir)\"\nSCRIPTS = $(dist_bin_SCRIPTS)\nAM_V_P = $(am__v_P_@AM_V@)\nam__v_P_ = $(am__v_P_@AM_DEFAULT_V@)\nam__v_P_0 = false\nam__v_P_1 = :\nAM_V_GEN = $(am__v_GEN_@AM_V@)\nam__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)\nam__v_GEN_0 = @echo \"  GEN     \" $@;\nam__v_GEN_1 = \nAM_V_at = $(am__v_at_@AM_V@)\nam__v_at_ = $(am__v_at_@AM_DEFAULT_V@)\nam__v_at_0 = @\nam__v_at_1 = \nSOURCES =\nDIST_SOURCES =\nAM_V_DVIPS = $(am__v_DVIPS_@AM_V@)\nam__v_DVIPS_ = $(am__v_DVIPS_@AM_DEFAULT_V@)\nam__v_DVIPS_0 = @echo \"  DVIPS   \" $@;\nam__v_DVIPS_1 = \nAM_V_MAKEINFO = $(am__v_MAKEINFO_@AM_V@)\nam__v_MAKEINFO_ = $(am__v_MAKEINFO_@AM_DEFAULT_V@)\nam__v_MAKEINFO_0 = @echo \"  MAKEINFO\" $@;\nam__v_MAKEINFO_1 = \nAM_V_INFOHTML = $(am__v_INFOHTML_@AM_V@)\nam__v_INFOHTML_ = $(am__v_INFOHTML_@AM_DEFAULT_V@)\nam__v_INFOHTML_0 = @echo \"  INFOHTML\" $@;\nam__v_INFOHTML_1 = \nAM_V_TEXI2DVI = $(am__v_TEXI2DVI_@AM_V@)\nam__v_TEXI2DVI_ = $(am__v_TEXI2DVI_@AM_DEFAULT_V@)\nam__v_TEXI2DVI_0 = @echo \"  TEXI2DVI\" $@;\nam__v_TEXI2DVI_1 = \nAM_V_TEXI2PDF = $(am__v_TEXI2PDF_@AM_V@)\nam__v_TEXI2PDF_ = $(am__v_TEXI2PDF_@AM_DEFAULT_V@)\nam__v_TEXI2PDF_0 = @echo \"  TEXI2PDF\" $@;\nam__v_TEXI2PDF_1 = \nAM_V_texinfo = $(am__v_texinfo_@AM_V@)\nam__v_texinfo_ = $(am__v_texinfo_@AM_DEFAULT_V@)\nam__v_texinfo_0 = -q\nam__v_texinfo_1 = \nAM_V_texidevnull = $(am__v_texidevnull_@AM_V@)\nam__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)\nam__v_texidevnull_0 = > /dev/null\nam__v_texidevnull_1 = \nINFO_DEPS = $(srcdir)/guile-wm.info\nTEXINFO_TEX = $(top_srcdir)/build_aux/texinfo.tex\nam__TEXINFO_TEX_DIR = $(top_srcdir)/build_aux\nDVIS = guile-wm.dvi\nPDFS = guile-wm.pdf\nPSS = guile-wm.ps\nHTMLS = guile-wm.html\nTEXINFOS = guile-wm.texi\nTEXI2DVI = texi2dvi\nTEXI2PDF = $(TEXI2DVI) --pdf --batch\nMAKEINFOHTML = $(MAKEINFO) --html\nAM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)\nDVIPS = dvips\nRECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \\\n\tctags-recursive dvi-recursive html-recursive info-recursive \\\n\tinstall-data-recursive install-dvi-recursive \\\n\tinstall-exec-recursive install-html-recursive \\\n\tinstall-info-recursive install-pdf-recursive \\\n\tinstall-ps-recursive install-recursive installcheck-recursive \\\n\tinstalldirs-recursive pdf-recursive ps-recursive \\\n\ttags-recursive uninstall-recursive\nam__can_run_installinfo = \\\n  case $$AM_UPDATE_INFO_DIR in \\\n    n|no|NO) false;; \\\n    *) (install-info --version) >/dev/null 2>&1;; \\\n  esac\nDATA = $(dist_data_DATA)\nRECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive\t\\\n  distclean-recursive maintainer-clean-recursive\nam__recursive_targets = \\\n  $(RECURSIVE_TARGETS) \\\n  $(RECURSIVE_CLEAN_TARGETS) \\\n  $(am__extra_recursive_targets)\nAM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \\\n\tcscope distdir dist dist-all distcheck\nam__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)\n# Read a list of newline-separated strings from the standard input,\n# and print each of them once, without duplicates.  Input order is\n# *not* preserved.\nam__uniquify_input = $(AWK) '\\\n  BEGIN { nonempty = 0; } \\\n  { items[$$0] = 1; nonempty = 1; } \\\n  END { if (nonempty) { for (i in items) print i; }; } \\\n'\n# Make sure the list of sources is unique.  This is necessary because,\n# e.g., the same source file might be shared among _SOURCES variables\n# for different programs/libraries.\nam__define_uniq_tagged_files = \\\n  list='$(am__tagged_files)'; \\\n  unique=`for i in $$list; do \\\n    if test -f \"$$i\"; then echo $$i; else echo $(srcdir)/$$i; fi; \\\n  done | $(am__uniquify_input)`\nETAGS = etags\nCTAGS = ctags\nCSCOPE = cscope\nDIST_SUBDIRS = $(SUBDIRS)\nDISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)\ndistdir = $(PACKAGE)-$(VERSION)\ntop_distdir = $(distdir)\nam__remove_distdir = \\\n  if test -d \"$(distdir)\"; then \\\n    find \"$(distdir)\" -type d ! -perm -200 -exec chmod u+w {} ';' \\\n      && rm -rf \"$(distdir)\" \\\n      || { sleep 5 && rm -rf \"$(distdir)\"; }; \\\n  else :; fi\nam__post_remove_distdir = $(am__remove_distdir)\nam__relativize = \\\n  dir0=`pwd`; \\\n  sed_first='s,^\\([^/]*\\)/.*$$,\\1,'; \\\n  sed_rest='s,^[^/]*/*,,'; \\\n  sed_last='s,^.*/\\([^/]*\\)$$,\\1,'; \\\n  sed_butlast='s,/*[^/]*$$,,'; \\\n  while test -n \"$$dir1\"; do \\\n    first=`echo \"$$dir1\" | sed -e \"$$sed_first\"`; \\\n    if test \"$$first\" != \".\"; then \\\n      if test \"$$first\" = \"..\"; then \\\n        dir2=`echo \"$$dir0\" | sed -e \"$$sed_last\"`/\"$$dir2\"; \\\n        dir0=`echo \"$$dir0\" | sed -e \"$$sed_butlast\"`; \\\n      else \\\n        first2=`echo \"$$dir2\" | sed -e \"$$sed_first\"`; \\\n        if test \"$$first2\" = \"$$first\"; then \\\n          dir2=`echo \"$$dir2\" | sed -e \"$$sed_rest\"`; \\\n        else \\\n          dir2=\"../$$dir2\"; \\\n        fi; \\\n        dir0=\"$$dir0\"/\"$$first\"; \\\n      fi; \\\n    fi; \\\n    dir1=`echo \"$$dir1\" | sed -e \"$$sed_rest\"`; \\\n  done; \\\n  reldir=\"$$dir2\"\nDIST_ARCHIVES = $(distdir).tar.gz\nGZIP_ENV = --best\nDIST_TARGETS = dist-gzip\ndistuninstallcheck_listfiles = find . -type f -print\nam__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \\\n  | sed 's|^\\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'\ndistcleancheck_listfiles = find . -type f -print\nACLOCAL = @ACLOCAL@\nAMTAR = @AMTAR@\nAM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@\nAUTOCONF = @AUTOCONF@\nAUTOHEADER = @AUTOHEADER@\nAUTOMAKE = @AUTOMAKE@\nAWK = @AWK@\nCYGPATH_W = @CYGPATH_W@\nDEFS = @DEFS@\nECHO_C = @ECHO_C@\nECHO_N = @ECHO_N@\nECHO_T = @ECHO_T@\nGUILE = @GUILE@\nGUILE_CONFIG = @GUILE_CONFIG@\nGUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@\nGUILE_SITE = @GUILE_SITE@\nGUILE_TOOLS = @GUILE_TOOLS@\nINSTALL = @INSTALL@\nINSTALL_DATA = @INSTALL_DATA@\nINSTALL_PROGRAM = @INSTALL_PROGRAM@\nINSTALL_SCRIPT = @INSTALL_SCRIPT@\nINSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@\nLIBOBJS = @LIBOBJS@\nLIBS = @LIBS@\nLTLIBOBJS = @LTLIBOBJS@\nMAKEINFO = @MAKEINFO@\nMKDIR_P = @MKDIR_P@\nPACKAGE = @PACKAGE@\nPACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@\nPACKAGE_NAME = @PACKAGE_NAME@\nPACKAGE_STRING = @PACKAGE_STRING@\nPACKAGE_TARNAME = @PACKAGE_TARNAME@\nPACKAGE_URL = @PACKAGE_URL@\nPACKAGE_VERSION = @PACKAGE_VERSION@\nPATH_SEPARATOR = @PATH_SEPARATOR@\nPKG_CONFIG = @PKG_CONFIG@\nPKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@\nPKG_CONFIG_PATH = @PKG_CONFIG_PATH@\nSET_MAKE = @SET_MAKE@\nSHELL = @SHELL@\nSTRIP = @STRIP@\nVERSION = @VERSION@\nabs_builddir = @abs_builddir@\nabs_srcdir = @abs_srcdir@\nabs_top_builddir = @abs_top_builddir@\nabs_top_srcdir = @abs_top_srcdir@\nam__leading_dot = @am__leading_dot@\nam__tar = @am__tar@\nam__untar = @am__untar@\nbindir = @bindir@\nbuild_alias = @build_alias@\nbuilddir = @builddir@\ndatadir = @datadir@\ndatarootdir = @datarootdir@\ndocdir = @docdir@\ndvidir = @dvidir@\nexec_prefix = @exec_prefix@\nguilesitedir = @guilesitedir@\nhost_alias = @host_alias@\nhtmldir = @htmldir@\nincludedir = @includedir@\ninfodir = @infodir@\ninstall_sh = @install_sh@\nlibdir = @libdir@\nlibexecdir = @libexecdir@\nlocaledir = @localedir@\nlocalstatedir = @localstatedir@\nmandir = @mandir@\nmkdir_p = @mkdir_p@\noldincludedir = @oldincludedir@\npdfdir = @pdfdir@\nprefix = @prefix@\nprogram_transform_name = @program_transform_name@\npsdir = @psdir@\nsbindir = @sbindir@\nsharedstatedir = @sharedstatedir@\nsrcdir = @srcdir@\nsysconfdir = @sysconfdir@\ntarget_alias = @target_alias@\ntop_build_prefix = @top_build_prefix@\ntop_builddir = @top_builddir@\ntop_srcdir = @top_srcdir@\ndist_bin_SCRIPTS = guile-wm\ndist_data_DATA = wm-init-sample.scm\ninfo_TEXINFOS = guile-wm.texi\nSUBDIRS = module\nall: all-recursive\n\n.SUFFIXES:\n.SUFFIXES: .dvi .html .info .pdf .ps .texi\nam--refresh: Makefile\n\t@:\n$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)\n\t@for dep in $?; do \\\n\t  case '$(am__configure_deps)' in \\\n\t    *$$dep*) \\\n\t      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \\\n\t      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \\\n\t\t&& exit 0; \\\n\t      exit 1;; \\\n\t  esac; \\\n\tdone; \\\n\techo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \\\n\t$(am__cd) $(top_srcdir) && \\\n\t  $(AUTOMAKE) --gnu Makefile\n.PRECIOUS: Makefile\nMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status\n\t@case '$?' in \\\n\t  *config.status*) \\\n\t    echo ' $(SHELL) ./config.status'; \\\n\t    $(SHELL) ./config.status;; \\\n\t  *) \\\n\t    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \\\n\t    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \\\n\tesac;\n\n$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)\n\t$(SHELL) ./config.status --recheck\n\n$(top_srcdir)/configure:  $(am__configure_deps)\n\t$(am__cd) $(srcdir) && $(AUTOCONF)\n$(ACLOCAL_M4):  $(am__aclocal_m4_deps)\n\t$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)\n$(am__aclocal_m4_deps):\ninstall-dist_binSCRIPTS: $(dist_bin_SCRIPTS)\n\t@$(NORMAL_INSTALL)\n\t@list='$(dist_bin_SCRIPTS)'; test -n \"$(bindir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(bindir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(bindir)\" || exit 1; \\\n\tfi; \\\n\tfor p in $$list; do \\\n\t  if test -f \"$$p\"; then d=; else d=\"$(srcdir)/\"; fi; \\\n\t  if test -f \"$$d$$p\"; then echo \"$$d$$p\"; echo \"$$p\"; else :; fi; \\\n\tdone | \\\n\tsed -e 'p;s,.*/,,;n' \\\n\t    -e 'h;s|.*|.|' \\\n\t    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\\n, ,g' | \\\n\t$(AWK) 'BEGIN { files[\".\"] = \"\"; dirs[\".\"] = 1; } \\\n\t  { d=$$3; if (dirs[d] != 1) { print \"d\", d; dirs[d] = 1 } \\\n\t    if ($$2 == $$4) { files[d] = files[d] \" \" $$1; \\\n\t      if (++n[d] == $(am__install_max)) { \\\n\t\tprint \"f\", d, files[d]; n[d] = 0; files[d] = \"\" } } \\\n\t    else { print \"f\", d \"/\" $$4, $$1 } } \\\n\t  END { for (d in files) print \"f\", d, files[d] }' | \\\n\twhile read type dir files; do \\\n\t     if test \"$$dir\" = .; then dir=; else dir=/$$dir; fi; \\\n\t     test -z \"$$files\" || { \\\n\t       echo \" $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'\"; \\\n\t       $(INSTALL_SCRIPT) $$files \"$(DESTDIR)$(bindir)$$dir\" || exit $$?; \\\n\t     } \\\n\t; done\n\nuninstall-dist_binSCRIPTS:\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(dist_bin_SCRIPTS)'; test -n \"$(bindir)\" || exit 0; \\\n\tfiles=`for p in $$list; do echo \"$$p\"; done | \\\n\t       sed -e 's,.*/,,;$(transform)'`; \\\n\tdir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)\n\ninstallcheck-dist_binSCRIPTS: $(dist_bin_SCRIPTS)\n\tbad=0; pid=$$$$; list=\"$(dist_bin_SCRIPTS)\"; for p in $$list; do \\\n\t  case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \\\n\t   *\" $$p \"* | *\" $(srcdir)/$$p \"*) continue;; \\\n\t  esac; \\\n\t  f=`echo \"$$p\" | sed 's,^.*/,,;$(transform)'`; \\\n\t  for opt in --help --version; do \\\n\t    if \"$(DESTDIR)$(bindir)/$$f\" $$opt >c$${pid}_.out \\\n\t         2>c$${pid}_.err </dev/null \\\n\t\t && test -n \"`cat c$${pid}_.out`\" \\\n\t\t && test -z \"`cat c$${pid}_.err`\"; then :; \\\n\t    else echo \"$$f does not support $$opt\" 1>&2; bad=1; fi; \\\n\t  done; \\\n\tdone; rm -f c$${pid}_.???; exit $$bad\n\n.texi.info:\n\t$(AM_V_MAKEINFO)restore=: && backupdir=\"$(am__leading_dot)am$$$$\" && \\\n\tam__cwd=`pwd` && $(am__cd) $(srcdir) && \\\n\trm -rf $$backupdir && mkdir $$backupdir && \\\n\tif ($(MAKEINFO) --version) >/dev/null 2>&1; then \\\n\t  for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \\\n\t    if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \\\n\t  done; \\\n\telse :; fi && \\\n\tcd \"$$am__cwd\"; \\\n\tif $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \\\n\t -o $@ $<; \\\n\tthen \\\n\t  rc=0; \\\n\t  $(am__cd) $(srcdir); \\\n\telse \\\n\t  rc=$$?; \\\n\t  $(am__cd) $(srcdir) && \\\n\t  $$restore $$backupdir/* `echo \"./$@\" | sed 's|[^/]*$$||'`; \\\n\tfi; \\\n\trm -rf $$backupdir; exit $$rc\n\n.texi.dvi:\n\t$(AM_V_TEXI2DVI)TEXINPUTS=\"$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS\" \\\n\tMAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \\\n\t$(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \\\n\t$<\n\n.texi.pdf:\n\t$(AM_V_TEXI2PDF)TEXINPUTS=\"$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS\" \\\n\tMAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \\\n\t$(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \\\n\t$<\n\n.texi.html:\n\t$(AM_V_MAKEINFO)rm -rf $(@:.html=.htp)\n\t$(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \\\n\t -o $(@:.html=.htp) $<; \\\n\tthen \\\n\t  rm -rf $@ && mv $(@:.html=.htp) $@; \\\n\telse \\\n\t  rm -rf $(@:.html=.htp); exit 1; \\\n\tfi\n$(srcdir)/guile-wm.info: guile-wm.texi \nguile-wm.dvi: guile-wm.texi \nguile-wm.pdf: guile-wm.texi \nguile-wm.html: guile-wm.texi \n.dvi.ps:\n\t$(AM_V_DVIPS)TEXINPUTS=\"$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS\" \\\n\t$(DVIPS) $(AM_V_texinfo) -o $@ $<\n\nuninstall-dvi-am:\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(DVIS)'; test -n \"$(dvidir)\" || list=; \\\n\tfor p in $$list; do \\\n\t  $(am__strip_dir) \\\n\t  echo \" rm -f '$(DESTDIR)$(dvidir)/$$f'\"; \\\n\t  rm -f \"$(DESTDIR)$(dvidir)/$$f\"; \\\n\tdone\n\nuninstall-html-am:\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(HTMLS)'; test -n \"$(htmldir)\" || list=; \\\n\tfor p in $$list; do \\\n\t  $(am__strip_dir) \\\n\t  echo \" rm -rf '$(DESTDIR)$(htmldir)/$$f'\"; \\\n\t  rm -rf \"$(DESTDIR)$(htmldir)/$$f\"; \\\n\tdone\n\nuninstall-info-am:\n\t@$(PRE_UNINSTALL)\n\t@if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \\\n\t  list='$(INFO_DEPS)'; \\\n\t  for file in $$list; do \\\n\t    relfile=`echo \"$$file\" | sed 's|^.*/||'`; \\\n\t    echo \" install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'\"; \\\n\t    if install-info --info-dir=\"$(DESTDIR)$(infodir)\" --remove \"$(DESTDIR)$(infodir)/$$relfile\"; \\\n\t    then :; else test ! -f \"$(DESTDIR)$(infodir)/$$relfile\" || exit 1; fi; \\\n\t  done; \\\n\telse :; fi\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(INFO_DEPS)'; \\\n\tfor file in $$list; do \\\n\t  relfile=`echo \"$$file\" | sed 's|^.*/||'`; \\\n\t  relfile_i=`echo \"$$relfile\" | sed 's|\\.info$$||;s|$$|.i|'`; \\\n\t  (if test -d \"$(DESTDIR)$(infodir)\" && cd \"$(DESTDIR)$(infodir)\"; then \\\n\t     echo \" cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]\"; \\\n\t     rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \\\n\t   else :; fi); \\\n\tdone\n\nuninstall-pdf-am:\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(PDFS)'; test -n \"$(pdfdir)\" || list=; \\\n\tfor p in $$list; do \\\n\t  $(am__strip_dir) \\\n\t  echo \" rm -f '$(DESTDIR)$(pdfdir)/$$f'\"; \\\n\t  rm -f \"$(DESTDIR)$(pdfdir)/$$f\"; \\\n\tdone\n\nuninstall-ps-am:\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(PSS)'; test -n \"$(psdir)\" || list=; \\\n\tfor p in $$list; do \\\n\t  $(am__strip_dir) \\\n\t  echo \" rm -f '$(DESTDIR)$(psdir)/$$f'\"; \\\n\t  rm -f \"$(DESTDIR)$(psdir)/$$f\"; \\\n\tdone\n\ndist-info: $(INFO_DEPS)\n\t@srcdirstrip=`echo \"$(srcdir)\" | sed 's|.|.|g'`; \\\n\tlist='$(INFO_DEPS)'; \\\n\tfor base in $$list; do \\\n\t  case $$base in \\\n\t    $(srcdir)/*) base=`echo \"$$base\" | sed \"s|^$$srcdirstrip/||\"`;; \\\n\t  esac; \\\n\t  if test -f $$base; then d=.; else d=$(srcdir); fi; \\\n\t  base_i=`echo \"$$base\" | sed 's|\\.info$$||;s|$$|.i|'`; \\\n\t  for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \\\n\t    if test -f $$file; then \\\n\t      relfile=`expr \"$$file\" : \"$$d/\\(.*\\)\"`; \\\n\t      test -f \"$(distdir)/$$relfile\" || \\\n\t\tcp -p $$file \"$(distdir)/$$relfile\"; \\\n\t    else :; fi; \\\n\t  done; \\\n\tdone\n\nmostlyclean-aminfo:\n\t-rm -rf guile-wm.t2d guile-wm.t2p\n\nclean-aminfo:\n\t-test -z \"guile-wm.dvi guile-wm.pdf guile-wm.ps guile-wm.html\" \\\n\t|| rm -rf guile-wm.dvi guile-wm.pdf guile-wm.ps guile-wm.html\n\nmaintainer-clean-aminfo:\n\t@list='$(INFO_DEPS)'; for i in $$list; do \\\n\t  i_i=`echo \"$$i\" | sed 's|\\.info$$||;s|$$|.i|'`; \\\n\t  echo \" rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]\"; \\\n\t  rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \\\n\tdone\ninstall-dist_dataDATA: $(dist_data_DATA)\n\t@$(NORMAL_INSTALL)\n\t@list='$(dist_data_DATA)'; test -n \"$(datadir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(datadir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(datadir)\" || exit 1; \\\n\tfi; \\\n\tfor p in $$list; do \\\n\t  if test -f \"$$p\"; then d=; else d=\"$(srcdir)/\"; fi; \\\n\t  echo \"$$d$$p\"; \\\n\tdone | $(am__base_list) | \\\n\twhile read files; do \\\n\t  echo \" $(INSTALL_DATA) $$files '$(DESTDIR)$(datadir)'\"; \\\n\t  $(INSTALL_DATA) $$files \"$(DESTDIR)$(datadir)\" || exit $$?; \\\n\tdone\n\nuninstall-dist_dataDATA:\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(dist_data_DATA)'; test -n \"$(datadir)\" || list=; \\\n\tfiles=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \\\n\tdir='$(DESTDIR)$(datadir)'; $(am__uninstall_files_from_dir)\n\n# This directory's subdirectories are mostly independent; you can cd\n# into them and run 'make' without going through this Makefile.\n# To change the values of 'make' variables: instead of editing Makefiles,\n# (1) if the variable is set in 'config.status', edit 'config.status'\n#     (which will cause the Makefiles to be regenerated when you run 'make');\n# (2) otherwise, pass the desired values on the 'make' command line.\n$(am__recursive_targets):\n\t@fail=; \\\n\tif $(am__make_keepgoing); then \\\n\t  failcom='fail=yes'; \\\n\telse \\\n\t  failcom='exit 1'; \\\n\tfi; \\\n\tdot_seen=no; \\\n\ttarget=`echo $@ | sed s/-recursive//`; \\\n\tcase \"$@\" in \\\n\t  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \\\n\t  *) list='$(SUBDIRS)' ;; \\\n\tesac; \\\n\tfor subdir in $$list; do \\\n\t  echo \"Making $$target in $$subdir\"; \\\n\t  if test \"$$subdir\" = \".\"; then \\\n\t    dot_seen=yes; \\\n\t    local_target=\"$$target-am\"; \\\n\t  else \\\n\t    local_target=\"$$target\"; \\\n\t  fi; \\\n\t  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \\\n\t  || eval $$failcom; \\\n\tdone; \\\n\tif test \"$$dot_seen\" = \"no\"; then \\\n\t  $(MAKE) $(AM_MAKEFLAGS) \"$$target-am\" || exit 1; \\\n\tfi; test -z \"$$fail\"\n\nID: $(am__tagged_files)\n\t$(am__define_uniq_tagged_files); mkid -fID $$unique\ntags: tags-recursive\nTAGS: tags\n\ntags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)\n\tset x; \\\n\there=`pwd`; \\\n\tif ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \\\n\t  include_option=--etags-include; \\\n\t  empty_fix=.; \\\n\telse \\\n\t  include_option=--include; \\\n\t  empty_fix=; \\\n\tfi; \\\n\tlist='$(SUBDIRS)'; for subdir in $$list; do \\\n\t  if test \"$$subdir\" = .; then :; else \\\n\t    test ! -f $$subdir/TAGS || \\\n\t      set \"$$@\" \"$$include_option=$$here/$$subdir/TAGS\"; \\\n\t  fi; \\\n\tdone; \\\n\t$(am__define_uniq_tagged_files); \\\n\tshift; \\\n\tif test -z \"$(ETAGS_ARGS)$$*$$unique\"; then :; else \\\n\t  test -n \"$$unique\" || unique=$$empty_fix; \\\n\t  if test $$# -gt 0; then \\\n\t    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \\\n\t      \"$$@\" $$unique; \\\n\t  else \\\n\t    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \\\n\t      $$unique; \\\n\t  fi; \\\n\tfi\nctags: ctags-recursive\n\nCTAGS: ctags\nctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)\n\t$(am__define_uniq_tagged_files); \\\n\ttest -z \"$(CTAGS_ARGS)$$unique\" \\\n\t  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \\\n\t     $$unique\n\nGTAGS:\n\there=`$(am__cd) $(top_builddir) && pwd` \\\n\t  && $(am__cd) $(top_srcdir) \\\n\t  && gtags -i $(GTAGS_ARGS) \"$$here\"\ncscope: cscope.files\n\ttest ! -s cscope.files \\\n\t  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)\nclean-cscope:\n\t-rm -f cscope.files\ncscope.files: clean-cscope cscopelist\ncscopelist: cscopelist-recursive\n\ncscopelist-am: $(am__tagged_files)\n\tlist='$(am__tagged_files)'; \\\n\tcase \"$(srcdir)\" in \\\n\t  [\\\\/]* | ?:[\\\\/]*) sdir=\"$(srcdir)\" ;; \\\n\t  *) sdir=$(subdir)/$(srcdir) ;; \\\n\tesac; \\\n\tfor i in $$list; do \\\n\t  if test -f \"$$i\"; then \\\n\t    echo \"$(subdir)/$$i\"; \\\n\t  else \\\n\t    echo \"$$sdir/$$i\"; \\\n\t  fi; \\\n\tdone >> $(top_builddir)/cscope.files\n\ndistclean-tags:\n\t-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags\n\t-rm -f cscope.out cscope.in.out cscope.po.out cscope.files\n\ndistdir: $(DISTFILES)\n\t$(am__remove_distdir)\n\ttest -d \"$(distdir)\" || mkdir \"$(distdir)\"\n\t@srcdirstrip=`echo \"$(srcdir)\" | sed 's/[].[^$$\\\\*]/\\\\\\\\&/g'`; \\\n\ttopsrcdirstrip=`echo \"$(top_srcdir)\" | sed 's/[].[^$$\\\\*]/\\\\\\\\&/g'`; \\\n\tlist='$(DISTFILES)'; \\\n\t  dist_files=`for file in $$list; do echo $$file; done | \\\n\t  sed -e \"s|^$$srcdirstrip/||;t\" \\\n\t      -e \"s|^$$topsrcdirstrip/|$(top_builddir)/|;t\"`; \\\n\tcase $$dist_files in \\\n\t  */*) $(MKDIR_P) `echo \"$$dist_files\" | \\\n\t\t\t   sed '/\\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \\\n\t\t\t   sort -u` ;; \\\n\tesac; \\\n\tfor file in $$dist_files; do \\\n\t  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \\\n\t  if test -d $$d/$$file; then \\\n\t    dir=`echo \"/$$file\" | sed -e 's,/[^/]*$$,,'`; \\\n\t    if test -d \"$(distdir)/$$file\"; then \\\n\t      find \"$(distdir)/$$file\" -type d ! -perm -700 -exec chmod u+rwx {} \\;; \\\n\t    fi; \\\n\t    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \\\n\t      cp -fpR $(srcdir)/$$file \"$(distdir)$$dir\" || exit 1; \\\n\t      find \"$(distdir)/$$file\" -type d ! -perm -700 -exec chmod u+rwx {} \\;; \\\n\t    fi; \\\n\t    cp -fpR $$d/$$file \"$(distdir)$$dir\" || exit 1; \\\n\t  else \\\n\t    test -f \"$(distdir)/$$file\" \\\n\t    || cp -p $$d/$$file \"$(distdir)/$$file\" \\\n\t    || exit 1; \\\n\t  fi; \\\n\tdone\n\t@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \\\n\t  if test \"$$subdir\" = .; then :; else \\\n\t    $(am__make_dryrun) \\\n\t      || test -d \"$(distdir)/$$subdir\" \\\n\t      || $(MKDIR_P) \"$(distdir)/$$subdir\" \\\n\t      || exit 1; \\\n\t    dir1=$$subdir; dir2=\"$(distdir)/$$subdir\"; \\\n\t    $(am__relativize); \\\n\t    new_distdir=$$reldir; \\\n\t    dir1=$$subdir; dir2=\"$(top_distdir)\"; \\\n\t    $(am__relativize); \\\n\t    new_top_distdir=$$reldir; \\\n\t    echo \" (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=\"$$new_top_distdir\" distdir=\"$$new_distdir\" \\\\\"; \\\n\t    echo \"     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)\"; \\\n\t    ($(am__cd) $$subdir && \\\n\t      $(MAKE) $(AM_MAKEFLAGS) \\\n\t        top_distdir=\"$$new_top_distdir\" \\\n\t        distdir=\"$$new_distdir\" \\\n\t\tam__remove_distdir=: \\\n\t\tam__skip_length_check=: \\\n\t\tam__skip_mode_fix=: \\\n\t        distdir) \\\n\t      || exit 1; \\\n\t  fi; \\\n\tdone\n\t$(MAKE) $(AM_MAKEFLAGS) \\\n\t  top_distdir=\"$(top_distdir)\" distdir=\"$(distdir)\" \\\n\t  dist-info\n\t-test -n \"$(am__skip_mode_fix)\" \\\n\t|| find \"$(distdir)\" -type d ! -perm -755 \\\n\t\t-exec chmod u+rwx,go+rx {} \\; -o \\\n\t  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \\; -o \\\n\t  ! -type d ! -perm -400 -exec chmod a+r {} \\; -o \\\n\t  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \\; \\\n\t|| chmod -R a+r \"$(distdir)\"\ndist-gzip: distdir\n\ttardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz\n\t$(am__post_remove_distdir)\n\ndist-bzip2: distdir\n\ttardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2\n\t$(am__post_remove_distdir)\n\ndist-lzip: distdir\n\ttardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz\n\t$(am__post_remove_distdir)\n\ndist-xz: distdir\n\ttardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz\n\t$(am__post_remove_distdir)\n\ndist-tarZ: distdir\n\t@echo WARNING: \"Support for shar distribution archives is\" \\\n\t               \"deprecated.\" >&2\n\t@echo WARNING: \"It will be removed altogether in Automake 2.0\" >&2\n\ttardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z\n\t$(am__post_remove_distdir)\n\ndist-shar: distdir\n\t@echo WARNING: \"Support for distribution archives compressed with\" \\\n\t\t       \"legacy program 'compress' is deprecated.\" >&2\n\t@echo WARNING: \"It will be removed altogether in Automake 2.0\" >&2\n\tshar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz\n\t$(am__post_remove_distdir)\n\ndist-zip: distdir\n\t-rm -f $(distdir).zip\n\tzip -rq $(distdir).zip $(distdir)\n\t$(am__post_remove_distdir)\n\ndist dist-all:\n\t$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'\n\t$(am__post_remove_distdir)\n\n# This target untars the dist file and tries a VPATH configuration.  Then\n# it guarantees that the distribution is self-contained by making another\n# tarfile.\ndistcheck: dist\n\tcase '$(DIST_ARCHIVES)' in \\\n\t*.tar.gz*) \\\n\t  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\\\n\t*.tar.bz2*) \\\n\t  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\\\n\t*.tar.lz*) \\\n\t  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\\\n\t*.tar.xz*) \\\n\t  xz -dc $(distdir).tar.xz | $(am__untar) ;;\\\n\t*.tar.Z*) \\\n\t  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\\\n\t*.shar.gz*) \\\n\t  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\\\n\t*.zip*) \\\n\t  unzip $(distdir).zip ;;\\\n\tesac\n\tchmod -R a-w $(distdir)\n\tchmod u+w $(distdir)\n\tmkdir $(distdir)/_build $(distdir)/_inst\n\tchmod a-w $(distdir)\n\ttest -d $(distdir)/_build || exit 0; \\\n\tdc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\\\/]:[\\\\/],/,'` \\\n\t  && dc_destdir=\"$${TMPDIR-/tmp}/am-dc-$$$$/\" \\\n\t  && am__cwd=`pwd` \\\n\t  && $(am__cd) $(distdir)/_build \\\n\t  && ../configure \\\n\t    $(AM_DISTCHECK_CONFIGURE_FLAGS) \\\n\t    $(DISTCHECK_CONFIGURE_FLAGS) \\\n\t    --srcdir=.. --prefix=\"$$dc_install_base\" \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) dvi \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) check \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) install \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) installcheck \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) uninstall \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir=\"$$dc_install_base\" \\\n\t        distuninstallcheck \\\n\t  && chmod -R a-w \"$$dc_install_base\" \\\n\t  && ({ \\\n\t       (cd ../.. && umask 077 && mkdir \"$$dc_destdir\") \\\n\t       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=\"$$dc_destdir\" install \\\n\t       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=\"$$dc_destdir\" uninstall \\\n\t       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=\"$$dc_destdir\" \\\n\t            distuninstallcheck_dir=\"$$dc_destdir\" distuninstallcheck; \\\n\t      } || { rm -rf \"$$dc_destdir\"; exit 1; }) \\\n\t  && rm -rf \"$$dc_destdir\" \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) dist \\\n\t  && rm -rf $(DIST_ARCHIVES) \\\n\t  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \\\n\t  && cd \"$$am__cwd\" \\\n\t  || exit 1\n\t$(am__post_remove_distdir)\n\t@(echo \"$(distdir) archives ready for distribution: \"; \\\n\t  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \\\n\t  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'\ndistuninstallcheck:\n\t@test -n '$(distuninstallcheck_dir)' || { \\\n\t  echo 'ERROR: trying to run $@ with an empty' \\\n\t       '$$(distuninstallcheck_dir)' >&2; \\\n\t  exit 1; \\\n\t}; \\\n\t$(am__cd) '$(distuninstallcheck_dir)' || { \\\n\t  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \\\n\t  exit 1; \\\n\t}; \\\n\ttest `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \\\n\t   || { echo \"ERROR: files left after uninstall:\" ; \\\n\t        if test -n \"$(DESTDIR)\"; then \\\n\t          echo \"  (check DESTDIR support)\"; \\\n\t        fi ; \\\n\t        $(distuninstallcheck_listfiles) ; \\\n\t        exit 1; } >&2\ndistcleancheck: distclean\n\t@if test '$(srcdir)' = . ; then \\\n\t  echo \"ERROR: distcleancheck can only run from a VPATH build\" ; \\\n\t  exit 1 ; \\\n\tfi\n\t@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \\\n\t  || { echo \"ERROR: files left in build directory after distclean:\" ; \\\n\t       $(distcleancheck_listfiles) ; \\\n\t       exit 1; } >&2\ncheck-am: all-am\ncheck: check-recursive\nall-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)\ninstalldirs: installdirs-recursive\ninstalldirs-am:\n\tfor dir in \"$(DESTDIR)$(bindir)\" \"$(DESTDIR)$(infodir)\" \"$(DESTDIR)$(datadir)\"; do \\\n\t  test -z \"$$dir\" || $(MKDIR_P) \"$$dir\"; \\\n\tdone\ninstall: install-recursive\ninstall-exec: install-exec-recursive\ninstall-data: install-data-recursive\nuninstall: uninstall-recursive\n\ninstall-am: all-am\n\t@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am\n\ninstallcheck: installcheck-recursive\ninstall-strip:\n\tif test -z '$(STRIP)'; then \\\n\t  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" \\\n\t    install_sh_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" INSTALL_STRIP_FLAG=-s \\\n\t      install; \\\n\telse \\\n\t  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" \\\n\t    install_sh_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" INSTALL_STRIP_FLAG=-s \\\n\t    \"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'\" install; \\\n\tfi\nmostlyclean-generic:\n\nclean-generic:\n\ndistclean-generic:\n\t-test -z \"$(CONFIG_CLEAN_FILES)\" || rm -f $(CONFIG_CLEAN_FILES)\n\t-test . = \"$(srcdir)\" || test -z \"$(CONFIG_CLEAN_VPATH_FILES)\" || rm -f $(CONFIG_CLEAN_VPATH_FILES)\n\nmaintainer-clean-generic:\n\t@echo \"This command is intended for maintainers to use\"\n\t@echo \"it deletes files that may require special tools to rebuild.\"\nclean: clean-recursive\n\nclean-am: clean-aminfo clean-generic mostlyclean-am\n\ndistclean: distclean-recursive\n\t-rm -f $(am__CONFIG_DISTCLEAN_FILES)\n\t-rm -f Makefile\ndistclean-am: clean-am distclean-generic distclean-tags\n\ndvi: dvi-recursive\n\ndvi-am: $(DVIS)\n\nhtml: html-recursive\n\nhtml-am: $(HTMLS)\n\ninfo: info-recursive\n\ninfo-am: $(INFO_DEPS)\n\ninstall-data-am: install-dist_dataDATA install-info-am\n\ninstall-dvi: install-dvi-recursive\n\ninstall-dvi-am: $(DVIS)\n\t@$(NORMAL_INSTALL)\n\t@list='$(DVIS)'; test -n \"$(dvidir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(dvidir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(dvidir)\" || exit 1; \\\n\tfi; \\\n\tfor p in $$list; do \\\n\t  if test -f \"$$p\"; then d=; else d=\"$(srcdir)/\"; fi; \\\n\t  echo \"$$d$$p\"; \\\n\tdone | $(am__base_list) | \\\n\twhile read files; do \\\n\t  echo \" $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'\"; \\\n\t  $(INSTALL_DATA) $$files \"$(DESTDIR)$(dvidir)\" || exit $$?; \\\n\tdone\ninstall-exec-am: install-dist_binSCRIPTS\n\ninstall-html: install-html-recursive\n\ninstall-html-am: $(HTMLS)\n\t@$(NORMAL_INSTALL)\n\t@list='$(HTMLS)'; list2=; test -n \"$(htmldir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(htmldir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(htmldir)\" || exit 1; \\\n\tfi; \\\n\tfor p in $$list; do \\\n\t  if test -f \"$$p\" || test -d \"$$p\"; then d=; else d=\"$(srcdir)/\"; fi; \\\n\t  $(am__strip_dir) \\\n\t  d2=$$d$$p; \\\n\t  if test -d \"$$d2\"; then \\\n\t    echo \" $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'\"; \\\n\t    $(MKDIR_P) \"$(DESTDIR)$(htmldir)/$$f\" || exit 1; \\\n\t    echo \" $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'\"; \\\n\t    $(INSTALL_DATA) \"$$d2\"/* \"$(DESTDIR)$(htmldir)/$$f\" || exit $$?; \\\n\t  else \\\n\t    list2=\"$$list2 $$d2\"; \\\n\t  fi; \\\n\tdone; \\\n\ttest -z \"$$list2\" || { echo \"$$list2\" | $(am__base_list) | \\\n\twhile read files; do \\\n\t  echo \" $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'\"; \\\n\t  $(INSTALL_DATA) $$files \"$(DESTDIR)$(htmldir)\" || exit $$?; \\\n\tdone; }\ninstall-info: install-info-recursive\n\ninstall-info-am: $(INFO_DEPS)\n\t@$(NORMAL_INSTALL)\n\t@srcdirstrip=`echo \"$(srcdir)\" | sed 's|.|.|g'`; \\\n\tlist='$(INFO_DEPS)'; test -n \"$(infodir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(infodir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(infodir)\" || exit 1; \\\n\tfi; \\\n\tfor file in $$list; do \\\n\t  case $$file in \\\n\t    $(srcdir)/*) file=`echo \"$$file\" | sed \"s|^$$srcdirstrip/||\"`;; \\\n\t  esac; \\\n\t  if test -f $$file; then d=.; else d=$(srcdir); fi; \\\n\t  file_i=`echo \"$$file\" | sed 's|\\.info$$||;s|$$|.i|'`; \\\n\t  for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \\\n\t               $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \\\n\t    if test -f $$ifile; then \\\n\t      echo \"$$ifile\"; \\\n\t    else : ; fi; \\\n\t  done; \\\n\tdone | $(am__base_list) | \\\n\twhile read files; do \\\n\t  echo \" $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'\"; \\\n\t  $(INSTALL_DATA) $$files \"$(DESTDIR)$(infodir)\" || exit $$?; done\n\t@$(POST_INSTALL)\n\t@if $(am__can_run_installinfo); then \\\n\t  list='$(INFO_DEPS)'; test -n \"$(infodir)\" || list=; \\\n\t  for file in $$list; do \\\n\t    relfile=`echo \"$$file\" | sed 's|^.*/||'`; \\\n\t    echo \" install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'\";\\\n\t    install-info --info-dir=\"$(DESTDIR)$(infodir)\" \"$(DESTDIR)$(infodir)/$$relfile\" || :;\\\n\t  done; \\\n\telse : ; fi\ninstall-man:\n\ninstall-pdf: install-pdf-recursive\n\ninstall-pdf-am: $(PDFS)\n\t@$(NORMAL_INSTALL)\n\t@list='$(PDFS)'; test -n \"$(pdfdir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(pdfdir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(pdfdir)\" || exit 1; \\\n\tfi; \\\n\tfor p in $$list; do \\\n\t  if test -f \"$$p\"; then d=; else d=\"$(srcdir)/\"; fi; \\\n\t  echo \"$$d$$p\"; \\\n\tdone | $(am__base_list) | \\\n\twhile read files; do \\\n\t  echo \" $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'\"; \\\n\t  $(INSTALL_DATA) $$files \"$(DESTDIR)$(pdfdir)\" || exit $$?; done\ninstall-ps: install-ps-recursive\n\ninstall-ps-am: $(PSS)\n\t@$(NORMAL_INSTALL)\n\t@list='$(PSS)'; test -n \"$(psdir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(psdir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(psdir)\" || exit 1; \\\n\tfi; \\\n\tfor p in $$list; do \\\n\t  if test -f \"$$p\"; then d=; else d=\"$(srcdir)/\"; fi; \\\n\t  echo \"$$d$$p\"; \\\n\tdone | $(am__base_list) | \\\n\twhile read files; do \\\n\t  echo \" $(INSTALL_DATA) $$files '$(DESTDIR)$(psdir)'\"; \\\n\t  $(INSTALL_DATA) $$files \"$(DESTDIR)$(psdir)\" || exit $$?; done\ninstallcheck-am: installcheck-dist_binSCRIPTS\n\nmaintainer-clean: maintainer-clean-recursive\n\t-rm -f $(am__CONFIG_DISTCLEAN_FILES)\n\t-rm -rf $(top_srcdir)/autom4te.cache\n\t-rm -f Makefile\nmaintainer-clean-am: distclean-am maintainer-clean-aminfo \\\n\tmaintainer-clean-generic\n\nmostlyclean: mostlyclean-recursive\n\nmostlyclean-am: mostlyclean-aminfo mostlyclean-generic\n\npdf: pdf-recursive\n\npdf-am: $(PDFS)\n\nps: ps-recursive\n\nps-am: $(PSS)\n\nuninstall-am: uninstall-dist_binSCRIPTS uninstall-dist_dataDATA \\\n\tuninstall-dvi-am uninstall-html-am uninstall-info-am \\\n\tuninstall-pdf-am uninstall-ps-am\n\n.MAKE: $(am__recursive_targets) install-am install-strip\n\n.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \\\n\tam--refresh check check-am clean clean-aminfo clean-cscope \\\n\tclean-generic cscope cscopelist-am ctags ctags-am dist \\\n\tdist-all dist-bzip2 dist-gzip dist-info dist-lzip dist-shar \\\n\tdist-tarZ dist-xz dist-zip distcheck distclean \\\n\tdistclean-generic distclean-tags distcleancheck distdir \\\n\tdistuninstallcheck dvi dvi-am html html-am info info-am \\\n\tinstall install-am install-data install-data-am \\\n\tinstall-dist_binSCRIPTS install-dist_dataDATA install-dvi \\\n\tinstall-dvi-am install-exec install-exec-am install-html \\\n\tinstall-html-am install-info install-info-am install-man \\\n\tinstall-pdf install-pdf-am install-ps install-ps-am \\\n\tinstall-strip installcheck installcheck-am \\\n\tinstallcheck-dist_binSCRIPTS installdirs installdirs-am \\\n\tmaintainer-clean maintainer-clean-aminfo \\\n\tmaintainer-clean-generic mostlyclean mostlyclean-aminfo \\\n\tmostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \\\n\tuninstall-am uninstall-dist_binSCRIPTS uninstall-dist_dataDATA \\\n\tuninstall-dvi-am uninstall-html-am uninstall-info-am \\\n\tuninstall-pdf-am uninstall-ps-am\n\n\n# Tell versions [3.59,3.63) of GNU make to not export all variables.\n# Otherwise a system limit (for SysV at least) may be exceeded.\n.NOEXPORT:\n"
  },
  {
    "path": "NEWS",
    "content": "Guile-WM 0.1 released 2013-08-24\n"
  },
  {
    "path": "README",
    "content": "                         ━━━━━━━━━━━━━━━━━━━━━\n                                GUILE-WM\n\n\n                              Mark Witmer\n                          mark@markwitmer.com\n                         ━━━━━━━━━━━━━━━━━━━━━\n\n\nTable of Contents\n─────────────────\n\n1 Overview\n2 Why?\n3 What's Actually Implemented\n4 What's Not Implemented\n.. 4.1 Wish List\n.. 4.2 Even Crazier Wish List\n5 Sample\n6 Installation and Prerequisites\n\n\n\n\n\n1 Overview\n══════════\n\n  Guile-WM is a framework for creating an X window manager (or any other\n  X application, really) and a set of useful modules designed for that\n  purpose. Users are encouraged to pick and choose from ones presently\n  available and contribute their own as well!\n\n  Guile-WM relies /heavily/ on its user init file. In fact, it won't do\n  anything on its own without one. The intention is to provide something\n  100% configurable.\n\n\n2 Why?\n══════\n\n  Guile Scheme is just so much fun to work with, I wanted to build my\n  house out of it. (Also, StumpWM won't work in my Linux distribution\n  right now. And I find LOOP macros unsettling for some reason.)\n\n  I didn't want to build a WM on top of xlib. It's obsolete, or should\n  be, anyway. XCB is great, and when I saw that it comes with XML files\n  that describe the X protocol so that you can easily implement an X\n  client in a different language, I decided to build the whole X client\n  stack in Scheme. Why not? So I made Guile XCB. And then, finally, I\n  got to work on this.\n\n\n3 What's Actually Implemented\n═════════════════════════════\n\n  • keymaps/minibuffer/user-defined commands: The usual emacs-style\n    stuff.\n  • A tiling window manager inspired by Stumpwm, as well as a drag/drop\n    window manager inspired by tinywm\n  • Built-in repl: make changes to the WM while it's running, talk to\n    the X server directly (if you're into that kind of thing), integrate\n    with Geiser in Emacs, etc. (Note: if you call a procedure that talks\n    to the X server, use the metacommand ,post to evalute the\n    expression.  That way it'll run inside the event loop on the other\n    thread).\n  • Some icccm support\n  • And more! It's completely open, so you could implement whatever\n    window-management paradigm you like.\n\n\n4 What's Not Implemented\n════════════════════════\n\n  There's a lot more I'd like to do, but as you can see, it gets\n  progressively more grandiose and, um… crazy, perhaps.\n\n\n4.1 Wish List\n─────────────\n\n  • Some kind of window decoration\n  • Built-in replacements for those little X utility programs (xmodmap,\n    xsetbg, etc.) I did part of xrandr as a proof-of-concept.\n  • A status bar/modeline type thing\n  • Antialiased fonts! guile-pango would be good for this.\n  • Whatever else you want… ideas (and implementations) welcome.\n\n\n4.2 Even Crazier Wish List\n──────────────────────────\n\n  • Implement enough of a widget toolkit to actually run Guile Emacs\n    inside of Guile-WM all on Guile XCB. You would basically be running\n    a Lisp-machine at that point and all of your friends will be\n    jealous.\n  • Add support for XInput2 to Guile XCB w/touch gestures and whatnot\n    and build a hackable mobile device interface. Isn't it a tragedy\n    that smartphones are becoming the most common type of computer, but\n    you can't really hack on them? Real XCB does support XInput2 now, so\n    I'm running out of excuses…\n  • Build a WM on top of Wayland. That would require a Scheme Wayland\n    client, which could be built along the lines of Guile XCB, since the\n    Wayland projects comes with the same kind of XML spec files that XCB\n    uses.\n\n\n5 Sample\n════════\n\n  An annotated sample init file is included with the distribution as\n  \"wm-init-sample.scm\". It demonstrates how to set up the configurable\n  values in the available modules. Copy it to ~/.guile-wm to try it out.\n\n\n6 Installation and Prerequisites\n════════════════════════════════\n\n  You can use the typical ./configure, make, make install chain to build\n  Guile-WM.\n\n  Guile-WM requires Guile XCB and the latest release of Guile (2.0.9).\n"
  },
  {
    "path": "README-in.org",
    "content": "#+TITLE: Guile-WM\n#+AUTHOR: Mark Witmer\n#+EMAIL: mark@markwitmer.com\n#+OPTIONS: email:t\n#+DESCRIPTION: A Window Manager Toolkit for Guile\n\n* Overview\n\nGuile-WM is a framework for creating an X window manager (or any other\nX application, really) and a set of useful modules designed for that\npurpose. Users are encouraged to pick and choose from ones presently\navailable and contribute their own as well!\n\nGuile-WM relies /heavily/ on its user init file. In fact, it won't do\nanything on its own without one. The intention is to provide something\n100% configurable.\n\n* Why?\n\nGuile Scheme is just so much fun to work with, I wanted to build my\nhouse out of it. (Also, StumpWM won't work in my Linux distribution\nright now. And I find LOOP macros unsettling for some reason.)\n\nI didn't want to build a WM on top of xlib. It's obsolete, or should\nbe, anyway. XCB is great, and when I saw that it comes with XML files\nthat describe the X protocol so that you can easily implement an X\nclient in a different language, I decided to build the whole X client\nstack in Scheme. Why not? So I made Guile XCB. And then, finally, I\ngot to work on this.\n\n* What's Actually Implemented\n\n- keymaps/minibuffer/user-defined commands: The usual emacs-style\n  stuff.\n- A tiling window manager inspired by Stumpwm, as well as a\n  drag/drop window manager inspired by tinywm\n- Built-in repl: make changes to the WM while it's running, talk to\n  the X server directly (if you're into that kind of thing), integrate\n  with Geiser in Emacs, etc. (Note: if you call a procedure that talks\n  to the X server, use the metacommand ,post to evalute the\n  expression.  That way it'll run inside the event loop on the other\n  thread).\n- Some icccm support\n- And more! It's completely open, so you could implement whatever\n  window-management paradigm you like.\n\n* What's Not Implemented\n\nThere's a lot more I'd like to do, but as you can see, it gets\nprogressively more grandiose and, um... crazy, perhaps.\n\n** Wish List\n\n- Some kind of window decoration\n- Built-in replacements for those little X utility programs (xmodmap,\n  xsetbg, etc.) I did part of xrandr as a proof-of-concept.\n- A status bar/modeline type thing\n- Antialiased fonts! guile-pango would be good for this.\n- Whatever else you want... ideas (and implementations) welcome.\n\n** Even Crazier Wish List\n\n- Implement enough of a widget toolkit to actually run Guile Emacs\n  inside of Guile-WM all on Guile XCB. You would basically be running\n  a Lisp-machine at that point and all of your friends will be\n  jealous.\n- Add support for XInput2 to Guile XCB w/touch gestures and whatnot\n  and build a hackable mobile device interface. Isn't it a tragedy\n  that smartphones are becoming the most common type of computer, but\n  you can't really hack on them? Real XCB does support XInput2 now,\n  so I'm running out of excuses...\n- Build a WM on top of Wayland. That would require a Scheme Wayland\n  client, which could be built along the lines of Guile XCB, since the\n  Wayland projects comes with the same kind of XML spec files that XCB\n  uses.\n\n* Sample\n\nAn annotated sample init file is included with the distribution as\n\"wm-init-sample.scm\". It demonstrates how to set up the configurable\nvalues in the available modules. Copy it to ~/.guile-wm to try it out.\n\n* Installation and Prerequisites\n\nYou can use the typical ./configure, make, make install chain to build\nGuile-WM.\n\nGuile-WM requires Guile XCB and the latest release of Guile (2.0.9).\n"
  },
  {
    "path": "aclocal.m4",
    "content": "# generated automatically by aclocal 1.14.1 -*- Autoconf -*-\n\n# Copyright (C) 1996-2013 Free Software Foundation, Inc.\n\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY, to the extent permitted by law; without\n# even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n# PARTICULAR PURPOSE.\n\nm4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])\nm4_ifndef([AC_AUTOCONF_VERSION],\n  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl\nm4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,\n[m4_warning([this file was generated for autoconf 2.69.\nYou have another version of autoconf.  It may work, but is not guaranteed to.\nIf you have problems, you may need to regenerate the build system entirely.\nTo do so, use the procedure documented by the package, typically 'autoreconf'.])])\n\n\n# serial 10\n\n\n\n\n# GUILE_PKG -- find Guile development files\n#\n# Usage: GUILE_PKG([VERSIONS])\n#\n# This macro runs the @code{pkg-config} tool to find development files\n# for an available version of Guile.\n#\n# By default, this macro will search for the latest stable version of\n# Guile (e.g. 2.0), falling back to the previous stable version\n# (e.g. 1.8) if it is available.  If no guile-@var{VERSION}.pc file is\n# found, an error is signalled.  The found version is stored in\n# @var{GUILE_EFFECTIVE_VERSION}.\n#\n# If @code{GUILE_PROGS} was already invoked, this macro ensures that the\n# development files have the same effective version as the Guile\n# program.\n#\n# @var{GUILE_EFFECTIVE_VERSION} is marked for substitution, as by\n# @code{AC_SUBST}.\n#\nAC_DEFUN([GUILE_PKG],\n [PKG_PROG_PKG_CONFIG\n  _guile_versions_to_search=\"m4_default([$1], [2.0 1.8])\"\n  if test -n \"$GUILE_EFFECTIVE_VERSION\"; then\n    _guile_tmp=\"\"\n    for v in $_guile_versions_to_search; do\n      if test \"$v\" = \"$GUILE_EFFECTIVE_VERSION\"; then\n        _guile_tmp=$v\n      fi\n    done\n    if test -z \"$_guile_tmp\"; then\n      AC_MSG_FAILURE([searching for guile development files for versions $_guile_versions_to_search, but previously found $GUILE version $GUILE_EFFECTIVE_VERSION])\n    fi\n    _guile_versions_to_search=$GUILE_EFFECTIVE_VERSION\n  fi\n  GUILE_EFFECTIVE_VERSION=\"\"\n  _guile_errors=\"\"\n  for v in $_guile_versions_to_search; do\n    AC_MSG_NOTICE([checking for guile $v])\n    if test -z \"$GUILE_EFFECTIVE_VERSION\"; then\n      PKG_CHECK_EXISTS([guile-$v], [GUILE_EFFECTIVE_VERSION=$v], [])\n    fi\n  done\n\n  if test -z \"$GUILE_EFFECTIVE_VERSION\"; then\n    AC_MSG_ERROR([\nNo Guile development packages were found.\n\nPlease verify that you have Guile installed.  If you installed Guile\nfrom a binary distribution, please verify that you have also installed\nthe development packages.  If you installed it yourself, you might need\nto adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.\n])\n  fi\n  AC_MSG_NOTICE([found guile $v])\n  AC_SUBST([GUILE_EFFECTIVE_VERSION])\n ])\n\n# GUILE_FLAGS -- set flags for compiling and linking with Guile\n#\n# Usage: GUILE_FLAGS\n#\n# This macro runs the @code{pkg-config} tool to find out how to compile\n# and link programs against Guile.  It sets four variables:\n# @var{GUILE_CFLAGS}, @var{GUILE_LDFLAGS}, @var{GUILE_LIBS}, and\n# @var{GUILE_LTLIBS}.\n#\n# @var{GUILE_CFLAGS}: flags to pass to a C or C++ compiler to build code that\n# uses Guile header files.  This is almost always just one or more @code{-I}\n# flags.\n#\n# @var{GUILE_LDFLAGS}: flags to pass to the compiler to link a program\n# against Guile.  This includes @code{-lguile-@var{VERSION}} for the\n# Guile library itself, and may also include one or more @code{-L} flag\n# to tell the compiler where to find the libraries.  But it does not\n# include flags that influence the program's runtime search path for\n# libraries, and will therefore lead to a program that fails to start,\n# unless all necessary libraries are installed in a standard location\n# such as @file{/usr/lib}.\n#\n# @var{GUILE_LIBS} and @var{GUILE_LTLIBS}: flags to pass to the compiler or to\n# libtool, respectively, to link a program against Guile.  It includes flags\n# that augment the program's runtime search path for libraries, so that shared\n# libraries will be found at the location where they were during linking, even\n# in non-standard locations.  @var{GUILE_LIBS} is to be used when linking the\n# program directly with the compiler, whereas @var{GUILE_LTLIBS} is to be used\n# when linking the program is done through libtool.\n#\n# The variables are marked for substitution, as by @code{AC_SUBST}.\n#\nAC_DEFUN([GUILE_FLAGS],\n [AC_REQUIRE([GUILE_PKG])\n  PKG_CHECK_MODULES(GUILE, [guile-$GUILE_EFFECTIVE_VERSION])\n\n  dnl GUILE_CFLAGS and GUILE_LIBS are already defined and AC_SUBST'd by\n  dnl PKG_CHECK_MODULES.  But GUILE_LIBS to pkg-config is GUILE_LDFLAGS\n  dnl to us.\n\n  GUILE_LDFLAGS=$GUILE_LIBS\n\n  dnl Determine the platform dependent parameters needed to use rpath.\n  dnl AC_LIB_LINKFLAGS_FROM_LIBS is defined in gnulib/m4/lib-link.m4 and needs\n  dnl the file gnulib/build-aux/config.rpath.\n  AC_LIB_LINKFLAGS_FROM_LIBS([GUILE_LIBS], [$GUILE_LDFLAGS], [])\n  GUILE_LIBS=\"$GUILE_LDFLAGS $GUILE_LIBS\"\n  AC_LIB_LINKFLAGS_FROM_LIBS([GUILE_LTLIBS], [$GUILE_LDFLAGS], [yes])\n  GUILE_LTLIBS=\"$GUILE_LDFLAGS $GUILE_LTLIBS\"\n\n  AC_SUBST([GUILE_EFFECTIVE_VERSION])\n  AC_SUBST([GUILE_CFLAGS])\n  AC_SUBST([GUILE_LDFLAGS])\n  AC_SUBST([GUILE_LIBS])\n  AC_SUBST([GUILE_LTLIBS])\n ])\n\n# GUILE_SITE_DIR -- find path to Guile \"site\" directory\n#\n# Usage: GUILE_SITE_DIR\n#\n# This looks for Guile's \"site\" directory, usually something like\n# PREFIX/share/guile/site, and sets var @var{GUILE_SITE} to the path.\n# Note that the var name is different from the macro name.\n#\n# The variable is marked for substitution, as by @code{AC_SUBST}.\n#\nAC_DEFUN([GUILE_SITE_DIR],\n [AC_REQUIRE([GUILE_PKG])\n  AC_MSG_CHECKING(for Guile site directory)\n  GUILE_SITE=`$PKG_CONFIG --print-errors --variable=sitedir guile-$GUILE_EFFECTIVE_VERSION`\n  AC_MSG_RESULT($GUILE_SITE)\n  if test \"$GUILE_SITE\" = \"\"; then\n     AC_MSG_FAILURE(sitedir not found)\n  fi\n  AC_SUBST(GUILE_SITE)\n ])\n\n# GUILE_PROGS -- set paths to Guile interpreter, config and tool programs\n#\n# Usage: GUILE_PROGS\n#\n# This macro looks for programs @code{guile} and @code{guild}, setting\n# variables @var{GUILE} and @var{GUILD} to their paths, respectively.\n# If @code{guile} is not found, signal an error.\n#\n# The effective version of the found @code{guile} is set to\n# @var{GUILE_EFFECTIVE_VERSION}.  This macro ensures that the effective\n# version is compatible with the result of a previous invocation of\n# @code{GUILE_FLAGS}, if any.\n#\n# As a legacy interface, it also looks for @code{guile-config} and\n# @code{guile-tools}, setting @var{GUILE_CONFIG} and @var{GUILE_TOOLS}.\n#\n# The variables are marked for substitution, as by @code{AC_SUBST}.\n#\nAC_DEFUN([GUILE_PROGS],\n [AC_PATH_PROG(GUILE,guile)\n  if test \"$GUILE\" = \"\" ; then\n      AC_MSG_ERROR([guile required but not found])\n  fi\n  AC_SUBST(GUILE)\n\n  _guile_prog_version=`$GUILE -c \"(display (effective-version))\"`\n  if test -z \"$GUILE_EFFECTIVE_VERSION\"; then\n    GUILE_EFFECTIVE_VERSION=$_guile_prog_version\n  elif test \"$GUILE_EFFECTIVE_VERSION\" != \"$_guile_prog_version\"; then\n    AC_MSG_ERROR([found development files for Guile $GUILE_EFFECTIVE_VERSION, but $GUILE has effective version $_guile_prog_version])\n  fi\n\n  AC_PATH_PROG(GUILD,guild)\n  AC_SUBST(GUILD)\n\n  AC_PATH_PROG(GUILE_CONFIG,guile-config)\n  AC_SUBST(GUILE_CONFIG)\n  if test -n \"$GUILD\"; then\n    GUILE_TOOLS=$GUILD\n  else\n    AC_PATH_PROG(GUILE_TOOLS,guile-tools)\n  fi\n  AC_SUBST(GUILE_TOOLS)\n ])\n\n# GUILE_CHECK -- evaluate Guile Scheme code and capture the return value\n#\n# Usage: GUILE_CHECK_RETVAL(var,check)\n#\n# @var{var} is a shell variable name to be set to the return value.\n# @var{check} is a Guile Scheme expression, evaluated with \"$GUILE -c\", and\n#    returning either 0 or non-#f to indicate the check passed.\n#    Non-0 number or #f indicates failure.\n#    Avoid using the character \"#\" since that confuses autoconf.\n#\nAC_DEFUN([GUILE_CHECK],\n [AC_REQUIRE([GUILE_PROGS])\n  $GUILE -c \"$2\" > /dev/null 2>&1\n  $1=$?\n ])\n\n# GUILE_MODULE_CHECK -- check feature of a Guile Scheme module\n#\n# Usage: GUILE_MODULE_CHECK(var,module,featuretest,description)\n#\n# @var{var} is a shell variable name to be set to \"yes\" or \"no\".\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n# @var{featuretest} is an expression acceptable to GUILE_CHECK, q.v.\n# @var{description} is a present-tense verb phrase (passed to AC_MSG_CHECKING).\n#\nAC_DEFUN([GUILE_MODULE_CHECK],\n         [AC_MSG_CHECKING([if $2 $4])\n\t  GUILE_CHECK($1,(use-modules $2) (exit ((lambda () $3))))\n\t  if test \"$$1\" = \"0\" ; then $1=yes ; else $1=no ; fi\n          AC_MSG_RESULT($$1)\n         ])\n\n# GUILE_MODULE_AVAILABLE -- check availability of a Guile Scheme module\n#\n# Usage: GUILE_MODULE_AVAILABLE(var,module)\n#\n# @var{var} is a shell variable name to be set to \"yes\" or \"no\".\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n#\nAC_DEFUN([GUILE_MODULE_AVAILABLE],\n         [GUILE_MODULE_CHECK($1,$2,0,is available)\n         ])\n\n# GUILE_MODULE_REQUIRED -- fail if a Guile Scheme module is unavailable\n#\n# Usage: GUILE_MODULE_REQUIRED(symlist)\n#\n# @var{symlist} is a list of symbols, WITHOUT surrounding parens,\n# like: ice-9 common-list.\n#\nAC_DEFUN([GUILE_MODULE_REQUIRED],\n         [GUILE_MODULE_AVAILABLE(ac_guile_module_required, ($1))\n          if test \"$ac_guile_module_required\" = \"no\" ; then\n              AC_MSG_ERROR([required guile module not found: ($1)])\n          fi\n         ])\n\n# GUILE_MODULE_EXPORTS -- check if a module exports a variable\n#\n# Usage: GUILE_MODULE_EXPORTS(var,module,modvar)\n#\n# @var{var} is a shell variable to be set to \"yes\" or \"no\".\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n# @var{modvar} is the Guile Scheme variable to check.\n#\nAC_DEFUN([GUILE_MODULE_EXPORTS],\n [GUILE_MODULE_CHECK($1,$2,$3,exports `$3')\n ])\n\n# GUILE_MODULE_REQUIRED_EXPORT -- fail if a module doesn't export a variable\n#\n# Usage: GUILE_MODULE_REQUIRED_EXPORT(module,modvar)\n#\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n# @var{modvar} is the Guile Scheme variable to check.\n#\nAC_DEFUN([GUILE_MODULE_REQUIRED_EXPORT],\n [GUILE_MODULE_EXPORTS(guile_module_required_export,$1,$2)\n  if test \"$guile_module_required_export\" = \"no\" ; then\n      AC_MSG_ERROR([module $1 does not export $2; required])\n  fi\n ])\n\n\n\n\n\n\n# GUILE_PROGS -- set paths to Guile interpreter, config and tool programs\n#\n# Usage: GUILE_PROGS\n#\n# This macro looks for programs @code{guile}, @code{guile-config} and\n# @code{guile-tools}, and sets variables @var{GUILE}, @var{GUILE_CONFIG} and\n# @var{GUILE_TOOLS}, to their paths, respectively.  If either of the first two\n# is not found, signal error.\n#\n# The variables are marked for substitution, as by @code{AC_SUBST}.\n#\nAC_DEFUN([GUILE_PROGS],\n [AC_PATH_PROG(GUILE,guile)\n  if test \"$GUILE\" = \"\" ; then\n      AC_MSG_ERROR([guile required but not found])\n  fi\n  AC_SUBST(GUILE)\n  AC_PATH_PROG(GUILE_CONFIG,guile-config)\n  if test \"$GUILE_CONFIG\" = \"\" ; then\n      AC_MSG_ERROR([guile-config required but not found])\n  fi\n  AC_SUBST(GUILE_CONFIG)\n  AC_PATH_PROG(GUILE_TOOLS,guile-tools)\n  AC_SUBST(GUILE_TOOLS)\n ])\n\n# GUILE_FLAGS -- set flags for compiling and linking with Guile\n#\n# Usage: GUILE_FLAGS\n#\n# This macro runs the @code{guile-config} script, installed with Guile, to\n# find out where Guile's header files and libraries are installed.  It sets\n# two variables, @var{GUILE_CFLAGS} and @var{GUILE_LDFLAGS}.\n#\n# @var{GUILE_CFLAGS}: flags to pass to a C or C++ compiler to build code that\n# uses Guile header files.  This is almost always just a @code{-I} flag.\n#\n# @var{GUILE_LDFLAGS}: flags to pass to the linker to link a program against\n# Guile.  This includes @code{-lguile} for the Guile library itself, any\n# libraries that Guile itself requires (like -lqthreads), and so on.  It may\n# also include a @code{-L} flag to tell the compiler where to find the\n# libraries.\n#\n# The variables are marked for substitution, as by @code{AC_SUBST}.\n#\nAC_DEFUN([GUILE_FLAGS],\n [AC_REQUIRE([GUILE_PROGS])dnl\n  AC_MSG_CHECKING([libguile compile flags])\n  GUILE_CFLAGS=\"`$GUILE_CONFIG compile`\"\n  AC_MSG_RESULT([$GUILE_CFLAGS])\n  AC_MSG_CHECKING([libguile link flags])\n  GUILE_LDFLAGS=\"`$GUILE_CONFIG link`\"\n  AC_MSG_RESULT([$GUILE_LDFLAGS])\n  AC_SUBST(GUILE_CFLAGS)\n  AC_SUBST(GUILE_LDFLAGS)\n ])\n\n# GUILE_SITE_DIR -- find path to Guile \"site\" directory\n#\n# Usage: GUILE_SITE_DIR\n#\n# This looks for Guile's \"site\" directory, usually something like\n# PREFIX/share/guile/site, and sets var @var{GUILE_SITE} to the path.\n# Note that the var name is different from the macro name.\n#\n# The variable is marked for substitution, as by @code{AC_SUBST}.\n#\nAC_DEFUN([GUILE_SITE_DIR],\n [AC_REQUIRE([GUILE_PROGS])dnl\n  AC_MSG_CHECKING(for Guile site directory)\n  GUILE_SITE=`[$GUILE_CONFIG] info pkgdatadir`/site\n  AC_MSG_RESULT($GUILE_SITE)\n  AC_SUBST(GUILE_SITE)\n ])\n\n# GUILE_CHECK -- evaluate Guile Scheme code and capture the return value\n#\n# Usage: GUILE_CHECK_RETVAL(var,check)\n#\n# @var{var} is a shell variable name to be set to the return value.\n# @var{check} is a Guile Scheme expression, evaluated with \"$GUILE -c\", and\n#    returning either 0 or non-#f to indicate the check passed.\n#    Non-0 number or #f indicates failure.\n#    Avoid using the character \"#\" since that confuses autoconf.\n#\nAC_DEFUN([GUILE_CHECK],\n [AC_REQUIRE([GUILE_PROGS])\n  $GUILE -c \"$2\" > /dev/null 2>&1\n  $1=$?\n ])\n\n# GUILE_MODULE_CHECK -- check feature of a Guile Scheme module\n#\n# Usage: GUILE_MODULE_CHECK(var,module,featuretest,description)\n#\n# @var{var} is a shell variable name to be set to \"yes\" or \"no\".\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n# @var{featuretest} is an expression acceptable to GUILE_CHECK, q.v.\n# @var{description} is a present-tense verb phrase (passed to AC_MSG_CHECKING).\n#\nAC_DEFUN([GUILE_MODULE_CHECK],\n         [AC_MSG_CHECKING([if $2 $4])\n\t  GUILE_CHECK($1,(use-modules $2) (exit ((lambda () $3))))\n\t  if test \"$$1\" = \"0\" ; then $1=yes ; else $1=no ; fi\n          AC_MSG_RESULT($$1)\n         ])\n\n# GUILE_MODULE_AVAILABLE -- check availability of a Guile Scheme module\n#\n# Usage: GUILE_MODULE_AVAILABLE(var,module)\n#\n# @var{var} is a shell variable name to be set to \"yes\" or \"no\".\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n#\nAC_DEFUN([GUILE_MODULE_AVAILABLE],\n         [GUILE_MODULE_CHECK($1,$2,0,is available)\n         ])\n\n# GUILE_MODULE_REQUIRED -- fail if a Guile Scheme module is unavailable\n#\n# Usage: GUILE_MODULE_REQUIRED(symlist)\n#\n# @var{symlist} is a list of symbols, WITHOUT surrounding parens,\n# like: ice-9 common-list.\n#\nAC_DEFUN([GUILE_MODULE_REQUIRED],\n         [GUILE_MODULE_AVAILABLE(ac_guile_module_required, ($1))\n          if test \"$ac_guile_module_required\" = \"no\" ; then\n              AC_MSG_ERROR([required guile module not found: ($1)])\n          fi\n         ])\n\n# GUILE_MODULE_EXPORTS -- check if a module exports a variable\n#\n# Usage: GUILE_MODULE_EXPORTS(var,module,modvar)\n#\n# @var{var} is a shell variable to be set to \"yes\" or \"no\".\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n# @var{modvar} is the Guile Scheme variable to check.\n#\nAC_DEFUN([GUILE_MODULE_EXPORTS],\n [GUILE_MODULE_CHECK($1,$2,$3,exports `$3')\n ])\n\n# GUILE_MODULE_REQUIRED_EXPORT -- fail if a module doesn't export a variable\n#\n# Usage: GUILE_MODULE_REQUIRED_EXPORT(module,modvar)\n#\n# @var{module} is a list of symbols, like: (ice-9 common-list).\n# @var{modvar} is the Guile Scheme variable to check.\n#\nAC_DEFUN([GUILE_MODULE_REQUIRED_EXPORT],\n [GUILE_MODULE_EXPORTS(guile_module_required_export,$1,$2)\n  if test \"$guile_module_required_export\" = \"no\" ; then\n      AC_MSG_ERROR([module $1 does not export $2; required])\n  fi\n ])\n\n\n# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-\n# serial 1 (pkg-config-0.24)\n# \n# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful, but\n# WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n# General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n#\n# As a special exception to the GNU General Public License, if you\n# distribute this file as part of a program that contains a\n# configuration script generated by Autoconf, you may include it under\n# the same distribution terms that you use for the rest of that program.\n\n# PKG_PROG_PKG_CONFIG([MIN-VERSION])\n# ----------------------------------\nAC_DEFUN([PKG_PROG_PKG_CONFIG],\n[m4_pattern_forbid([^_?PKG_[A-Z_]+$])\nm4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])\nm4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])\nAC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])\nAC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])\nAC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])\n\nif test \"x$ac_cv_env_PKG_CONFIG_set\" != \"xset\"; then\n\tAC_PATH_TOOL([PKG_CONFIG], [pkg-config])\nfi\nif test -n \"$PKG_CONFIG\"; then\n\t_pkg_min_version=m4_default([$1], [0.9.0])\n\tAC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])\n\tif $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then\n\t\tAC_MSG_RESULT([yes])\n\telse\n\t\tAC_MSG_RESULT([no])\n\t\tPKG_CONFIG=\"\"\n\tfi\nfi[]dnl\n])# PKG_PROG_PKG_CONFIG\n\n# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])\n#\n# Check to see whether a particular set of modules exists.  Similar\n# to PKG_CHECK_MODULES(), but does not set variables or print errors.\n#\n# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])\n# only at the first occurence in configure.ac, so if the first place\n# it's called might be skipped (such as if it is within an \"if\", you\n# have to call PKG_CHECK_EXISTS manually\n# --------------------------------------------------------------\nAC_DEFUN([PKG_CHECK_EXISTS],\n[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl\nif test -n \"$PKG_CONFIG\" && \\\n    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors \"$1\"]); then\n  m4_default([$2], [:])\nm4_ifvaln([$3], [else\n  $3])dnl\nfi])\n\n# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])\n# ---------------------------------------------\nm4_define([_PKG_CONFIG],\n[if test -n \"$$1\"; then\n    pkg_cv_[]$1=\"$$1\"\n elif test -n \"$PKG_CONFIG\"; then\n    PKG_CHECK_EXISTS([$3],\n                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 \"$3\" 2>/dev/null`\n\t\t      test \"x$?\" != \"x0\" && pkg_failed=yes ],\n\t\t     [pkg_failed=yes])\n else\n    pkg_failed=untried\nfi[]dnl\n])# _PKG_CONFIG\n\n# _PKG_SHORT_ERRORS_SUPPORTED\n# -----------------------------\nAC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],\n[AC_REQUIRE([PKG_PROG_PKG_CONFIG])\nif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then\n        _pkg_short_errors_supported=yes\nelse\n        _pkg_short_errors_supported=no\nfi[]dnl\n])# _PKG_SHORT_ERRORS_SUPPORTED\n\n\n# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],\n# [ACTION-IF-NOT-FOUND])\n#\n#\n# Note that if there is a possibility the first call to\n# PKG_CHECK_MODULES might not happen, you should be sure to include an\n# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac\n#\n#\n# --------------------------------------------------------------\nAC_DEFUN([PKG_CHECK_MODULES],\n[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl\nAC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl\nAC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl\n\npkg_failed=no\nAC_MSG_CHECKING([for $1])\n\n_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])\n_PKG_CONFIG([$1][_LIBS], [libs], [$2])\n\nm4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS\nand $1[]_LIBS to avoid the need to call pkg-config.\nSee the pkg-config man page for more details.])\n\nif test $pkg_failed = yes; then\n   \tAC_MSG_RESULT([no])\n        _PKG_SHORT_ERRORS_SUPPORTED\n        if test $_pkg_short_errors_supported = yes; then\n\t        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs \"$2\" 2>&1`\n        else \n\t        $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs \"$2\" 2>&1`\n        fi\n\t# Put the nasty error message in config.log where it belongs\n\techo \"$$1[]_PKG_ERRORS\" >&AS_MESSAGE_LOG_FD\n\n\tm4_default([$4], [AC_MSG_ERROR(\n[Package requirements ($2) were not met:\n\n$$1_PKG_ERRORS\n\nConsider adjusting the PKG_CONFIG_PATH environment variable if you\ninstalled software in a non-standard prefix.\n\n_PKG_TEXT])[]dnl\n        ])\nelif test $pkg_failed = untried; then\n     \tAC_MSG_RESULT([no])\n\tm4_default([$4], [AC_MSG_FAILURE(\n[The pkg-config script could not be found or is too old.  Make sure it\nis in your PATH or set the PKG_CONFIG environment variable to the full\npath to pkg-config.\n\n_PKG_TEXT\n\nTo get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl\n        ])\nelse\n\t$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS\n\t$1[]_LIBS=$pkg_cv_[]$1[]_LIBS\n        AC_MSG_RESULT([yes])\n\t$3\nfi[]dnl\n])# PKG_CHECK_MODULES\n\n\n# PKG_INSTALLDIR(DIRECTORY)\n# -------------------------\n# Substitutes the variable pkgconfigdir as the location where a module\n# should install pkg-config .pc files. By default the directory is\n# $libdir/pkgconfig, but the default can be changed by passing\n# DIRECTORY. The user can override through the --with-pkgconfigdir\n# parameter.\nAC_DEFUN([PKG_INSTALLDIR],\n[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])\nm4_pushdef([pkg_description],\n    [pkg-config installation directory @<:@]pkg_default[@:>@])\nAC_ARG_WITH([pkgconfigdir],\n    [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,\n    [with_pkgconfigdir=]pkg_default)\nAC_SUBST([pkgconfigdir], [$with_pkgconfigdir])\nm4_popdef([pkg_default])\nm4_popdef([pkg_description])\n]) dnl PKG_INSTALLDIR\n\n\n# PKG_NOARCH_INSTALLDIR(DIRECTORY)\n# -------------------------\n# Substitutes the variable noarch_pkgconfigdir as the location where a\n# module should install arch-independent pkg-config .pc files. By\n# default the directory is $datadir/pkgconfig, but the default can be\n# changed by passing DIRECTORY. The user can override through the\n# --with-noarch-pkgconfigdir parameter.\nAC_DEFUN([PKG_NOARCH_INSTALLDIR],\n[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])\nm4_pushdef([pkg_description],\n    [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])\nAC_ARG_WITH([noarch-pkgconfigdir],\n    [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,\n    [with_noarch_pkgconfigdir=]pkg_default)\nAC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])\nm4_popdef([pkg_default])\nm4_popdef([pkg_description])\n]) dnl PKG_NOARCH_INSTALLDIR\n\n\n# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,\n# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])\n# -------------------------------------------\n# Retrieves the value of the pkg-config variable for the given module.\nAC_DEFUN([PKG_CHECK_VAR],\n[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl\nAC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl\n\n_PKG_CONFIG([$1], [variable=\"][$3][\"], [$2])\nAS_VAR_COPY([$1], [pkg_cv_][$1])\n\nAS_VAR_IF([$1], [\"\"], [$5], [$4])dnl\n])# PKG_CHECK_VAR\n\n# Copyright (C) 2002-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# AM_AUTOMAKE_VERSION(VERSION)\n# ----------------------------\n# Automake X.Y traces this macro to ensure aclocal.m4 has been\n# generated from the m4 files accompanying Automake X.Y.\n# (This private macro should not be called outside this file.)\nAC_DEFUN([AM_AUTOMAKE_VERSION],\n[am__api_version='1.14'\ndnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to\ndnl require some minimum version.  Point them to the right macro.\nm4_if([$1], [1.14.1], [],\n      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl\n])\n\n# _AM_AUTOCONF_VERSION(VERSION)\n# -----------------------------\n# aclocal traces this macro to find the Autoconf version.\n# This is a private macro too.  Using m4_define simplifies\n# the logic in aclocal, which can simply ignore this definition.\nm4_define([_AM_AUTOCONF_VERSION], [])\n\n# AM_SET_CURRENT_AUTOMAKE_VERSION\n# -------------------------------\n# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.\n# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.\nAC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],\n[AM_AUTOMAKE_VERSION([1.14.1])dnl\nm4_ifndef([AC_AUTOCONF_VERSION],\n  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl\n_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])\n\n# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-\n\n# Copyright (C) 2001-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets\n# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to\n# '$srcdir', '$srcdir/..', or '$srcdir/../..'.\n#\n# Of course, Automake must honor this variable whenever it calls a\n# tool from the auxiliary directory.  The problem is that $srcdir (and\n# therefore $ac_aux_dir as well) can be either absolute or relative,\n# depending on how configure is run.  This is pretty annoying, since\n# it makes $ac_aux_dir quite unusable in subdirectories: in the top\n# source directory, any form will work fine, but in subdirectories a\n# relative path needs to be adjusted first.\n#\n# $ac_aux_dir/missing\n#    fails when called from a subdirectory if $ac_aux_dir is relative\n# $top_srcdir/$ac_aux_dir/missing\n#    fails if $ac_aux_dir is absolute,\n#    fails when called from a subdirectory in a VPATH build with\n#          a relative $ac_aux_dir\n#\n# The reason of the latter failure is that $top_srcdir and $ac_aux_dir\n# are both prefixed by $srcdir.  In an in-source build this is usually\n# harmless because $srcdir is '.', but things will broke when you\n# start a VPATH build or use an absolute $srcdir.\n#\n# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,\n# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:\n#   am_aux_dir='\\$(top_srcdir)/'`expr \"$ac_aux_dir\" : \"$srcdir//*\\(.*\\)\"`\n# and then we would define $MISSING as\n#   MISSING=\"\\${SHELL} $am_aux_dir/missing\"\n# This will work as long as MISSING is not called from configure, because\n# unfortunately $(top_srcdir) has no meaning in configure.\n# However there are other variables, like CC, which are often used in\n# configure, and could therefore not use this \"fixed\" $ac_aux_dir.\n#\n# Another solution, used here, is to always expand $ac_aux_dir to an\n# absolute PATH.  The drawback is that using absolute paths prevent a\n# configured tree to be moved without reconfiguration.\n\nAC_DEFUN([AM_AUX_DIR_EXPAND],\n[dnl Rely on autoconf to set up CDPATH properly.\nAC_PREREQ([2.50])dnl\n# expand $ac_aux_dir to an absolute path\nam_aux_dir=`cd $ac_aux_dir && pwd`\n])\n\n# Do all the work for Automake.                             -*- Autoconf -*-\n\n# Copyright (C) 1996-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# This macro actually does too much.  Some checks are only needed if\n# your package does certain things.  But this isn't really a big deal.\n\ndnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.\nm4_define([AC_PROG_CC],\nm4_defn([AC_PROG_CC])\n[_AM_PROG_CC_C_O\n])\n\n# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])\n# AM_INIT_AUTOMAKE([OPTIONS])\n# -----------------------------------------------\n# The call with PACKAGE and VERSION arguments is the old style\n# call (pre autoconf-2.50), which is being phased out.  PACKAGE\n# and VERSION should now be passed to AC_INIT and removed from\n# the call to AM_INIT_AUTOMAKE.\n# We support both call styles for the transition.  After\n# the next Automake release, Autoconf can make the AC_INIT\n# arguments mandatory, and then we can depend on a new Autoconf\n# release and drop the old call support.\nAC_DEFUN([AM_INIT_AUTOMAKE],\n[AC_PREREQ([2.65])dnl\ndnl Autoconf wants to disallow AM_ names.  We explicitly allow\ndnl the ones we care about.\nm4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl\nAC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl\nAC_REQUIRE([AC_PROG_INSTALL])dnl\nif test \"`cd $srcdir && pwd`\" != \"`pwd`\"; then\n  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output\n  # is not polluted with repeated \"-I.\"\n  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl\n  # test to see if srcdir already configured\n  if test -f $srcdir/config.status; then\n    AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])\n  fi\nfi\n\n# test whether we have cygpath\nif test -z \"$CYGPATH_W\"; then\n  if (cygpath --version) >/dev/null 2>/dev/null; then\n    CYGPATH_W='cygpath -w'\n  else\n    CYGPATH_W=echo\n  fi\nfi\nAC_SUBST([CYGPATH_W])\n\n# Define the identity of the package.\ndnl Distinguish between old-style and new-style calls.\nm4_ifval([$2],\n[AC_DIAGNOSE([obsolete],\n             [$0: two- and three-arguments forms are deprecated.])\nm4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl\n AC_SUBST([PACKAGE], [$1])dnl\n AC_SUBST([VERSION], [$2])],\n[_AM_SET_OPTIONS([$1])dnl\ndnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.\nm4_if(\n  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),\n  [ok:ok],,\n  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl\n AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl\n AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl\n\n_AM_IF_OPTION([no-define],,\n[AC_DEFINE_UNQUOTED([PACKAGE], [\"$PACKAGE\"], [Name of package])\n AC_DEFINE_UNQUOTED([VERSION], [\"$VERSION\"], [Version number of package])])dnl\n\n# Some tools Automake needs.\nAC_REQUIRE([AM_SANITY_CHECK])dnl\nAC_REQUIRE([AC_ARG_PROGRAM])dnl\nAM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])\nAM_MISSING_PROG([AUTOCONF], [autoconf])\nAM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])\nAM_MISSING_PROG([AUTOHEADER], [autoheader])\nAM_MISSING_PROG([MAKEINFO], [makeinfo])\nAC_REQUIRE([AM_PROG_INSTALL_SH])dnl\nAC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl\nAC_REQUIRE([AC_PROG_MKDIR_P])dnl\n# For better backward compatibility.  To be removed once Automake 1.9.x\n# dies out for good.  For more background, see:\n# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>\n# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>\nAC_SUBST([mkdir_p], ['$(MKDIR_P)'])\n# We need awk for the \"check\" target.  The system \"awk\" is bad on\n# some platforms.\nAC_REQUIRE([AC_PROG_AWK])dnl\nAC_REQUIRE([AC_PROG_MAKE_SET])dnl\nAC_REQUIRE([AM_SET_LEADING_DOT])dnl\n_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],\n\t      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],\n\t\t\t     [_AM_PROG_TAR([v7])])])\n_AM_IF_OPTION([no-dependencies],,\n[AC_PROVIDE_IFELSE([AC_PROG_CC],\n\t\t  [_AM_DEPENDENCIES([CC])],\n\t\t  [m4_define([AC_PROG_CC],\n\t\t\t     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl\nAC_PROVIDE_IFELSE([AC_PROG_CXX],\n\t\t  [_AM_DEPENDENCIES([CXX])],\n\t\t  [m4_define([AC_PROG_CXX],\n\t\t\t     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl\nAC_PROVIDE_IFELSE([AC_PROG_OBJC],\n\t\t  [_AM_DEPENDENCIES([OBJC])],\n\t\t  [m4_define([AC_PROG_OBJC],\n\t\t\t     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl\nAC_PROVIDE_IFELSE([AC_PROG_OBJCXX],\n\t\t  [_AM_DEPENDENCIES([OBJCXX])],\n\t\t  [m4_define([AC_PROG_OBJCXX],\n\t\t\t     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl\n])\nAC_REQUIRE([AM_SILENT_RULES])dnl\ndnl The testsuite driver may need to know about EXEEXT, so add the\ndnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This\ndnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.\nAC_CONFIG_COMMANDS_PRE(dnl\n[m4_provide_if([_AM_COMPILER_EXEEXT],\n  [AM_CONDITIONAL([am__EXEEXT], [test -n \"$EXEEXT\"])])])dnl\n\n# POSIX will say in a future version that running \"rm -f\" with no argument\n# is OK; and we want to be able to make that assumption in our Makefile\n# recipes.  So use an aggressive probe to check that the usage we want is\n# actually supported \"in the wild\" to an acceptable degree.\n# See automake bug#10828.\n# To make any issue more visible, cause the running configure to be aborted\n# by default if the 'rm' program in use doesn't match our expectations; the\n# user can still override this though.\nif rm -f && rm -fr && rm -rf; then : OK; else\n  cat >&2 <<'END'\nOops!\n\nYour 'rm' program seems unable to run without file operands specified\non the command line, even when the '-f' option is present.  This is contrary\nto the behaviour of most rm programs out there, and not conforming with\nthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>\n\nPlease tell bug-automake@gnu.org about your system, including the value\nof your $PATH and any error possibly output before this message.  This\ncan help us improve future automake versions.\n\nEND\n  if test x\"$ACCEPT_INFERIOR_RM_PROGRAM\" = x\"yes\"; then\n    echo 'Configuration will proceed anyway, since you have set the' >&2\n    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to \"yes\"' >&2\n    echo >&2\n  else\n    cat >&2 <<'END'\nAborting the configuration process, to ensure you take notice of the issue.\n\nYou can download and install GNU coreutils to get an 'rm' implementation\nthat behaves properly: <http://www.gnu.org/software/coreutils/>.\n\nIf you want to complete the configuration process using your problematic\n'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM\nto \"yes\", and re-run configure.\n\nEND\n    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])\n  fi\nfi])\n\ndnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not\ndnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further\ndnl mangled by Autoconf and run in a shell conditional statement.\nm4_define([_AC_COMPILER_EXEEXT],\nm4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])\n\n# When config.status generates a header, we must update the stamp-h file.\n# This file resides in the same directory as the config header\n# that is generated.  The stamp files are numbered to have different names.\n\n# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the\n# loop where config.status creates the headers, so we can generate\n# our stamp files there.\nAC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],\n[# Compute $1's index in $config_headers.\n_am_arg=$1\n_am_stamp_count=1\nfor _am_header in $config_headers :; do\n  case $_am_header in\n    $_am_arg | $_am_arg:* )\n      break ;;\n    * )\n      _am_stamp_count=`expr $_am_stamp_count + 1` ;;\n  esac\ndone\necho \"timestamp for $_am_arg\" >`AS_DIRNAME([\"$_am_arg\"])`/stamp-h[]$_am_stamp_count])\n\n# Copyright (C) 2001-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# AM_PROG_INSTALL_SH\n# ------------------\n# Define $install_sh.\nAC_DEFUN([AM_PROG_INSTALL_SH],\n[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl\nif test x\"${install_sh}\" != xset; then\n  case $am_aux_dir in\n  *\\ * | *\\\t*)\n    install_sh=\"\\${SHELL} '$am_aux_dir/install-sh'\" ;;\n  *)\n    install_sh=\"\\${SHELL} $am_aux_dir/install-sh\"\n  esac\nfi\nAC_SUBST([install_sh])])\n\n# Copyright (C) 2003-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# Check whether the underlying file-system supports filenames\n# with a leading dot.  For instance MS-DOS doesn't.\nAC_DEFUN([AM_SET_LEADING_DOT],\n[rm -rf .tst 2>/dev/null\nmkdir .tst 2>/dev/null\nif test -d .tst; then\n  am__leading_dot=.\nelse\n  am__leading_dot=_\nfi\nrmdir .tst 2>/dev/null\nAC_SUBST([am__leading_dot])])\n\n# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-\n\n# Copyright (C) 1997-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# AM_MISSING_PROG(NAME, PROGRAM)\n# ------------------------------\nAC_DEFUN([AM_MISSING_PROG],\n[AC_REQUIRE([AM_MISSING_HAS_RUN])\n$1=${$1-\"${am_missing_run}$2\"}\nAC_SUBST($1)])\n\n# AM_MISSING_HAS_RUN\n# ------------------\n# Define MISSING if not defined so far and test if it is modern enough.\n# If it is, set am_missing_run to use it, otherwise, to nothing.\nAC_DEFUN([AM_MISSING_HAS_RUN],\n[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl\nAC_REQUIRE_AUX_FILE([missing])dnl\nif test x\"${MISSING+set}\" != xset; then\n  case $am_aux_dir in\n  *\\ * | *\\\t*)\n    MISSING=\"\\${SHELL} \\\"$am_aux_dir/missing\\\"\" ;;\n  *)\n    MISSING=\"\\${SHELL} $am_aux_dir/missing\" ;;\n  esac\nfi\n# Use eval to expand $SHELL\nif eval \"$MISSING --is-lightweight\"; then\n  am_missing_run=\"$MISSING \"\nelse\n  am_missing_run=\n  AC_MSG_WARN(['missing' script is too old or missing])\nfi\n])\n\n# Helper functions for option handling.                     -*- Autoconf -*-\n\n# Copyright (C) 2001-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# _AM_MANGLE_OPTION(NAME)\n# -----------------------\nAC_DEFUN([_AM_MANGLE_OPTION],\n[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])\n\n# _AM_SET_OPTION(NAME)\n# --------------------\n# Set option NAME.  Presently that only means defining a flag for this option.\nAC_DEFUN([_AM_SET_OPTION],\n[m4_define(_AM_MANGLE_OPTION([$1]), [1])])\n\n# _AM_SET_OPTIONS(OPTIONS)\n# ------------------------\n# OPTIONS is a space-separated list of Automake options.\nAC_DEFUN([_AM_SET_OPTIONS],\n[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])\n\n# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])\n# -------------------------------------------\n# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.\nAC_DEFUN([_AM_IF_OPTION],\n[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])\n\n# Check to make sure that the build environment is sane.    -*- Autoconf -*-\n\n# Copyright (C) 1996-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# AM_SANITY_CHECK\n# ---------------\nAC_DEFUN([AM_SANITY_CHECK],\n[AC_MSG_CHECKING([whether build environment is sane])\n# Reject unsafe characters in $srcdir or the absolute working directory\n# name.  Accept space and tab only in the latter.\nam_lf='\n'\ncase `pwd` in\n  *[[\\\\\\\"\\#\\$\\&\\'\\`$am_lf]]*)\n    AC_MSG_ERROR([unsafe absolute working directory name]);;\nesac\ncase $srcdir in\n  *[[\\\\\\\"\\#\\$\\&\\'\\`$am_lf\\ \\\t]]*)\n    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;\nesac\n\n# Do 'set' in a subshell so we don't clobber the current shell's\n# arguments.  Must try -L first in case configure is actually a\n# symlink; some systems play weird games with the mod time of symlinks\n# (eg FreeBSD returns the mod time of the symlink's containing\n# directory).\nif (\n   am_has_slept=no\n   for am_try in 1 2; do\n     echo \"timestamp, slept: $am_has_slept\" > conftest.file\n     set X `ls -Lt \"$srcdir/configure\" conftest.file 2> /dev/null`\n     if test \"$[*]\" = \"X\"; then\n\t# -L didn't work.\n\tset X `ls -t \"$srcdir/configure\" conftest.file`\n     fi\n     if test \"$[*]\" != \"X $srcdir/configure conftest.file\" \\\n\t&& test \"$[*]\" != \"X conftest.file $srcdir/configure\"; then\n\n\t# If neither matched, then we have a broken ls.  This can happen\n\t# if, for instance, CONFIG_SHELL is bash and it inherits a\n\t# broken ls alias from the environment.  This has actually\n\t# happened.  Such a system could not be considered \"sane\".\n\tAC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken\n  alias in your environment])\n     fi\n     if test \"$[2]\" = conftest.file || test $am_try -eq 2; then\n       break\n     fi\n     # Just in case.\n     sleep 1\n     am_has_slept=yes\n   done\n   test \"$[2]\" = conftest.file\n   )\nthen\n   # Ok.\n   :\nelse\n   AC_MSG_ERROR([newly created file is older than distributed files!\nCheck your system clock])\nfi\nAC_MSG_RESULT([yes])\n# If we didn't sleep, we still need to ensure time stamps of config.status and\n# generated files are strictly newer.\nam_sleep_pid=\nif grep 'slept: no' conftest.file >/dev/null 2>&1; then\n  ( sleep 1 ) &\n  am_sleep_pid=$!\nfi\nAC_CONFIG_COMMANDS_PRE(\n  [AC_MSG_CHECKING([that generated files are newer than configure])\n   if test -n \"$am_sleep_pid\"; then\n     # Hide warnings about reused PIDs.\n     wait $am_sleep_pid 2>/dev/null\n   fi\n   AC_MSG_RESULT([done])])\nrm -f conftest.file\n])\n\n# Copyright (C) 2009-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# AM_SILENT_RULES([DEFAULT])\n# --------------------------\n# Enable less verbose build rules; with the default set to DEFAULT\n# (\"yes\" being less verbose, \"no\" or empty being verbose).\nAC_DEFUN([AM_SILENT_RULES],\n[AC_ARG_ENABLE([silent-rules], [dnl\nAS_HELP_STRING(\n  [--enable-silent-rules],\n  [less verbose build output (undo: \"make V=1\")])\nAS_HELP_STRING(\n  [--disable-silent-rules],\n  [verbose build output (undo: \"make V=0\")])dnl\n])\ncase $enable_silent_rules in @%:@ (((\n  yes) AM_DEFAULT_VERBOSITY=0;;\n   no) AM_DEFAULT_VERBOSITY=1;;\n    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;\nesac\ndnl\ndnl A few 'make' implementations (e.g., NonStop OS and NextStep)\ndnl do not support nested variable expansions.\ndnl See automake bug#9928 and bug#10237.\nam_make=${MAKE-make}\nAC_CACHE_CHECK([whether $am_make supports nested variables],\n   [am_cv_make_support_nested_variables],\n   [if AS_ECHO([['TRUE=$(BAR$(V))\nBAR0=false\nBAR1=true\nV=1\nam__doit:\n\t@$(TRUE)\n.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then\n  am_cv_make_support_nested_variables=yes\nelse\n  am_cv_make_support_nested_variables=no\nfi])\nif test $am_cv_make_support_nested_variables = yes; then\n  dnl Using '$V' instead of '$(V)' breaks IRIX make.\n  AM_V='$(V)'\n  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'\nelse\n  AM_V=$AM_DEFAULT_VERBOSITY\n  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY\nfi\nAC_SUBST([AM_V])dnl\nAM_SUBST_NOTMAKE([AM_V])dnl\nAC_SUBST([AM_DEFAULT_V])dnl\nAM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl\nAC_SUBST([AM_DEFAULT_VERBOSITY])dnl\nAM_BACKSLASH='\\'\nAC_SUBST([AM_BACKSLASH])dnl\n_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl\n])\n\n# Copyright (C) 2001-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# AM_PROG_INSTALL_STRIP\n# ---------------------\n# One issue with vendor 'install' (even GNU) is that you can't\n# specify the program used to strip binaries.  This is especially\n# annoying in cross-compiling environments, where the build's strip\n# is unlikely to handle the host's binaries.\n# Fortunately install-sh will honor a STRIPPROG variable, so we\n# always use install-sh in \"make install-strip\", and initialize\n# STRIPPROG with the value of the STRIP variable (set by the user).\nAC_DEFUN([AM_PROG_INSTALL_STRIP],\n[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl\n# Installed binaries are usually stripped using 'strip' when the user\n# run \"make install-strip\".  However 'strip' might not be the right\n# tool to use in cross-compilation environments, therefore Automake\n# will honor the 'STRIP' environment variable to overrule this program.\ndnl Don't test for $cross_compiling = yes, because it might be 'maybe'.\nif test \"$cross_compiling\" != no; then\n  AC_CHECK_TOOL([STRIP], [strip], :)\nfi\nINSTALL_STRIP_PROGRAM=\"\\$(install_sh) -c -s\"\nAC_SUBST([INSTALL_STRIP_PROGRAM])])\n\n# Copyright (C) 2006-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# _AM_SUBST_NOTMAKE(VARIABLE)\n# ---------------------------\n# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.\n# This macro is traced by Automake.\nAC_DEFUN([_AM_SUBST_NOTMAKE])\n\n# AM_SUBST_NOTMAKE(VARIABLE)\n# --------------------------\n# Public sister of _AM_SUBST_NOTMAKE.\nAC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])\n\n# Check how to create a tarball.                            -*- Autoconf -*-\n\n# Copyright (C) 2004-2013 Free Software Foundation, Inc.\n#\n# This file is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# _AM_PROG_TAR(FORMAT)\n# --------------------\n# Check how to create a tarball in format FORMAT.\n# FORMAT should be one of 'v7', 'ustar', or 'pax'.\n#\n# Substitute a variable $(am__tar) that is a command\n# writing to stdout a FORMAT-tarball containing the directory\n# $tardir.\n#     tardir=directory && $(am__tar) > result.tar\n#\n# Substitute a variable $(am__untar) that extract such\n# a tarball read from stdin.\n#     $(am__untar) < result.tar\n#\nAC_DEFUN([_AM_PROG_TAR],\n[# Always define AMTAR for backward compatibility.  Yes, it's still used\n# in the wild :-(  We should find a proper way to deprecate it ...\nAC_SUBST([AMTAR], ['$${TAR-tar}'])\n\n# We'll loop over all known methods to create a tar archive until one works.\n_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'\n\nm4_if([$1], [v7],\n  [am__tar='$${TAR-tar} chof - \"$$tardir\"' am__untar='$${TAR-tar} xf -'],\n\n  [m4_case([$1],\n    [ustar],\n     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.\n      # There is notably a 21 bits limit for the UID and the GID.  In fact,\n      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343\n      # and bug#13588).\n      am_max_uid=2097151 # 2^21 - 1\n      am_max_gid=$am_max_uid\n      # The $UID and $GID variables are not portable, so we need to resort\n      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls\n      # below are definitely unexpected, so allow the users to see them\n      # (that is, avoid stderr redirection).\n      am_uid=`id -u || echo unknown`\n      am_gid=`id -g || echo unknown`\n      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])\n      if test $am_uid -le $am_max_uid; then\n         AC_MSG_RESULT([yes])\n      else\n         AC_MSG_RESULT([no])\n         _am_tools=none\n      fi\n      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])\n      if test $am_gid -le $am_max_gid; then\n         AC_MSG_RESULT([yes])\n      else\n        AC_MSG_RESULT([no])\n        _am_tools=none\n      fi],\n\n  [pax],\n    [],\n\n  [m4_fatal([Unknown tar format])])\n\n  AC_MSG_CHECKING([how to create a $1 tar archive])\n\n  # Go ahead even if we have the value already cached.  We do so because we\n  # need to set the values for the 'am__tar' and 'am__untar' variables.\n  _am_tools=${am_cv_prog_tar_$1-$_am_tools}\n\n  for _am_tool in $_am_tools; do\n    case $_am_tool in\n    gnutar)\n      for _am_tar in tar gnutar gtar; do\n        AM_RUN_LOG([$_am_tar --version]) && break\n      done\n      am__tar=\"$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - \"'\"$$tardir\"'\n      am__tar_=\"$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - \"'\"$tardir\"'\n      am__untar=\"$_am_tar -xf -\"\n      ;;\n    plaintar)\n      # Must skip GNU tar: if it does not support --format= it doesn't create\n      # ustar tarball either.\n      (tar --version) >/dev/null 2>&1 && continue\n      am__tar='tar chf - \"$$tardir\"'\n      am__tar_='tar chf - \"$tardir\"'\n      am__untar='tar xf -'\n      ;;\n    pax)\n      am__tar='pax -L -x $1 -w \"$$tardir\"'\n      am__tar_='pax -L -x $1 -w \"$tardir\"'\n      am__untar='pax -r'\n      ;;\n    cpio)\n      am__tar='find \"$$tardir\" -print | cpio -o -H $1 -L'\n      am__tar_='find \"$tardir\" -print | cpio -o -H $1 -L'\n      am__untar='cpio -i -H $1 -d'\n      ;;\n    none)\n      am__tar=false\n      am__tar_=false\n      am__untar=false\n      ;;\n    esac\n\n    # If the value was cached, stop now.  We just wanted to have am__tar\n    # and am__untar set.\n    test -n \"${am_cv_prog_tar_$1}\" && break\n\n    # tar/untar a dummy directory, and stop if the command works.\n    rm -rf conftest.dir\n    mkdir conftest.dir\n    echo GrepMe > conftest.dir/file\n    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])\n    rm -rf conftest.dir\n    if test -s conftest.tar; then\n      AM_RUN_LOG([$am__untar <conftest.tar])\n      AM_RUN_LOG([cat conftest.dir/file])\n      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break\n    fi\n  done\n  rm -rf conftest.dir\n\n  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])\n  AC_MSG_RESULT([$am_cv_prog_tar_$1])])\n\nAC_SUBST([am__tar])\nAC_SUBST([am__untar])\n]) # _AM_PROG_TAR\n\n"
  },
  {
    "path": "build_aux/install-sh",
    "content": "#!/bin/sh\n# install - install a program, script, or datafile\n\nscriptversion=2011-11-20.07; # UTC\n\n# This originates from X11R5 (mit/util/scripts/install.sh), which was\n# later released in X11R6 (xc/config/util/install.sh) with the\n# following copyright and license.\n#\n# Copyright (C) 1994 X Consortium\n#\n# Permission is hereby granted, free of charge, to any person obtaining a copy\n# of this software and associated documentation files (the \"Software\"), to\n# deal in the Software without restriction, including without limitation the\n# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n# sell copies of the Software, and to permit persons to whom the Software is\n# furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included in\n# all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE\n# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n#\n# Except as contained in this notice, the name of the X Consortium shall not\n# be used in advertising or otherwise to promote the sale, use or other deal-\n# ings in this Software without prior written authorization from the X Consor-\n# tium.\n#\n#\n# FSF changes to this file are in the public domain.\n#\n# Calling this script install-sh is preferred over install.sh, to prevent\n# 'make' implicit rules from creating a file called install from it\n# when there is no Makefile.\n#\n# This script is compatible with the BSD install script, but was written\n# from scratch.\n\nnl='\n'\nIFS=\" \"\"\t$nl\"\n\n# set DOITPROG to echo to test this script\n\n# Don't use :- since 4.3BSD and earlier shells don't like it.\ndoit=${DOITPROG-}\nif test -z \"$doit\"; then\n  doit_exec=exec\nelse\n  doit_exec=$doit\nfi\n\n# Put in absolute file names if you don't have them in your path;\n# or use environment vars.\n\nchgrpprog=${CHGRPPROG-chgrp}\nchmodprog=${CHMODPROG-chmod}\nchownprog=${CHOWNPROG-chown}\ncmpprog=${CMPPROG-cmp}\ncpprog=${CPPROG-cp}\nmkdirprog=${MKDIRPROG-mkdir}\nmvprog=${MVPROG-mv}\nrmprog=${RMPROG-rm}\nstripprog=${STRIPPROG-strip}\n\nposix_glob='?'\ninitialize_posix_glob='\n  test \"$posix_glob\" != \"?\" || {\n    if (set -f) 2>/dev/null; then\n      posix_glob=\n    else\n      posix_glob=:\n    fi\n  }\n'\n\nposix_mkdir=\n\n# Desired mode of installed file.\nmode=0755\n\nchgrpcmd=\nchmodcmd=$chmodprog\nchowncmd=\nmvcmd=$mvprog\nrmcmd=\"$rmprog -f\"\nstripcmd=\n\nsrc=\ndst=\ndir_arg=\ndst_arg=\n\ncopy_on_change=false\nno_target_directory=\n\nusage=\"\\\nUsage: $0 [OPTION]... [-T] SRCFILE DSTFILE\n   or: $0 [OPTION]... SRCFILES... DIRECTORY\n   or: $0 [OPTION]... -t DIRECTORY SRCFILES...\n   or: $0 [OPTION]... -d DIRECTORIES...\n\nIn the 1st form, copy SRCFILE to DSTFILE.\nIn the 2nd and 3rd, copy all SRCFILES to DIRECTORY.\nIn the 4th, create DIRECTORIES.\n\nOptions:\n     --help     display this help and exit.\n     --version  display version info and exit.\n\n  -c            (ignored)\n  -C            install only if different (preserve the last data modification time)\n  -d            create directories instead of installing files.\n  -g GROUP      $chgrpprog installed files to GROUP.\n  -m MODE       $chmodprog installed files to MODE.\n  -o USER       $chownprog installed files to USER.\n  -s            $stripprog installed files.\n  -t DIRECTORY  install into DIRECTORY.\n  -T            report an error if DSTFILE is a directory.\n\nEnvironment variables override the default commands:\n  CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG\n  RMPROG STRIPPROG\n\"\n\nwhile test $# -ne 0; do\n  case $1 in\n    -c) ;;\n\n    -C) copy_on_change=true;;\n\n    -d) dir_arg=true;;\n\n    -g) chgrpcmd=\"$chgrpprog $2\"\n\tshift;;\n\n    --help) echo \"$usage\"; exit $?;;\n\n    -m) mode=$2\n\tcase $mode in\n\t  *' '* | *'\t'* | *'\n'*\t  | *'*'* | *'?'* | *'['*)\n\t    echo \"$0: invalid mode: $mode\" >&2\n\t    exit 1;;\n\tesac\n\tshift;;\n\n    -o) chowncmd=\"$chownprog $2\"\n\tshift;;\n\n    -s) stripcmd=$stripprog;;\n\n    -t) dst_arg=$2\n\t# Protect names problematic for 'test' and other utilities.\n\tcase $dst_arg in\n\t  -* | [=\\(\\)!]) dst_arg=./$dst_arg;;\n\tesac\n\tshift;;\n\n    -T) no_target_directory=true;;\n\n    --version) echo \"$0 $scriptversion\"; exit $?;;\n\n    --)\tshift\n\tbreak;;\n\n    -*)\techo \"$0: invalid option: $1\" >&2\n\texit 1;;\n\n    *)  break;;\n  esac\n  shift\ndone\n\nif test $# -ne 0 && test -z \"$dir_arg$dst_arg\"; then\n  # When -d is used, all remaining arguments are directories to create.\n  # When -t is used, the destination is already specified.\n  # Otherwise, the last argument is the destination.  Remove it from $@.\n  for arg\n  do\n    if test -n \"$dst_arg\"; then\n      # $@ is not empty: it contains at least $arg.\n      set fnord \"$@\" \"$dst_arg\"\n      shift # fnord\n    fi\n    shift # arg\n    dst_arg=$arg\n    # Protect names problematic for 'test' and other utilities.\n    case $dst_arg in\n      -* | [=\\(\\)!]) dst_arg=./$dst_arg;;\n    esac\n  done\nfi\n\nif test $# -eq 0; then\n  if test -z \"$dir_arg\"; then\n    echo \"$0: no input file specified.\" >&2\n    exit 1\n  fi\n  # It's OK to call 'install-sh -d' without argument.\n  # This can happen when creating conditional directories.\n  exit 0\nfi\n\nif test -z \"$dir_arg\"; then\n  do_exit='(exit $ret); exit $ret'\n  trap \"ret=129; $do_exit\" 1\n  trap \"ret=130; $do_exit\" 2\n  trap \"ret=141; $do_exit\" 13\n  trap \"ret=143; $do_exit\" 15\n\n  # Set umask so as not to create temps with too-generous modes.\n  # However, 'strip' requires both read and write access to temps.\n  case $mode in\n    # Optimize common cases.\n    *644) cp_umask=133;;\n    *755) cp_umask=22;;\n\n    *[0-7])\n      if test -z \"$stripcmd\"; then\n\tu_plus_rw=\n      else\n\tu_plus_rw='% 200'\n      fi\n      cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;\n    *)\n      if test -z \"$stripcmd\"; then\n\tu_plus_rw=\n      else\n\tu_plus_rw=,u+rw\n      fi\n      cp_umask=$mode$u_plus_rw;;\n  esac\nfi\n\nfor src\ndo\n  # Protect names problematic for 'test' and other utilities.\n  case $src in\n    -* | [=\\(\\)!]) src=./$src;;\n  esac\n\n  if test -n \"$dir_arg\"; then\n    dst=$src\n    dstdir=$dst\n    test -d \"$dstdir\"\n    dstdir_status=$?\n  else\n\n    # Waiting for this to be detected by the \"$cpprog $src $dsttmp\" command\n    # might cause directories to be created, which would be especially bad\n    # if $src (and thus $dsttmp) contains '*'.\n    if test ! -f \"$src\" && test ! -d \"$src\"; then\n      echo \"$0: $src does not exist.\" >&2\n      exit 1\n    fi\n\n    if test -z \"$dst_arg\"; then\n      echo \"$0: no destination specified.\" >&2\n      exit 1\n    fi\n    dst=$dst_arg\n\n    # If destination is a directory, append the input filename; won't work\n    # if double slashes aren't ignored.\n    if test -d \"$dst\"; then\n      if test -n \"$no_target_directory\"; then\n\techo \"$0: $dst_arg: Is a directory\" >&2\n\texit 1\n      fi\n      dstdir=$dst\n      dst=$dstdir/`basename \"$src\"`\n      dstdir_status=0\n    else\n      # Prefer dirname, but fall back on a substitute if dirname fails.\n      dstdir=`\n\t(dirname \"$dst\") 2>/dev/null ||\n\texpr X\"$dst\" : 'X\\(.*[^/]\\)//*[^/][^/]*/*$' \\| \\\n\t     X\"$dst\" : 'X\\(//\\)[^/]' \\| \\\n\t     X\"$dst\" : 'X\\(//\\)$' \\| \\\n\t     X\"$dst\" : 'X\\(/\\)' \\| . 2>/dev/null ||\n\techo X\"$dst\" |\n\t    sed '/^X\\(.*[^/]\\)\\/\\/*[^/][^/]*\\/*$/{\n\t\t   s//\\1/\n\t\t   q\n\t\t }\n\t\t /^X\\(\\/\\/\\)[^/].*/{\n\t\t   s//\\1/\n\t\t   q\n\t\t }\n\t\t /^X\\(\\/\\/\\)$/{\n\t\t   s//\\1/\n\t\t   q\n\t\t }\n\t\t /^X\\(\\/\\).*/{\n\t\t   s//\\1/\n\t\t   q\n\t\t }\n\t\t s/.*/./; q'\n      `\n\n      test -d \"$dstdir\"\n      dstdir_status=$?\n    fi\n  fi\n\n  obsolete_mkdir_used=false\n\n  if test $dstdir_status != 0; then\n    case $posix_mkdir in\n      '')\n\t# Create intermediate dirs using mode 755 as modified by the umask.\n\t# This is like FreeBSD 'install' as of 1997-10-28.\n\tumask=`umask`\n\tcase $stripcmd.$umask in\n\t  # Optimize common cases.\n\t  *[2367][2367]) mkdir_umask=$umask;;\n\t  .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;\n\n\t  *[0-7])\n\t    mkdir_umask=`expr $umask + 22 \\\n\t      - $umask % 100 % 40 + $umask % 20 \\\n\t      - $umask % 10 % 4 + $umask % 2\n\t    `;;\n\t  *) mkdir_umask=$umask,go-w;;\n\tesac\n\n\t# With -d, create the new directory with the user-specified mode.\n\t# Otherwise, rely on $mkdir_umask.\n\tif test -n \"$dir_arg\"; then\n\t  mkdir_mode=-m$mode\n\telse\n\t  mkdir_mode=\n\tfi\n\n\tposix_mkdir=false\n\tcase $umask in\n\t  *[123567][0-7][0-7])\n\t    # POSIX mkdir -p sets u+wx bits regardless of umask, which\n\t    # is incompatible with FreeBSD 'install' when (umask & 300) != 0.\n\t    ;;\n\t  *)\n\t    tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$\n\t    trap 'ret=$?; rmdir \"$tmpdir/d\" \"$tmpdir\" 2>/dev/null; exit $ret' 0\n\n\t    if (umask $mkdir_umask &&\n\t\texec $mkdirprog $mkdir_mode -p -- \"$tmpdir/d\") >/dev/null 2>&1\n\t    then\n\t      if test -z \"$dir_arg\" || {\n\t\t   # Check for POSIX incompatibilities with -m.\n\t\t   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or\n\t\t   # other-writable bit of parent directory when it shouldn't.\n\t\t   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.\n\t\t   ls_ld_tmpdir=`ls -ld \"$tmpdir\"`\n\t\t   case $ls_ld_tmpdir in\n\t\t     d????-?r-*) different_mode=700;;\n\t\t     d????-?--*) different_mode=755;;\n\t\t     *) false;;\n\t\t   esac &&\n\t\t   $mkdirprog -m$different_mode -p -- \"$tmpdir\" && {\n\t\t     ls_ld_tmpdir_1=`ls -ld \"$tmpdir\"`\n\t\t     test \"$ls_ld_tmpdir\" = \"$ls_ld_tmpdir_1\"\n\t\t   }\n\t\t }\n\t      then posix_mkdir=:\n\t      fi\n\t      rmdir \"$tmpdir/d\" \"$tmpdir\"\n\t    else\n\t      # Remove any dirs left behind by ancient mkdir implementations.\n\t      rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null\n\t    fi\n\t    trap '' 0;;\n\tesac;;\n    esac\n\n    if\n      $posix_mkdir && (\n\tumask $mkdir_umask &&\n\t$doit_exec $mkdirprog $mkdir_mode -p -- \"$dstdir\"\n      )\n    then :\n    else\n\n      # The umask is ridiculous, or mkdir does not conform to POSIX,\n      # or it failed possibly due to a race condition.  Create the\n      # directory the slow way, step by step, checking for races as we go.\n\n      case $dstdir in\n\t/*) prefix='/';;\n\t[-=\\(\\)!]*) prefix='./';;\n\t*)  prefix='';;\n      esac\n\n      eval \"$initialize_posix_glob\"\n\n      oIFS=$IFS\n      IFS=/\n      $posix_glob set -f\n      set fnord $dstdir\n      shift\n      $posix_glob set +f\n      IFS=$oIFS\n\n      prefixes=\n\n      for d\n      do\n\ttest X\"$d\" = X && continue\n\n\tprefix=$prefix$d\n\tif test -d \"$prefix\"; then\n\t  prefixes=\n\telse\n\t  if $posix_mkdir; then\n\t    (umask=$mkdir_umask &&\n\t     $doit_exec $mkdirprog $mkdir_mode -p -- \"$dstdir\") && break\n\t    # Don't fail if two instances are running concurrently.\n\t    test -d \"$prefix\" || exit 1\n\t  else\n\t    case $prefix in\n\t      *\\'*) qprefix=`echo \"$prefix\" | sed \"s/'/'\\\\\\\\\\\\\\\\''/g\"`;;\n\t      *) qprefix=$prefix;;\n\t    esac\n\t    prefixes=\"$prefixes '$qprefix'\"\n\t  fi\n\tfi\n\tprefix=$prefix/\n      done\n\n      if test -n \"$prefixes\"; then\n\t# Don't fail if two instances are running concurrently.\n\t(umask $mkdir_umask &&\n\t eval \"\\$doit_exec \\$mkdirprog $prefixes\") ||\n\t  test -d \"$dstdir\" || exit 1\n\tobsolete_mkdir_used=true\n      fi\n    fi\n  fi\n\n  if test -n \"$dir_arg\"; then\n    { test -z \"$chowncmd\" || $doit $chowncmd \"$dst\"; } &&\n    { test -z \"$chgrpcmd\" || $doit $chgrpcmd \"$dst\"; } &&\n    { test \"$obsolete_mkdir_used$chowncmd$chgrpcmd\" = false ||\n      test -z \"$chmodcmd\" || $doit $chmodcmd $mode \"$dst\"; } || exit 1\n  else\n\n    # Make a couple of temp file names in the proper directory.\n    dsttmp=$dstdir/_inst.$$_\n    rmtmp=$dstdir/_rm.$$_\n\n    # Trap to clean up those temp files at exit.\n    trap 'ret=$?; rm -f \"$dsttmp\" \"$rmtmp\" && exit $ret' 0\n\n    # Copy the file name to the temp name.\n    (umask $cp_umask && $doit_exec $cpprog \"$src\" \"$dsttmp\") &&\n\n    # and set any options; do chmod last to preserve setuid bits.\n    #\n    # If any of these fail, we abort the whole thing.  If we want to\n    # ignore errors from any of these, just make sure not to ignore\n    # errors from the above \"$doit $cpprog $src $dsttmp\" command.\n    #\n    { test -z \"$chowncmd\" || $doit $chowncmd \"$dsttmp\"; } &&\n    { test -z \"$chgrpcmd\" || $doit $chgrpcmd \"$dsttmp\"; } &&\n    { test -z \"$stripcmd\" || $doit $stripcmd \"$dsttmp\"; } &&\n    { test -z \"$chmodcmd\" || $doit $chmodcmd $mode \"$dsttmp\"; } &&\n\n    # If -C, don't bother to copy if it wouldn't change the file.\n    if $copy_on_change &&\n       old=`LC_ALL=C ls -dlL \"$dst\"\t2>/dev/null` &&\n       new=`LC_ALL=C ls -dlL \"$dsttmp\"\t2>/dev/null` &&\n\n       eval \"$initialize_posix_glob\" &&\n       $posix_glob set -f &&\n       set X $old && old=:$2:$4:$5:$6 &&\n       set X $new && new=:$2:$4:$5:$6 &&\n       $posix_glob set +f &&\n\n       test \"$old\" = \"$new\" &&\n       $cmpprog \"$dst\" \"$dsttmp\" >/dev/null 2>&1\n    then\n      rm -f \"$dsttmp\"\n    else\n      # Rename the file to the real destination.\n      $doit $mvcmd -f \"$dsttmp\" \"$dst\" 2>/dev/null ||\n\n      # The rename failed, perhaps because mv can't rename something else\n      # to itself, or perhaps because mv is so ancient that it does not\n      # support -f.\n      {\n\t# Now remove or move aside any old file at destination location.\n\t# We try this two ways since rm can't unlink itself on some\n\t# systems and the destination file might be busy for other\n\t# reasons.  In this case, the final cleanup might fail but the new\n\t# file should still install successfully.\n\t{\n\t  test ! -f \"$dst\" ||\n\t  $doit $rmcmd -f \"$dst\" 2>/dev/null ||\n\t  { $doit $mvcmd -f \"$dst\" \"$rmtmp\" 2>/dev/null &&\n\t    { $doit $rmcmd -f \"$rmtmp\" 2>/dev/null; :; }\n\t  } ||\n\t  { echo \"$0: cannot unlink or rename $dst\" >&2\n\t    (exit 1); exit 1\n\t  }\n\t} &&\n\n\t# Now rename the file to the real destination.\n\t$doit $mvcmd \"$dsttmp\" \"$dst\"\n      }\n    fi || exit 1\n\n    trap '' 0\n  fi\ndone\n\n# Local variables:\n# eval: (add-hook 'write-file-hooks 'time-stamp)\n# time-stamp-start: \"scriptversion=\"\n# time-stamp-format: \"%:y-%02m-%02d.%02H\"\n# time-stamp-time-zone: \"UTC\"\n# time-stamp-end: \"; # UTC\"\n# End:\n"
  },
  {
    "path": "build_aux/missing",
    "content": "#! /bin/sh\n# Common wrapper for a few potentially missing GNU programs.\n\nscriptversion=2012-06-26.16; # UTC\n\n# Copyright (C) 1996-2013 Free Software Foundation, Inc.\n# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.\n\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2, or (at your option)\n# any later version.\n\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n# GNU General Public License for more details.\n\n# You should have received a copy of the GNU General Public License\n# along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\n# As a special exception to the GNU General Public License, if you\n# distribute this file as part of a program that contains a\n# configuration script generated by Autoconf, you may include it under\n# the same distribution terms that you use for the rest of that program.\n\nif test $# -eq 0; then\n  echo 1>&2 \"Try '$0 --help' for more information\"\n  exit 1\nfi\n\ncase $1 in\n\n  --is-lightweight)\n    # Used by our autoconf macros to check whether the available missing\n    # script is modern enough.\n    exit 0\n    ;;\n\n  --run)\n    # Back-compat with the calling convention used by older automake.\n    shift\n    ;;\n\n  -h|--h|--he|--hel|--help)\n    echo \"\\\n$0 [OPTION]... PROGRAM [ARGUMENT]...\n\nRun 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due\nto PROGRAM being missing or too old.\n\nOptions:\n  -h, --help      display this help and exit\n  -v, --version   output version information and exit\n\nSupported PROGRAM values:\n  aclocal   autoconf  autoheader   autom4te  automake  makeinfo\n  bison     yacc      flex         lex       help2man\n\nVersion suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and\n'g' are ignored when checking the name.\n\nSend bug reports to <bug-automake@gnu.org>.\"\n    exit $?\n    ;;\n\n  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)\n    echo \"missing $scriptversion (GNU Automake)\"\n    exit $?\n    ;;\n\n  -*)\n    echo 1>&2 \"$0: unknown '$1' option\"\n    echo 1>&2 \"Try '$0 --help' for more information\"\n    exit 1\n    ;;\n\nesac\n\n# Run the given program, remember its exit status.\n\"$@\"; st=$?\n\n# If it succeeded, we are done.\ntest $st -eq 0 && exit 0\n\n# Also exit now if we it failed (or wasn't found), and '--version' was\n# passed; such an option is passed most likely to detect whether the\n# program is present and works.\ncase $2 in --version|--help) exit $st;; esac\n\n# Exit code 63 means version mismatch.  This often happens when the user\n# tries to use an ancient version of a tool on a file that requires a\n# minimum version.\nif test $st -eq 63; then\n  msg=\"probably too old\"\nelif test $st -eq 127; then\n  # Program was missing.\n  msg=\"missing on your system\"\nelse\n  # Program was found and executed, but failed.  Give up.\n  exit $st\nfi\n\nperl_URL=http://www.perl.org/\nflex_URL=http://flex.sourceforge.net/\ngnu_software_URL=http://www.gnu.org/software\n\nprogram_details ()\n{\n  case $1 in\n    aclocal|automake)\n      echo \"The '$1' program is part of the GNU Automake package:\"\n      echo \"<$gnu_software_URL/automake>\"\n      echo \"It also requires GNU Autoconf, GNU m4 and Perl in order to run:\"\n      echo \"<$gnu_software_URL/autoconf>\"\n      echo \"<$gnu_software_URL/m4/>\"\n      echo \"<$perl_URL>\"\n      ;;\n    autoconf|autom4te|autoheader)\n      echo \"The '$1' program is part of the GNU Autoconf package:\"\n      echo \"<$gnu_software_URL/autoconf/>\"\n      echo \"It also requires GNU m4 and Perl in order to run:\"\n      echo \"<$gnu_software_URL/m4/>\"\n      echo \"<$perl_URL>\"\n      ;;\n  esac\n}\n\ngive_advice ()\n{\n  # Normalize program name to check for.\n  normalized_program=`echo \"$1\" | sed '\n    s/^gnu-//; t\n    s/^gnu//; t\n    s/^g//; t'`\n\n  printf '%s\\n' \"'$1' is $msg.\"\n\n  configure_deps=\"'configure.ac' or m4 files included by 'configure.ac'\"\n  case $normalized_program in\n    autoconf*)\n      echo \"You should only need it if you modified 'configure.ac',\"\n      echo \"or m4 files included by it.\"\n      program_details 'autoconf'\n      ;;\n    autoheader*)\n      echo \"You should only need it if you modified 'acconfig.h' or\"\n      echo \"$configure_deps.\"\n      program_details 'autoheader'\n      ;;\n    automake*)\n      echo \"You should only need it if you modified 'Makefile.am' or\"\n      echo \"$configure_deps.\"\n      program_details 'automake'\n      ;;\n    aclocal*)\n      echo \"You should only need it if you modified 'acinclude.m4' or\"\n      echo \"$configure_deps.\"\n      program_details 'aclocal'\n      ;;\n   autom4te*)\n      echo \"You might have modified some maintainer files that require\"\n      echo \"the 'automa4te' program to be rebuilt.\"\n      program_details 'autom4te'\n      ;;\n    bison*|yacc*)\n      echo \"You should only need it if you modified a '.y' file.\"\n      echo \"You may want to install the GNU Bison package:\"\n      echo \"<$gnu_software_URL/bison/>\"\n      ;;\n    lex*|flex*)\n      echo \"You should only need it if you modified a '.l' file.\"\n      echo \"You may want to install the Fast Lexical Analyzer package:\"\n      echo \"<$flex_URL>\"\n      ;;\n    help2man*)\n      echo \"You should only need it if you modified a dependency\" \\\n           \"of a man page.\"\n      echo \"You may want to install the GNU Help2man package:\"\n      echo \"<$gnu_software_URL/help2man/>\"\n    ;;\n    makeinfo*)\n      echo \"You should only need it if you modified a '.texi' file, or\"\n      echo \"any other file indirectly affecting the aspect of the manual.\"\n      echo \"You might want to install the Texinfo package:\"\n      echo \"<$gnu_software_URL/texinfo/>\"\n      echo \"The spurious makeinfo call might also be the consequence of\"\n      echo \"using a buggy 'make' (AIX, DU, IRIX), in which case you might\"\n      echo \"want to install GNU make:\"\n      echo \"<$gnu_software_URL/make/>\"\n      ;;\n    *)\n      echo \"You might have modified some files without having the proper\"\n      echo \"tools for further handling them.  Check the 'README' file, it\"\n      echo \"often tells you about the needed prerequisites for installing\"\n      echo \"this package.  You may also peek at any GNU archive site, in\"\n      echo \"case some other package contains this missing '$1' program.\"\n      ;;\n  esac\n}\n\ngive_advice \"$1\" | sed -e '1s/^/WARNING: /' \\\n                       -e '2,$s/^/         /' >&2\n\n# Propagate the correct exit status (expected to be 127 for a program\n# not found, 63 for a program that failed due to version mismatch).\nexit $st\n\n# Local variables:\n# eval: (add-hook 'write-file-hooks 'time-stamp)\n# time-stamp-start: \"scriptversion=\"\n# time-stamp-format: \"%:y-%02m-%02d.%02H\"\n# time-stamp-time-zone: \"UTC\"\n# time-stamp-end: \"; # UTC\"\n# End:\n"
  },
  {
    "path": "build_aux/texinfo.tex",
    "content": "% texinfo.tex -- TeX macros to handle Texinfo files.\n% \n% Load plain if necessary, i.e., if running under initex.\n\\expandafter\\ifx\\csname fmtname\\endcsname\\relax\\input plain\\fi\n%\n\\def\\texinfoversion{2013-02-01.11}\n%\n% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,\n% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,\n% 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.\n%\n% This texinfo.tex file is free software: you can redistribute it and/or\n% modify it under the terms of the GNU General Public License as\n% published by the Free Software Foundation, either version 3 of the\n% License, or (at your option) any later version.\n%\n% This texinfo.tex file is distributed in the hope that it will be\n% useful, but WITHOUT ANY WARRANTY; without even the implied warranty\n% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n% General Public License for more details.\n%\n% You should have received a copy of the GNU General Public License\n% along with this program.  If not, see <http://www.gnu.org/licenses/>.\n%\n% As a special exception, when this file is read by TeX when processing\n% a Texinfo source document, you may use the result without\n% restriction. This Exception is an additional permission under section 7\n% of the GNU General Public License, version 3 (\"GPLv3\").\n%\n% Please try the latest version of texinfo.tex before submitting bug\n% reports; you can get the latest version from:\n%   http://ftp.gnu.org/gnu/texinfo/ (the Texinfo release area), or\n%   http://ftpmirror.gnu.org/texinfo/ (same, via a mirror), or\n%   http://www.gnu.org/software/texinfo/ (the Texinfo home page)\n% The texinfo.tex in any given distribution could well be out\n% of date, so if that's what you're using, please check.\n%\n% Send bug reports to bug-texinfo@gnu.org.  Please include including a\n% complete document in each bug report with which we can reproduce the\n% problem.  Patches are, of course, greatly appreciated.\n%\n% To process a Texinfo manual with TeX, it's most reliable to use the\n% texi2dvi shell script that comes with the distribution.  For a simple\n% manual foo.texi, however, you can get away with this:\n%   tex foo.texi\n%   texindex foo.??\n%   tex foo.texi\n%   tex foo.texi\n%   dvips foo.dvi -o  # or whatever; this makes foo.ps.\n% The extra TeX runs get the cross-reference information correct.\n% Sometimes one run after texindex suffices, and sometimes you need more\n% than two; texi2dvi does it as many times as necessary.\n%\n% It is possible to adapt texinfo.tex for other languages, to some\n% extent.  You can get the existing language-specific files from the\n% full Texinfo distribution.\n%\n% The GNU Texinfo home page is http://www.gnu.org/software/texinfo.\n\n\n\\message{Loading texinfo [version \\texinfoversion]:}\n\n% If in a .fmt file, print the version number\n% and turn on active characters that we couldn't do earlier because\n% they might have appeared in the input file name.\n\\everyjob{\\message{[Texinfo version \\texinfoversion]}%\n  \\catcode`+=\\active \\catcode`\\_=\\active}\n\n\\chardef\\other=12\n\n% We never want plain's \\outer definition of \\+ in Texinfo.\n% For @tex, we can use \\tabalign.\n\\let\\+ = \\relax\n\n% Save some plain tex macros whose names we will redefine.\n\\let\\ptexb=\\b\n\\let\\ptexbullet=\\bullet\n\\let\\ptexc=\\c\n\\let\\ptexcomma=\\,\n\\let\\ptexdot=\\.\n\\let\\ptexdots=\\dots\n\\let\\ptexend=\\end\n\\let\\ptexequiv=\\equiv\n\\let\\ptexexclam=\\!\n\\let\\ptexfootnote=\\footnote\n\\let\\ptexgtr=>\n\\let\\ptexhat=^\n\\let\\ptexi=\\i\n\\let\\ptexindent=\\indent\n\\let\\ptexinsert=\\insert\n\\let\\ptexlbrace=\\{\n\\let\\ptexless=<\n\\let\\ptexnewwrite\\newwrite\n\\let\\ptexnoindent=\\noindent\n\\let\\ptexplus=+\n\\let\\ptexraggedright=\\raggedright\n\\let\\ptexrbrace=\\}\n\\let\\ptexslash=\\/\n\\let\\ptexstar=\\*\n\\let\\ptext=\\t\n\\let\\ptextop=\\top\n{\\catcode`\\'=\\active \\global\\let\\ptexquoteright'}% active in plain's math mode\n\n% If this character appears in an error message or help string, it\n% starts a new line in the output.\n\\newlinechar = `^^J\n\n% Use TeX 3.0's \\inputlineno to get the line number, for better error\n% messages, but if we're using an old version of TeX, don't do anything.\n%\n\\ifx\\inputlineno\\thisisundefined\n  \\let\\linenumber = \\empty % Pre-3.0.\n\\else\n  \\def\\linenumber{l.\\the\\inputlineno:\\space}\n\\fi\n\n% Set up fixed words for English if not already set.\n\\ifx\\putwordAppendix\\undefined  \\gdef\\putwordAppendix{Appendix}\\fi\n\\ifx\\putwordChapter\\undefined   \\gdef\\putwordChapter{Chapter}\\fi\n\\ifx\\putworderror\\undefined     \\gdef\\putworderror{error}\\fi\n\\ifx\\putwordfile\\undefined      \\gdef\\putwordfile{file}\\fi\n\\ifx\\putwordin\\undefined        \\gdef\\putwordin{in}\\fi\n\\ifx\\putwordIndexIsEmpty\\undefined       \\gdef\\putwordIndexIsEmpty{(Index is empty)}\\fi\n\\ifx\\putwordIndexNonexistent\\undefined   \\gdef\\putwordIndexNonexistent{(Index is nonexistent)}\\fi\n\\ifx\\putwordInfo\\undefined      \\gdef\\putwordInfo{Info}\\fi\n\\ifx\\putwordInstanceVariableof\\undefined \\gdef\\putwordInstanceVariableof{Instance Variable of}\\fi\n\\ifx\\putwordMethodon\\undefined  \\gdef\\putwordMethodon{Method on}\\fi\n\\ifx\\putwordNoTitle\\undefined   \\gdef\\putwordNoTitle{No Title}\\fi\n\\ifx\\putwordof\\undefined        \\gdef\\putwordof{of}\\fi\n\\ifx\\putwordon\\undefined        \\gdef\\putwordon{on}\\fi\n\\ifx\\putwordpage\\undefined      \\gdef\\putwordpage{page}\\fi\n\\ifx\\putwordsection\\undefined   \\gdef\\putwordsection{section}\\fi\n\\ifx\\putwordSection\\undefined   \\gdef\\putwordSection{Section}\\fi\n\\ifx\\putwordsee\\undefined       \\gdef\\putwordsee{see}\\fi\n\\ifx\\putwordSee\\undefined       \\gdef\\putwordSee{See}\\fi\n\\ifx\\putwordShortTOC\\undefined  \\gdef\\putwordShortTOC{Short Contents}\\fi\n\\ifx\\putwordTOC\\undefined       \\gdef\\putwordTOC{Table of Contents}\\fi\n%\n\\ifx\\putwordMJan\\undefined \\gdef\\putwordMJan{January}\\fi\n\\ifx\\putwordMFeb\\undefined \\gdef\\putwordMFeb{February}\\fi\n\\ifx\\putwordMMar\\undefined \\gdef\\putwordMMar{March}\\fi\n\\ifx\\putwordMApr\\undefined \\gdef\\putwordMApr{April}\\fi\n\\ifx\\putwordMMay\\undefined \\gdef\\putwordMMay{May}\\fi\n\\ifx\\putwordMJun\\undefined \\gdef\\putwordMJun{June}\\fi\n\\ifx\\putwordMJul\\undefined \\gdef\\putwordMJul{July}\\fi\n\\ifx\\putwordMAug\\undefined \\gdef\\putwordMAug{August}\\fi\n\\ifx\\putwordMSep\\undefined \\gdef\\putwordMSep{September}\\fi\n\\ifx\\putwordMOct\\undefined \\gdef\\putwordMOct{October}\\fi\n\\ifx\\putwordMNov\\undefined \\gdef\\putwordMNov{November}\\fi\n\\ifx\\putwordMDec\\undefined \\gdef\\putwordMDec{December}\\fi\n%\n\\ifx\\putwordDefmac\\undefined    \\gdef\\putwordDefmac{Macro}\\fi\n\\ifx\\putwordDefspec\\undefined   \\gdef\\putwordDefspec{Special Form}\\fi\n\\ifx\\putwordDefvar\\undefined    \\gdef\\putwordDefvar{Variable}\\fi\n\\ifx\\putwordDefopt\\undefined    \\gdef\\putwordDefopt{User Option}\\fi\n\\ifx\\putwordDeffunc\\undefined   \\gdef\\putwordDeffunc{Function}\\fi\n\n% Since the category of space is not known, we have to be careful.\n\\chardef\\spacecat = 10\n\\def\\spaceisspace{\\catcode`\\ =\\spacecat}\n\n% sometimes characters are active, so we need control sequences.\n\\chardef\\ampChar   = `\\&\n\\chardef\\colonChar = `\\:\n\\chardef\\commaChar = `\\,\n\\chardef\\dashChar  = `\\-\n\\chardef\\dotChar   = `\\.\n\\chardef\\exclamChar= `\\!\n\\chardef\\hashChar  = `\\#\n\\chardef\\lquoteChar= `\\`\n\\chardef\\questChar = `\\?\n\\chardef\\rquoteChar= `\\'\n\\chardef\\semiChar  = `\\;\n\\chardef\\slashChar = `\\/\n\\chardef\\underChar = `\\_\n\n% Ignore a token.\n%\n\\def\\gobble#1{}\n\n% The following is used inside several \\edef's.\n\\def\\makecsname#1{\\expandafter\\noexpand\\csname#1\\endcsname}\n\n% Hyphenation fixes.\n\\hyphenation{\n  Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script\n  ap-pen-dix bit-map bit-maps\n  data-base data-bases eshell fall-ing half-way long-est man-u-script\n  man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm\n  par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces\n  spell-ing spell-ings\n  stand-alone strong-est time-stamp time-stamps which-ever white-space\n  wide-spread wrap-around\n}\n\n% Margin to add to right of even pages, to left of odd pages.\n\\newdimen\\bindingoffset\n\\newdimen\\normaloffset\n\\newdimen\\pagewidth \\newdimen\\pageheight\n\n% For a final copy, take out the rectangles\n% that mark overfull boxes (in case you have decided\n% that the text looks ok even though it passes the margin).\n%\n\\def\\finalout{\\overfullrule=0pt }\n\n% Sometimes it is convenient to have everything in the transcript file\n% and nothing on the terminal.  We don't just call \\tracingall here,\n% since that produces some useless output on the terminal.  We also make\n% some effort to order the tracing commands to reduce output in the log\n% file; cf. trace.sty in LaTeX.\n%\n\\def\\gloggingall{\\begingroup \\globaldefs = 1 \\loggingall \\endgroup}%\n\\def\\loggingall{%\n  \\tracingstats2\n  \\tracingpages1\n  \\tracinglostchars2  % 2 gives us more in etex\n  \\tracingparagraphs1\n  \\tracingoutput1\n  \\tracingmacros2\n  \\tracingrestores1\n  \\showboxbreadth\\maxdimen \\showboxdepth\\maxdimen\n  \\ifx\\eTeXversion\\thisisundefined\\else % etex gives us more logging\n    \\tracingscantokens1\n    \\tracingifs1\n    \\tracinggroups1\n    \\tracingnesting2\n    \\tracingassigns1\n  \\fi\n  \\tracingcommands3  % 3 gives us more in etex\n  \\errorcontextlines16\n}%\n\n% @errormsg{MSG}.  Do the index-like expansions on MSG, but if things\n% aren't perfect, it's not the end of the world, being an error message,\n% after all.\n% \n\\def\\errormsg{\\begingroup \\indexnofonts \\doerrormsg}\n\\def\\doerrormsg#1{\\errmessage{#1}}\n\n% add check for \\lastpenalty to plain's definitions.  If the last thing\n% we did was a \\nobreak, we don't want to insert more space.\n%\n\\def\\smallbreak{\\ifnum\\lastpenalty<10000\\par\\ifdim\\lastskip<\\smallskipamount\n  \\removelastskip\\penalty-50\\smallskip\\fi\\fi}\n\\def\\medbreak{\\ifnum\\lastpenalty<10000\\par\\ifdim\\lastskip<\\medskipamount\n  \\removelastskip\\penalty-100\\medskip\\fi\\fi}\n\\def\\bigbreak{\\ifnum\\lastpenalty<10000\\par\\ifdim\\lastskip<\\bigskipamount\n  \\removelastskip\\penalty-200\\bigskip\\fi\\fi}\n\n% Do @cropmarks to get crop marks.\n%\n\\newif\\ifcropmarks\n\\let\\cropmarks = \\cropmarkstrue\n%\n% Dimensions to add cropmarks at corners.\n% Added by P. A. MacKay, 12 Nov. 1986\n%\n\\newdimen\\outerhsize \\newdimen\\outervsize % set by the paper size routines\n\\newdimen\\cornerlong  \\cornerlong=1pc\n\\newdimen\\cornerthick \\cornerthick=.3pt\n\\newdimen\\topandbottommargin \\topandbottommargin=.75in\n\n% Output a mark which sets \\thischapter, \\thissection and \\thiscolor.\n% We dump everything together because we only have one kind of mark.\n% This works because we only use \\botmark / \\topmark, not \\firstmark.\n%\n% A mark contains a subexpression of the \\ifcase ... \\fi construct.\n% \\get*marks macros below extract the needed part using \\ifcase.\n%\n% Another complication is to let the user choose whether \\thischapter\n% (\\thissection) refers to the chapter (section) in effect at the top\n% of a page, or that at the bottom of a page.  The solution is\n% described on page 260 of The TeXbook.  It involves outputting two\n% marks for the sectioning macros, one before the section break, and\n% one after.  I won't pretend I can describe this better than DEK...\n\\def\\domark{%\n  \\toks0=\\expandafter{\\lastchapterdefs}%\n  \\toks2=\\expandafter{\\lastsectiondefs}%\n  \\toks4=\\expandafter{\\prevchapterdefs}%\n  \\toks6=\\expandafter{\\prevsectiondefs}%\n  \\toks8=\\expandafter{\\lastcolordefs}%\n  \\mark{%\n                   \\the\\toks0 \\the\\toks2\n      \\noexpand\\or \\the\\toks4 \\the\\toks6\n    \\noexpand\\else \\the\\toks8\n  }%\n}\n% \\topmark doesn't work for the very first chapter (after the title\n% page or the contents), so we use \\firstmark there -- this gets us\n% the mark with the chapter defs, unless the user sneaks in, e.g.,\n% @setcolor (or @url, or @link, etc.) between @contents and the very\n% first @chapter.\n\\def\\gettopheadingmarks{%\n  \\ifcase0\\topmark\\fi\n  \\ifx\\thischapter\\empty \\ifcase0\\firstmark\\fi \\fi\n}\n\\def\\getbottomheadingmarks{\\ifcase1\\botmark\\fi}\n\\def\\getcolormarks{\\ifcase2\\topmark\\fi}\n\n% Avoid \"undefined control sequence\" errors.\n\\def\\lastchapterdefs{}\n\\def\\lastsectiondefs{}\n\\def\\prevchapterdefs{}\n\\def\\prevsectiondefs{}\n\\def\\lastcolordefs{}\n\n% Main output routine.\n\\chardef\\PAGE = 255\n\\output = {\\onepageout{\\pagecontents\\PAGE}}\n\n\\newbox\\headlinebox\n\\newbox\\footlinebox\n\n% \\onepageout takes a vbox as an argument.  Note that \\pagecontents\n% does insertions, but you have to call it yourself.\n\\def\\onepageout#1{%\n  \\ifcropmarks \\hoffset=0pt \\else \\hoffset=\\normaloffset \\fi\n  %\n  \\ifodd\\pageno  \\advance\\hoffset by \\bindingoffset\n  \\else \\advance\\hoffset by -\\bindingoffset\\fi\n  %\n  % Do this outside of the \\shipout so @code etc. will be expanded in\n  % the headline as they should be, not taken literally (outputting ''code).\n  \\ifodd\\pageno \\getoddheadingmarks \\else \\getevenheadingmarks \\fi\n  \\setbox\\headlinebox = \\vbox{\\let\\hsize=\\pagewidth \\makeheadline}%\n  \\ifodd\\pageno \\getoddfootingmarks \\else \\getevenfootingmarks \\fi\n  \\setbox\\footlinebox = \\vbox{\\let\\hsize=\\pagewidth \\makefootline}%\n  %\n  {%\n    % Have to do this stuff outside the \\shipout because we want it to\n    % take effect in \\write's, yet the group defined by the \\vbox ends\n    % before the \\shipout runs.\n    %\n    \\indexdummies         % don't expand commands in the output.\n    \\normalturnoffactive  % \\ in index entries must not stay \\, e.g., if\n               % the page break happens to be in the middle of an example.\n               % We don't want .vr (or whatever) entries like this:\n               % \\entry{{\\tt \\indexbackslash }acronym}{32}{\\code {\\acronym}}\n               % \"\\acronym\" won't work when it's read back in;\n               % it needs to be\n               % {\\code {{\\tt \\backslashcurfont }acronym}\n    \\shipout\\vbox{%\n      % Do this early so pdf references go to the beginning of the page.\n      \\ifpdfmakepagedest \\pdfdest name{\\the\\pageno} xyz\\fi\n      %\n      \\ifcropmarks \\vbox to \\outervsize\\bgroup\n        \\hsize = \\outerhsize\n        \\vskip-\\topandbottommargin\n        \\vtop to0pt{%\n          \\line{\\ewtop\\hfil\\ewtop}%\n          \\nointerlineskip\n          \\line{%\n            \\vbox{\\moveleft\\cornerthick\\nstop}%\n            \\hfill\n            \\vbox{\\moveright\\cornerthick\\nstop}%\n          }%\n          \\vss}%\n        \\vskip\\topandbottommargin\n        \\line\\bgroup\n          \\hfil % center the page within the outer (page) hsize.\n          \\ifodd\\pageno\\hskip\\bindingoffset\\fi\n          \\vbox\\bgroup\n      \\fi\n      %\n      \\unvbox\\headlinebox\n      \\pagebody{#1}%\n      \\ifdim\\ht\\footlinebox > 0pt\n        % Only leave this space if the footline is nonempty.\n        % (We lessened \\vsize for it in \\oddfootingyyy.)\n        % The \\baselineskip=24pt in plain's \\makefootline has no effect.\n        \\vskip 24pt\n        \\unvbox\\footlinebox\n      \\fi\n      %\n      \\ifcropmarks\n          \\egroup % end of \\vbox\\bgroup\n        \\hfil\\egroup % end of (centering) \\line\\bgroup\n        \\vskip\\topandbottommargin plus1fill minus1fill\n        \\boxmaxdepth = \\cornerthick\n        \\vbox to0pt{\\vss\n          \\line{%\n            \\vbox{\\moveleft\\cornerthick\\nsbot}%\n            \\hfill\n            \\vbox{\\moveright\\cornerthick\\nsbot}%\n          }%\n          \\nointerlineskip\n          \\line{\\ewbot\\hfil\\ewbot}%\n        }%\n      \\egroup % \\vbox from first cropmarks clause\n      \\fi\n    }% end of \\shipout\\vbox\n  }% end of group with \\indexdummies\n  \\advancepageno\n  \\ifnum\\outputpenalty>-20000 \\else\\dosupereject\\fi\n}\n\n\\newinsert\\margin \\dimen\\margin=\\maxdimen\n\n\\def\\pagebody#1{\\vbox to\\pageheight{\\boxmaxdepth=\\maxdepth #1}}\n{\\catcode`\\@ =11\n\\gdef\\pagecontents#1{\\ifvoid\\topins\\else\\unvbox\\topins\\fi\n% marginal hacks, juha@viisa.uucp (Juha Takala)\n\\ifvoid\\margin\\else % marginal info is present\n  \\rlap{\\kern\\hsize\\vbox to\\z@{\\kern1pt\\box\\margin \\vss}}\\fi\n\\dimen@=\\dp#1\\relax \\unvbox#1\\relax\n\\ifvoid\\footins\\else\\vskip\\skip\\footins\\footnoterule \\unvbox\\footins\\fi\n\\ifr@ggedbottom \\kern-\\dimen@ \\vfil \\fi}\n}\n\n% Here are the rules for the cropmarks.  Note that they are\n% offset so that the space between them is truly \\outerhsize or \\outervsize\n% (P. A. MacKay, 12 November, 1986)\n%\n\\def\\ewtop{\\vrule height\\cornerthick depth0pt width\\cornerlong}\n\\def\\nstop{\\vbox\n  {\\hrule height\\cornerthick depth\\cornerlong width\\cornerthick}}\n\\def\\ewbot{\\vrule height0pt depth\\cornerthick width\\cornerlong}\n\\def\\nsbot{\\vbox\n  {\\hrule height\\cornerlong depth\\cornerthick width\\cornerthick}}\n\n% Parse an argument, then pass it to #1.  The argument is the rest of\n% the input line (except we remove a trailing comment).  #1 should be a\n% macro which expects an ordinary undelimited TeX argument.\n%\n\\def\\parsearg{\\parseargusing{}}\n\\def\\parseargusing#1#2{%\n  \\def\\argtorun{#2}%\n  \\begingroup\n    \\obeylines\n    \\spaceisspace\n    #1%\n    \\parseargline\\empty% Insert the \\empty token, see \\finishparsearg below.\n}\n\n{\\obeylines %\n  \\gdef\\parseargline#1^^M{%\n    \\endgroup % End of the group started in \\parsearg.\n    \\argremovecomment #1\\comment\\ArgTerm%\n  }%\n}\n\n% First remove any @comment, then any @c comment.\n\\def\\argremovecomment#1\\comment#2\\ArgTerm{\\argremovec #1\\c\\ArgTerm}\n\\def\\argremovec#1\\c#2\\ArgTerm{\\argcheckspaces#1\\^^M\\ArgTerm}\n\n% Each occurrence of `\\^^M' or `<space>\\^^M' is replaced by a single space.\n%\n% \\argremovec might leave us with trailing space, e.g.,\n%    @end itemize  @c foo\n% This space token undergoes the same procedure and is eventually removed\n% by \\finishparsearg.\n%\n\\def\\argcheckspaces#1\\^^M{\\argcheckspacesX#1\\^^M \\^^M}\n\\def\\argcheckspacesX#1 \\^^M{\\argcheckspacesY#1\\^^M}\n\\def\\argcheckspacesY#1\\^^M#2\\^^M#3\\ArgTerm{%\n  \\def\\temp{#3}%\n  \\ifx\\temp\\empty\n    % Do not use \\next, perhaps the caller of \\parsearg uses it; reuse \\temp:\n    \\let\\temp\\finishparsearg\n  \\else\n    \\let\\temp\\argcheckspaces\n  \\fi\n  % Put the space token in:\n  \\temp#1 #3\\ArgTerm\n}\n\n% If a _delimited_ argument is enclosed in braces, they get stripped; so\n% to get _exactly_ the rest of the line, we had to prevent such situation.\n% We prepended an \\empty token at the very beginning and we expand it now,\n% just before passing the control to \\argtorun.\n% (Similarly, we have to think about #3 of \\argcheckspacesY above: it is\n% either the null string, or it ends with \\^^M---thus there is no danger\n% that a pair of braces would be stripped.\n%\n% But first, we have to remove the trailing space token.\n%\n\\def\\finishparsearg#1 \\ArgTerm{\\expandafter\\argtorun\\expandafter{#1}}\n\n% \\parseargdef\\foo{...}\n%\tis roughly equivalent to\n% \\def\\foo{\\parsearg\\Xfoo}\n% \\def\\Xfoo#1{...}\n%\n% Actually, I use \\csname\\string\\foo\\endcsname, ie. \\\\foo, as it is my\n% favourite TeX trick.  --kasal, 16nov03\n\n\\def\\parseargdef#1{%\n  \\expandafter \\doparseargdef \\csname\\string#1\\endcsname #1%\n}\n\\def\\doparseargdef#1#2{%\n  \\def#2{\\parsearg#1}%\n  \\def#1##1%\n}\n\n% Several utility definitions with active space:\n{\n  \\obeyspaces\n  \\gdef\\obeyedspace{ }\n\n  % Make each space character in the input produce a normal interword\n  % space in the output.  Don't allow a line break at this space, as this\n  % is used only in environments like @example, where each line of input\n  % should produce a line of output anyway.\n  %\n  \\gdef\\sepspaces{\\obeyspaces\\let =\\tie}\n\n  % If an index command is used in an @example environment, any spaces\n  % therein should become regular spaces in the raw index file, not the\n  % expansion of \\tie (\\leavevmode \\penalty \\@M \\ ).\n  \\gdef\\unsepspaces{\\let =\\space}\n}\n\n\n\\def\\flushcr{\\ifx\\par\\lisppar \\def\\next##1{}\\else \\let\\next=\\relax \\fi \\next}\n\n% Define the framework for environments in texinfo.tex.  It's used like this:\n%\n%   \\envdef\\foo{...}\n%   \\def\\Efoo{...}\n%\n% It's the responsibility of \\envdef to insert \\begingroup before the\n% actual body; @end closes the group after calling \\Efoo.  \\envdef also\n% defines \\thisenv, so the current environment is known; @end checks\n% whether the environment name matches.  The \\checkenv macro can also be\n% used to check whether the current environment is the one expected.\n%\n% Non-false conditionals (@iftex, @ifset) don't fit into this, so they\n% are not treated as environments; they don't open a group.  (The\n% implementation of @end takes care not to call \\endgroup in this\n% special case.)\n\n\n% At run-time, environments start with this:\n\\def\\startenvironment#1{\\begingroup\\def\\thisenv{#1}}\n% initialize\n\\let\\thisenv\\empty\n\n% ... but they get defined via ``\\envdef\\foo{...}'':\n\\long\\def\\envdef#1#2{\\def#1{\\startenvironment#1#2}}\n\\def\\envparseargdef#1#2{\\parseargdef#1{\\startenvironment#1#2}}\n\n% Check whether we're in the right environment:\n\\def\\checkenv#1{%\n  \\def\\temp{#1}%\n  \\ifx\\thisenv\\temp\n  \\else\n    \\badenverr\n  \\fi\n}\n\n% Environment mismatch, #1 expected:\n\\def\\badenverr{%\n  \\errhelp = \\EMsimple\n  \\errmessage{This command can appear only \\inenvironment\\temp,\n    not \\inenvironment\\thisenv}%\n}\n\\def\\inenvironment#1{%\n  \\ifx#1\\empty\n    outside of any environment%\n  \\else\n    in environment \\expandafter\\string#1%\n  \\fi\n}\n\n% @end foo executes the definition of \\Efoo.\n% But first, it executes a specialized version of \\checkenv\n%\n\\parseargdef\\end{%\n  \\if 1\\csname iscond.#1\\endcsname\n  \\else\n    % The general wording of \\badenverr may not be ideal.\n    \\expandafter\\checkenv\\csname#1\\endcsname\n    \\csname E#1\\endcsname\n    \\endgroup\n  \\fi\n}\n\n\\newhelp\\EMsimple{Press RETURN to continue.}\n\n\n% Be sure we're in horizontal mode when doing a tie, since we make space\n% equivalent to this in @example-like environments. Otherwise, a space\n% at the beginning of a line will start with \\penalty -- and\n% since \\penalty is valid in vertical mode, we'd end up putting the\n% penalty on the vertical list instead of in the new paragraph.\n{\\catcode`@ = 11\n % Avoid using \\@M directly, because that causes trouble\n % if the definition is written into an index file.\n \\global\\let\\tiepenalty = \\@M\n \\gdef\\tie{\\leavevmode\\penalty\\tiepenalty\\ }\n}\n\n% @: forces normal size whitespace following.\n\\def\\:{\\spacefactor=1000 }\n\n% @* forces a line break.\n\\def\\*{\\unskip\\hfil\\break\\hbox{}\\ignorespaces}\n\n% @/ allows a line break.\n\\let\\/=\\allowbreak\n\n% @. is an end-of-sentence period.\n\\def\\.{.\\spacefactor=\\endofsentencespacefactor\\space}\n\n% @! is an end-of-sentence bang.\n\\def\\!{!\\spacefactor=\\endofsentencespacefactor\\space}\n\n% @? is an end-of-sentence query.\n\\def\\?{?\\spacefactor=\\endofsentencespacefactor\\space}\n\n% @frenchspacing on|off  says whether to put extra space after punctuation.\n%\n\\def\\onword{on}\n\\def\\offword{off}\n%\n\\parseargdef\\frenchspacing{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\onword \\plainfrenchspacing\n  \\else\\ifx\\temp\\offword \\plainnonfrenchspacing\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @frenchspacing option `\\temp', must be on|off}%\n  \\fi\\fi\n}\n\n% @w prevents a word break.  Without the \\leavevmode, @w at the\n% beginning of a paragraph, when TeX is still in vertical mode, would\n% produce a whole line of output instead of starting the paragraph.\n\\def\\w#1{\\leavevmode\\hbox{#1}}\n\n% @group ... @end group forces ... to be all on one page, by enclosing\n% it in a TeX vbox.  We use \\vtop instead of \\vbox to construct the box\n% to keep its height that of a normal line.  According to the rules for\n% \\topskip (p.114 of the TeXbook), the glue inserted is\n% max (\\topskip - \\ht (first item), 0).  If that height is large,\n% therefore, no glue is inserted, and the space between the headline and\n% the text is small, which looks bad.\n%\n% Another complication is that the group might be very large.  This can\n% cause the glue on the previous page to be unduly stretched, because it\n% does not have much material.  In this case, it's better to add an\n% explicit \\vfill so that the extra space is at the bottom.  The\n% threshold for doing this is if the group is more than \\vfilllimit\n% percent of a page (\\vfilllimit can be changed inside of @tex).\n%\n\\newbox\\groupbox\n\\def\\vfilllimit{0.7}\n%\n\\envdef\\group{%\n  \\ifnum\\catcode`\\^^M=\\active \\else\n    \\errhelp = \\groupinvalidhelp\n    \\errmessage{@group invalid in context where filling is enabled}%\n  \\fi\n  \\startsavinginserts\n  %\n  \\setbox\\groupbox = \\vtop\\bgroup\n    % Do @comment since we are called inside an environment such as\n    % @example, where each end-of-line in the input causes an\n    % end-of-line in the output.  We don't want the end-of-line after\n    % the `@group' to put extra space in the output.  Since @group\n    % should appear on a line by itself (according to the Texinfo\n    % manual), we don't worry about eating any user text.\n    \\comment\n}\n%\n% The \\vtop produces a box with normal height and large depth; thus, TeX puts\n% \\baselineskip glue before it, and (when the next line of text is done)\n% \\lineskip glue after it.  Thus, space below is not quite equal to space\n% above.  But it's pretty close.\n\\def\\Egroup{%\n    % To get correct interline space between the last line of the group\n    % and the first line afterwards, we have to propagate \\prevdepth.\n    \\endgraf % Not \\par, as it may have been set to \\lisppar.\n    \\global\\dimen1 = \\prevdepth\n  \\egroup           % End the \\vtop.\n  % \\dimen0 is the vertical size of the group's box.\n  \\dimen0 = \\ht\\groupbox  \\advance\\dimen0 by \\dp\\groupbox\n  % \\dimen2 is how much space is left on the page (more or less).\n  \\dimen2 = \\pageheight   \\advance\\dimen2 by -\\pagetotal\n  % if the group doesn't fit on the current page, and it's a big big\n  % group, force a page break.\n  \\ifdim \\dimen0 > \\dimen2\n    \\ifdim \\pagetotal < \\vfilllimit\\pageheight\n      \\page\n    \\fi\n  \\fi\n  \\box\\groupbox\n  \\prevdepth = \\dimen1\n  \\checkinserts\n}\n%\n% TeX puts in an \\escapechar (i.e., `@') at the beginning of the help\n% message, so this ends up printing `@group can only ...'.\n%\n\\newhelp\\groupinvalidhelp{%\ngroup can only be used in environments such as @example,^^J%\nwhere each line of input produces a line of output.}\n\n% @need space-in-mils\n% forces a page break if there is not space-in-mils remaining.\n\n\\newdimen\\mil  \\mil=0.001in\n\n\\parseargdef\\need{%\n  % Ensure vertical mode, so we don't make a big box in the middle of a\n  % paragraph.\n  \\par\n  %\n  % If the @need value is less than one line space, it's useless.\n  \\dimen0 = #1\\mil\n  \\dimen2 = \\ht\\strutbox\n  \\advance\\dimen2 by \\dp\\strutbox\n  \\ifdim\\dimen0 > \\dimen2\n    %\n    % Do a \\strut just to make the height of this box be normal, so the\n    % normal leading is inserted relative to the preceding line.\n    % And a page break here is fine.\n    \\vtop to #1\\mil{\\strut\\vfil}%\n    %\n    % TeX does not even consider page breaks if a penalty added to the\n    % main vertical list is 10000 or more.  But in order to see if the\n    % empty box we just added fits on the page, we must make it consider\n    % page breaks.  On the other hand, we don't want to actually break the\n    % page after the empty box.  So we use a penalty of 9999.\n    %\n    % There is an extremely small chance that TeX will actually break the\n    % page at this \\penalty, if there are no other feasible breakpoints in\n    % sight.  (If the user is using lots of big @group commands, which\n    % almost-but-not-quite fill up a page, TeX will have a hard time doing\n    % good page breaking, for example.)  However, I could not construct an\n    % example where a page broke at this \\penalty; if it happens in a real\n    % document, then we can reconsider our strategy.\n    \\penalty9999\n    %\n    % Back up by the size of the box, whether we did a page break or not.\n    \\kern -#1\\mil\n    %\n    % Do not allow a page break right after this kern.\n    \\nobreak\n  \\fi\n}\n\n% @br   forces paragraph break (and is undocumented).\n\n\\let\\br = \\par\n\n% @page forces the start of a new page.\n%\n\\def\\page{\\par\\vfill\\supereject}\n\n% @exdent text....\n% outputs text on separate line in roman font, starting at standard page margin\n\n% This records the amount of indent in the innermost environment.\n% That's how much \\exdent should take out.\n\\newskip\\exdentamount\n\n% This defn is used inside fill environments such as @defun.\n\\parseargdef\\exdent{\\hfil\\break\\hbox{\\kern -\\exdentamount{\\rm#1}}\\hfil\\break}\n\n% This defn is used inside nofill environments such as @example.\n\\parseargdef\\nofillexdent{{\\advance \\leftskip by -\\exdentamount\n  \\leftline{\\hskip\\leftskip{\\rm#1}}}}\n\n% @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current\n% paragraph.  For more general purposes, use the \\margin insertion\n% class.  WHICH is `l' or `r'.  Not documented, written for gawk manual.\n%\n\\newskip\\inmarginspacing \\inmarginspacing=1cm\n\\def\\strutdepth{\\dp\\strutbox}\n%\n\\def\\doinmargin#1#2{\\strut\\vadjust{%\n  \\nobreak\n  \\kern-\\strutdepth\n  \\vtop to \\strutdepth{%\n    \\baselineskip=\\strutdepth\n    \\vss\n    % if you have multiple lines of stuff to put here, you'll need to\n    % make the vbox yourself of the appropriate size.\n    \\ifx#1l%\n      \\llap{\\ignorespaces #2\\hskip\\inmarginspacing}%\n    \\else\n      \\rlap{\\hskip\\hsize \\hskip\\inmarginspacing \\ignorespaces #2}%\n    \\fi\n    \\null\n  }%\n}}\n\\def\\inleftmargin{\\doinmargin l}\n\\def\\inrightmargin{\\doinmargin r}\n%\n% @inmargin{TEXT [, RIGHT-TEXT]}\n% (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right;\n% else use TEXT for both).\n%\n\\def\\inmargin#1{\\parseinmargin #1,,\\finish}\n\\def\\parseinmargin#1,#2,#3\\finish{% not perfect, but better than nothing.\n  \\setbox0 = \\hbox{\\ignorespaces #2}%\n  \\ifdim\\wd0 > 0pt\n    \\def\\lefttext{#1}%  have both texts\n    \\def\\righttext{#2}%\n  \\else\n    \\def\\lefttext{#1}%  have only one text\n    \\def\\righttext{#1}%\n  \\fi\n  %\n  \\ifodd\\pageno\n    \\def\\temp{\\inrightmargin\\righttext}% odd page -> outside is right margin\n  \\else\n    \\def\\temp{\\inleftmargin\\lefttext}%\n  \\fi\n  \\temp\n}\n\n% @| inserts a changebar to the left of the current line.  It should\n% surround any changed text.  This approach does *not* work if the\n% change spans more than two lines of output.  To handle that, we would\n% have adopt a much more difficult approach (putting marks into the main\n% vertical list for the beginning and end of each change).  This command\n% is not documented, not supported, and doesn't work.\n%\n\\def\\|{%\n  % \\vadjust can only be used in horizontal mode.\n  \\leavevmode\n  %\n  % Append this vertical mode material after the current line in the output.\n  \\vadjust{%\n    % We want to insert a rule with the height and depth of the current\n    % leading; that is exactly what \\strutbox is supposed to record.\n    \\vskip-\\baselineskip\n    %\n    % \\vadjust-items are inserted at the left edge of the type.  So\n    % the \\llap here moves out into the left-hand margin.\n    \\llap{%\n      %\n      % For a thicker or thinner bar, change the `1pt'.\n      \\vrule height\\baselineskip width1pt\n      %\n      % This is the space between the bar and the text.\n      \\hskip 12pt\n    }%\n  }%\n}\n\n% @include FILE -- \\input text of FILE.\n%\n\\def\\include{\\parseargusing\\filenamecatcodes\\includezzz}\n\\def\\includezzz#1{%\n  \\pushthisfilestack\n  \\def\\thisfile{#1}%\n  {%\n    \\makevalueexpandable  % we want to expand any @value in FILE.\n    \\turnoffactive        % and allow special characters in the expansion\n    \\indexnofonts         % Allow `@@' and other weird things in file names.\n    \\wlog{texinfo.tex: doing @include of #1^^J}%\n    \\edef\\temp{\\noexpand\\input #1 }%\n    %\n    % This trickery is to read FILE outside of a group, in case it makes\n    % definitions, etc.\n    \\expandafter\n  }\\temp\n  \\popthisfilestack\n}\n\\def\\filenamecatcodes{%\n  \\catcode`\\\\=\\other\n  \\catcode`~=\\other\n  \\catcode`^=\\other\n  \\catcode`_=\\other\n  \\catcode`|=\\other\n  \\catcode`<=\\other\n  \\catcode`>=\\other\n  \\catcode`+=\\other\n  \\catcode`-=\\other\n  \\catcode`\\`=\\other\n  \\catcode`\\'=\\other\n}\n\n\\def\\pushthisfilestack{%\n  \\expandafter\\pushthisfilestackX\\popthisfilestack\\StackTerm\n}\n\\def\\pushthisfilestackX{%\n  \\expandafter\\pushthisfilestackY\\thisfile\\StackTerm\n}\n\\def\\pushthisfilestackY #1\\StackTerm #2\\StackTerm {%\n  \\gdef\\popthisfilestack{\\gdef\\thisfile{#1}\\gdef\\popthisfilestack{#2}}%\n}\n\n\\def\\popthisfilestack{\\errthisfilestackempty}\n\\def\\errthisfilestackempty{\\errmessage{Internal error:\n  the stack of filenames is empty.}}\n%\n\\def\\thisfile{}\n\n% @center line\n% outputs that line, centered.\n%\n\\parseargdef\\center{%\n  \\ifhmode\n    \\let\\centersub\\centerH\n  \\else\n    \\let\\centersub\\centerV\n  \\fi\n  \\centersub{\\hfil \\ignorespaces#1\\unskip \\hfil}%\n  \\let\\centersub\\relax % don't let the definition persist, just in case\n}\n\\def\\centerH#1{{%\n  \\hfil\\break\n  \\advance\\hsize by -\\leftskip\n  \\advance\\hsize by -\\rightskip\n  \\line{#1}%\n  \\break\n}}\n%\n\\newcount\\centerpenalty\n\\def\\centerV#1{%\n  % The idea here is the same as in \\startdefun, \\cartouche, etc.: if\n  % @center is the first thing after a section heading, we need to wipe\n  % out the negative parskip inserted by \\sectionheading, but still\n  % prevent a page break here.\n  \\centerpenalty = \\lastpenalty\n  \\ifnum\\centerpenalty>10000 \\vskip\\parskip \\fi\n  \\ifnum\\centerpenalty>9999 \\penalty\\centerpenalty \\fi\n  \\line{\\kern\\leftskip #1\\kern\\rightskip}%\n}\n\n% @sp n   outputs n lines of vertical space\n%\n\\parseargdef\\sp{\\vskip #1\\baselineskip}\n\n% @comment ...line which is ignored...\n% @c is the same as @comment\n% @ignore ... @end ignore  is another way to write a comment\n%\n\\def\\comment{\\begingroup \\catcode`\\^^M=\\other%\n\\catcode`\\@=\\other \\catcode`\\{=\\other \\catcode`\\}=\\other%\n\\commentxxx}\n{\\catcode`\\^^M=\\other \\gdef\\commentxxx#1^^M{\\endgroup}}\n%\n\\let\\c=\\comment\n\n% @paragraphindent NCHARS\n% We'll use ems for NCHARS, close enough.\n% NCHARS can also be the word `asis' or `none'.\n% We cannot feasibly implement @paragraphindent asis, though.\n%\n\\def\\asisword{asis} % no translation, these are keywords\n\\def\\noneword{none}\n%\n\\parseargdef\\paragraphindent{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\asisword\n  \\else\n    \\ifx\\temp\\noneword\n      \\defaultparindent = 0pt\n    \\else\n      \\defaultparindent = #1em\n    \\fi\n  \\fi\n  \\parindent = \\defaultparindent\n}\n\n% @exampleindent NCHARS\n% We'll use ems for NCHARS like @paragraphindent.\n% It seems @exampleindent asis isn't necessary, but\n% I preserve it to make it similar to @paragraphindent.\n\\parseargdef\\exampleindent{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\asisword\n  \\else\n    \\ifx\\temp\\noneword\n      \\lispnarrowing = 0pt\n    \\else\n      \\lispnarrowing = #1em\n    \\fi\n  \\fi\n}\n\n% @firstparagraphindent WORD\n% If WORD is `none', then suppress indentation of the first paragraph\n% after a section heading.  If WORD is `insert', then do indent at such\n% paragraphs.\n%\n% The paragraph indentation is suppressed or not by calling\n% \\suppressfirstparagraphindent, which the sectioning commands do.\n% We switch the definition of this back and forth according to WORD.\n% By default, we suppress indentation.\n%\n\\def\\suppressfirstparagraphindent{\\dosuppressfirstparagraphindent}\n\\def\\insertword{insert}\n%\n\\parseargdef\\firstparagraphindent{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\noneword\n    \\let\\suppressfirstparagraphindent = \\dosuppressfirstparagraphindent\n  \\else\\ifx\\temp\\insertword\n    \\let\\suppressfirstparagraphindent = \\relax\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @firstparagraphindent option `\\temp'}%\n  \\fi\\fi\n}\n\n% Here is how we actually suppress indentation.  Redefine \\everypar to\n% \\kern backwards by \\parindent, and then reset itself to empty.\n%\n% We also make \\indent itself not actually do anything until the next\n% paragraph.\n%\n\\gdef\\dosuppressfirstparagraphindent{%\n  \\gdef\\indent{%\n    \\restorefirstparagraphindent\n    \\indent\n  }%\n  \\gdef\\noindent{%\n    \\restorefirstparagraphindent\n    \\noindent\n  }%\n  \\global\\everypar = {%\n    \\kern -\\parindent\n    \\restorefirstparagraphindent\n  }%\n}\n\n\\gdef\\restorefirstparagraphindent{%\n  \\global \\let \\indent = \\ptexindent\n  \\global \\let \\noindent = \\ptexnoindent\n  \\global \\everypar = {}%\n}\n\n\n% @refill is a no-op.\n\\let\\refill=\\relax\n\n% If working on a large document in chapters, it is convenient to\n% be able to disable indexing, cross-referencing, and contents, for test runs.\n% This is done with @novalidate (before @setfilename).\n%\n\\newif\\iflinks \\linkstrue % by default we want the aux files.\n\\let\\novalidate = \\linksfalse\n\n% @setfilename is done at the beginning of every texinfo file.\n% So open here the files we need to have open while reading the input.\n% This makes it possible to make a .fmt file for texinfo.\n\\def\\setfilename{%\n   \\fixbackslash  % Turn off hack to swallow `\\input texinfo'.\n   \\iflinks\n     \\tryauxfile\n     % Open the new aux file.  TeX will close it automatically at exit.\n     \\immediate\\openout\\auxfile=\\jobname.aux\n   \\fi % \\openindices needs to do some work in any case.\n   \\openindices\n   \\let\\setfilename=\\comment % Ignore extra @setfilename cmds.\n   %\n   % If texinfo.cnf is present on the system, read it.\n   % Useful for site-wide @afourpaper, etc.\n   \\openin 1 texinfo.cnf\n   \\ifeof 1 \\else \\input texinfo.cnf \\fi\n   \\closein 1\n   %\n   \\comment % Ignore the actual filename.\n}\n\n% Called from \\setfilename.\n%\n\\def\\openindices{%\n  \\newindex{cp}%\n  \\newcodeindex{fn}%\n  \\newcodeindex{vr}%\n  \\newcodeindex{tp}%\n  \\newcodeindex{ky}%\n  \\newcodeindex{pg}%\n}\n\n% @bye.\n\\outer\\def\\bye{\\pagealignmacro\\tracingstats=1\\ptexend}\n\n\n\\message{pdf,}\n% adobe `portable' document format\n\\newcount\\tempnum\n\\newcount\\lnkcount\n\\newtoks\\filename\n\\newcount\\filenamelength\n\\newcount\\pgn\n\\newtoks\\toksA\n\\newtoks\\toksB\n\\newtoks\\toksC\n\\newtoks\\toksD\n\\newbox\\boxA\n\\newcount\\countA\n\\newif\\ifpdf\n\\newif\\ifpdfmakepagedest\n\n% when pdftex is run in dvi mode, \\pdfoutput is defined (so \\pdfoutput=1\n% can be set).  So we test for \\relax and 0 as well as being undefined.\n\\ifx\\pdfoutput\\thisisundefined\n\\else\n  \\ifx\\pdfoutput\\relax\n  \\else\n    \\ifcase\\pdfoutput\n    \\else\n      \\pdftrue\n    \\fi\n  \\fi\n\\fi\n\n% PDF uses PostScript string constants for the names of xref targets,\n% for display in the outlines, and in other places.  Thus, we have to\n% double any backslashes.  Otherwise, a name like \"\\node\" will be\n% interpreted as a newline (\\n), followed by o, d, e.  Not good.\n% \n% See http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html and\n% related messages.  The final outcome is that it is up to the TeX user\n% to double the backslashes and otherwise make the string valid, so\n% that's what we do.  pdftex 1.30.0 (ca.2005) introduced a primitive to\n% do this reliably, so we use it.\n\n% #1 is a control sequence in which to do the replacements,\n% which we \\xdef.\n\\def\\txiescapepdf#1{%\n  \\ifx\\pdfescapestring\\thisisundefined\n    % No primitive available; should we give a warning or log?\n    % Many times it won't matter.\n  \\else\n    % The expandable \\pdfescapestring primitive escapes parentheses,\n    % backslashes, and other special chars.\n    \\xdef#1{\\pdfescapestring{#1}}%\n  \\fi\n}\n\n\\newhelp\\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images\nwith PDF output, and none of those formats could be found.  (.eps cannot\nbe supported due to the design of the PDF format; use regular TeX (DVI\noutput) for that.)}\n\n\\ifpdf\n  %\n  % Color manipulation macros based on pdfcolor.tex,\n  % except using rgb instead of cmyk; the latter is said to render as a\n  % very dark gray on-screen and a very dark halftone in print, instead\n  % of actual black.\n  \\def\\rgbDarkRed{0.50 0.09 0.12}\n  \\def\\rgbBlack{0 0 0}\n  %\n  % k sets the color for filling (usual text, etc.);\n  % K sets the color for stroking (thin rules, e.g., normal _'s).\n  \\def\\pdfsetcolor#1{\\pdfliteral{#1 rg  #1 RG}}\n  %\n  % Set color, and create a mark which defines \\thiscolor accordingly,\n  % so that \\makeheadline knows which color to restore.\n  \\def\\setcolor#1{%\n    \\xdef\\lastcolordefs{\\gdef\\noexpand\\thiscolor{#1}}%\n    \\domark\n    \\pdfsetcolor{#1}%\n  }\n  %\n  \\def\\maincolor{\\rgbBlack}\n  \\pdfsetcolor{\\maincolor}\n  \\edef\\thiscolor{\\maincolor}\n  \\def\\lastcolordefs{}\n  %\n  \\def\\makefootline{%\n    \\baselineskip24pt\n    \\line{\\pdfsetcolor{\\maincolor}\\the\\footline}%\n  }\n  %\n  \\def\\makeheadline{%\n    \\vbox to 0pt{%\n      \\vskip-22.5pt\n      \\line{%\n        \\vbox to8.5pt{}%\n        % Extract \\thiscolor definition from the marks.\n        \\getcolormarks\n        % Typeset the headline with \\maincolor, then restore the color.\n        \\pdfsetcolor{\\maincolor}\\the\\headline\\pdfsetcolor{\\thiscolor}%\n      }%\n      \\vss\n    }%\n    \\nointerlineskip\n  }\n  %\n  %\n  \\pdfcatalog{/PageMode /UseOutlines}\n  %\n  % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).\n  \\def\\dopdfimage#1#2#3{%\n    \\def\\pdfimagewidth{#2}\\setbox0 = \\hbox{\\ignorespaces #2}%\n    \\def\\pdfimageheight{#3}\\setbox2 = \\hbox{\\ignorespaces #3}%\n    %\n    % pdftex (and the PDF format) support .pdf, .png, .jpg (among\n    % others).  Let's try in that order, PDF first since if\n    % someone has a scalable image, presumably better to use that than a\n    % bitmap.\n    \\let\\pdfimgext=\\empty\n    \\begingroup\n      \\openin 1 #1.pdf \\ifeof 1\n        \\openin 1 #1.PDF \\ifeof 1\n          \\openin 1 #1.png \\ifeof 1\n            \\openin 1 #1.jpg \\ifeof 1\n              \\openin 1 #1.jpeg \\ifeof 1\n                \\openin 1 #1.JPG \\ifeof 1\n                  \\errhelp = \\nopdfimagehelp\n                  \\errmessage{Could not find image file #1 for pdf}%\n                \\else \\gdef\\pdfimgext{JPG}%\n                \\fi\n              \\else \\gdef\\pdfimgext{jpeg}%\n              \\fi\n            \\else \\gdef\\pdfimgext{jpg}%\n            \\fi\n          \\else \\gdef\\pdfimgext{png}%\n          \\fi\n        \\else \\gdef\\pdfimgext{PDF}%\n        \\fi\n      \\else \\gdef\\pdfimgext{pdf}%\n      \\fi\n      \\closein 1\n    \\endgroup\n    %\n    % without \\immediate, ancient pdftex seg faults when the same image is\n    % included twice.  (Version 3.14159-pre-1.0-unofficial-20010704.)\n    \\ifnum\\pdftexversion < 14\n      \\immediate\\pdfimage\n    \\else\n      \\immediate\\pdfximage\n    \\fi\n      \\ifdim \\wd0 >0pt width \\pdfimagewidth \\fi\n      \\ifdim \\wd2 >0pt height \\pdfimageheight \\fi\n      \\ifnum\\pdftexversion<13\n         #1.\\pdfimgext\n       \\else\n         {#1.\\pdfimgext}%\n       \\fi\n    \\ifnum\\pdftexversion < 14 \\else\n      \\pdfrefximage \\pdflastximage\n    \\fi}\n  %\n  \\def\\pdfmkdest#1{{%\n    % We have to set dummies so commands such as @code, and characters\n    % such as \\, aren't expanded when present in a section title.\n    \\indexnofonts\n    \\turnoffactive\n    \\makevalueexpandable\n    \\def\\pdfdestname{#1}%\n    \\txiescapepdf\\pdfdestname\n    \\safewhatsit{\\pdfdest name{\\pdfdestname} xyz}%\n  }}\n  %\n  % used to mark target names; must be expandable.\n  \\def\\pdfmkpgn#1{#1}\n  %\n  % by default, use a color that is dark enough to print on paper as\n  % nearly black, but still distinguishable for online viewing.\n  \\def\\urlcolor{\\rgbDarkRed}\n  \\def\\linkcolor{\\rgbDarkRed}\n  \\def\\endlink{\\setcolor{\\maincolor}\\pdfendlink}\n  %\n  % Adding outlines to PDF; macros for calculating structure of outlines\n  % come from Petr Olsak\n  \\def\\expnumber#1{\\expandafter\\ifx\\csname#1\\endcsname\\relax 0%\n    \\else \\csname#1\\endcsname \\fi}\n  \\def\\advancenumber#1{\\tempnum=\\expnumber{#1}\\relax\n    \\advance\\tempnum by 1\n    \\expandafter\\xdef\\csname#1\\endcsname{\\the\\tempnum}}\n  %\n  % #1 is the section text, which is what will be displayed in the\n  % outline by the pdf viewer.  #2 is the pdf expression for the number\n  % of subentries (or empty, for subsubsections).  #3 is the node text,\n  % which might be empty if this toc entry had no corresponding node.\n  % #4 is the page number\n  %\n  \\def\\dopdfoutline#1#2#3#4{%\n    % Generate a link to the node text if that exists; else, use the\n    % page number.  We could generate a destination for the section\n    % text in the case where a section has no node, but it doesn't\n    % seem worth the trouble, since most documents are normally structured.\n    \\edef\\pdfoutlinedest{#3}%\n    \\ifx\\pdfoutlinedest\\empty\n      \\def\\pdfoutlinedest{#4}%\n    \\else\n      \\txiescapepdf\\pdfoutlinedest\n    \\fi\n    %\n    % Also escape PDF chars in the display string.\n    \\edef\\pdfoutlinetext{#1}%\n    \\txiescapepdf\\pdfoutlinetext\n    %\n    \\pdfoutline goto name{\\pdfmkpgn{\\pdfoutlinedest}}#2{\\pdfoutlinetext}%\n  }\n  %\n  \\def\\pdfmakeoutlines{%\n    \\begingroup\n      % Read toc silently, to get counts of subentries for \\pdfoutline.\n      \\def\\partentry##1##2##3##4{}% ignore parts in the outlines\n      \\def\\numchapentry##1##2##3##4{%\n\t\\def\\thischapnum{##2}%\n\t\\def\\thissecnum{0}%\n\t\\def\\thissubsecnum{0}%\n      }%\n      \\def\\numsecentry##1##2##3##4{%\n\t\\advancenumber{chap\\thischapnum}%\n\t\\def\\thissecnum{##2}%\n\t\\def\\thissubsecnum{0}%\n      }%\n      \\def\\numsubsecentry##1##2##3##4{%\n\t\\advancenumber{sec\\thissecnum}%\n\t\\def\\thissubsecnum{##2}%\n      }%\n      \\def\\numsubsubsecentry##1##2##3##4{%\n\t\\advancenumber{subsec\\thissubsecnum}%\n      }%\n      \\def\\thischapnum{0}%\n      \\def\\thissecnum{0}%\n      \\def\\thissubsecnum{0}%\n      %\n      % use \\def rather than \\let here because we redefine \\chapentry et\n      % al. a second time, below.\n      \\def\\appentry{\\numchapentry}%\n      \\def\\appsecentry{\\numsecentry}%\n      \\def\\appsubsecentry{\\numsubsecentry}%\n      \\def\\appsubsubsecentry{\\numsubsubsecentry}%\n      \\def\\unnchapentry{\\numchapentry}%\n      \\def\\unnsecentry{\\numsecentry}%\n      \\def\\unnsubsecentry{\\numsubsecentry}%\n      \\def\\unnsubsubsecentry{\\numsubsubsecentry}%\n      \\readdatafile{toc}%\n      %\n      % Read toc second time, this time actually producing the outlines.\n      % The `-' means take the \\expnumber as the absolute number of\n      % subentries, which we calculated on our first read of the .toc above.\n      %\n      % We use the node names as the destinations.\n      \\def\\numchapentry##1##2##3##4{%\n        \\dopdfoutline{##1}{count-\\expnumber{chap##2}}{##3}{##4}}%\n      \\def\\numsecentry##1##2##3##4{%\n        \\dopdfoutline{##1}{count-\\expnumber{sec##2}}{##3}{##4}}%\n      \\def\\numsubsecentry##1##2##3##4{%\n        \\dopdfoutline{##1}{count-\\expnumber{subsec##2}}{##3}{##4}}%\n      \\def\\numsubsubsecentry##1##2##3##4{% count is always zero\n        \\dopdfoutline{##1}{}{##3}{##4}}%\n      %\n      % PDF outlines are displayed using system fonts, instead of\n      % document fonts.  Therefore we cannot use special characters,\n      % since the encoding is unknown.  For example, the eogonek from\n      % Latin 2 (0xea) gets translated to a | character.  Info from\n      % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100.\n      %\n      % TODO this right, we have to translate 8-bit characters to\n      % their \"best\" equivalent, based on the @documentencoding.  Too\n      % much work for too little return.  Just use the ASCII equivalents\n      % we use for the index sort strings.\n      % \n      \\indexnofonts\n      \\setupdatafile\n      % We can have normal brace characters in the PDF outlines, unlike\n      % Texinfo index files.  So set that up.\n      \\def\\{{\\lbracecharliteral}%\n      \\def\\}{\\rbracecharliteral}%\n      \\catcode`\\\\=\\active \\otherbackslash\n      \\input \\tocreadfilename\n    \\endgroup\n  }\n  {\\catcode`[=1 \\catcode`]=2\n   \\catcode`{=\\other \\catcode`}=\\other\n   \\gdef\\lbracecharliteral[{]%\n   \\gdef\\rbracecharliteral[}]%\n  ]\n  %\n  \\def\\skipspaces#1{\\def\\PP{#1}\\def\\D{|}%\n    \\ifx\\PP\\D\\let\\nextsp\\relax\n    \\else\\let\\nextsp\\skipspaces\n      \\addtokens{\\filename}{\\PP}%\n      \\advance\\filenamelength by 1\n    \\fi\n    \\nextsp}\n  \\def\\getfilename#1{%\n    \\filenamelength=0\n    % If we don't expand the argument now, \\skipspaces will get\n    % snagged on things like \"@value{foo}\".\n    \\edef\\temp{#1}%\n    \\expandafter\\skipspaces\\temp|\\relax\n  }\n  \\ifnum\\pdftexversion < 14\n    \\let \\startlink \\pdfannotlink\n  \\else\n    \\let \\startlink \\pdfstartlink\n  \\fi\n  % make a live url in pdf output.\n  \\def\\pdfurl#1{%\n    \\begingroup\n      % it seems we really need yet another set of dummies; have not\n      % tried to figure out what each command should do in the context\n      % of @url.  for now, just make @/ a no-op, that's the only one\n      % people have actually reported a problem with.\n      %\n      \\normalturnoffactive\n      \\def\\@{@}%\n      \\let\\/=\\empty\n      \\makevalueexpandable\n      % do we want to go so far as to use \\indexnofonts instead of just\n      % special-casing \\var here?\n      \\def\\var##1{##1}%\n      %\n      \\leavevmode\\setcolor{\\urlcolor}%\n      \\startlink attr{/Border [0 0 0]}%\n        user{/Subtype /Link /A << /S /URI /URI (#1) >>}%\n    \\endgroup}\n  \\def\\pdfgettoks#1.{\\setbox\\boxA=\\hbox{\\toksA={#1.}\\toksB={}\\maketoks}}\n  \\def\\addtokens#1#2{\\edef\\addtoks{\\noexpand#1={\\the#1#2}}\\addtoks}\n  \\def\\adn#1{\\addtokens{\\toksC}{#1}\\global\\countA=1\\let\\next=\\maketoks}\n  \\def\\poptoks#1#2|ENDTOKS|{\\let\\first=#1\\toksD={#1}\\toksA={#2}}\n  \\def\\maketoks{%\n    \\expandafter\\poptoks\\the\\toksA|ENDTOKS|\\relax\n    \\ifx\\first0\\adn0\n    \\else\\ifx\\first1\\adn1 \\else\\ifx\\first2\\adn2 \\else\\ifx\\first3\\adn3\n    \\else\\ifx\\first4\\adn4 \\else\\ifx\\first5\\adn5 \\else\\ifx\\first6\\adn6\n    \\else\\ifx\\first7\\adn7 \\else\\ifx\\first8\\adn8 \\else\\ifx\\first9\\adn9\n    \\else\n      \\ifnum0=\\countA\\else\\makelink\\fi\n      \\ifx\\first.\\let\\next=\\done\\else\n        \\let\\next=\\maketoks\n        \\addtokens{\\toksB}{\\the\\toksD}\n        \\ifx\\first,\\addtokens{\\toksB}{\\space}\\fi\n      \\fi\n    \\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\n    \\next}\n  \\def\\makelink{\\addtokens{\\toksB}%\n    {\\noexpand\\pdflink{\\the\\toksC}}\\toksC={}\\global\\countA=0}\n  \\def\\pdflink#1{%\n    \\startlink attr{/Border [0 0 0]} goto name{\\pdfmkpgn{#1}}\n    \\setcolor{\\linkcolor}#1\\endlink}\n  \\def\\done{\\edef\\st{\\global\\noexpand\\toksA={\\the\\toksB}}\\st}\n\\else\n  % non-pdf mode\n  \\let\\pdfmkdest = \\gobble\n  \\let\\pdfurl = \\gobble\n  \\let\\endlink = \\relax\n  \\let\\setcolor = \\gobble\n  \\let\\pdfsetcolor = \\gobble\n  \\let\\pdfmakeoutlines = \\relax\n\\fi  % \\ifx\\pdfoutput\n\n\n\\message{fonts,}\n\n% Change the current font style to #1, remembering it in \\curfontstyle.\n% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in\n% italics, not bold italics.\n%\n\\def\\setfontstyle#1{%\n  \\def\\curfontstyle{#1}% not as a control sequence, because we are \\edef'd.\n  \\csname ten#1\\endcsname  % change the current font\n}\n\n% Select #1 fonts with the current style.\n%\n\\def\\selectfonts#1{\\csname #1fonts\\endcsname \\csname\\curfontstyle\\endcsname}\n\n\\def\\rm{\\fam=0 \\setfontstyle{rm}}\n\\def\\it{\\fam=\\itfam \\setfontstyle{it}}\n\\def\\sl{\\fam=\\slfam \\setfontstyle{sl}}\n\\def\\bf{\\fam=\\bffam \\setfontstyle{bf}}\\def\\bfstylename{bf}\n\\def\\tt{\\fam=\\ttfam \\setfontstyle{tt}}\n\n% Unfortunately, we have to override this for titles and the like, since\n% in those cases \"rm\" is bold.  Sigh.\n\\def\\rmisbold{\\rm\\def\\curfontstyle{bf}}\n\n% Texinfo sort of supports the sans serif font style, which plain TeX does not.\n% So we set up a \\sf.\n\\newfam\\sffam\n\\def\\sf{\\fam=\\sffam \\setfontstyle{sf}}\n\\let\\li = \\sf % Sometimes we call it \\li, not \\sf.\n\n% We don't need math for this font style.\n\\def\\ttsl{\\setfontstyle{ttsl}}\n\n\n% Set the baselineskip to #1, and the lineskip and strut size\n% correspondingly.  There is no deep meaning behind these magic numbers\n% used as factors; they just match (closely enough) what Knuth defined.\n%\n\\def\\lineskipfactor{.08333}\n\\def\\strutheightpercent{.70833}\n\\def\\strutdepthpercent {.29167}\n%\n% can get a sort of poor man's double spacing by redefining this.\n\\def\\baselinefactor{1}\n%\n\\newdimen\\textleading\n\\def\\setleading#1{%\n  \\dimen0 = #1\\relax\n  \\normalbaselineskip = \\baselinefactor\\dimen0\n  \\normallineskip = \\lineskipfactor\\normalbaselineskip\n  \\normalbaselines\n  \\setbox\\strutbox =\\hbox{%\n    \\vrule width0pt height\\strutheightpercent\\baselineskip\n                    depth \\strutdepthpercent \\baselineskip\n  }%\n}\n\n% PDF CMaps.  See also LaTeX's t1.cmap.\n%\n% do nothing with this by default.\n\\expandafter\\let\\csname cmapOT1\\endcsname\\gobble\n\\expandafter\\let\\csname cmapOT1IT\\endcsname\\gobble\n\\expandafter\\let\\csname cmapOT1TT\\endcsname\\gobble\n\n% if we are producing pdf, and we have \\pdffontattr, then define cmaps.\n% (\\pdffontattr was introduced many years ago, but people still run\n% older pdftex's; it's easy to conditionalize, so we do.)\n\\ifpdf \\ifx\\pdffontattr\\thisisundefined \\else\n  \\begingroup\n    \\catcode`\\^^M=\\active \\def^^M{^^J}% Output line endings as the ^^J char.\n    \\catcode`\\%=12 \\immediate\\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap\n%%DocumentNeededResources: ProcSet (CIDInit)\n%%IncludeResource: ProcSet (CIDInit)\n%%BeginResource: CMap (TeX-OT1-0)\n%%Title: (TeX-OT1-0 TeX OT1 0)\n%%Version: 1.000\n%%EndComments\n/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo\n<< /Registry (TeX)\n/Ordering (OT1)\n/Supplement 0\n>> def\n/CMapName /TeX-OT1-0 def\n/CMapType 2 def\n1 begincodespacerange\n<00> <7F>\nendcodespacerange\n8 beginbfrange\n<00> <01> <0393>\n<09> <0A> <03A8>\n<23> <26> <0023>\n<28> <3B> <0028>\n<3F> <5B> <003F>\n<5D> <5E> <005D>\n<61> <7A> <0061>\n<7B> <7C> <2013>\nendbfrange\n40 beginbfchar\n<02> <0398>\n<03> <039B>\n<04> <039E>\n<05> <03A0>\n<06> <03A3>\n<07> <03D2>\n<08> <03A6>\n<0B> <00660066>\n<0C> <00660069>\n<0D> <0066006C>\n<0E> <006600660069>\n<0F> <00660066006C>\n<10> <0131>\n<11> <0237>\n<12> <0060>\n<13> <00B4>\n<14> <02C7>\n<15> <02D8>\n<16> <00AF>\n<17> <02DA>\n<18> <00B8>\n<19> <00DF>\n<1A> <00E6>\n<1B> <0153>\n<1C> <00F8>\n<1D> <00C6>\n<1E> <0152>\n<1F> <00D8>\n<21> <0021>\n<22> <201D>\n<27> <2019>\n<3C> <00A1>\n<3D> <003D>\n<3E> <00BF>\n<5C> <201C>\n<5F> <02D9>\n<60> <2018>\n<7D> <02DD>\n<7E> <007E>\n<7F> <00A8>\nendbfchar\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend\n%%EndResource\n%%EOF\n    }\\endgroup\n  \\expandafter\\edef\\csname cmapOT1\\endcsname#1{%\n    \\pdffontattr#1{/ToUnicode \\the\\pdflastobj\\space 0 R}%\n  }%\n%\n% \\cmapOT1IT\n  \\begingroup\n    \\catcode`\\^^M=\\active \\def^^M{^^J}% Output line endings as the ^^J char.\n    \\catcode`\\%=12 \\immediate\\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap\n%%DocumentNeededResources: ProcSet (CIDInit)\n%%IncludeResource: ProcSet (CIDInit)\n%%BeginResource: CMap (TeX-OT1IT-0)\n%%Title: (TeX-OT1IT-0 TeX OT1IT 0)\n%%Version: 1.000\n%%EndComments\n/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo\n<< /Registry (TeX)\n/Ordering (OT1IT)\n/Supplement 0\n>> def\n/CMapName /TeX-OT1IT-0 def\n/CMapType 2 def\n1 begincodespacerange\n<00> <7F>\nendcodespacerange\n8 beginbfrange\n<00> <01> <0393>\n<09> <0A> <03A8>\n<25> <26> <0025>\n<28> <3B> <0028>\n<3F> <5B> <003F>\n<5D> <5E> <005D>\n<61> <7A> <0061>\n<7B> <7C> <2013>\nendbfrange\n42 beginbfchar\n<02> <0398>\n<03> <039B>\n<04> <039E>\n<05> <03A0>\n<06> <03A3>\n<07> <03D2>\n<08> <03A6>\n<0B> <00660066>\n<0C> <00660069>\n<0D> <0066006C>\n<0E> <006600660069>\n<0F> <00660066006C>\n<10> <0131>\n<11> <0237>\n<12> <0060>\n<13> <00B4>\n<14> <02C7>\n<15> <02D8>\n<16> <00AF>\n<17> <02DA>\n<18> <00B8>\n<19> <00DF>\n<1A> <00E6>\n<1B> <0153>\n<1C> <00F8>\n<1D> <00C6>\n<1E> <0152>\n<1F> <00D8>\n<21> <0021>\n<22> <201D>\n<23> <0023>\n<24> <00A3>\n<27> <2019>\n<3C> <00A1>\n<3D> <003D>\n<3E> <00BF>\n<5C> <201C>\n<5F> <02D9>\n<60> <2018>\n<7D> <02DD>\n<7E> <007E>\n<7F> <00A8>\nendbfchar\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend\n%%EndResource\n%%EOF\n    }\\endgroup\n  \\expandafter\\edef\\csname cmapOT1IT\\endcsname#1{%\n    \\pdffontattr#1{/ToUnicode \\the\\pdflastobj\\space 0 R}%\n  }%\n%\n% \\cmapOT1TT\n  \\begingroup\n    \\catcode`\\^^M=\\active \\def^^M{^^J}% Output line endings as the ^^J char.\n    \\catcode`\\%=12 \\immediate\\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap\n%%DocumentNeededResources: ProcSet (CIDInit)\n%%IncludeResource: ProcSet (CIDInit)\n%%BeginResource: CMap (TeX-OT1TT-0)\n%%Title: (TeX-OT1TT-0 TeX OT1TT 0)\n%%Version: 1.000\n%%EndComments\n/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo\n<< /Registry (TeX)\n/Ordering (OT1TT)\n/Supplement 0\n>> def\n/CMapName /TeX-OT1TT-0 def\n/CMapType 2 def\n1 begincodespacerange\n<00> <7F>\nendcodespacerange\n5 beginbfrange\n<00> <01> <0393>\n<09> <0A> <03A8>\n<21> <26> <0021>\n<28> <5F> <0028>\n<61> <7E> <0061>\nendbfrange\n32 beginbfchar\n<02> <0398>\n<03> <039B>\n<04> <039E>\n<05> <03A0>\n<06> <03A3>\n<07> <03D2>\n<08> <03A6>\n<0B> <2191>\n<0C> <2193>\n<0D> <0027>\n<0E> <00A1>\n<0F> <00BF>\n<10> <0131>\n<11> <0237>\n<12> <0060>\n<13> <00B4>\n<14> <02C7>\n<15> <02D8>\n<16> <00AF>\n<17> <02DA>\n<18> <00B8>\n<19> <00DF>\n<1A> <00E6>\n<1B> <0153>\n<1C> <00F8>\n<1D> <00C6>\n<1E> <0152>\n<1F> <00D8>\n<20> <2423>\n<27> <2019>\n<60> <2018>\n<7F> <00A8>\nendbfchar\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend\n%%EndResource\n%%EOF\n    }\\endgroup\n  \\expandafter\\edef\\csname cmapOT1TT\\endcsname#1{%\n    \\pdffontattr#1{/ToUnicode \\the\\pdflastobj\\space 0 R}%\n  }%\n\\fi\\fi\n\n\n% Set the font macro #1 to the font named \\fontprefix#2.\n% #3 is the font's design size, #4 is a scale factor, #5 is the CMap\n% encoding (only OT1, OT1IT and OT1TT are allowed, or empty to omit).\n% Example:\n% #1 = \\textrm\n% #2 = \\rmshape\n% #3 = 10\n% #4 = \\mainmagstep\n% #5 = OT1\n%\n\\def\\setfont#1#2#3#4#5{%\n  \\font#1=\\fontprefix#2#3 scaled #4\n  \\csname cmap#5\\endcsname#1%\n}\n% This is what gets called when #5 of \\setfont is empty.\n\\let\\cmap\\gobble\n%\n% (end of cmaps)\n\n% Use cm as the default font prefix.\n% To specify the font prefix, you must define \\fontprefix\n% before you read in texinfo.tex.\n\\ifx\\fontprefix\\thisisundefined\n\\def\\fontprefix{cm}\n\\fi\n% Support font families that don't use the same naming scheme as CM.\n\\def\\rmshape{r}\n\\def\\rmbshape{bx}               % where the normal face is bold\n\\def\\bfshape{b}\n\\def\\bxshape{bx}\n\\def\\ttshape{tt}\n\\def\\ttbshape{tt}\n\\def\\ttslshape{sltt}\n\\def\\itshape{ti}\n\\def\\itbshape{bxti}\n\\def\\slshape{sl}\n\\def\\slbshape{bxsl}\n\\def\\sfshape{ss}\n\\def\\sfbshape{ss}\n\\def\\scshape{csc}\n\\def\\scbshape{csc}\n\n% Definitions for a main text size of 11pt.  (The default in Texinfo.)\n%\n\\def\\definetextfontsizexi{%\n% Text fonts (11.2pt, magstep1).\n\\def\\textnominalsize{11pt}\n\\edef\\mainmagstep{\\magstephalf}\n\\setfont\\textrm\\rmshape{10}{\\mainmagstep}{OT1}\n\\setfont\\texttt\\ttshape{10}{\\mainmagstep}{OT1TT}\n\\setfont\\textbf\\bfshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textit\\itshape{10}{\\mainmagstep}{OT1IT}\n\\setfont\\textsl\\slshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textsf\\sfshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textsc\\scshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textttsl\\ttslshape{10}{\\mainmagstep}{OT1TT}\n\\font\\texti=cmmi10 scaled \\mainmagstep\n\\font\\textsy=cmsy10 scaled \\mainmagstep\n\\def\\textecsize{1095}\n\n% A few fonts for @defun names and args.\n\\setfont\\defbf\\bfshape{10}{\\magstep1}{OT1}\n\\setfont\\deftt\\ttshape{10}{\\magstep1}{OT1TT}\n\\setfont\\defttsl\\ttslshape{10}{\\magstep1}{OT1TT}\n\\def\\df{\\let\\tentt=\\deftt \\let\\tenbf = \\defbf \\let\\tenttsl=\\defttsl \\bf}\n\n% Fonts for indices, footnotes, small examples (9pt).\n\\def\\smallnominalsize{9pt}\n\\setfont\\smallrm\\rmshape{9}{1000}{OT1}\n\\setfont\\smalltt\\ttshape{9}{1000}{OT1TT}\n\\setfont\\smallbf\\bfshape{10}{900}{OT1}\n\\setfont\\smallit\\itshape{9}{1000}{OT1IT}\n\\setfont\\smallsl\\slshape{9}{1000}{OT1}\n\\setfont\\smallsf\\sfshape{9}{1000}{OT1}\n\\setfont\\smallsc\\scshape{10}{900}{OT1}\n\\setfont\\smallttsl\\ttslshape{10}{900}{OT1TT}\n\\font\\smalli=cmmi9\n\\font\\smallsy=cmsy9\n\\def\\smallecsize{0900}\n\n% Fonts for small examples (8pt).\n\\def\\smallernominalsize{8pt}\n\\setfont\\smallerrm\\rmshape{8}{1000}{OT1}\n\\setfont\\smallertt\\ttshape{8}{1000}{OT1TT}\n\\setfont\\smallerbf\\bfshape{10}{800}{OT1}\n\\setfont\\smallerit\\itshape{8}{1000}{OT1IT}\n\\setfont\\smallersl\\slshape{8}{1000}{OT1}\n\\setfont\\smallersf\\sfshape{8}{1000}{OT1}\n\\setfont\\smallersc\\scshape{10}{800}{OT1}\n\\setfont\\smallerttsl\\ttslshape{10}{800}{OT1TT}\n\\font\\smalleri=cmmi8\n\\font\\smallersy=cmsy8\n\\def\\smallerecsize{0800}\n\n% Fonts for title page (20.4pt):\n\\def\\titlenominalsize{20pt}\n\\setfont\\titlerm\\rmbshape{12}{\\magstep3}{OT1}\n\\setfont\\titleit\\itbshape{10}{\\magstep4}{OT1IT}\n\\setfont\\titlesl\\slbshape{10}{\\magstep4}{OT1}\n\\setfont\\titlett\\ttbshape{12}{\\magstep3}{OT1TT}\n\\setfont\\titlettsl\\ttslshape{10}{\\magstep4}{OT1TT}\n\\setfont\\titlesf\\sfbshape{17}{\\magstep1}{OT1}\n\\let\\titlebf=\\titlerm\n\\setfont\\titlesc\\scbshape{10}{\\magstep4}{OT1}\n\\font\\titlei=cmmi12 scaled \\magstep3\n\\font\\titlesy=cmsy10 scaled \\magstep4\n\\def\\titleecsize{2074}\n\n% Chapter (and unnumbered) fonts (17.28pt).\n\\def\\chapnominalsize{17pt}\n\\setfont\\chaprm\\rmbshape{12}{\\magstep2}{OT1}\n\\setfont\\chapit\\itbshape{10}{\\magstep3}{OT1IT}\n\\setfont\\chapsl\\slbshape{10}{\\magstep3}{OT1}\n\\setfont\\chaptt\\ttbshape{12}{\\magstep2}{OT1TT}\n\\setfont\\chapttsl\\ttslshape{10}{\\magstep3}{OT1TT}\n\\setfont\\chapsf\\sfbshape{17}{1000}{OT1}\n\\let\\chapbf=\\chaprm\n\\setfont\\chapsc\\scbshape{10}{\\magstep3}{OT1}\n\\font\\chapi=cmmi12 scaled \\magstep2\n\\font\\chapsy=cmsy10 scaled \\magstep3\n\\def\\chapecsize{1728}\n\n% Section fonts (14.4pt).\n\\def\\secnominalsize{14pt}\n\\setfont\\secrm\\rmbshape{12}{\\magstep1}{OT1}\n\\setfont\\secit\\itbshape{10}{\\magstep2}{OT1IT}\n\\setfont\\secsl\\slbshape{10}{\\magstep2}{OT1}\n\\setfont\\sectt\\ttbshape{12}{\\magstep1}{OT1TT}\n\\setfont\\secttsl\\ttslshape{10}{\\magstep2}{OT1TT}\n\\setfont\\secsf\\sfbshape{12}{\\magstep1}{OT1}\n\\let\\secbf\\secrm\n\\setfont\\secsc\\scbshape{10}{\\magstep2}{OT1}\n\\font\\seci=cmmi12 scaled \\magstep1\n\\font\\secsy=cmsy10 scaled \\magstep2\n\\def\\sececsize{1440}\n\n% Subsection fonts (13.15pt).\n\\def\\ssecnominalsize{13pt}\n\\setfont\\ssecrm\\rmbshape{12}{\\magstephalf}{OT1}\n\\setfont\\ssecit\\itbshape{10}{1315}{OT1IT}\n\\setfont\\ssecsl\\slbshape{10}{1315}{OT1}\n\\setfont\\ssectt\\ttbshape{12}{\\magstephalf}{OT1TT}\n\\setfont\\ssecttsl\\ttslshape{10}{1315}{OT1TT}\n\\setfont\\ssecsf\\sfbshape{12}{\\magstephalf}{OT1}\n\\let\\ssecbf\\ssecrm\n\\setfont\\ssecsc\\scbshape{10}{1315}{OT1}\n\\font\\sseci=cmmi12 scaled \\magstephalf\n\\font\\ssecsy=cmsy10 scaled 1315\n\\def\\ssececsize{1200}\n\n% Reduced fonts for @acro in text (10pt).\n\\def\\reducednominalsize{10pt}\n\\setfont\\reducedrm\\rmshape{10}{1000}{OT1}\n\\setfont\\reducedtt\\ttshape{10}{1000}{OT1TT}\n\\setfont\\reducedbf\\bfshape{10}{1000}{OT1}\n\\setfont\\reducedit\\itshape{10}{1000}{OT1IT}\n\\setfont\\reducedsl\\slshape{10}{1000}{OT1}\n\\setfont\\reducedsf\\sfshape{10}{1000}{OT1}\n\\setfont\\reducedsc\\scshape{10}{1000}{OT1}\n\\setfont\\reducedttsl\\ttslshape{10}{1000}{OT1TT}\n\\font\\reducedi=cmmi10\n\\font\\reducedsy=cmsy10\n\\def\\reducedecsize{1000}\n\n\\textleading = 13.2pt % line spacing for 11pt CM\n\\textfonts            % reset the current fonts\n\\rm\n} % end of 11pt text font size definitions, \\definetextfontsizexi\n\n\n% Definitions to make the main text be 10pt Computer Modern, with\n% section, chapter, etc., sizes following suit.  This is for the GNU\n% Press printing of the Emacs 22 manual.  Maybe other manuals in the\n% future.  Used with @smallbook, which sets the leading to 12pt.\n%\n\\def\\definetextfontsizex{%\n% Text fonts (10pt).\n\\def\\textnominalsize{10pt}\n\\edef\\mainmagstep{1000}\n\\setfont\\textrm\\rmshape{10}{\\mainmagstep}{OT1}\n\\setfont\\texttt\\ttshape{10}{\\mainmagstep}{OT1TT}\n\\setfont\\textbf\\bfshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textit\\itshape{10}{\\mainmagstep}{OT1IT}\n\\setfont\\textsl\\slshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textsf\\sfshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textsc\\scshape{10}{\\mainmagstep}{OT1}\n\\setfont\\textttsl\\ttslshape{10}{\\mainmagstep}{OT1TT}\n\\font\\texti=cmmi10 scaled \\mainmagstep\n\\font\\textsy=cmsy10 scaled \\mainmagstep\n\\def\\textecsize{1000}\n\n% A few fonts for @defun names and args.\n\\setfont\\defbf\\bfshape{10}{\\magstephalf}{OT1}\n\\setfont\\deftt\\ttshape{10}{\\magstephalf}{OT1TT}\n\\setfont\\defttsl\\ttslshape{10}{\\magstephalf}{OT1TT}\n\\def\\df{\\let\\tentt=\\deftt \\let\\tenbf = \\defbf \\let\\tenttsl=\\defttsl \\bf}\n\n% Fonts for indices, footnotes, small examples (9pt).\n\\def\\smallnominalsize{9pt}\n\\setfont\\smallrm\\rmshape{9}{1000}{OT1}\n\\setfont\\smalltt\\ttshape{9}{1000}{OT1TT}\n\\setfont\\smallbf\\bfshape{10}{900}{OT1}\n\\setfont\\smallit\\itshape{9}{1000}{OT1IT}\n\\setfont\\smallsl\\slshape{9}{1000}{OT1}\n\\setfont\\smallsf\\sfshape{9}{1000}{OT1}\n\\setfont\\smallsc\\scshape{10}{900}{OT1}\n\\setfont\\smallttsl\\ttslshape{10}{900}{OT1TT}\n\\font\\smalli=cmmi9\n\\font\\smallsy=cmsy9\n\\def\\smallecsize{0900}\n\n% Fonts for small examples (8pt).\n\\def\\smallernominalsize{8pt}\n\\setfont\\smallerrm\\rmshape{8}{1000}{OT1}\n\\setfont\\smallertt\\ttshape{8}{1000}{OT1TT}\n\\setfont\\smallerbf\\bfshape{10}{800}{OT1}\n\\setfont\\smallerit\\itshape{8}{1000}{OT1IT}\n\\setfont\\smallersl\\slshape{8}{1000}{OT1}\n\\setfont\\smallersf\\sfshape{8}{1000}{OT1}\n\\setfont\\smallersc\\scshape{10}{800}{OT1}\n\\setfont\\smallerttsl\\ttslshape{10}{800}{OT1TT}\n\\font\\smalleri=cmmi8\n\\font\\smallersy=cmsy8\n\\def\\smallerecsize{0800}\n\n% Fonts for title page (20.4pt):\n\\def\\titlenominalsize{20pt}\n\\setfont\\titlerm\\rmbshape{12}{\\magstep3}{OT1}\n\\setfont\\titleit\\itbshape{10}{\\magstep4}{OT1IT}\n\\setfont\\titlesl\\slbshape{10}{\\magstep4}{OT1}\n\\setfont\\titlett\\ttbshape{12}{\\magstep3}{OT1TT}\n\\setfont\\titlettsl\\ttslshape{10}{\\magstep4}{OT1TT}\n\\setfont\\titlesf\\sfbshape{17}{\\magstep1}{OT1}\n\\let\\titlebf=\\titlerm\n\\setfont\\titlesc\\scbshape{10}{\\magstep4}{OT1}\n\\font\\titlei=cmmi12 scaled \\magstep3\n\\font\\titlesy=cmsy10 scaled \\magstep4\n\\def\\titleecsize{2074}\n\n% Chapter fonts (14.4pt).\n\\def\\chapnominalsize{14pt}\n\\setfont\\chaprm\\rmbshape{12}{\\magstep1}{OT1}\n\\setfont\\chapit\\itbshape{10}{\\magstep2}{OT1IT}\n\\setfont\\chapsl\\slbshape{10}{\\magstep2}{OT1}\n\\setfont\\chaptt\\ttbshape{12}{\\magstep1}{OT1TT}\n\\setfont\\chapttsl\\ttslshape{10}{\\magstep2}{OT1TT}\n\\setfont\\chapsf\\sfbshape{12}{\\magstep1}{OT1}\n\\let\\chapbf\\chaprm\n\\setfont\\chapsc\\scbshape{10}{\\magstep2}{OT1}\n\\font\\chapi=cmmi12 scaled \\magstep1\n\\font\\chapsy=cmsy10 scaled \\magstep2\n\\def\\chapecsize{1440}\n\n% Section fonts (12pt).\n\\def\\secnominalsize{12pt}\n\\setfont\\secrm\\rmbshape{12}{1000}{OT1}\n\\setfont\\secit\\itbshape{10}{\\magstep1}{OT1IT}\n\\setfont\\secsl\\slbshape{10}{\\magstep1}{OT1}\n\\setfont\\sectt\\ttbshape{12}{1000}{OT1TT}\n\\setfont\\secttsl\\ttslshape{10}{\\magstep1}{OT1TT}\n\\setfont\\secsf\\sfbshape{12}{1000}{OT1}\n\\let\\secbf\\secrm\n\\setfont\\secsc\\scbshape{10}{\\magstep1}{OT1}\n\\font\\seci=cmmi12\n\\font\\secsy=cmsy10 scaled \\magstep1\n\\def\\sececsize{1200}\n\n% Subsection fonts (10pt).\n\\def\\ssecnominalsize{10pt}\n\\setfont\\ssecrm\\rmbshape{10}{1000}{OT1}\n\\setfont\\ssecit\\itbshape{10}{1000}{OT1IT}\n\\setfont\\ssecsl\\slbshape{10}{1000}{OT1}\n\\setfont\\ssectt\\ttbshape{10}{1000}{OT1TT}\n\\setfont\\ssecttsl\\ttslshape{10}{1000}{OT1TT}\n\\setfont\\ssecsf\\sfbshape{10}{1000}{OT1}\n\\let\\ssecbf\\ssecrm\n\\setfont\\ssecsc\\scbshape{10}{1000}{OT1}\n\\font\\sseci=cmmi10\n\\font\\ssecsy=cmsy10\n\\def\\ssececsize{1000}\n\n% Reduced fonts for @acro in text (9pt).\n\\def\\reducednominalsize{9pt}\n\\setfont\\reducedrm\\rmshape{9}{1000}{OT1}\n\\setfont\\reducedtt\\ttshape{9}{1000}{OT1TT}\n\\setfont\\reducedbf\\bfshape{10}{900}{OT1}\n\\setfont\\reducedit\\itshape{9}{1000}{OT1IT}\n\\setfont\\reducedsl\\slshape{9}{1000}{OT1}\n\\setfont\\reducedsf\\sfshape{9}{1000}{OT1}\n\\setfont\\reducedsc\\scshape{10}{900}{OT1}\n\\setfont\\reducedttsl\\ttslshape{10}{900}{OT1TT}\n\\font\\reducedi=cmmi9\n\\font\\reducedsy=cmsy9\n\\def\\reducedecsize{0900}\n\n\\divide\\parskip by 2  % reduce space between paragraphs\n\\textleading = 12pt   % line spacing for 10pt CM\n\\textfonts            % reset the current fonts\n\\rm\n} % end of 10pt text font size definitions, \\definetextfontsizex\n\n\n% We provide the user-level command\n%   @fonttextsize 10\n% (or 11) to redefine the text font size.  pt is assumed.\n%\n\\def\\xiword{11}\n\\def\\xword{10}\n\\def\\xwordpt{10pt}\n%\n\\parseargdef\\fonttextsize{%\n  \\def\\textsizearg{#1}%\n  %\\wlog{doing @fonttextsize \\textsizearg}%\n  %\n  % Set \\globaldefs so that documents can use this inside @tex, since\n  % makeinfo 4.8 does not support it, but we need it nonetheless.\n  %\n \\begingroup \\globaldefs=1\n  \\ifx\\textsizearg\\xword \\definetextfontsizex\n  \\else \\ifx\\textsizearg\\xiword \\definetextfontsizexi\n  \\else\n    \\errhelp=\\EMsimple\n    \\errmessage{@fonttextsize only supports `10' or `11', not `\\textsizearg'}\n  \\fi\\fi\n \\endgroup\n}\n\n\n% In order for the font changes to affect most math symbols and letters,\n% we have to define the \\textfont of the standard families.  Since\n% texinfo doesn't allow for producing subscripts and superscripts except\n% in the main text, we don't bother to reset \\scriptfont and\n% \\scriptscriptfont (which would also require loading a lot more fonts).\n%\n\\def\\resetmathfonts{%\n  \\textfont0=\\tenrm \\textfont1=\\teni \\textfont2=\\tensy\n  \\textfont\\itfam=\\tenit \\textfont\\slfam=\\tensl \\textfont\\bffam=\\tenbf\n  \\textfont\\ttfam=\\tentt \\textfont\\sffam=\\tensf\n}\n\n% The font-changing commands redefine the meanings of \\tenSTYLE, instead\n% of just \\STYLE.  We do this because \\STYLE needs to also set the\n% current \\fam for math mode.  Our \\STYLE (e.g., \\rm) commands hardwire\n% \\tenSTYLE to set the current font.\n%\n% Each font-changing command also sets the names \\lsize (one size lower)\n% and \\lllsize (three sizes lower).  These relative commands are used in\n% the LaTeX logo and acronyms.\n%\n% This all needs generalizing, badly.\n%\n\\def\\textfonts{%\n  \\let\\tenrm=\\textrm \\let\\tenit=\\textit \\let\\tensl=\\textsl\n  \\let\\tenbf=\\textbf \\let\\tentt=\\texttt \\let\\smallcaps=\\textsc\n  \\let\\tensf=\\textsf \\let\\teni=\\texti \\let\\tensy=\\textsy\n  \\let\\tenttsl=\\textttsl\n  \\def\\curfontsize{text}%\n  \\def\\lsize{reduced}\\def\\lllsize{smaller}%\n  \\resetmathfonts \\setleading{\\textleading}}\n\\def\\titlefonts{%\n  \\let\\tenrm=\\titlerm \\let\\tenit=\\titleit \\let\\tensl=\\titlesl\n  \\let\\tenbf=\\titlebf \\let\\tentt=\\titlett \\let\\smallcaps=\\titlesc\n  \\let\\tensf=\\titlesf \\let\\teni=\\titlei \\let\\tensy=\\titlesy\n  \\let\\tenttsl=\\titlettsl\n  \\def\\curfontsize{title}%\n  \\def\\lsize{chap}\\def\\lllsize{subsec}%\n  \\resetmathfonts \\setleading{27pt}}\n\\def\\titlefont#1{{\\titlefonts\\rmisbold #1}}\n\\def\\chapfonts{%\n  \\let\\tenrm=\\chaprm \\let\\tenit=\\chapit \\let\\tensl=\\chapsl\n  \\let\\tenbf=\\chapbf \\let\\tentt=\\chaptt \\let\\smallcaps=\\chapsc\n  \\let\\tensf=\\chapsf \\let\\teni=\\chapi \\let\\tensy=\\chapsy\n  \\let\\tenttsl=\\chapttsl\n  \\def\\curfontsize{chap}%\n  \\def\\lsize{sec}\\def\\lllsize{text}%\n  \\resetmathfonts \\setleading{19pt}}\n\\def\\secfonts{%\n  \\let\\tenrm=\\secrm \\let\\tenit=\\secit \\let\\tensl=\\secsl\n  \\let\\tenbf=\\secbf \\let\\tentt=\\sectt \\let\\smallcaps=\\secsc\n  \\let\\tensf=\\secsf \\let\\teni=\\seci \\let\\tensy=\\secsy\n  \\let\\tenttsl=\\secttsl\n  \\def\\curfontsize{sec}%\n  \\def\\lsize{subsec}\\def\\lllsize{reduced}%\n  \\resetmathfonts \\setleading{16pt}}\n\\def\\subsecfonts{%\n  \\let\\tenrm=\\ssecrm \\let\\tenit=\\ssecit \\let\\tensl=\\ssecsl\n  \\let\\tenbf=\\ssecbf \\let\\tentt=\\ssectt \\let\\smallcaps=\\ssecsc\n  \\let\\tensf=\\ssecsf \\let\\teni=\\sseci \\let\\tensy=\\ssecsy\n  \\let\\tenttsl=\\ssecttsl\n  \\def\\curfontsize{ssec}%\n  \\def\\lsize{text}\\def\\lllsize{small}%\n  \\resetmathfonts \\setleading{15pt}}\n\\let\\subsubsecfonts = \\subsecfonts\n\\def\\reducedfonts{%\n  \\let\\tenrm=\\reducedrm \\let\\tenit=\\reducedit \\let\\tensl=\\reducedsl\n  \\let\\tenbf=\\reducedbf \\let\\tentt=\\reducedtt \\let\\reducedcaps=\\reducedsc\n  \\let\\tensf=\\reducedsf \\let\\teni=\\reducedi \\let\\tensy=\\reducedsy\n  \\let\\tenttsl=\\reducedttsl\n  \\def\\curfontsize{reduced}%\n  \\def\\lsize{small}\\def\\lllsize{smaller}%\n  \\resetmathfonts \\setleading{10.5pt}}\n\\def\\smallfonts{%\n  \\let\\tenrm=\\smallrm \\let\\tenit=\\smallit \\let\\tensl=\\smallsl\n  \\let\\tenbf=\\smallbf \\let\\tentt=\\smalltt \\let\\smallcaps=\\smallsc\n  \\let\\tensf=\\smallsf \\let\\teni=\\smalli \\let\\tensy=\\smallsy\n  \\let\\tenttsl=\\smallttsl\n  \\def\\curfontsize{small}%\n  \\def\\lsize{smaller}\\def\\lllsize{smaller}%\n  \\resetmathfonts \\setleading{10.5pt}}\n\\def\\smallerfonts{%\n  \\let\\tenrm=\\smallerrm \\let\\tenit=\\smallerit \\let\\tensl=\\smallersl\n  \\let\\tenbf=\\smallerbf \\let\\tentt=\\smallertt \\let\\smallcaps=\\smallersc\n  \\let\\tensf=\\smallersf \\let\\teni=\\smalleri \\let\\tensy=\\smallersy\n  \\let\\tenttsl=\\smallerttsl\n  \\def\\curfontsize{smaller}%\n  \\def\\lsize{smaller}\\def\\lllsize{smaller}%\n  \\resetmathfonts \\setleading{9.5pt}}\n\n% Fonts for short table of contents.\n\\setfont\\shortcontrm\\rmshape{12}{1000}{OT1}\n\\setfont\\shortcontbf\\bfshape{10}{\\magstep1}{OT1}  % no cmb12\n\\setfont\\shortcontsl\\slshape{12}{1000}{OT1}\n\\setfont\\shortconttt\\ttshape{12}{1000}{OT1TT}\n\n% Define these just so they can be easily changed for other fonts.\n\\def\\angleleft{$\\langle$}\n\\def\\angleright{$\\rangle$}\n\n% Set the fonts to use with the @small... environments.\n\\let\\smallexamplefonts = \\smallfonts\n\n% About \\smallexamplefonts.  If we use \\smallfonts (9pt), @smallexample\n% can fit this many characters:\n%   8.5x11=86   smallbook=72  a4=90  a5=69\n% If we use \\scriptfonts (8pt), then we can fit this many characters:\n%   8.5x11=90+  smallbook=80  a4=90+  a5=77\n% For me, subjectively, the few extra characters that fit aren't worth\n% the additional smallness of 8pt.  So I'm making the default 9pt.\n%\n% By the way, for comparison, here's what fits with @example (10pt):\n%   8.5x11=71  smallbook=60  a4=75  a5=58\n% --karl, 24jan03.\n\n% Set up the default fonts, so we can use them for creating boxes.\n%\n\\definetextfontsizexi\n\n\n\\message{markup,}\n\n% Check if we are currently using a typewriter font.  Since all the\n% Computer Modern typewriter fonts have zero interword stretch (and\n% shrink), and it is reasonable to expect all typewriter fonts to have\n% this property, we can check that font parameter.\n%\n\\def\\ifmonospace{\\ifdim\\fontdimen3\\font=0pt }\n\n% Markup style infrastructure.  \\defmarkupstylesetup\\INITMACRO will\n% define and register \\INITMACRO to be called on markup style changes.\n% \\INITMACRO can check \\currentmarkupstyle for the innermost\n% style and the set of \\ifmarkupSTYLE switches for all styles\n% currently in effect.\n\\newif\\ifmarkupvar\n\\newif\\ifmarkupsamp\n\\newif\\ifmarkupkey\n%\\newif\\ifmarkupfile % @file == @samp.\n%\\newif\\ifmarkupoption % @option == @samp.\n\\newif\\ifmarkupcode\n\\newif\\ifmarkupkbd\n%\\newif\\ifmarkupenv % @env == @code.\n%\\newif\\ifmarkupcommand % @command == @code.\n\\newif\\ifmarkuptex % @tex (and part of @math, for now).\n\\newif\\ifmarkupexample\n\\newif\\ifmarkupverb\n\\newif\\ifmarkupverbatim\n\n\\let\\currentmarkupstyle\\empty\n\n\\def\\setupmarkupstyle#1{%\n  \\csname markup#1true\\endcsname\n  \\def\\currentmarkupstyle{#1}%\n  \\markupstylesetup\n}\n\n\\let\\markupstylesetup\\empty\n\n\\def\\defmarkupstylesetup#1{%\n  \\expandafter\\def\\expandafter\\markupstylesetup\n    \\expandafter{\\markupstylesetup #1}%\n  \\def#1%\n}\n\n% Markup style setup for left and right quotes.\n\\defmarkupstylesetup\\markupsetuplq{%\n  \\expandafter\\let\\expandafter \\temp\n    \\csname markupsetuplq\\currentmarkupstyle\\endcsname\n  \\ifx\\temp\\relax \\markupsetuplqdefault \\else \\temp \\fi\n}\n\n\\defmarkupstylesetup\\markupsetuprq{%\n  \\expandafter\\let\\expandafter \\temp\n    \\csname markupsetuprq\\currentmarkupstyle\\endcsname\n  \\ifx\\temp\\relax \\markupsetuprqdefault \\else \\temp \\fi\n}\n\n{\n\\catcode`\\'=\\active\n\\catcode`\\`=\\active\n\n\\gdef\\markupsetuplqdefault{\\let`\\lq}\n\\gdef\\markupsetuprqdefault{\\let'\\rq}\n\n\\gdef\\markupsetcodequoteleft{\\let`\\codequoteleft}\n\\gdef\\markupsetcodequoteright{\\let'\\codequoteright}\n}\n\n\\let\\markupsetuplqcode \\markupsetcodequoteleft\n\\let\\markupsetuprqcode \\markupsetcodequoteright\n%\n\\let\\markupsetuplqexample \\markupsetcodequoteleft\n\\let\\markupsetuprqexample \\markupsetcodequoteright\n%\n\\let\\markupsetuplqkbd     \\markupsetcodequoteleft\n\\let\\markupsetuprqkbd     \\markupsetcodequoteright\n%\n\\let\\markupsetuplqsamp \\markupsetcodequoteleft\n\\let\\markupsetuprqsamp \\markupsetcodequoteright\n%\n\\let\\markupsetuplqverb \\markupsetcodequoteleft\n\\let\\markupsetuprqverb \\markupsetcodequoteright\n%\n\\let\\markupsetuplqverbatim \\markupsetcodequoteleft\n\\let\\markupsetuprqverbatim \\markupsetcodequoteright\n\n% Allow an option to not use regular directed right quote/apostrophe\n% (char 0x27), but instead the undirected quote from cmtt (char 0x0d).\n% The undirected quote is ugly, so don't make it the default, but it\n% works for pasting with more pdf viewers (at least evince), the\n% lilypond developers report.  xpdf does work with the regular 0x27.\n%\n\\def\\codequoteright{%\n  \\expandafter\\ifx\\csname SETtxicodequoteundirected\\endcsname\\relax\n    \\expandafter\\ifx\\csname SETcodequoteundirected\\endcsname\\relax\n      '%\n    \\else \\char'15 \\fi\n  \\else \\char'15 \\fi\n}\n%\n% and a similar option for the left quote char vs. a grave accent.\n% Modern fonts display ASCII 0x60 as a grave accent, so some people like\n% the code environments to do likewise.\n%\n\\def\\codequoteleft{%\n  \\expandafter\\ifx\\csname SETtxicodequotebacktick\\endcsname\\relax\n    \\expandafter\\ifx\\csname SETcodequotebacktick\\endcsname\\relax\n      % [Knuth] pp. 380,381,391\n      % \\relax disables Spanish ligatures ?` and !` of \\tt font.\n      \\relax`%\n    \\else \\char'22 \\fi\n  \\else \\char'22 \\fi\n}\n\n% Commands to set the quote options.\n% \n\\parseargdef\\codequoteundirected{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\onword\n    \\expandafter\\let\\csname SETtxicodequoteundirected\\endcsname\n      = t%\n  \\else\\ifx\\temp\\offword\n    \\expandafter\\let\\csname SETtxicodequoteundirected\\endcsname\n      = \\relax\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @codequoteundirected value `\\temp', must be on|off}%\n  \\fi\\fi\n}\n%\n\\parseargdef\\codequotebacktick{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\onword\n    \\expandafter\\let\\csname SETtxicodequotebacktick\\endcsname\n      = t%\n  \\else\\ifx\\temp\\offword\n    \\expandafter\\let\\csname SETtxicodequotebacktick\\endcsname\n      = \\relax\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @codequotebacktick value `\\temp', must be on|off}%\n  \\fi\\fi\n}\n\n% [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \\tt font.\n\\def\\noligaturesquoteleft{\\relax\\lq}\n\n% Count depth in font-changes, for error checks\n\\newcount\\fontdepth \\fontdepth=0\n\n% Font commands.\n\n% #1 is the font command (\\sl or \\it), #2 is the text to slant.\n% If we are in a monospaced environment, however, 1) always use \\ttsl,\n% and 2) do not add an italic correction.\n\\def\\dosmartslant#1#2{%\n  \\ifusingtt \n    {{\\ttsl #2}\\let\\next=\\relax}%\n    {\\def\\next{{#1#2}\\futurelet\\next\\smartitaliccorrection}}%\n  \\next\n}\n\\def\\smartslanted{\\dosmartslant\\sl}\n\\def\\smartitalic{\\dosmartslant\\it}\n\n% Output an italic correction unless \\next (presumed to be the following\n% character) is such as not to need one.\n\\def\\smartitaliccorrection{%\n  \\ifx\\next,%\n  \\else\\ifx\\next-%\n  \\else\\ifx\\next.%\n  \\else\\ptexslash\n  \\fi\\fi\\fi\n  \\aftersmartic\n}\n\n% Unconditional use \\ttsl, and no ic.  @var is set to this for defuns.\n\\def\\ttslanted#1{{\\ttsl #1}}\n\n% @cite is like \\smartslanted except unconditionally use \\sl.  We never want\n% ttsl for book titles, do we?\n\\def\\cite#1{{\\sl #1}\\futurelet\\next\\smartitaliccorrection}\n\n\\def\\aftersmartic{}\n\\def\\var#1{%\n  \\let\\saveaftersmartic = \\aftersmartic\n  \\def\\aftersmartic{\\null\\let\\aftersmartic=\\saveaftersmartic}%\n  \\smartslanted{#1}%\n}\n\n\\let\\i=\\smartitalic\n\\let\\slanted=\\smartslanted\n\\let\\dfn=\\smartslanted\n\\let\\emph=\\smartitalic\n\n% Explicit font changes: @r, @sc, undocumented @ii.\n\\def\\r#1{{\\rm #1}}              % roman font\n\\def\\sc#1{{\\smallcaps#1}}       % smallcaps font\n\\def\\ii#1{{\\it #1}}             % italic font\n\n% @b, explicit bold.  Also @strong.\n\\def\\b#1{{\\bf #1}}\n\\let\\strong=\\b\n\n% @sansserif, explicit sans.\n\\def\\sansserif#1{{\\sf #1}}\n\n% We can't just use \\exhyphenpenalty, because that only has effect at\n% the end of a paragraph.  Restore normal hyphenation at the end of the\n% group within which \\nohyphenation is presumably called.\n%\n\\def\\nohyphenation{\\hyphenchar\\font = -1  \\aftergroup\\restorehyphenation}\n\\def\\restorehyphenation{\\hyphenchar\\font = `- }\n\n% Set sfcode to normal for the chars that usually have another value.\n% Can't use plain's \\frenchspacing because it uses the `\\x notation, and\n% sometimes \\x has an active definition that messes things up.\n%\n\\catcode`@=11\n  \\def\\plainfrenchspacing{%\n    \\sfcode\\dotChar  =\\@m \\sfcode\\questChar=\\@m \\sfcode\\exclamChar=\\@m\n    \\sfcode\\colonChar=\\@m \\sfcode\\semiChar =\\@m \\sfcode\\commaChar =\\@m\n    \\def\\endofsentencespacefactor{1000}% for @. and friends\n  }\n  \\def\\plainnonfrenchspacing{%\n    \\sfcode`\\.3000\\sfcode`\\?3000\\sfcode`\\!3000\n    \\sfcode`\\:2000\\sfcode`\\;1500\\sfcode`\\,1250\n    \\def\\endofsentencespacefactor{3000}% for @. and friends\n  }\n\\catcode`@=\\other\n\\def\\endofsentencespacefactor{3000}% default\n\n% @t, explicit typewriter.\n\\def\\t#1{%\n  {\\tt \\rawbackslash \\plainfrenchspacing #1}%\n  \\null\n}\n\n% @samp.\n\\def\\samp#1{{\\setupmarkupstyle{samp}\\lq\\tclose{#1}\\rq\\null}}\n\n% @indicateurl is \\samp, that is, with quotes.\n\\let\\indicateurl=\\samp\n\n% @code (and similar) prints in typewriter, but with spaces the same\n% size as normal in the surrounding text, without hyphenation, etc.\n% This is a subroutine for that.\n\\def\\tclose#1{%\n  {%\n    % Change normal interword space to be same as for the current font.\n    \\spaceskip = \\fontdimen2\\font\n    %\n    % Switch to typewriter.\n    \\tt\n    %\n    % But `\\ ' produces the large typewriter interword space.\n    \\def\\ {{\\spaceskip = 0pt{} }}%\n    %\n    % Turn off hyphenation.\n    \\nohyphenation\n    %\n    \\rawbackslash\n    \\plainfrenchspacing\n    #1%\n  }%\n  \\null % reset spacefactor to 1000\n}\n\n% We *must* turn on hyphenation at `-' and `_' in @code.\n% Otherwise, it is too hard to avoid overfull hboxes\n% in the Emacs manual, the Library manual, etc.\n%\n% Unfortunately, TeX uses one parameter (\\hyphenchar) to control\n% both hyphenation at - and hyphenation within words.\n% We must therefore turn them both off (\\tclose does that)\n% and arrange explicitly to hyphenate at a dash.\n%  -- rms.\n{\n  \\catcode`\\-=\\active \\catcode`\\_=\\active\n  \\catcode`\\'=\\active \\catcode`\\`=\\active\n  \\global\\let'=\\rq \\global\\let`=\\lq  % default definitions\n  %\n  \\global\\def\\code{\\begingroup\n    \\setupmarkupstyle{code}%\n    % The following should really be moved into \\setupmarkupstyle handlers.\n    \\catcode\\dashChar=\\active  \\catcode\\underChar=\\active\n    \\ifallowcodebreaks\n     \\let-\\codedash\n     \\let_\\codeunder\n    \\else\n     \\let-\\normaldash\n     \\let_\\realunder\n    \\fi\n    \\codex\n  }\n}\n\n\\def\\codex #1{\\tclose{#1}\\endgroup}\n\n\\def\\normaldash{-}\n\\def\\codedash{-\\discretionary{}{}{}}\n\\def\\codeunder{%\n  % this is all so @math{@code{var_name}+1} can work.  In math mode, _\n  % is \"active\" (mathcode\"8000) and \\normalunderscore (or \\char95, etc.)\n  % will therefore expand the active definition of _, which is us\n  % (inside @code that is), therefore an endless loop.\n  \\ifusingtt{\\ifmmode\n               \\mathchar\"075F % class 0=ordinary, family 7=ttfam, pos 0x5F=_.\n             \\else\\normalunderscore \\fi\n             \\discretionary{}{}{}}%\n            {\\_}%\n}\n\n% An additional complication: the above will allow breaks after, e.g.,\n% each of the four underscores in __typeof__.  This is bad.\n% @allowcodebreaks provides a document-level way to turn breaking at -\n% and _ on and off.\n%\n\\newif\\ifallowcodebreaks  \\allowcodebreakstrue\n\n\\def\\keywordtrue{true}\n\\def\\keywordfalse{false}\n\n\\parseargdef\\allowcodebreaks{%\n  \\def\\txiarg{#1}%\n  \\ifx\\txiarg\\keywordtrue\n    \\allowcodebreakstrue\n  \\else\\ifx\\txiarg\\keywordfalse\n    \\allowcodebreaksfalse\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @allowcodebreaks option `\\txiarg', must be true|false}%\n  \\fi\\fi\n}\n\n% For @command, @env, @file, @option quotes seem unnecessary,\n% so use \\code rather than \\samp.\n\\let\\command=\\code\n\\let\\env=\\code\n\\let\\file=\\code\n\\let\\option=\\code\n\n% @uref (abbreviation for `urlref') takes an optional (comma-separated)\n% second argument specifying the text to display and an optional third\n% arg as text to display instead of (rather than in addition to) the url\n% itself.  First (mandatory) arg is the url.\n% (This \\urefnobreak definition isn't used now, leaving it for a while\n% for comparison.)\n\\def\\urefnobreak#1{\\dourefnobreak #1,,,\\finish}\n\\def\\dourefnobreak#1,#2,#3,#4\\finish{\\begingroup\n  \\unsepspaces\n  \\pdfurl{#1}%\n  \\setbox0 = \\hbox{\\ignorespaces #3}%\n  \\ifdim\\wd0 > 0pt\n    \\unhbox0 % third arg given, show only that\n  \\else\n    \\setbox0 = \\hbox{\\ignorespaces #2}%\n    \\ifdim\\wd0 > 0pt\n      \\ifpdf\n        \\unhbox0             % PDF: 2nd arg given, show only it\n      \\else\n        \\unhbox0\\ (\\code{#1})% DVI: 2nd arg given, show both it and url\n      \\fi\n    \\else\n      \\code{#1}% only url given, so show it\n    \\fi\n  \\fi\n  \\endlink\n\\endgroup}\n\n% This \\urefbreak definition is the active one.\n\\def\\urefbreak{\\begingroup \\urefcatcodes \\dourefbreak}\n\\let\\uref=\\urefbreak\n\\def\\dourefbreak#1{\\urefbreakfinish #1,,,\\finish}\n\\def\\urefbreakfinish#1,#2,#3,#4\\finish{% doesn't work in @example\n  \\unsepspaces\n  \\pdfurl{#1}%\n  \\setbox0 = \\hbox{\\ignorespaces #3}%\n  \\ifdim\\wd0 > 0pt\n    \\unhbox0 % third arg given, show only that\n  \\else\n    \\setbox0 = \\hbox{\\ignorespaces #2}%\n    \\ifdim\\wd0 > 0pt\n      \\ifpdf\n        \\unhbox0             % PDF: 2nd arg given, show only it\n      \\else\n        \\unhbox0\\ (\\urefcode{#1})% DVI: 2nd arg given, show both it and url\n      \\fi\n    \\else\n      \\urefcode{#1}% only url given, so show it\n    \\fi\n  \\fi\n  \\endlink\n\\endgroup}\n\n% Allow line breaks around only a few characters (only).\n\\def\\urefcatcodes{%\n  \\catcode\\ampChar=\\active   \\catcode\\dotChar=\\active\n  \\catcode\\hashChar=\\active  \\catcode\\questChar=\\active\n  \\catcode\\slashChar=\\active\n}\n{\n  \\urefcatcodes\n  %\n  \\global\\def\\urefcode{\\begingroup\n    \\setupmarkupstyle{code}%\n    \\urefcatcodes\n    \\let&\\urefcodeamp\n    \\let.\\urefcodedot\n    \\let#\\urefcodehash\n    \\let?\\urefcodequest\n    \\let/\\urefcodeslash\n    \\codex\n  }\n  %\n  % By default, they are just regular characters.\n  \\global\\def&{\\normalamp}\n  \\global\\def.{\\normaldot}\n  \\global\\def#{\\normalhash}\n  \\global\\def?{\\normalquest}\n  \\global\\def/{\\normalslash}\n}\n\n% we put a little stretch before and after the breakable chars, to help\n% line breaking of long url's.  The unequal skips make look better in\n% cmtt at least, especially for dots.\n\\def\\urefprestretch{\\urefprebreak \\hskip0pt plus.13em }\n\\def\\urefpoststretch{\\urefpostbreak \\hskip0pt plus.1em }\n%\n\\def\\urefcodeamp{\\urefprestretch \\&\\urefpoststretch}\n\\def\\urefcodedot{\\urefprestretch .\\urefpoststretch}\n\\def\\urefcodehash{\\urefprestretch \\#\\urefpoststretch}\n\\def\\urefcodequest{\\urefprestretch ?\\urefpoststretch}\n\\def\\urefcodeslash{\\futurelet\\next\\urefcodeslashfinish}\n{\n  \\catcode`\\/=\\active\n  \\global\\def\\urefcodeslashfinish{%\n    \\urefprestretch \\slashChar\n    % Allow line break only after the final / in a sequence of\n    % slashes, to avoid line break between the slashes in http://.\n    \\ifx\\next/\\else \\urefpoststretch \\fi\n  }\n}\n\n% One more complication: by default we'll break after the special\n% characters, but some people like to break before the special chars, so\n% allow that.  Also allow no breaking at all, for manual control.\n% \n\\parseargdef\\urefbreakstyle{%\n  \\def\\txiarg{#1}%\n  \\ifx\\txiarg\\wordnone\n    \\def\\urefprebreak{\\nobreak}\\def\\urefpostbreak{\\nobreak}\n  \\else\\ifx\\txiarg\\wordbefore\n    \\def\\urefprebreak{\\allowbreak}\\def\\urefpostbreak{\\nobreak}\n  \\else\\ifx\\txiarg\\wordafter\n    \\def\\urefprebreak{\\nobreak}\\def\\urefpostbreak{\\allowbreak}\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @urefbreakstyle setting `\\txiarg'}%\n  \\fi\\fi\\fi\n}\n\\def\\wordafter{after}\n\\def\\wordbefore{before}\n\\def\\wordnone{none}\n\n\\urefbreakstyle after\n\n% @url synonym for @uref, since that's how everyone uses it.\n%\n\\let\\url=\\uref\n\n% rms does not like angle brackets --karl, 17may97.\n% So now @email is just like @uref, unless we are pdf.\n%\n%\\def\\email#1{\\angleleft{\\tt #1}\\angleright}\n\\ifpdf\n  \\def\\email#1{\\doemail#1,,\\finish}\n  \\def\\doemail#1,#2,#3\\finish{\\begingroup\n    \\unsepspaces\n    \\pdfurl{mailto:#1}%\n    \\setbox0 = \\hbox{\\ignorespaces #2}%\n    \\ifdim\\wd0>0pt\\unhbox0\\else\\code{#1}\\fi\n    \\endlink\n  \\endgroup}\n\\else\n  \\let\\email=\\uref\n\\fi\n\n% @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always),\n%   `example' (@kbd uses ttsl only inside of @example and friends),\n%   or `code' (@kbd uses normal tty font always).\n\\parseargdef\\kbdinputstyle{%\n  \\def\\txiarg{#1}%\n  \\ifx\\txiarg\\worddistinct\n    \\gdef\\kbdexamplefont{\\ttsl}\\gdef\\kbdfont{\\ttsl}%\n  \\else\\ifx\\txiarg\\wordexample\n    \\gdef\\kbdexamplefont{\\ttsl}\\gdef\\kbdfont{\\tt}%\n  \\else\\ifx\\txiarg\\wordcode\n    \\gdef\\kbdexamplefont{\\tt}\\gdef\\kbdfont{\\tt}%\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @kbdinputstyle setting `\\txiarg'}%\n  \\fi\\fi\\fi\n}\n\\def\\worddistinct{distinct}\n\\def\\wordexample{example}\n\\def\\wordcode{code}\n\n% Default is `distinct'.\n\\kbdinputstyle distinct\n\n% @kbd is like @code, except that if the argument is just one @key command,\n% then @kbd has no effect.\n\\def\\kbd#1{{\\def\\look{#1}\\expandafter\\kbdsub\\look??\\par}}\n\n\\def\\xkey{\\key}\n\\def\\kbdsub#1#2#3\\par{%\n  \\def\\one{#1}\\def\\three{#3}\\def\\threex{??}%\n  \\ifx\\one\\xkey\\ifx\\threex\\three \\key{#2}%\n  \\else{\\tclose{\\kbdfont\\setupmarkupstyle{kbd}\\look}}\\fi\n  \\else{\\tclose{\\kbdfont\\setupmarkupstyle{kbd}\\look}}\\fi\n}\n\n% definition of @key that produces a lozenge.  Doesn't adjust to text size.\n%\\setfont\\keyrm\\rmshape{8}{1000}{OT1}\n%\\font\\keysy=cmsy9\n%\\def\\key#1{{\\keyrm\\textfont2=\\keysy \\leavevmode\\hbox{%\n%  \\raise0.4pt\\hbox{\\angleleft}\\kern-.08em\\vtop{%\n%    \\vbox{\\hrule\\kern-0.4pt\n%     \\hbox{\\raise0.4pt\\hbox{\\vphantom{\\angleleft}}#1}}%\n%    \\kern-0.4pt\\hrule}%\n%  \\kern-.06em\\raise0.4pt\\hbox{\\angleright}}}}\n\n% definition of @key with no lozenge.  If the current font is already\n% monospace, don't change it; that way, we respect @kbdinputstyle.  But\n% if it isn't monospace, then use \\tt.\n%\n\\def\\key#1{{\\setupmarkupstyle{key}%\n  \\nohyphenation\n  \\ifmonospace\\else\\tt\\fi\n  #1}\\null}\n\n% @clicksequence{File @click{} Open ...}\n\\def\\clicksequence#1{\\begingroup #1\\endgroup}\n\n% @clickstyle @arrow   (by default)\n\\parseargdef\\clickstyle{\\def\\click{#1}}\n\\def\\click{\\arrow}\n\n% Typeset a dimension, e.g., `in' or `pt'.  The only reason for the\n% argument is to make the input look right: @dmn{pt} instead of @dmn{}pt.\n%\n\\def\\dmn#1{\\thinspace #1}\n\n% @l was never documented to mean ``switch to the Lisp font'',\n% and it is not used as such in any manual I can find.  We need it for\n% Polish suppressed-l.  --karl, 22sep96.\n%\\def\\l#1{{\\li #1}\\null}\n\n% @acronym for \"FBI\", \"NATO\", and the like.\n% We print this one point size smaller, since it's intended for\n% all-uppercase.\n%\n\\def\\acronym#1{\\doacronym #1,,\\finish}\n\\def\\doacronym#1,#2,#3\\finish{%\n  {\\selectfonts\\lsize #1}%\n  \\def\\temp{#2}%\n  \\ifx\\temp\\empty \\else\n    \\space ({\\unsepspaces \\ignorespaces \\temp \\unskip})%\n  \\fi\n  \\null % reset \\spacefactor=1000\n}\n\n% @abbr for \"Comput. J.\" and the like.\n% No font change, but don't do end-of-sentence spacing.\n%\n\\def\\abbr#1{\\doabbr #1,,\\finish}\n\\def\\doabbr#1,#2,#3\\finish{%\n  {\\plainfrenchspacing #1}%\n  \\def\\temp{#2}%\n  \\ifx\\temp\\empty \\else\n    \\space ({\\unsepspaces \\ignorespaces \\temp \\unskip})%\n  \\fi\n  \\null % reset \\spacefactor=1000\n}\n\n% @asis just yields its argument.  Used with @table, for example.\n%\n\\def\\asis#1{#1}\n\n% @math outputs its argument in math mode.\n%\n% One complication: _ usually means subscripts, but it could also mean\n% an actual _ character, as in @math{@var{some_variable} + 1}.  So make\n% _ active, and distinguish by seeing if the current family is \\slfam,\n% which is what @var uses.\n{\n  \\catcode`\\_ = \\active\n  \\gdef\\mathunderscore{%\n    \\catcode`\\_=\\active\n    \\def_{\\ifnum\\fam=\\slfam \\_\\else\\sb\\fi}%\n  }\n}\n% Another complication: we want \\\\ (and @\\) to output a math (or tt) \\.\n% FYI, plain.tex uses \\\\ as a temporary control sequence (for no\n% particular reason), but this is not advertised and we don't care.\n%\n% The \\mathchar is class=0=ordinary, family=7=ttfam, position=5C=\\.\n\\def\\mathbackslash{\\ifnum\\fam=\\ttfam \\mathchar\"075C \\else\\backslash \\fi}\n%\n\\def\\math{%\n  \\tex\n  \\mathunderscore\n  \\let\\\\ = \\mathbackslash\n  \\mathactive\n  % make the texinfo accent commands work in math mode\n  \\let\\\"=\\ddot\n  \\let\\'=\\acute\n  \\let\\==\\bar\n  \\let\\^=\\hat\n  \\let\\`=\\grave\n  \\let\\u=\\breve\n  \\let\\v=\\check\n  \\let\\~=\\tilde\n  \\let\\dotaccent=\\dot\n  $\\finishmath\n}\n\\def\\finishmath#1{#1$\\endgroup}  % Close the group opened by \\tex.\n\n% Some active characters (such as <) are spaced differently in math.\n% We have to reset their definitions in case the @math was an argument\n% to a command which sets the catcodes (such as @item or @section).\n%\n{\n  \\catcode`^ = \\active\n  \\catcode`< = \\active\n  \\catcode`> = \\active\n  \\catcode`+ = \\active\n  \\catcode`' = \\active\n  \\gdef\\mathactive{%\n    \\let^ = \\ptexhat\n    \\let< = \\ptexless\n    \\let> = \\ptexgtr\n    \\let+ = \\ptexplus\n    \\let' = \\ptexquoteright\n  }\n}\n\n% ctrl is no longer a Texinfo command, but leave this definition for fun.\n\\def\\ctrl #1{{\\tt \\rawbackslash \\hat}#1}\n\n% @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}.\n% Ignore unless FMTNAME == tex; then it is like @iftex and @tex,\n% except specified as a normal braced arg, so no newlines to worry about.\n% \n\\def\\outfmtnametex{tex}\n%\n\\long\\def\\inlinefmt#1{\\doinlinefmt #1,\\finish}\n\\long\\def\\doinlinefmt#1,#2,\\finish{%\n  \\def\\inlinefmtname{#1}%\n  \\ifx\\inlinefmtname\\outfmtnametex \\ignorespaces #2\\fi\n}\n% For raw, must switch into @tex before parsing the argument, to avoid\n% setting catcodes prematurely.  Doing it this way means that, for\n% example, @inlineraw{html, foo{bar} gets a parse error instead of being\n% ignored.  But this isn't important because if people want a literal\n% *right* brace they would have to use a command anyway, so they may as\n% well use a command to get a left brace too.  We could re-use the\n% delimiter character idea from \\verb, but it seems like overkill.\n% \n\\long\\def\\inlineraw{\\tex \\doinlineraw}\n\\long\\def\\doinlineraw#1{\\doinlinerawtwo #1,\\finish}\n\\def\\doinlinerawtwo#1,#2,\\finish{%\n  \\def\\inlinerawname{#1}%\n  \\ifx\\inlinerawname\\outfmtnametex \\ignorespaces #2\\fi\n  \\endgroup % close group opened by \\tex.\n}\n\n\n\\message{glyphs,}\n% and logos.\n\n% @@ prints an @, as does @atchar{}.\n\\def\\@{\\char64 }\n\\let\\atchar=\\@\n\n% @{ @} @lbracechar{} @rbracechar{} all generate brace characters.\n% Unless we're in typewriter, use \\ecfont because the CM text fonts do\n% not have braces, and we don't want to switch into math.\n\\def\\mylbrace{{\\ifmonospace\\else\\ecfont\\fi \\char123}}\n\\def\\myrbrace{{\\ifmonospace\\else\\ecfont\\fi \\char125}}\n\\let\\{=\\mylbrace \\let\\lbracechar=\\{\n\\let\\}=\\myrbrace \\let\\rbracechar=\\}\n\\begingroup\n  % Definitions to produce \\{ and \\} commands for indices,\n  % and @{ and @} for the aux/toc files.\n  \\catcode`\\{ = \\other \\catcode`\\} = \\other\n  \\catcode`\\[ = 1 \\catcode`\\] = 2\n  \\catcode`\\! = 0 \\catcode`\\\\ = \\other\n  !gdef!lbracecmd[\\{]%\n  !gdef!rbracecmd[\\}]%\n  !gdef!lbraceatcmd[@{]%\n  !gdef!rbraceatcmd[@}]%\n!endgroup\n\n% @comma{} to avoid , parsing problems.\n\\let\\comma = ,\n\n% Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent\n% Others are defined by plain TeX: @` @' @\" @^ @~ @= @u @v @H.\n\\let\\, = \\ptexc\n\\let\\dotaccent = \\ptexdot\n\\def\\ringaccent#1{{\\accent23 #1}}\n\\let\\tieaccent = \\ptext\n\\let\\ubaraccent = \\ptexb\n\\let\\udotaccent = \\d\n\n% Other special characters: @questiondown @exclamdown @ordf @ordm\n% Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.\n\\def\\questiondown{?`}\n\\def\\exclamdown{!`}\n\\def\\ordf{\\leavevmode\\raise1ex\\hbox{\\selectfonts\\lllsize \\underbar{a}}}\n\\def\\ordm{\\leavevmode\\raise1ex\\hbox{\\selectfonts\\lllsize \\underbar{o}}}\n\n% Dotless i and dotless j, used for accents.\n\\def\\imacro{i}\n\\def\\jmacro{j}\n\\def\\dotless#1{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\imacro \\ifmmode\\imath \\else\\ptexi \\fi\n  \\else\\ifx\\temp\\jmacro \\ifmmode\\jmath \\else\\j \\fi\n  \\else \\errmessage{@dotless can be used only with i or j}%\n  \\fi\\fi\n}\n\n% The \\TeX{} logo, as in plain, but resetting the spacing so that a\n% period following counts as ending a sentence.  (Idea found in latex.)\n%\n\\edef\\TeX{\\TeX \\spacefactor=1000 }\n\n% @LaTeX{} logo.  Not quite the same results as the definition in\n% latex.ltx, since we use a different font for the raised A; it's most\n% convenient for us to use an explicitly smaller font, rather than using\n% the \\scriptstyle font (since we don't reset \\scriptstyle and\n% \\scriptscriptstyle).\n%\n\\def\\LaTeX{%\n  L\\kern-.36em\n  {\\setbox0=\\hbox{T}%\n   \\vbox to \\ht0{\\hbox{%\n     \\ifx\\textnominalsize\\xwordpt\n       % for 10pt running text, \\lllsize (8pt) is too small for the A in LaTeX.\n       % Revert to plain's \\scriptsize, which is 7pt.\n       \\count255=\\the\\fam $\\fam\\count255 \\scriptstyle A$%\n     \\else\n       % For 11pt, we can use our lllsize.\n       \\selectfonts\\lllsize A%\n     \\fi\n     }%\n     \\vss\n  }}%\n  \\kern-.15em\n  \\TeX\n}\n\n% Some math mode symbols.\n\\def\\bullet{$\\ptexbullet$}\n\\def\\geq{\\ifmmode \\ge\\else $\\ge$\\fi}\n\\def\\leq{\\ifmmode \\le\\else $\\le$\\fi}\n\\def\\minus{\\ifmmode -\\else $-$\\fi}\n\n% @dots{} outputs an ellipsis using the current font.\n% We do .5em per period so that it has the same spacing in the cm\n% typewriter fonts as three actual period characters; on the other hand,\n% in other typewriter fonts three periods are wider than 1.5em.  So do\n% whichever is larger.\n%\n\\def\\dots{%\n  \\leavevmode\n  \\setbox0=\\hbox{...}% get width of three periods\n  \\ifdim\\wd0 > 1.5em\n    \\dimen0 = \\wd0\n  \\else\n    \\dimen0 = 1.5em\n  \\fi\n  \\hbox to \\dimen0{%\n    \\hskip 0pt plus.25fil\n    .\\hskip 0pt plus1fil\n    .\\hskip 0pt plus1fil\n    .\\hskip 0pt plus.5fil\n  }%\n}\n\n% @enddots{} is an end-of-sentence ellipsis.\n%\n\\def\\enddots{%\n  \\dots\n  \\spacefactor=\\endofsentencespacefactor\n}\n\n% @point{}, @result{}, @expansion{}, @print{}, @equiv{}.\n%\n% Since these characters are used in examples, they should be an even number of\n% \\tt widths. Each \\tt character is 1en, so two makes it 1em.\n%\n\\def\\point{$\\star$}\n\\def\\arrow{\\leavevmode\\raise.05ex\\hbox to 1em{\\hfil$\\rightarrow$\\hfil}}\n\\def\\result{\\leavevmode\\raise.05ex\\hbox to 1em{\\hfil$\\Rightarrow$\\hfil}}\n\\def\\expansion{\\leavevmode\\hbox to 1em{\\hfil$\\mapsto$\\hfil}}\n\\def\\print{\\leavevmode\\lower.1ex\\hbox to 1em{\\hfil$\\dashv$\\hfil}}\n\\def\\equiv{\\leavevmode\\hbox to 1em{\\hfil$\\ptexequiv$\\hfil}}\n\n% The @error{} command.\n% Adapted from the TeXbook's \\boxit.\n%\n\\newbox\\errorbox\n%\n{\\tentt \\global\\dimen0 = 3em}% Width of the box.\n\\dimen2 = .55pt % Thickness of rules\n% The text. (`r' is open on the right, `e' somewhat less so on the left.)\n\\setbox0 = \\hbox{\\kern-.75pt \\reducedsf \\putworderror\\kern-1.5pt}\n%\n\\setbox\\errorbox=\\hbox to \\dimen0{\\hfil\n   \\hsize = \\dimen0 \\advance\\hsize by -5.8pt % Space to left+right.\n   \\advance\\hsize by -2\\dimen2 % Rules.\n   \\vbox{%\n      \\hrule height\\dimen2\n      \\hbox{\\vrule width\\dimen2 \\kern3pt          % Space to left of text.\n         \\vtop{\\kern2.4pt \\box0 \\kern2.4pt}% Space above/below.\n         \\kern3pt\\vrule width\\dimen2}% Space to right.\n      \\hrule height\\dimen2}\n    \\hfil}\n%\n\\def\\error{\\leavevmode\\lower.7ex\\copy\\errorbox}\n\n% @pounds{} is a sterling sign, which Knuth put in the CM italic font.\n%\n\\def\\pounds{{\\it\\$}}\n\n% @euro{} comes from a separate font, depending on the current style.\n% We use the free feym* fonts from the eurosym package by Henrik\n% Theiling, which support regular, slanted, bold and bold slanted (and\n% \"outlined\" (blackboard board, sort of) versions, which we don't need).\n% It is available from http://www.ctan.org/tex-archive/fonts/eurosym.\n%\n% Although only regular is the truly official Euro symbol, we ignore\n% that.  The Euro is designed to be slightly taller than the regular\n% font height.\n%\n% feymr - regular\n% feymo - slanted\n% feybr - bold\n% feybo - bold slanted\n%\n% There is no good (free) typewriter version, to my knowledge.\n% A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide.\n% Hmm.\n%\n% Also doesn't work in math.  Do we need to do math with euro symbols?\n% Hope not.\n%\n%\n\\def\\euro{{\\eurofont e}}\n\\def\\eurofont{%\n  % We set the font at each command, rather than predefining it in\n  % \\textfonts and the other font-switching commands, so that\n  % installations which never need the symbol don't have to have the\n  % font installed.\n  %\n  % There is only one designed size (nominal 10pt), so we always scale\n  % that to the current nominal size.\n  %\n  % By the way, simply using \"at 1em\" works for cmr10 and the like, but\n  % does not work for cmbx10 and other extended/shrunken fonts.\n  %\n  \\def\\eurosize{\\csname\\curfontsize nominalsize\\endcsname}%\n  %\n  \\ifx\\curfontstyle\\bfstylename\n    % bold:\n    \\font\\thiseurofont = \\ifusingit{feybo10}{feybr10} at \\eurosize\n  \\else\n    % regular:\n    \\font\\thiseurofont = \\ifusingit{feymo10}{feymr10} at \\eurosize\n  \\fi\n  \\thiseurofont\n}\n\n% Glyphs from the EC fonts.  We don't use \\let for the aliases, because\n% sometimes we redefine the original macro, and the alias should reflect\n% the redefinition.\n%\n% Use LaTeX names for the Icelandic letters.\n\\def\\DH{{\\ecfont \\char\"D0}} % Eth\n\\def\\dh{{\\ecfont \\char\"F0}} % eth\n\\def\\TH{{\\ecfont \\char\"DE}} % Thorn\n\\def\\th{{\\ecfont \\char\"FE}} % thorn\n%\n\\def\\guillemetleft{{\\ecfont \\char\"13}}\n\\def\\guillemotleft{\\guillemetleft}\n\\def\\guillemetright{{\\ecfont \\char\"14}}\n\\def\\guillemotright{\\guillemetright}\n\\def\\guilsinglleft{{\\ecfont \\char\"0E}}\n\\def\\guilsinglright{{\\ecfont \\char\"0F}}\n\\def\\quotedblbase{{\\ecfont \\char\"12}}\n\\def\\quotesinglbase{{\\ecfont \\char\"0D}}\n%\n% This positioning is not perfect (see the ogonek LaTeX package), but\n% we have the precomposed glyphs for the most common cases.  We put the\n% tests to use those glyphs in the single \\ogonek macro so we have fewer\n% dummy definitions to worry about for index entries, etc.\n%\n% ogonek is also used with other letters in Lithuanian (IOU), but using\n% the precomposed glyphs for those is not so easy since they aren't in\n% the same EC font.\n\\def\\ogonek#1{{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\macrocharA\\Aogonek\n  \\else\\ifx\\temp\\macrochara\\aogonek\n  \\else\\ifx\\temp\\macrocharE\\Eogonek\n  \\else\\ifx\\temp\\macrochare\\eogonek\n  \\else\n    \\ecfont \\setbox0=\\hbox{#1}%\n    \\ifdim\\ht0=1ex\\accent\"0C #1%\n    \\else\\ooalign{\\unhbox0\\crcr\\hidewidth\\char\"0C \\hidewidth}%\n    \\fi\n  \\fi\\fi\\fi\\fi\n  }%\n}\n\\def\\Aogonek{{\\ecfont \\char\"81}}\\def\\macrocharA{A}\n\\def\\aogonek{{\\ecfont \\char\"A1}}\\def\\macrochara{a}\n\\def\\Eogonek{{\\ecfont \\char\"86}}\\def\\macrocharE{E}\n\\def\\eogonek{{\\ecfont \\char\"A6}}\\def\\macrochare{e}\n%\n% Use the ec* fonts (cm-super in outline format) for non-CM glyphs.\n\\def\\ecfont{%\n  % We can't distinguish serif/sans and italic/slanted, but this\n  % is used for crude hacks anyway (like adding French and German\n  % quotes to documents typeset with CM, where we lose kerning), so\n  % hopefully nobody will notice/care.\n  \\edef\\ecsize{\\csname\\curfontsize ecsize\\endcsname}%\n  \\edef\\nominalsize{\\csname\\curfontsize nominalsize\\endcsname}%\n  \\ifmonospace\n    % typewriter:\n    \\font\\thisecfont = ectt\\ecsize \\space at \\nominalsize\n  \\else\n    \\ifx\\curfontstyle\\bfstylename\n      % bold:\n      \\font\\thisecfont = ecb\\ifusingit{i}{x}\\ecsize \\space at \\nominalsize\n    \\else\n      % regular:\n      \\font\\thisecfont = ec\\ifusingit{ti}{rm}\\ecsize \\space at \\nominalsize\n    \\fi\n  \\fi\n  \\thisecfont\n}\n\n% @registeredsymbol - R in a circle.  The font for the R should really\n% be smaller yet, but lllsize is the best we can do for now.\n% Adapted from the plain.tex definition of \\copyright.\n%\n\\def\\registeredsymbol{%\n  $^{{\\ooalign{\\hfil\\raise.07ex\\hbox{\\selectfonts\\lllsize R}%\n               \\hfil\\crcr\\Orb}}%\n    }$%\n}\n\n% @textdegree - the normal degrees sign.\n%\n\\def\\textdegree{$^\\circ$}\n\n% Laurent Siebenmann reports \\Orb undefined with:\n%  Textures 1.7.7 (preloaded format=plain 93.10.14)  (68K)  16 APR 2004 02:38\n% so we'll define it if necessary.\n%\n\\ifx\\Orb\\thisisundefined\n\\def\\Orb{\\mathhexbox20D}\n\\fi\n\n% Quotes.\n\\chardef\\quotedblleft=\"5C\n\\chardef\\quotedblright=`\\\"\n\\chardef\\quoteleft=`\\`\n\\chardef\\quoteright=`\\'\n\n\n\\message{page headings,}\n\n\\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in\n\\newskip\\titlepagebottomglue \\titlepagebottomglue = 2pc\n\n% First the title page.  Must do @settitle before @titlepage.\n\\newif\\ifseenauthor\n\\newif\\iffinishedtitlepage\n\n% Do an implicit @contents or @shortcontents after @end titlepage if the\n% user says @setcontentsaftertitlepage or @setshortcontentsaftertitlepage.\n%\n\\newif\\ifsetcontentsaftertitlepage\n \\let\\setcontentsaftertitlepage = \\setcontentsaftertitlepagetrue\n\\newif\\ifsetshortcontentsaftertitlepage\n \\let\\setshortcontentsaftertitlepage = \\setshortcontentsaftertitlepagetrue\n\n\\parseargdef\\shorttitlepage{%\n  \\begingroup \\hbox{}\\vskip 1.5in \\chaprm \\centerline{#1}%\n  \\endgroup\\page\\hbox{}\\page}\n\n\\envdef\\titlepage{%\n  % Open one extra group, as we want to close it in the middle of \\Etitlepage.\n  \\begingroup\n    \\parindent=0pt \\textfonts\n    % Leave some space at the very top of the page.\n    \\vglue\\titlepagetopglue\n    % No rule at page bottom unless we print one at the top with @title.\n    \\finishedtitlepagetrue\n    %\n    % Most title ``pages'' are actually two pages long, with space\n    % at the top of the second.  We don't want the ragged left on the second.\n    \\let\\oldpage = \\page\n    \\def\\page{%\n      \\iffinishedtitlepage\\else\n\t \\finishtitlepage\n      \\fi\n      \\let\\page = \\oldpage\n      \\page\n      \\null\n    }%\n}\n\n\\def\\Etitlepage{%\n    \\iffinishedtitlepage\\else\n\t\\finishtitlepage\n    \\fi\n    % It is important to do the page break before ending the group,\n    % because the headline and footline are only empty inside the group.\n    % If we use the new definition of \\page, we always get a blank page\n    % after the title page, which we certainly don't want.\n    \\oldpage\n  \\endgroup\n  %\n  % Need this before the \\...aftertitlepage checks so that if they are\n  % in effect the toc pages will come out with page numbers.\n  \\HEADINGSon\n  %\n  % If they want short, they certainly want long too.\n  \\ifsetshortcontentsaftertitlepage\n    \\shortcontents\n    \\contents\n    \\global\\let\\shortcontents = \\relax\n    \\global\\let\\contents = \\relax\n  \\fi\n  %\n  \\ifsetcontentsaftertitlepage\n    \\contents\n    \\global\\let\\contents = \\relax\n    \\global\\let\\shortcontents = \\relax\n  \\fi\n}\n\n\\def\\finishtitlepage{%\n  \\vskip4pt \\hrule height 2pt width \\hsize\n  \\vskip\\titlepagebottomglue\n  \\finishedtitlepagetrue\n}\n\n% Settings used for typesetting titles: no hyphenation, no indentation,\n% don't worry much about spacing, ragged right.  This should be used\n% inside a \\vbox, and fonts need to be set appropriately first.  Because\n% it is always used for titles, nothing else, we call \\rmisbold.  \\par\n% should be specified before the end of the \\vbox, since a vbox is a group.\n% \n\\def\\raggedtitlesettings{%\n  \\rmisbold\n  \\hyphenpenalty=10000\n  \\parindent=0pt\n  \\tolerance=5000\n  \\ptexraggedright\n}\n\n% Macros to be used within @titlepage:\n\n\\let\\subtitlerm=\\tenrm\n\\def\\subtitlefont{\\subtitlerm \\normalbaselineskip = 13pt \\normalbaselines}\n\n\\parseargdef\\title{%\n  \\checkenv\\titlepage\n  \\vbox{\\titlefonts \\raggedtitlesettings #1\\par}%\n  % print a rule at the page bottom also.\n  \\finishedtitlepagefalse\n  \\vskip4pt \\hrule height 4pt width \\hsize \\vskip4pt\n}\n\n\\parseargdef\\subtitle{%\n  \\checkenv\\titlepage\n  {\\subtitlefont \\rightline{#1}}%\n}\n\n% @author should come last, but may come many times.\n% It can also be used inside @quotation.\n%\n\\parseargdef\\author{%\n  \\def\\temp{\\quotation}%\n  \\ifx\\thisenv\\temp\n    \\def\\quotationauthor{#1}% printed in \\Equotation.\n  \\else\n    \\checkenv\\titlepage\n    \\ifseenauthor\\else \\vskip 0pt plus 1filll \\seenauthortrue \\fi\n    {\\secfonts\\rmisbold \\leftline{#1}}%\n  \\fi\n}\n\n\n% Set up page headings and footings.\n\n\\let\\thispage=\\folio\n\n\\newtoks\\evenheadline    % headline on even pages\n\\newtoks\\oddheadline     % headline on odd pages\n\\newtoks\\evenfootline    % footline on even pages\n\\newtoks\\oddfootline     % footline on odd pages\n\n% Now make TeX use those variables\n\\headline={{\\textfonts\\rm \\ifodd\\pageno \\the\\oddheadline\n                            \\else \\the\\evenheadline \\fi}}\n\\footline={{\\textfonts\\rm \\ifodd\\pageno \\the\\oddfootline\n                            \\else \\the\\evenfootline \\fi}\\HEADINGShook}\n\\let\\HEADINGShook=\\relax\n\n% Commands to set those variables.\n% For example, this is what  @headings on  does\n% @evenheading @thistitle|@thispage|@thischapter\n% @oddheading @thischapter|@thispage|@thistitle\n% @evenfooting @thisfile||\n% @oddfooting ||@thisfile\n\n\n\\def\\evenheading{\\parsearg\\evenheadingxxx}\n\\def\\evenheadingxxx #1{\\evenheadingyyy #1\\|\\|\\|\\|\\finish}\n\\def\\evenheadingyyy #1\\|#2\\|#3\\|#4\\finish{%\n\\global\\evenheadline={\\rlap{\\centerline{#2}}\\line{#1\\hfil#3}}}\n\n\\def\\oddheading{\\parsearg\\oddheadingxxx}\n\\def\\oddheadingxxx #1{\\oddheadingyyy #1\\|\\|\\|\\|\\finish}\n\\def\\oddheadingyyy #1\\|#2\\|#3\\|#4\\finish{%\n\\global\\oddheadline={\\rlap{\\centerline{#2}}\\line{#1\\hfil#3}}}\n\n\\parseargdef\\everyheading{\\oddheadingxxx{#1}\\evenheadingxxx{#1}}%\n\n\\def\\evenfooting{\\parsearg\\evenfootingxxx}\n\\def\\evenfootingxxx #1{\\evenfootingyyy #1\\|\\|\\|\\|\\finish}\n\\def\\evenfootingyyy #1\\|#2\\|#3\\|#4\\finish{%\n\\global\\evenfootline={\\rlap{\\centerline{#2}}\\line{#1\\hfil#3}}}\n\n\\def\\oddfooting{\\parsearg\\oddfootingxxx}\n\\def\\oddfootingxxx #1{\\oddfootingyyy #1\\|\\|\\|\\|\\finish}\n\\def\\oddfootingyyy #1\\|#2\\|#3\\|#4\\finish{%\n  \\global\\oddfootline = {\\rlap{\\centerline{#2}}\\line{#1\\hfil#3}}%\n  %\n  % Leave some space for the footline.  Hopefully ok to assume\n  % @evenfooting will not be used by itself.\n  \\global\\advance\\pageheight by -12pt\n  \\global\\advance\\vsize by -12pt\n}\n\n\\parseargdef\\everyfooting{\\oddfootingxxx{#1}\\evenfootingxxx{#1}}\n\n% @evenheadingmarks top     \\thischapter <- chapter at the top of a page\n% @evenheadingmarks bottom  \\thischapter <- chapter at the bottom of a page\n%\n% The same set of arguments for:\n%\n% @oddheadingmarks\n% @evenfootingmarks\n% @oddfootingmarks\n% @everyheadingmarks\n% @everyfootingmarks\n\n\\def\\evenheadingmarks{\\headingmarks{even}{heading}}\n\\def\\oddheadingmarks{\\headingmarks{odd}{heading}}\n\\def\\evenfootingmarks{\\headingmarks{even}{footing}}\n\\def\\oddfootingmarks{\\headingmarks{odd}{footing}}\n\\def\\everyheadingmarks#1 {\\headingmarks{even}{heading}{#1}\n                          \\headingmarks{odd}{heading}{#1} }\n\\def\\everyfootingmarks#1 {\\headingmarks{even}{footing}{#1}\n                          \\headingmarks{odd}{footing}{#1} }\n% #1 = even/odd, #2 = heading/footing, #3 = top/bottom.\n\\def\\headingmarks#1#2#3 {%\n  \\expandafter\\let\\expandafter\\temp \\csname get#3headingmarks\\endcsname\n  \\global\\expandafter\\let\\csname get#1#2marks\\endcsname \\temp\n}\n\n\\everyheadingmarks bottom\n\\everyfootingmarks bottom\n\n% @headings double      turns headings on for double-sided printing.\n% @headings single      turns headings on for single-sided printing.\n% @headings off         turns them off.\n% @headings on          same as @headings double, retained for compatibility.\n% @headings after       turns on double-sided headings after this page.\n% @headings doubleafter turns on double-sided headings after this page.\n% @headings singleafter turns on single-sided headings after this page.\n% By default, they are off at the start of a document,\n% and turned `on' after @end titlepage.\n\n\\def\\headings #1 {\\csname HEADINGS#1\\endcsname}\n\n\\def\\headingsoff{% non-global headings elimination\n  \\evenheadline={\\hfil}\\evenfootline={\\hfil}%\n   \\oddheadline={\\hfil}\\oddfootline={\\hfil}%\n}\n\n\\def\\HEADINGSoff{{\\globaldefs=1 \\headingsoff}} % global setting\n\\HEADINGSoff  % it's the default\n\n% When we turn headings on, set the page number to 1.\n% For double-sided printing, put current file name in lower left corner,\n% chapter name on inside top of right hand pages, document\n% title on inside top of left hand pages, and page numbers on outside top\n% edge of all pages.\n\\def\\HEADINGSdouble{%\n\\global\\pageno=1\n\\global\\evenfootline={\\hfil}\n\\global\\oddfootline={\\hfil}\n\\global\\evenheadline={\\line{\\folio\\hfil\\thistitle}}\n\\global\\oddheadline={\\line{\\thischapter\\hfil\\folio}}\n\\global\\let\\contentsalignmacro = \\chapoddpage\n}\n\\let\\contentsalignmacro = \\chappager\n\n% For single-sided printing, chapter title goes across top left of page,\n% page number on top right.\n\\def\\HEADINGSsingle{%\n\\global\\pageno=1\n\\global\\evenfootline={\\hfil}\n\\global\\oddfootline={\\hfil}\n\\global\\evenheadline={\\line{\\thischapter\\hfil\\folio}}\n\\global\\oddheadline={\\line{\\thischapter\\hfil\\folio}}\n\\global\\let\\contentsalignmacro = \\chappager\n}\n\\def\\HEADINGSon{\\HEADINGSdouble}\n\n\\def\\HEADINGSafter{\\let\\HEADINGShook=\\HEADINGSdoublex}\n\\let\\HEADINGSdoubleafter=\\HEADINGSafter\n\\def\\HEADINGSdoublex{%\n\\global\\evenfootline={\\hfil}\n\\global\\oddfootline={\\hfil}\n\\global\\evenheadline={\\line{\\folio\\hfil\\thistitle}}\n\\global\\oddheadline={\\line{\\thischapter\\hfil\\folio}}\n\\global\\let\\contentsalignmacro = \\chapoddpage\n}\n\n\\def\\HEADINGSsingleafter{\\let\\HEADINGShook=\\HEADINGSsinglex}\n\\def\\HEADINGSsinglex{%\n\\global\\evenfootline={\\hfil}\n\\global\\oddfootline={\\hfil}\n\\global\\evenheadline={\\line{\\thischapter\\hfil\\folio}}\n\\global\\oddheadline={\\line{\\thischapter\\hfil\\folio}}\n\\global\\let\\contentsalignmacro = \\chappager\n}\n\n% Subroutines used in generating headings\n% This produces Day Month Year style of output.\n% Only define if not already defined, in case a txi-??.tex file has set\n% up a different format (e.g., txi-cs.tex does this).\n\\ifx\\today\\thisisundefined\n\\def\\today{%\n  \\number\\day\\space\n  \\ifcase\\month\n  \\or\\putwordMJan\\or\\putwordMFeb\\or\\putwordMMar\\or\\putwordMApr\n  \\or\\putwordMMay\\or\\putwordMJun\\or\\putwordMJul\\or\\putwordMAug\n  \\or\\putwordMSep\\or\\putwordMOct\\or\\putwordMNov\\or\\putwordMDec\n  \\fi\n  \\space\\number\\year}\n\\fi\n\n% @settitle line...  specifies the title of the document, for headings.\n% It generates no output of its own.\n\\def\\thistitle{\\putwordNoTitle}\n\\def\\settitle{\\parsearg{\\gdef\\thistitle}}\n\n\n\\message{tables,}\n% Tables -- @table, @ftable, @vtable, @item(x).\n\n% default indentation of table text\n\\newdimen\\tableindent \\tableindent=.8in\n% default indentation of @itemize and @enumerate text\n\\newdimen\\itemindent  \\itemindent=.3in\n% margin between end of table item and start of table text.\n\\newdimen\\itemmargin  \\itemmargin=.1in\n\n% used internally for \\itemindent minus \\itemmargin\n\\newdimen\\itemmax\n\n% Note @table, @ftable, and @vtable define @item, @itemx, etc., with\n% these defs.\n% They also define \\itemindex\n% to index the item name in whatever manner is desired (perhaps none).\n\n\\newif\\ifitemxneedsnegativevskip\n\n\\def\\itemxpar{\\par\\ifitemxneedsnegativevskip\\nobreak\\vskip-\\parskip\\nobreak\\fi}\n\n\\def\\internalBitem{\\smallbreak \\parsearg\\itemzzz}\n\\def\\internalBitemx{\\itemxpar \\parsearg\\itemzzz}\n\n\\def\\itemzzz #1{\\begingroup %\n  \\advance\\hsize by -\\rightskip\n  \\advance\\hsize by -\\tableindent\n  \\setbox0=\\hbox{\\itemindicate{#1}}%\n  \\itemindex{#1}%\n  \\nobreak % This prevents a break before @itemx.\n  %\n  % If the item text does not fit in the space we have, put it on a line\n  % by itself, and do not allow a page break either before or after that\n  % line.  We do not start a paragraph here because then if the next\n  % command is, e.g., @kindex, the whatsit would get put into the\n  % horizontal list on a line by itself, resulting in extra blank space.\n  \\ifdim \\wd0>\\itemmax\n    %\n    % Make this a paragraph so we get the \\parskip glue and wrapping,\n    % but leave it ragged-right.\n    \\begingroup\n      \\advance\\leftskip by-\\tableindent\n      \\advance\\hsize by\\tableindent\n      \\advance\\rightskip by0pt plus1fil\\relax\n      \\leavevmode\\unhbox0\\par\n    \\endgroup\n    %\n    % We're going to be starting a paragraph, but we don't want the\n    % \\parskip glue -- logically it's part of the @item we just started.\n    \\nobreak \\vskip-\\parskip\n    %\n    % Stop a page break at the \\parskip glue coming up.  However, if\n    % what follows is an environment such as @example, there will be no\n    % \\parskip glue; then the negative vskip we just inserted would\n    % cause the example and the item to crash together.  So we use this\n    % bizarre value of 10001 as a signal to \\aboveenvbreak to insert\n    % \\parskip glue after all.  Section titles are handled this way also.\n    %\n    \\penalty 10001\n    \\endgroup\n    \\itemxneedsnegativevskipfalse\n  \\else\n    % The item text fits into the space.  Start a paragraph, so that the\n    % following text (if any) will end up on the same line.\n    \\noindent\n    % Do this with kerns and \\unhbox so that if there is a footnote in\n    % the item text, it can migrate to the main vertical list and\n    % eventually be printed.\n    \\nobreak\\kern-\\tableindent\n    \\dimen0 = \\itemmax  \\advance\\dimen0 by \\itemmargin \\advance\\dimen0 by -\\wd0\n    \\unhbox0\n    \\nobreak\\kern\\dimen0\n    \\endgroup\n    \\itemxneedsnegativevskiptrue\n  \\fi\n}\n\n\\def\\item{\\errmessage{@item while not in a list environment}}\n\\def\\itemx{\\errmessage{@itemx while not in a list environment}}\n\n% @table, @ftable, @vtable.\n\\envdef\\table{%\n  \\let\\itemindex\\gobble\n  \\tablecheck{table}%\n}\n\\envdef\\ftable{%\n  \\def\\itemindex ##1{\\doind {fn}{\\code{##1}}}%\n  \\tablecheck{ftable}%\n}\n\\envdef\\vtable{%\n  \\def\\itemindex ##1{\\doind {vr}{\\code{##1}}}%\n  \\tablecheck{vtable}%\n}\n\\def\\tablecheck#1{%\n  \\ifnum \\the\\catcode`\\^^M=\\active\n    \\endgroup\n    \\errmessage{This command won't work in this context; perhaps the problem is\n      that we are \\inenvironment\\thisenv}%\n    \\def\\next{\\doignore{#1}}%\n  \\else\n    \\let\\next\\tablex\n  \\fi\n  \\next\n}\n\\def\\tablex#1{%\n  \\def\\itemindicate{#1}%\n  \\parsearg\\tabley\n}\n\\def\\tabley#1{%\n  {%\n    \\makevalueexpandable\n    \\edef\\temp{\\noexpand\\tablez #1\\space\\space\\space}%\n    \\expandafter\n  }\\temp \\endtablez\n}\n\\def\\tablez #1 #2 #3 #4\\endtablez{%\n  \\aboveenvbreak\n  \\ifnum 0#1>0 \\advance \\leftskip by #1\\mil \\fi\n  \\ifnum 0#2>0 \\tableindent=#2\\mil \\fi\n  \\ifnum 0#3>0 \\advance \\rightskip by #3\\mil \\fi\n  \\itemmax=\\tableindent\n  \\advance \\itemmax by -\\itemmargin\n  \\advance \\leftskip by \\tableindent\n  \\exdentamount=\\tableindent\n  \\parindent = 0pt\n  \\parskip = \\smallskipamount\n  \\ifdim \\parskip=0pt \\parskip=2pt \\fi\n  \\let\\item = \\internalBitem\n  \\let\\itemx = \\internalBitemx\n}\n\\def\\Etable{\\endgraf\\afterenvbreak}\n\\let\\Eftable\\Etable\n\\let\\Evtable\\Etable\n\\let\\Eitemize\\Etable\n\\let\\Eenumerate\\Etable\n\n% This is the counter used by @enumerate, which is really @itemize\n\n\\newcount \\itemno\n\n\\envdef\\itemize{\\parsearg\\doitemize}\n\n\\def\\doitemize#1{%\n  \\aboveenvbreak\n  \\itemmax=\\itemindent\n  \\advance\\itemmax by -\\itemmargin\n  \\advance\\leftskip by \\itemindent\n  \\exdentamount=\\itemindent\n  \\parindent=0pt\n  \\parskip=\\smallskipamount\n  \\ifdim\\parskip=0pt \\parskip=2pt \\fi\n  %\n  % Try typesetting the item mark that if the document erroneously says\n  % something like @itemize @samp (intending @table), there's an error\n  % right away at the @itemize.  It's not the best error message in the\n  % world, but it's better than leaving it to the @item.  This means if\n  % the user wants an empty mark, they have to say @w{} not just @w.\n  \\def\\itemcontents{#1}%\n  \\setbox0 = \\hbox{\\itemcontents}%\n  %\n  % @itemize with no arg is equivalent to @itemize @bullet.\n  \\ifx\\itemcontents\\empty\\def\\itemcontents{\\bullet}\\fi\n  %\n  \\let\\item=\\itemizeitem\n}\n\n% Definition of @item while inside @itemize and @enumerate.\n%\n\\def\\itemizeitem{%\n  \\advance\\itemno by 1  % for enumerations\n  {\\let\\par=\\endgraf \\smallbreak}% reasonable place to break\n  {%\n   % If the document has an @itemize directly after a section title, a\n   % \\nobreak will be last on the list, and \\sectionheading will have\n   % done a \\vskip-\\parskip.  In that case, we don't want to zero\n   % parskip, or the item text will crash with the heading.  On the\n   % other hand, when there is normal text preceding the item (as there\n   % usually is), we do want to zero parskip, or there would be too much\n   % space.  In that case, we won't have a \\nobreak before.  At least\n   % that's the theory.\n   \\ifnum\\lastpenalty<10000 \\parskip=0in \\fi\n   \\noindent\n   \\hbox to 0pt{\\hss \\itemcontents \\kern\\itemmargin}%\n   %\n   \\vadjust{\\penalty 1200}}% not good to break after first line of item.\n  \\flushcr\n}\n\n% \\splitoff TOKENS\\endmark defines \\first to be the first token in\n% TOKENS, and \\rest to be the remainder.\n%\n\\def\\splitoff#1#2\\endmark{\\def\\first{#1}\\def\\rest{#2}}%\n\n% Allow an optional argument of an uppercase letter, lowercase letter,\n% or number, to specify the first label in the enumerated list.  No\n% argument is the same as `1'.\n%\n\\envparseargdef\\enumerate{\\enumeratey #1  \\endenumeratey}\n\\def\\enumeratey #1 #2\\endenumeratey{%\n  % If we were given no argument, pretend we were given `1'.\n  \\def\\thearg{#1}%\n  \\ifx\\thearg\\empty \\def\\thearg{1}\\fi\n  %\n  % Detect if the argument is a single token.  If so, it might be a\n  % letter.  Otherwise, the only valid thing it can be is a number.\n  % (We will always have one token, because of the test we just made.\n  % This is a good thing, since \\splitoff doesn't work given nothing at\n  % all -- the first parameter is undelimited.)\n  \\expandafter\\splitoff\\thearg\\endmark\n  \\ifx\\rest\\empty\n    % Only one token in the argument.  It could still be anything.\n    % A ``lowercase letter'' is one whose \\lccode is nonzero.\n    % An ``uppercase letter'' is one whose \\lccode is both nonzero, and\n    %   not equal to itself.\n    % Otherwise, we assume it's a number.\n    %\n    % We need the \\relax at the end of the \\ifnum lines to stop TeX from\n    % continuing to look for a <number>.\n    %\n    \\ifnum\\lccode\\expandafter`\\thearg=0\\relax\n      \\numericenumerate % a number (we hope)\n    \\else\n      % It's a letter.\n      \\ifnum\\lccode\\expandafter`\\thearg=\\expandafter`\\thearg\\relax\n        \\lowercaseenumerate % lowercase letter\n      \\else\n        \\uppercaseenumerate % uppercase letter\n      \\fi\n    \\fi\n  \\else\n    % Multiple tokens in the argument.  We hope it's a number.\n    \\numericenumerate\n  \\fi\n}\n\n% An @enumerate whose labels are integers.  The starting integer is\n% given in \\thearg.\n%\n\\def\\numericenumerate{%\n  \\itemno = \\thearg\n  \\startenumeration{\\the\\itemno}%\n}\n\n% The starting (lowercase) letter is in \\thearg.\n\\def\\lowercaseenumerate{%\n  \\itemno = \\expandafter`\\thearg\n  \\startenumeration{%\n    % Be sure we're not beyond the end of the alphabet.\n    \\ifnum\\itemno=0\n      \\errmessage{No more lowercase letters in @enumerate; get a bigger\n                  alphabet}%\n    \\fi\n    \\char\\lccode\\itemno\n  }%\n}\n\n% The starting (uppercase) letter is in \\thearg.\n\\def\\uppercaseenumerate{%\n  \\itemno = \\expandafter`\\thearg\n  \\startenumeration{%\n    % Be sure we're not beyond the end of the alphabet.\n    \\ifnum\\itemno=0\n      \\errmessage{No more uppercase letters in @enumerate; get a bigger\n                  alphabet}\n    \\fi\n    \\char\\uccode\\itemno\n  }%\n}\n\n% Call \\doitemize, adding a period to the first argument and supplying the\n% common last two arguments.  Also subtract one from the initial value in\n% \\itemno, since @item increments \\itemno.\n%\n\\def\\startenumeration#1{%\n  \\advance\\itemno by -1\n  \\doitemize{#1.}\\flushcr\n}\n\n% @alphaenumerate and @capsenumerate are abbreviations for giving an arg\n% to @enumerate.\n%\n\\def\\alphaenumerate{\\enumerate{a}}\n\\def\\capsenumerate{\\enumerate{A}}\n\\def\\Ealphaenumerate{\\Eenumerate}\n\\def\\Ecapsenumerate{\\Eenumerate}\n\n\n% @multitable macros\n% Amy Hendrickson, 8/18/94, 3/6/96\n%\n% @multitable ... @end multitable will make as many columns as desired.\n% Contents of each column will wrap at width given in preamble.  Width\n% can be specified either with sample text given in a template line,\n% or in percent of \\hsize, the current width of text on page.\n\n% Table can continue over pages but will only break between lines.\n\n% To make preamble:\n%\n% Either define widths of columns in terms of percent of \\hsize:\n%   @multitable @columnfractions .25 .3 .45\n%   @item ...\n%\n%   Numbers following @columnfractions are the percent of the total\n%   current hsize to be used for each column. You may use as many\n%   columns as desired.\n\n\n% Or use a template:\n%   @multitable {Column 1 template} {Column 2 template} {Column 3 template}\n%   @item ...\n%   using the widest term desired in each column.\n\n% Each new table line starts with @item, each subsequent new column\n% starts with @tab. Empty columns may be produced by supplying @tab's\n% with nothing between them for as many times as empty columns are needed,\n% ie, @tab@tab@tab will produce two empty columns.\n\n% @item, @tab do not need to be on their own lines, but it will not hurt\n% if they are.\n\n% Sample multitable:\n\n%   @multitable {Column 1 template} {Column 2 template} {Column 3 template}\n%   @item first col stuff @tab second col stuff @tab third col\n%   @item\n%   first col stuff\n%   @tab\n%   second col stuff\n%   @tab\n%   third col\n%   @item first col stuff @tab second col stuff\n%   @tab Many paragraphs of text may be used in any column.\n%\n%         They will wrap at the width determined by the template.\n%   @item@tab@tab This will be in third column.\n%   @end multitable\n\n% Default dimensions may be reset by user.\n% @multitableparskip is vertical space between paragraphs in table.\n% @multitableparindent is paragraph indent in table.\n% @multitablecolmargin is horizontal space to be left between columns.\n% @multitablelinespace is space to leave between table items, baseline\n%                                                            to baseline.\n%   0pt means it depends on current normal line spacing.\n%\n\\newskip\\multitableparskip\n\\newskip\\multitableparindent\n\\newdimen\\multitablecolspace\n\\newskip\\multitablelinespace\n\\multitableparskip=0pt\n\\multitableparindent=6pt\n\\multitablecolspace=12pt\n\\multitablelinespace=0pt\n\n% Macros used to set up halign preamble:\n%\n\\let\\endsetuptable\\relax\n\\def\\xendsetuptable{\\endsetuptable}\n\\let\\columnfractions\\relax\n\\def\\xcolumnfractions{\\columnfractions}\n\\newif\\ifsetpercent\n\n% #1 is the @columnfraction, usually a decimal number like .5, but might\n% be just 1.  We just use it, whatever it is.\n%\n\\def\\pickupwholefraction#1 {%\n  \\global\\advance\\colcount by 1\n  \\expandafter\\xdef\\csname col\\the\\colcount\\endcsname{#1\\hsize}%\n  \\setuptable\n}\n\n\\newcount\\colcount\n\\def\\setuptable#1{%\n  \\def\\firstarg{#1}%\n  \\ifx\\firstarg\\xendsetuptable\n    \\let\\go = \\relax\n  \\else\n    \\ifx\\firstarg\\xcolumnfractions\n      \\global\\setpercenttrue\n    \\else\n      \\ifsetpercent\n         \\let\\go\\pickupwholefraction\n      \\else\n         \\global\\advance\\colcount by 1\n         \\setbox0=\\hbox{#1\\unskip\\space}% Add a normal word space as a\n                   % separator; typically that is always in the input, anyway.\n         \\expandafter\\xdef\\csname col\\the\\colcount\\endcsname{\\the\\wd0}%\n      \\fi\n    \\fi\n    \\ifx\\go\\pickupwholefraction\n      % Put the argument back for the \\pickupwholefraction call, so\n      % we'll always have a period there to be parsed.\n      \\def\\go{\\pickupwholefraction#1}%\n    \\else\n      \\let\\go = \\setuptable\n    \\fi%\n  \\fi\n  \\go\n}\n\n% multitable-only commands.\n%\n% @headitem starts a heading row, which we typeset in bold.\n% Assignments have to be global since we are inside the implicit group\n% of an alignment entry.  \\everycr resets \\everytab so we don't have to\n% undo it ourselves.\n\\def\\headitemfont{\\b}% for people to use in the template row; not changeable\n\\def\\headitem{%\n  \\checkenv\\multitable\n  \\crcr\n  \\global\\everytab={\\bf}% can't use \\headitemfont since the parsing differs\n  \\the\\everytab % for the first item\n}%\n%\n% A \\tab used to include \\hskip1sp.  But then the space in a template\n% line is not enough.  That is bad.  So let's go back to just `&' until\n% we again encounter the problem the 1sp was intended to solve.\n%\t\t\t\t\t--karl, nathan@acm.org, 20apr99.\n\\def\\tab{\\checkenv\\multitable &\\the\\everytab}%\n\n% @multitable ... @end multitable definitions:\n%\n\\newtoks\\everytab  % insert after every tab.\n%\n\\envdef\\multitable{%\n  \\vskip\\parskip\n  \\startsavinginserts\n  %\n  % @item within a multitable starts a normal row.\n  % We use \\def instead of \\let so that if one of the multitable entries\n  % contains an @itemize, we don't choke on the \\item (seen as \\crcr aka\n  % \\endtemplate) expanding \\doitemize.\n  \\def\\item{\\crcr}%\n  %\n  \\tolerance=9500\n  \\hbadness=9500\n  \\setmultitablespacing\n  \\parskip=\\multitableparskip\n  \\parindent=\\multitableparindent\n  \\overfullrule=0pt\n  \\global\\colcount=0\n  %\n  \\everycr = {%\n    \\noalign{%\n      \\global\\everytab={}%\n      \\global\\colcount=0 % Reset the column counter.\n      % Check for saved footnotes, etc.\n      \\checkinserts\n      % Keeps underfull box messages off when table breaks over pages.\n      %\\filbreak\n\t% Maybe so, but it also creates really weird page breaks when the\n\t% table breaks over pages. Wouldn't \\vfil be better?  Wait until the\n\t% problem manifests itself, so it can be fixed for real --karl.\n    }%\n  }%\n  %\n  \\parsearg\\domultitable\n}\n\\def\\domultitable#1{%\n  % To parse everything between @multitable and @item:\n  \\setuptable#1 \\endsetuptable\n  %\n  % This preamble sets up a generic column definition, which will\n  % be used as many times as user calls for columns.\n  % \\vtop will set a single line and will also let text wrap and\n  % continue for many paragraphs if desired.\n  \\halign\\bgroup &%\n    \\global\\advance\\colcount by 1\n    \\multistrut\n    \\vtop{%\n      % Use the current \\colcount to find the correct column width:\n      \\hsize=\\expandafter\\csname col\\the\\colcount\\endcsname\n      %\n      % In order to keep entries from bumping into each other\n      % we will add a \\leftskip of \\multitablecolspace to all columns after\n      % the first one.\n      %\n      % If a template has been used, we will add \\multitablecolspace\n      % to the width of each template entry.\n      %\n      % If the user has set preamble in terms of percent of \\hsize we will\n      % use that dimension as the width of the column, and the \\leftskip\n      % will keep entries from bumping into each other.  Table will start at\n      % left margin and final column will justify at right margin.\n      %\n      % Make sure we don't inherit \\rightskip from the outer environment.\n      \\rightskip=0pt\n      \\ifnum\\colcount=1\n\t% The first column will be indented with the surrounding text.\n\t\\advance\\hsize by\\leftskip\n      \\else\n\t\\ifsetpercent \\else\n\t  % If user has not set preamble in terms of percent of \\hsize\n\t  % we will advance \\hsize by \\multitablecolspace.\n\t  \\advance\\hsize by \\multitablecolspace\n\t\\fi\n       % In either case we will make \\leftskip=\\multitablecolspace:\n      \\leftskip=\\multitablecolspace\n      \\fi\n      % Ignoring space at the beginning and end avoids an occasional spurious\n      % blank line, when TeX decides to break the line at the space before the\n      % box from the multistrut, so the strut ends up on a line by itself.\n      % For example:\n      % @multitable @columnfractions .11 .89\n      % @item @code{#}\n      % @tab Legal holiday which is valid in major parts of the whole country.\n      % Is automatically provided with highlighting sequences respectively\n      % marking characters.\n      \\noindent\\ignorespaces##\\unskip\\multistrut\n    }\\cr\n}\n\\def\\Emultitable{%\n  \\crcr\n  \\egroup % end the \\halign\n  \\global\\setpercentfalse\n}\n\n\\def\\setmultitablespacing{%\n  \\def\\multistrut{\\strut}% just use the standard line spacing\n  %\n  % Compute \\multitablelinespace (if not defined by user) for use in\n  % \\multitableparskip calculation.  We used define \\multistrut based on\n  % this, but (ironically) that caused the spacing to be off.\n  % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100.\n\\ifdim\\multitablelinespace=0pt\n\\setbox0=\\vbox{X}\\global\\multitablelinespace=\\the\\baselineskip\n\\global\\advance\\multitablelinespace by-\\ht0\n\\fi\n% Test to see if parskip is larger than space between lines of\n% table. If not, do nothing.\n%        If so, set to same dimension as multitablelinespace.\n\\ifdim\\multitableparskip>\\multitablelinespace\n\\global\\multitableparskip=\\multitablelinespace\n\\global\\advance\\multitableparskip-7pt % to keep parskip somewhat smaller\n                                      % than skip between lines in the table.\n\\fi%\n\\ifdim\\multitableparskip=0pt\n\\global\\multitableparskip=\\multitablelinespace\n\\global\\advance\\multitableparskip-7pt % to keep parskip somewhat smaller\n                                      % than skip between lines in the table.\n\\fi}\n\n\n\\message{conditionals,}\n\n% @iftex, @ifnotdocbook, @ifnothtml, @ifnotinfo, @ifnotplaintext,\n% @ifnotxml always succeed.  They currently do nothing; we don't\n% attempt to check whether the conditionals are properly nested.  But we\n% have to remember that they are conditionals, so that @end doesn't\n% attempt to close an environment group.\n%\n\\def\\makecond#1{%\n  \\expandafter\\let\\csname #1\\endcsname = \\relax\n  \\expandafter\\let\\csname iscond.#1\\endcsname = 1\n}\n\\makecond{iftex}\n\\makecond{ifnotdocbook}\n\\makecond{ifnothtml}\n\\makecond{ifnotinfo}\n\\makecond{ifnotplaintext}\n\\makecond{ifnotxml}\n\n% Ignore @ignore, @ifhtml, @ifinfo, and the like.\n%\n\\def\\direntry{\\doignore{direntry}}\n\\def\\documentdescription{\\doignore{documentdescription}}\n\\def\\docbook{\\doignore{docbook}}\n\\def\\html{\\doignore{html}}\n\\def\\ifdocbook{\\doignore{ifdocbook}}\n\\def\\ifhtml{\\doignore{ifhtml}}\n\\def\\ifinfo{\\doignore{ifinfo}}\n\\def\\ifnottex{\\doignore{ifnottex}}\n\\def\\ifplaintext{\\doignore{ifplaintext}}\n\\def\\ifxml{\\doignore{ifxml}}\n\\def\\ignore{\\doignore{ignore}}\n\\def\\menu{\\doignore{menu}}\n\\def\\xml{\\doignore{xml}}\n\n% Ignore text until a line `@end #1', keeping track of nested conditionals.\n%\n% A count to remember the depth of nesting.\n\\newcount\\doignorecount\n\n\\def\\doignore#1{\\begingroup\n  % Scan in ``verbatim'' mode:\n  \\obeylines\n  \\catcode`\\@ = \\other\n  \\catcode`\\{ = \\other\n  \\catcode`\\} = \\other\n  %\n  % Make sure that spaces turn into tokens that match what \\doignoretext wants.\n  \\spaceisspace\n  %\n  % Count number of #1's that we've seen.\n  \\doignorecount = 0\n  %\n  % Swallow text until we reach the matching `@end #1'.\n  \\dodoignore{#1}%\n}\n\n{ \\catcode`_=11 % We want to use \\_STOP_ which cannot appear in texinfo source.\n  \\obeylines %\n  %\n  \\gdef\\dodoignore#1{%\n    % #1 contains the command name as a string, e.g., `ifinfo'.\n    %\n    % Define a command to find the next `@end #1'.\n    \\long\\def\\doignoretext##1^^M@end #1{%\n      \\doignoretextyyy##1^^M@#1\\_STOP_}%\n    %\n    % And this command to find another #1 command, at the beginning of a\n    % line.  (Otherwise, we would consider a line `@c @ifset', for\n    % example, to count as an @ifset for nesting.)\n    \\long\\def\\doignoretextyyy##1^^M@#1##2\\_STOP_{\\doignoreyyy{##2}\\_STOP_}%\n    %\n    % And now expand that command.\n    \\doignoretext ^^M%\n  }%\n}\n\n\\def\\doignoreyyy#1{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\empty\t\t\t% Nothing found.\n    \\let\\next\\doignoretextzzz\n  \\else\t\t\t\t\t% Found a nested condition, ...\n    \\advance\\doignorecount by 1\n    \\let\\next\\doignoretextyyy\t\t% ..., look for another.\n    % If we're here, #1 ends with ^^M\\ifinfo (for example).\n  \\fi\n  \\next #1% the token \\_STOP_ is present just after this macro.\n}\n\n% We have to swallow the remaining \"\\_STOP_\".\n%\n\\def\\doignoretextzzz#1{%\n  \\ifnum\\doignorecount = 0\t% We have just found the outermost @end.\n    \\let\\next\\enddoignore\n  \\else\t\t\t\t% Still inside a nested condition.\n    \\advance\\doignorecount by -1\n    \\let\\next\\doignoretext      % Look for the next @end.\n  \\fi\n  \\next\n}\n\n% Finish off ignored text.\n{ \\obeylines%\n  % Ignore anything after the last `@end #1'; this matters in verbatim\n  % environments, where otherwise the newline after an ignored conditional\n  % would result in a blank line in the output.\n  \\gdef\\enddoignore#1^^M{\\endgroup\\ignorespaces}%\n}\n\n\n% @set VAR sets the variable VAR to an empty value.\n% @set VAR REST-OF-LINE sets VAR to the value REST-OF-LINE.\n%\n% Since we want to separate VAR from REST-OF-LINE (which might be\n% empty), we can't just use \\parsearg; we have to insert a space of our\n% own to delimit the rest of the line, and then take it out again if we\n% didn't need it.\n% We rely on the fact that \\parsearg sets \\catcode`\\ =10.\n%\n\\parseargdef\\set{\\setyyy#1 \\endsetyyy}\n\\def\\setyyy#1 #2\\endsetyyy{%\n  {%\n    \\makevalueexpandable\n    \\def\\temp{#2}%\n    \\edef\\next{\\gdef\\makecsname{SET#1}}%\n    \\ifx\\temp\\empty\n      \\next{}%\n    \\else\n      \\setzzz#2\\endsetzzz\n    \\fi\n  }%\n}\n% Remove the trailing space \\setxxx inserted.\n\\def\\setzzz#1 \\endsetzzz{\\next{#1}}\n\n% @clear VAR clears (i.e., unsets) the variable VAR.\n%\n\\parseargdef\\clear{%\n  {%\n    \\makevalueexpandable\n    \\global\\expandafter\\let\\csname SET#1\\endcsname=\\relax\n  }%\n}\n\n% @value{foo} gets the text saved in variable foo.\n\\def\\value{\\begingroup\\makevalueexpandable\\valuexxx}\n\\def\\valuexxx#1{\\expandablevalue{#1}\\endgroup}\n{\n  \\catcode`\\- = \\active \\catcode`\\_ = \\active\n  %\n  \\gdef\\makevalueexpandable{%\n    \\let\\value = \\expandablevalue\n    % We don't want these characters active, ...\n    \\catcode`\\-=\\other \\catcode`\\_=\\other\n    % ..., but we might end up with active ones in the argument if\n    % we're called from @code, as @code{@value{foo-bar_}}, though.\n    % So \\let them to their normal equivalents.\n    \\let-\\normaldash \\let_\\normalunderscore\n  }\n}\n\n% We have this subroutine so that we can handle at least some @value's\n% properly in indexes (we call \\makevalueexpandable in \\indexdummies).\n% The command has to be fully expandable (if the variable is set), since\n% the result winds up in the index file.  This means that if the\n% variable's value contains other Texinfo commands, it's almost certain\n% it will fail (although perhaps we could fix that with sufficient work\n% to do a one-level expansion on the result, instead of complete).\n%\n\\def\\expandablevalue#1{%\n  \\expandafter\\ifx\\csname SET#1\\endcsname\\relax\n    {[No value for ``#1'']}%\n    \\message{Variable `#1', used in @value, is not set.}%\n  \\else\n    \\csname SET#1\\endcsname\n  \\fi\n}\n\n% @ifset VAR ... @end ifset reads the `...' iff VAR has been defined\n% with @set.\n%\n% To get special treatment of `@end ifset,' call \\makeond and the redefine.\n%\n\\makecond{ifset}\n\\def\\ifset{\\parsearg{\\doifset{\\let\\next=\\ifsetfail}}}\n\\def\\doifset#1#2{%\n  {%\n    \\makevalueexpandable\n    \\let\\next=\\empty\n    \\expandafter\\ifx\\csname SET#2\\endcsname\\relax\n      #1% If not set, redefine \\next.\n    \\fi\n    \\expandafter\n  }\\next\n}\n\\def\\ifsetfail{\\doignore{ifset}}\n\n% @ifclear VAR ... @end executes the `...' iff VAR has never been\n% defined with @set, or has been undefined with @clear.\n%\n% The `\\else' inside the `\\doifset' parameter is a trick to reuse the\n% above code: if the variable is not set, do nothing, if it is set,\n% then redefine \\next to \\ifclearfail.\n%\n\\makecond{ifclear}\n\\def\\ifclear{\\parsearg{\\doifset{\\else \\let\\next=\\ifclearfail}}}\n\\def\\ifclearfail{\\doignore{ifclear}}\n\n% @ifcommandisdefined CMD ... @end executes the `...' if CMD (written\n% without the @) is in fact defined.  We can only feasibly check at the\n% TeX level, so something like `mathcode' is going to considered\n% defined even though it is not a Texinfo command.\n% \n\\makecond{ifcommanddefined}\n\\def\\ifcommanddefined{\\parsearg{\\doifcmddefined{\\let\\next=\\ifcmddefinedfail}}}\n%\n\\def\\doifcmddefined#1#2{{%\n    \\makevalueexpandable\n    \\let\\next=\\empty\n    \\expandafter\\ifx\\csname #2\\endcsname\\relax\n      #1% If not defined, \\let\\next as above.\n    \\fi\n    \\expandafter\n  }\\next\n}\n\\def\\ifcmddefinedfail{\\doignore{ifcommanddefined}}\n\n% @ifcommandnotdefined CMD ... handled similar to @ifclear above.\n\\makecond{ifcommandnotdefined}\n\\def\\ifcommandnotdefined{%\n  \\parsearg{\\doifcmddefined{\\else \\let\\next=\\ifcmdnotdefinedfail}}}\n\\def\\ifcmdnotdefinedfail{\\doignore{ifcommandnotdefined}}\n\n% Set the `txicommandconditionals' variable, so documents have a way to\n% test if the @ifcommand...defined conditionals are available.\n\\set txicommandconditionals\n\n% @dircategory CATEGORY  -- specify a category of the dir file\n% which this file should belong to.  Ignore this in TeX.\n\\let\\dircategory=\\comment\n\n% @defininfoenclose.\n\\let\\definfoenclose=\\comment\n\n\n\\message{indexing,}\n% Index generation facilities\n\n% Define \\newwrite to be identical to plain tex's \\newwrite\n% except not \\outer, so it can be used within macros and \\if's.\n\\edef\\newwrite{\\makecsname{ptexnewwrite}}\n\n% \\newindex {foo} defines an index named foo.\n% It automatically defines \\fooindex such that\n% \\fooindex ...rest of line... puts an entry in the index foo.\n% It also defines \\fooindfile to be the number of the output channel for\n% the file that accumulates this index.  The file's extension is foo.\n% The name of an index should be no more than 2 characters long\n% for the sake of vms.\n%\n\\def\\newindex#1{%\n  \\iflinks\n    \\expandafter\\newwrite \\csname#1indfile\\endcsname\n    \\openout \\csname#1indfile\\endcsname \\jobname.#1 % Open the file\n  \\fi\n  \\expandafter\\xdef\\csname#1index\\endcsname{%     % Define @#1index\n    \\noexpand\\doindex{#1}}\n}\n\n% @defindex foo  ==  \\newindex{foo}\n%\n\\def\\defindex{\\parsearg\\newindex}\n\n% Define @defcodeindex, like @defindex except put all entries in @code.\n%\n\\def\\defcodeindex{\\parsearg\\newcodeindex}\n%\n\\def\\newcodeindex#1{%\n  \\iflinks\n    \\expandafter\\newwrite \\csname#1indfile\\endcsname\n    \\openout \\csname#1indfile\\endcsname \\jobname.#1\n  \\fi\n  \\expandafter\\xdef\\csname#1index\\endcsname{%\n    \\noexpand\\docodeindex{#1}}%\n}\n\n\n% @synindex foo bar    makes index foo feed into index bar.\n% Do this instead of @defindex foo if you don't want it as a separate index.\n%\n% @syncodeindex foo bar   similar, but put all entries made for index foo\n% inside @code.\n%\n\\def\\synindex#1 #2 {\\dosynindex\\doindex{#1}{#2}}\n\\def\\syncodeindex#1 #2 {\\dosynindex\\docodeindex{#1}{#2}}\n\n% #1 is \\doindex or \\docodeindex, #2 the index getting redefined (foo),\n% #3 the target index (bar).\n\\def\\dosynindex#1#2#3{%\n  % Only do \\closeout if we haven't already done it, else we'll end up\n  % closing the target index.\n  \\expandafter \\ifx\\csname donesynindex#2\\endcsname \\relax\n    % The \\closeout helps reduce unnecessary open files; the limit on the\n    % Acorn RISC OS is a mere 16 files.\n    \\expandafter\\closeout\\csname#2indfile\\endcsname\n    \\expandafter\\let\\csname donesynindex#2\\endcsname = 1\n  \\fi\n  % redefine \\fooindfile:\n  \\expandafter\\let\\expandafter\\temp\\expandafter=\\csname#3indfile\\endcsname\n  \\expandafter\\let\\csname#2indfile\\endcsname=\\temp\n  % redefine \\fooindex:\n  \\expandafter\\xdef\\csname#2index\\endcsname{\\noexpand#1{#3}}%\n}\n\n% Define \\doindex, the driver for all \\fooindex macros.\n% Argument #1 is generated by the calling \\fooindex macro,\n%  and it is \"foo\", the name of the index.\n\n% \\doindex just uses \\parsearg; it calls \\doind for the actual work.\n% This is because \\doind is more useful to call from other macros.\n\n% There is also \\dosubind {index}{topic}{subtopic}\n% which makes an entry in a two-level index such as the operation index.\n\n\\def\\doindex#1{\\edef\\indexname{#1}\\parsearg\\singleindexer}\n\\def\\singleindexer #1{\\doind{\\indexname}{#1}}\n\n% like the previous two, but they put @code around the argument.\n\\def\\docodeindex#1{\\edef\\indexname{#1}\\parsearg\\singlecodeindexer}\n\\def\\singlecodeindexer #1{\\doind{\\indexname}{\\code{#1}}}\n\n% Take care of Texinfo commands that can appear in an index entry.\n% Since there are some commands we want to expand, and others we don't,\n% we have to laboriously prevent expansion for those that we don't.\n%\n\\def\\indexdummies{%\n  \\escapechar = `\\\\     % use backslash in output files.\n  \\def\\@{@}% change to @@ when we switch to @ as escape char in index files.\n  \\def\\ {\\realbackslash\\space }%\n  %\n  % Need these unexpandable (because we define \\tt as a dummy)\n  % definitions when @{ or @} appear in index entry text.  Also, more\n  % complicated, when \\tex is in effect and \\{ is a \\delimiter again.\n  % We can't use \\lbracecmd and \\rbracecmd because texindex assumes\n  % braces and backslashes are used only as delimiters.  Perhaps we\n  % should define @lbrace and @rbrace commands a la @comma.\n  \\def\\{{{\\tt\\char123}}%\n  \\def\\}{{\\tt\\char125}}%\n  %\n  % I don't entirely understand this, but when an index entry is\n  % generated from a macro call, the \\endinput which \\scanmacro inserts\n  % causes processing to be prematurely terminated.  This is,\n  % apparently, because \\indexsorttmp is fully expanded, and \\endinput\n  % is an expandable command.  The redefinition below makes \\endinput\n  % disappear altogether for that purpose -- although logging shows that\n  % processing continues to some further point.  On the other hand, it\n  % seems \\endinput does not hurt in the printed index arg, since that\n  % is still getting written without apparent harm.\n  %\n  % Sample source (mac-idx3.tex, reported by Graham Percival to\n  % help-texinfo, 22may06):\n  % @macro funindex {WORD}\n  % @findex xyz\n  % @end macro\n  % ...\n  % @funindex commtest\n  %\n  % The above is not enough to reproduce the bug, but it gives the flavor.\n  %\n  % Sample whatsit resulting:\n  % .@write3{\\entry{xyz}{@folio }{@code {xyz@endinput }}}\n  %\n  % So:\n  \\let\\endinput = \\empty\n  %\n  % Do the redefinitions.\n  \\commondummies\n}\n\n% For the aux and toc files, @ is the escape character.  So we want to\n% redefine everything using @ as the escape character (instead of\n% \\realbackslash, still used for index files).  When everything uses @,\n% this will be simpler.\n%\n\\def\\atdummies{%\n  \\def\\@{@@}%\n  \\def\\ {@ }%\n  \\let\\{ = \\lbraceatcmd\n  \\let\\} = \\rbraceatcmd\n  %\n  % Do the redefinitions.\n  \\commondummies\n  \\otherbackslash\n}\n\n% Called from \\indexdummies and \\atdummies.\n%\n\\def\\commondummies{%\n  %\n  % \\definedummyword defines \\#1 as \\string\\#1\\space, thus effectively\n  % preventing its expansion.  This is used only for control words,\n  % not control letters, because the \\space would be incorrect for\n  % control characters, but is needed to separate the control word\n  % from whatever follows.\n  %\n  % For control letters, we have \\definedummyletter, which omits the\n  % space.\n  %\n  % These can be used both for control words that take an argument and\n  % those that do not.  If it is followed by {arg} in the input, then\n  % that will dutifully get written to the index (or wherever).\n  %\n  \\def\\definedummyword  ##1{\\def##1{\\string##1\\space}}%\n  \\def\\definedummyletter##1{\\def##1{\\string##1}}%\n  \\let\\definedummyaccent\\definedummyletter\n  %\n  \\commondummiesnofonts\n  %\n  \\definedummyletter\\_%\n  \\definedummyletter\\-%\n  %\n  % Non-English letters.\n  \\definedummyword\\AA\n  \\definedummyword\\AE\n  \\definedummyword\\DH\n  \\definedummyword\\L\n  \\definedummyword\\O\n  \\definedummyword\\OE\n  \\definedummyword\\TH\n  \\definedummyword\\aa\n  \\definedummyword\\ae\n  \\definedummyword\\dh\n  \\definedummyword\\exclamdown\n  \\definedummyword\\l\n  \\definedummyword\\o\n  \\definedummyword\\oe\n  \\definedummyword\\ordf\n  \\definedummyword\\ordm\n  \\definedummyword\\questiondown\n  \\definedummyword\\ss\n  \\definedummyword\\th\n  %\n  % Although these internal commands shouldn't show up, sometimes they do.\n  \\definedummyword\\bf\n  \\definedummyword\\gtr\n  \\definedummyword\\hat\n  \\definedummyword\\less\n  \\definedummyword\\sf\n  \\definedummyword\\sl\n  \\definedummyword\\tclose\n  \\definedummyword\\tt\n  %\n  \\definedummyword\\LaTeX\n  \\definedummyword\\TeX\n  %\n  % Assorted special characters.\n  \\definedummyword\\arrow\n  \\definedummyword\\bullet\n  \\definedummyword\\comma\n  \\definedummyword\\copyright\n  \\definedummyword\\registeredsymbol\n  \\definedummyword\\dots\n  \\definedummyword\\enddots\n  \\definedummyword\\entrybreak\n  \\definedummyword\\equiv\n  \\definedummyword\\error\n  \\definedummyword\\euro\n  \\definedummyword\\expansion\n  \\definedummyword\\geq\n  \\definedummyword\\guillemetleft\n  \\definedummyword\\guillemetright\n  \\definedummyword\\guilsinglleft\n  \\definedummyword\\guilsinglright\n  \\definedummyword\\lbracechar\n  \\definedummyword\\leq\n  \\definedummyword\\minus\n  \\definedummyword\\ogonek\n  \\definedummyword\\pounds\n  \\definedummyword\\point\n  \\definedummyword\\print\n  \\definedummyword\\quotedblbase\n  \\definedummyword\\quotedblleft\n  \\definedummyword\\quotedblright\n  \\definedummyword\\quoteleft\n  \\definedummyword\\quoteright\n  \\definedummyword\\quotesinglbase\n  \\definedummyword\\rbracechar\n  \\definedummyword\\result\n  \\definedummyword\\textdegree\n  %\n  % We want to disable all macros so that they are not expanded by \\write.\n  \\macrolist\n  %\n  \\normalturnoffactive\n  %\n  % Handle some cases of @value -- where it does not contain any\n  % (non-fully-expandable) commands.\n  \\makevalueexpandable\n}\n\n% \\commondummiesnofonts: common to \\commondummies and \\indexnofonts.\n%\n\\def\\commondummiesnofonts{%\n  % Control letters and accents.\n  \\definedummyletter\\!%\n  \\definedummyaccent\\\"%\n  \\definedummyaccent\\'%\n  \\definedummyletter\\*%\n  \\definedummyaccent\\,%\n  \\definedummyletter\\.%\n  \\definedummyletter\\/%\n  \\definedummyletter\\:%\n  \\definedummyaccent\\=%\n  \\definedummyletter\\?%\n  \\definedummyaccent\\^%\n  \\definedummyaccent\\`%\n  \\definedummyaccent\\~%\n  \\definedummyword\\u\n  \\definedummyword\\v\n  \\definedummyword\\H\n  \\definedummyword\\dotaccent\n  \\definedummyword\\ogonek\n  \\definedummyword\\ringaccent\n  \\definedummyword\\tieaccent\n  \\definedummyword\\ubaraccent\n  \\definedummyword\\udotaccent\n  \\definedummyword\\dotless\n  %\n  % Texinfo font commands.\n  \\definedummyword\\b\n  \\definedummyword\\i\n  \\definedummyword\\r\n  \\definedummyword\\sansserif\n  \\definedummyword\\sc\n  \\definedummyword\\slanted\n  \\definedummyword\\t\n  %\n  % Commands that take arguments.\n  \\definedummyword\\abbr\n  \\definedummyword\\acronym\n  \\definedummyword\\anchor\n  \\definedummyword\\cite\n  \\definedummyword\\code\n  \\definedummyword\\command\n  \\definedummyword\\dfn\n  \\definedummyword\\dmn\n  \\definedummyword\\email\n  \\definedummyword\\emph\n  \\definedummyword\\env\n  \\definedummyword\\file\n  \\definedummyword\\image\n  \\definedummyword\\indicateurl\n  \\definedummyword\\inforef\n  \\definedummyword\\kbd\n  \\definedummyword\\key\n  \\definedummyword\\math\n  \\definedummyword\\option\n  \\definedummyword\\pxref\n  \\definedummyword\\ref\n  \\definedummyword\\samp\n  \\definedummyword\\strong\n  \\definedummyword\\tie\n  \\definedummyword\\uref\n  \\definedummyword\\url\n  \\definedummyword\\var\n  \\definedummyword\\verb\n  \\definedummyword\\w\n  \\definedummyword\\xref\n}\n\n% \\indexnofonts is used when outputting the strings to sort the index\n% by, and when constructing control sequence names.  It eliminates all\n% control sequences and just writes whatever the best ASCII sort string\n% would be for a given command (usually its argument).\n%\n\\def\\indexnofonts{%\n  % Accent commands should become @asis.\n  \\def\\definedummyaccent##1{\\let##1\\asis}%\n  % We can just ignore other control letters.\n  \\def\\definedummyletter##1{\\let##1\\empty}%\n  % All control words become @asis by default; overrides below.\n  \\let\\definedummyword\\definedummyaccent\n  %\n  \\commondummiesnofonts\n  %\n  % Don't no-op \\tt, since it isn't a user-level command\n  % and is used in the definitions of the active chars like <, >, |, etc.\n  % Likewise with the other plain tex font commands.\n  %\\let\\tt=\\asis\n  %\n  \\def\\ { }%\n  \\def\\@{@}%\n  \\def\\_{\\normalunderscore}%\n  \\def\\-{}% @- shouldn't affect sorting\n  %\n  % Unfortunately, texindex is not prepared to handle braces in the\n  % content at all.  So for index sorting, we map @{ and @} to strings\n  % starting with |, since that ASCII character is between ASCII { and }.\n  \\def\\{{|a}%\n  \\def\\lbracechar{|a}%\n  %\n  \\def\\}{|b}%\n  \\def\\rbracechar{|b}%\n  %\n  % Non-English letters.\n  \\def\\AA{AA}%\n  \\def\\AE{AE}%\n  \\def\\DH{DZZ}%\n  \\def\\L{L}%\n  \\def\\OE{OE}%\n  \\def\\O{O}%\n  \\def\\TH{ZZZ}%\n  \\def\\aa{aa}%\n  \\def\\ae{ae}%\n  \\def\\dh{dzz}%\n  \\def\\exclamdown{!}%\n  \\def\\l{l}%\n  \\def\\oe{oe}%\n  \\def\\ordf{a}%\n  \\def\\ordm{o}%\n  \\def\\o{o}%\n  \\def\\questiondown{?}%\n  \\def\\ss{ss}%\n  \\def\\th{zzz}%\n  %\n  \\def\\LaTeX{LaTeX}%\n  \\def\\TeX{TeX}%\n  %\n  % Assorted special characters.\n  % (The following {} will end up in the sort string, but that's ok.)\n  \\def\\arrow{->}%\n  \\def\\bullet{bullet}%\n  \\def\\comma{,}%\n  \\def\\copyright{copyright}%\n  \\def\\dots{...}%\n  \\def\\enddots{...}%\n  \\def\\equiv{==}%\n  \\def\\error{error}%\n  \\def\\euro{euro}%\n  \\def\\expansion{==>}%\n  \\def\\geq{>=}%\n  \\def\\guillemetleft{<<}%\n  \\def\\guillemetright{>>}%\n  \\def\\guilsinglleft{<}%\n  \\def\\guilsinglright{>}%\n  \\def\\leq{<=}%\n  \\def\\minus{-}%\n  \\def\\point{.}%\n  \\def\\pounds{pounds}%\n  \\def\\print{-|}%\n  \\def\\quotedblbase{\"}%\n  \\def\\quotedblleft{\"}%\n  \\def\\quotedblright{\"}%\n  \\def\\quoteleft{`}%\n  \\def\\quoteright{'}%\n  \\def\\quotesinglbase{,}%\n  \\def\\registeredsymbol{R}%\n  \\def\\result{=>}%\n  \\def\\textdegree{o}%\n  %\n  \\expandafter\\ifx\\csname SETtxiindexlquoteignore\\endcsname\\relax\n  \\else \\indexlquoteignore \\fi\n  %\n  % We need to get rid of all macros, leaving only the arguments (if present).\n  % Of course this is not nearly correct, but it is the best we can do for now.\n  % makeinfo does not expand macros in the argument to @deffn, which ends up\n  % writing an index entry, and texindex isn't prepared for an index sort entry\n  % that starts with \\.\n  %\n  % Since macro invocations are followed by braces, we can just redefine them\n  % to take a single TeX argument.  The case of a macro invocation that\n  % goes to end-of-line is not handled.\n  %\n  \\macrolist\n}\n\n% Undocumented (for FSFS 2nd ed.): @set txiindexlquoteignore makes us\n% ignore left quotes in the sort term.\n{\\catcode`\\`=\\active\n \\gdef\\indexlquoteignore{\\let`=\\empty}}\n\n\\let\\indexbackslash=0  %overridden during \\printindex.\n\\let\\SETmarginindex=\\relax % put index entries in margin (undocumented)?\n\n% Most index entries go through here, but \\dosubind is the general case.\n% #1 is the index name, #2 is the entry text.\n\\def\\doind#1#2{\\dosubind{#1}{#2}{}}\n\n% Workhorse for all \\fooindexes.\n% #1 is name of index, #2 is stuff to put there, #3 is subentry --\n% empty if called from \\doind, as we usually are (the main exception\n% is with most defuns, which call us directly).\n%\n\\def\\dosubind#1#2#3{%\n  \\iflinks\n  {%\n    % Store the main index entry text (including the third arg).\n    \\toks0 = {#2}%\n    % If third arg is present, precede it with a space.\n    \\def\\thirdarg{#3}%\n    \\ifx\\thirdarg\\empty \\else\n      \\toks0 = \\expandafter{\\the\\toks0 \\space #3}%\n    \\fi\n    %\n    \\edef\\writeto{\\csname#1indfile\\endcsname}%\n    %\n    \\safewhatsit\\dosubindwrite\n  }%\n  \\fi\n}\n\n% Write the entry in \\toks0 to the index file:\n%\n\\def\\dosubindwrite{%\n  % Put the index entry in the margin if desired.\n  \\ifx\\SETmarginindex\\relax\\else\n    \\insert\\margin{\\hbox{\\vrule height8pt depth3pt width0pt \\the\\toks0}}%\n  \\fi\n  %\n  % Remember, we are within a group.\n  \\indexdummies % Must do this here, since \\bf, etc expand at this stage\n  \\def\\backslashcurfont{\\indexbackslash}% \\indexbackslash isn't defined now\n      % so it will be output as is; and it will print as backslash.\n  %\n  % Process the index entry with all font commands turned off, to\n  % get the string to sort by.\n  {\\indexnofonts\n   \\edef\\temp{\\the\\toks0}% need full expansion\n   \\xdef\\indexsorttmp{\\temp}%\n  }%\n  %\n  % Set up the complete index entry, with both the sort key and\n  % the original text, including any font commands.  We write\n  % three arguments to \\entry to the .?? file (four in the\n  % subentry case), texindex reduces to two when writing the .??s\n  % sorted result.\n  \\edef\\temp{%\n    \\write\\writeto{%\n      \\string\\entry{\\indexsorttmp}{\\noexpand\\folio}{\\the\\toks0}}%\n  }%\n  \\temp\n}\n\n% Take care of unwanted page breaks/skips around a whatsit:\n%\n% If a skip is the last thing on the list now, preserve it\n% by backing up by \\lastskip, doing the \\write, then inserting\n% the skip again.  Otherwise, the whatsit generated by the\n% \\write or \\pdfdest will make \\lastskip zero.  The result is that\n% sequences like this:\n% @end defun\n% @tindex whatever\n% @defun ...\n% will have extra space inserted, because the \\medbreak in the\n% start of the @defun won't see the skip inserted by the @end of\n% the previous defun.\n%\n% But don't do any of this if we're not in vertical mode.  We\n% don't want to do a \\vskip and prematurely end a paragraph.\n%\n% Avoid page breaks due to these extra skips, too.\n%\n% But wait, there is a catch there:\n% We'll have to check whether \\lastskip is zero skip.  \\ifdim is not\n% sufficient for this purpose, as it ignores stretch and shrink parts\n% of the skip.  The only way seems to be to check the textual\n% representation of the skip.\n%\n% The following is almost like \\def\\zeroskipmacro{0.0pt} except that\n% the ``p'' and ``t'' characters have catcode \\other, not 11 (letter).\n%\n\\edef\\zeroskipmacro{\\expandafter\\the\\csname z@skip\\endcsname}\n%\n\\newskip\\whatsitskip\n\\newcount\\whatsitpenalty\n%\n% ..., ready, GO:\n%\n\\def\\safewhatsit#1{\\ifhmode\n  #1%\n \\else\n  % \\lastskip and \\lastpenalty cannot both be nonzero simultaneously.\n  \\whatsitskip = \\lastskip\n  \\edef\\lastskipmacro{\\the\\lastskip}%\n  \\whatsitpenalty = \\lastpenalty\n  %\n  % If \\lastskip is nonzero, that means the last item was a\n  % skip.  And since a skip is discardable, that means this\n  % -\\whatsitskip glue we're inserting is preceded by a\n  % non-discardable item, therefore it is not a potential\n  % breakpoint, therefore no \\nobreak needed.\n  \\ifx\\lastskipmacro\\zeroskipmacro\n  \\else\n    \\vskip-\\whatsitskip\n  \\fi\n  %\n  #1%\n  %\n  \\ifx\\lastskipmacro\\zeroskipmacro\n    % If \\lastskip was zero, perhaps the last item was a penalty, and\n    % perhaps it was >=10000, e.g., a \\nobreak.  In that case, we want\n    % to re-insert the same penalty (values >10000 are used for various\n    % signals); since we just inserted a non-discardable item, any\n    % following glue (such as a \\parskip) would be a breakpoint.  For example:\n    %   @deffn deffn-whatever\n    %   @vindex index-whatever\n    %   Description.\n    % would allow a break between the index-whatever whatsit\n    % and the \"Description.\" paragraph.\n    \\ifnum\\whatsitpenalty>9999 \\penalty\\whatsitpenalty \\fi\n  \\else\n    % On the other hand, if we had a nonzero \\lastskip,\n    % this make-up glue would be preceded by a non-discardable item\n    % (the whatsit from the \\write), so we must insert a \\nobreak.\n    \\nobreak\\vskip\\whatsitskip\n  \\fi\n\\fi}\n\n% The index entry written in the file actually looks like\n%  \\entry {sortstring}{page}{topic}\n% or\n%  \\entry {sortstring}{page}{topic}{subtopic}\n% The texindex program reads in these files and writes files\n% containing these kinds of lines:\n%  \\initial {c}\n%     before the first topic whose initial is c\n%  \\entry {topic}{pagelist}\n%     for a topic that is used without subtopics\n%  \\primary {topic}\n%     for the beginning of a topic that is used with subtopics\n%  \\secondary {subtopic}{pagelist}\n%     for each subtopic.\n\n% Define the user-accessible indexing commands\n% @findex, @vindex, @kindex, @cindex.\n\n\\def\\findex {\\fnindex}\n\\def\\kindex {\\kyindex}\n\\def\\cindex {\\cpindex}\n\\def\\vindex {\\vrindex}\n\\def\\tindex {\\tpindex}\n\\def\\pindex {\\pgindex}\n\n\\def\\cindexsub {\\begingroup\\obeylines\\cindexsub}\n{\\obeylines %\n\\gdef\\cindexsub \"#1\" #2^^M{\\endgroup %\n\\dosubind{cp}{#2}{#1}}}\n\n% Define the macros used in formatting output of the sorted index material.\n\n% @printindex causes a particular index (the ??s file) to get printed.\n% It does not print any chapter heading (usually an @unnumbered).\n%\n\\parseargdef\\printindex{\\begingroup\n  \\dobreak \\chapheadingskip{10000}%\n  %\n  \\smallfonts \\rm\n  \\tolerance = 9500\n  \\plainfrenchspacing\n  \\everypar = {}% don't want the \\kern\\-parindent from indentation suppression.\n  %\n  % See if the index file exists and is nonempty.\n  % Change catcode of @ here so that if the index file contains\n  % \\initial {@}\n  % as its first line, TeX doesn't complain about mismatched braces\n  % (because it thinks @} is a control sequence).\n  \\catcode`\\@ = 11\n  \\openin 1 \\jobname.#1s\n  \\ifeof 1\n    % \\enddoublecolumns gets confused if there is no text in the index,\n    % and it loses the chapter title and the aux file entries for the\n    % index.  The easiest way to prevent this problem is to make sure\n    % there is some text.\n    \\putwordIndexNonexistent\n  \\else\n    %\n    % If the index file exists but is empty, then \\openin leaves \\ifeof\n    % false.  We have to make TeX try to read something from the file, so\n    % it can discover if there is anything in it.\n    \\read 1 to \\temp\n    \\ifeof 1\n      \\putwordIndexIsEmpty\n    \\else\n      % Index files are almost Texinfo source, but we use \\ as the escape\n      % character.  It would be better to use @, but that's too big a change\n      % to make right now.\n      \\def\\indexbackslash{\\backslashcurfont}%\n      \\catcode`\\\\ = 0\n      \\escapechar = `\\\\\n      \\begindoublecolumns\n      \\input \\jobname.#1s\n      \\enddoublecolumns\n    \\fi\n  \\fi\n  \\closein 1\n\\endgroup}\n\n% These macros are used by the sorted index file itself.\n% Change them to control the appearance of the index.\n\n\\def\\initial#1{{%\n  % Some minor font changes for the special characters.\n  \\let\\tentt=\\sectt \\let\\tt=\\sectt \\let\\sf=\\sectt\n  %\n  % Remove any glue we may have, we'll be inserting our own.\n  \\removelastskip\n  %\n  % We like breaks before the index initials, so insert a bonus.\n  \\nobreak\n  \\vskip 0pt plus 3\\baselineskip\n  \\penalty 0\n  \\vskip 0pt plus -3\\baselineskip\n  %\n  % Typeset the initial.  Making this add up to a whole number of\n  % baselineskips increases the chance of the dots lining up from column\n  % to column.  It still won't often be perfect, because of the stretch\n  % we need before each entry, but it's better.\n  %\n  % No shrink because it confuses \\balancecolumns.\n  \\vskip 1.67\\baselineskip plus .5\\baselineskip\n  \\leftline{\\secbf #1}%\n  % Do our best not to break after the initial.\n  \\nobreak\n  \\vskip .33\\baselineskip plus .1\\baselineskip\n}}\n\n% \\entry typesets a paragraph consisting of the text (#1), dot leaders, and\n% then page number (#2) flushed to the right margin.  It is used for index\n% and table of contents entries.  The paragraph is indented by \\leftskip.\n%\n% A straightforward implementation would start like this:\n%\t\\def\\entry#1#2{...\n% But this freezes the catcodes in the argument, and can cause problems to\n% @code, which sets - active.  This problem was fixed by a kludge---\n% ``-'' was active throughout whole index, but this isn't really right.\n% The right solution is to prevent \\entry from swallowing the whole text.\n%                                 --kasal, 21nov03\n\\def\\entry{%\n  \\begingroup\n    %\n    % Start a new paragraph if necessary, so our assignments below can't\n    % affect previous text.\n    \\par\n    %\n    % Do not fill out the last line with white space.\n    \\parfillskip = 0in\n    %\n    % No extra space above this paragraph.\n    \\parskip = 0in\n    %\n    % Do not prefer a separate line ending with a hyphen to fewer lines.\n    \\finalhyphendemerits = 0\n    %\n    % \\hangindent is only relevant when the entry text and page number\n    % don't both fit on one line.  In that case, bob suggests starting the\n    % dots pretty far over on the line.  Unfortunately, a large\n    % indentation looks wrong when the entry text itself is broken across\n    % lines.  So we use a small indentation and put up with long leaders.\n    %\n    % \\hangafter is reset to 1 (which is the value we want) at the start\n    % of each paragraph, so we need not do anything with that.\n    \\hangindent = 2em\n    %\n    % When the entry text needs to be broken, just fill out the first line\n    % with blank space.\n    \\rightskip = 0pt plus1fil\n    %\n    % A bit of stretch before each entry for the benefit of balancing\n    % columns.\n    \\vskip 0pt plus1pt\n    %\n    % When reading the text of entry, convert explicit line breaks\n    % from @* into spaces.  The user might give these in long section\n    % titles, for instance.\n    \\def\\*{\\unskip\\space\\ignorespaces}%\n    \\def\\entrybreak{\\hfil\\break}%\n    %\n    % Swallow the left brace of the text (first parameter):\n    \\afterassignment\\doentry\n    \\let\\temp =\n}\n\\def\\entrybreak{\\unskip\\space\\ignorespaces}%\n\\def\\doentry{%\n    \\bgroup % Instead of the swallowed brace.\n      \\noindent\n      \\aftergroup\\finishentry\n      % And now comes the text of the entry.\n}\n\\def\\finishentry#1{%\n    % #1 is the page number.\n    %\n    % The following is kludged to not output a line of dots in the index if\n    % there are no page numbers.  The next person who breaks this will be\n    % cursed by a Unix daemon.\n    \\setbox\\boxA = \\hbox{#1}%\n    \\ifdim\\wd\\boxA = 0pt\n      \\ %\n    \\else\n      %\n      % If we must, put the page number on a line of its own, and fill out\n      % this line with blank space.  (The \\hfil is overwhelmed with the\n      % fill leaders glue in \\indexdotfill if the page number does fit.)\n      \\hfil\\penalty50\n      \\null\\nobreak\\indexdotfill % Have leaders before the page number.\n      %\n      % The `\\ ' here is removed by the implicit \\unskip that TeX does as\n      % part of (the primitive) \\par.  Without it, a spurious underfull\n      % \\hbox ensues.\n      \\ifpdf\n\t\\pdfgettoks#1.%\n\t\\ \\the\\toksA\n      \\else\n\t\\ #1%\n      \\fi\n    \\fi\n    \\par\n  \\endgroup\n}\n\n% Like plain.tex's \\dotfill, except uses up at least 1 em.\n\\def\\indexdotfill{\\cleaders\n  \\hbox{$\\mathsurround=0pt \\mkern1.5mu.\\mkern1.5mu$}\\hskip 1em plus 1fill}\n\n\\def\\primary #1{\\line{#1\\hfil}}\n\n\\newskip\\secondaryindent \\secondaryindent=0.5cm\n\\def\\secondary#1#2{{%\n  \\parfillskip=0in\n  \\parskip=0in\n  \\hangindent=1in\n  \\hangafter=1\n  \\noindent\\hskip\\secondaryindent\\hbox{#1}\\indexdotfill\n  \\ifpdf\n    \\pdfgettoks#2.\\ \\the\\toksA % The page number ends the paragraph.\n  \\else\n    #2\n  \\fi\n  \\par\n}}\n\n% Define two-column mode, which we use to typeset indexes.\n% Adapted from the TeXbook, page 416, which is to say,\n% the manmac.tex format used to print the TeXbook itself.\n\\catcode`\\@=11\n\n\\newbox\\partialpage\n\\newdimen\\doublecolumnhsize\n\n\\def\\begindoublecolumns{\\begingroup % ended by \\enddoublecolumns\n  % Grab any single-column material above us.\n  \\output = {%\n    %\n    % Here is a possibility not foreseen in manmac: if we accumulate a\n    % whole lot of material, we might end up calling this \\output\n    % routine twice in a row (see the doublecol-lose test, which is\n    % essentially a couple of indexes with @setchapternewpage off).  In\n    % that case we just ship out what is in \\partialpage with the normal\n    % output routine.  Generally, \\partialpage will be empty when this\n    % runs and this will be a no-op.  See the indexspread.tex test case.\n    \\ifvoid\\partialpage \\else\n      \\onepageout{\\pagecontents\\partialpage}%\n    \\fi\n    %\n    \\global\\setbox\\partialpage = \\vbox{%\n      % Unvbox the main output page.\n      \\unvbox\\PAGE\n      \\kern-\\topskip \\kern\\baselineskip\n    }%\n  }%\n  \\eject % run that output routine to set \\partialpage\n  %\n  % Use the double-column output routine for subsequent pages.\n  \\output = {\\doublecolumnout}%\n  %\n  % Change the page size parameters.  We could do this once outside this\n  % routine, in each of @smallbook, @afourpaper, and the default 8.5x11\n  % format, but then we repeat the same computation.  Repeating a couple\n  % of assignments once per index is clearly meaningless for the\n  % execution time, so we may as well do it in one place.\n  %\n  % First we halve the line length, less a little for the gutter between\n  % the columns.  We compute the gutter based on the line length, so it\n  % changes automatically with the paper format.  The magic constant\n  % below is chosen so that the gutter has the same value (well, +-<1pt)\n  % as it did when we hard-coded it.\n  %\n  % We put the result in a separate register, \\doublecolumhsize, so we\n  % can restore it in \\pagesofar, after \\hsize itself has (potentially)\n  % been clobbered.\n  %\n  \\doublecolumnhsize = \\hsize\n    \\advance\\doublecolumnhsize by -.04154\\hsize\n    \\divide\\doublecolumnhsize by 2\n  \\hsize = \\doublecolumnhsize\n  %\n  % Double the \\vsize as well.  (We don't need a separate register here,\n  % since nobody clobbers \\vsize.)\n  \\vsize = 2\\vsize\n}\n\n% The double-column output routine for all double-column pages except\n% the last.\n%\n\\def\\doublecolumnout{%\n  \\splittopskip=\\topskip \\splitmaxdepth=\\maxdepth\n  % Get the available space for the double columns -- the normal\n  % (undoubled) page height minus any material left over from the\n  % previous page.\n  \\dimen@ = \\vsize\n  \\divide\\dimen@ by 2\n  \\advance\\dimen@ by -\\ht\\partialpage\n  %\n  % box0 will be the left-hand column, box2 the right.\n  \\setbox0=\\vsplit255 to\\dimen@ \\setbox2=\\vsplit255 to\\dimen@\n  \\onepageout\\pagesofar\n  \\unvbox255\n  \\penalty\\outputpenalty\n}\n%\n% Re-output the contents of the output page -- any previous material,\n% followed by the two boxes we just split, in box0 and box2.\n\\def\\pagesofar{%\n  \\unvbox\\partialpage\n  %\n  \\hsize = \\doublecolumnhsize\n  \\wd0=\\hsize \\wd2=\\hsize\n  \\hbox to\\pagewidth{\\box0\\hfil\\box2}%\n}\n%\n% All done with double columns.\n\\def\\enddoublecolumns{%\n  % The following penalty ensures that the page builder is exercised\n  % _before_ we change the output routine.  This is necessary in the\n  % following situation:\n  %\n  % The last section of the index consists only of a single entry.\n  % Before this section, \\pagetotal is less than \\pagegoal, so no\n  % break occurs before the last section starts.  However, the last\n  % section, consisting of \\initial and the single \\entry, does not\n  % fit on the page and has to be broken off.  Without the following\n  % penalty the page builder will not be exercised until \\eject\n  % below, and by that time we'll already have changed the output\n  % routine to the \\balancecolumns version, so the next-to-last\n  % double-column page will be processed with \\balancecolumns, which\n  % is wrong:  The two columns will go to the main vertical list, with\n  % the broken-off section in the recent contributions.  As soon as\n  % the output routine finishes, TeX starts reconsidering the page\n  % break.  The two columns and the broken-off section both fit on the\n  % page, because the two columns now take up only half of the page\n  % goal.  When TeX sees \\eject from below which follows the final\n  % section, it invokes the new output routine that we've set after\n  % \\balancecolumns below; \\onepageout will try to fit the two columns\n  % and the final section into the vbox of \\pageheight (see\n  % \\pagebody), causing an overfull box.\n  %\n  % Note that glue won't work here, because glue does not exercise the\n  % page builder, unlike penalties (see The TeXbook, pp. 280-281).\n  \\penalty0\n  %\n  \\output = {%\n    % Split the last of the double-column material.  Leave it on the\n    % current page, no automatic page break.\n    \\balancecolumns\n    %\n    % If we end up splitting too much material for the current page,\n    % though, there will be another page break right after this \\output\n    % invocation ends.  Having called \\balancecolumns once, we do not\n    % want to call it again.  Therefore, reset \\output to its normal\n    % definition right away.  (We hope \\balancecolumns will never be\n    % called on to balance too much material, but if it is, this makes\n    % the output somewhat more palatable.)\n    \\global\\output = {\\onepageout{\\pagecontents\\PAGE}}%\n  }%\n  \\eject\n  \\endgroup % started in \\begindoublecolumns\n  %\n  % \\pagegoal was set to the doubled \\vsize above, since we restarted\n  % the current page.  We're now back to normal single-column\n  % typesetting, so reset \\pagegoal to the normal \\vsize (after the\n  % \\endgroup where \\vsize got restored).\n  \\pagegoal = \\vsize\n}\n%\n% Called at the end of the double column material.\n\\def\\balancecolumns{%\n  \\setbox0 = \\vbox{\\unvbox255}% like \\box255 but more efficient, see p.120.\n  \\dimen@ = \\ht0\n  \\advance\\dimen@ by \\topskip\n  \\advance\\dimen@ by-\\baselineskip\n  \\divide\\dimen@ by 2 % target to split to\n  %debug\\message{final 2-column material height=\\the\\ht0, target=\\the\\dimen@.}%\n  \\splittopskip = \\topskip\n  % Loop until we get a decent breakpoint.\n  {%\n    \\vbadness = 10000\n    \\loop\n      \\global\\setbox3 = \\copy0\n      \\global\\setbox1 = \\vsplit3 to \\dimen@\n    \\ifdim\\ht3>\\dimen@\n      \\global\\advance\\dimen@ by 1pt\n    \\repeat\n  }%\n  %debug\\message{split to \\the\\dimen@, column heights: \\the\\ht1, \\the\\ht3.}%\n  \\setbox0=\\vbox to\\dimen@{\\unvbox1}%\n  \\setbox2=\\vbox to\\dimen@{\\unvbox3}%\n  %\n  \\pagesofar\n}\n\\catcode`\\@ = \\other\n\n\n\\message{sectioning,}\n% Chapters, sections, etc.\n\n% Let's start with @part.\n\\outer\\parseargdef\\part{\\partzzz{#1}}\n\\def\\partzzz#1{%\n  \\chapoddpage\n  \\null\n  \\vskip.3\\vsize  % move it down on the page a bit\n  \\begingroup\n    \\noindent \\titlefonts\\rmisbold #1\\par % the text\n    \\let\\lastnode=\\empty      % no node to associate with\n    \\writetocentry{part}{#1}{}% but put it in the toc\n    \\headingsoff              % no headline or footline on the part page\n    \\chapoddpage\n  \\endgroup\n}\n\n% \\unnumberedno is an oxymoron.  But we count the unnumbered\n% sections so that we can refer to them unambiguously in the pdf\n% outlines by their \"section number\".  We avoid collisions with chapter\n% numbers by starting them at 10000.  (If a document ever has 10000\n% chapters, we're in trouble anyway, I'm sure.)\n\\newcount\\unnumberedno \\unnumberedno = 10000\n\\newcount\\chapno\n\\newcount\\secno        \\secno=0\n\\newcount\\subsecno     \\subsecno=0\n\\newcount\\subsubsecno  \\subsubsecno=0\n\n% This counter is funny since it counts through charcodes of letters A, B, ...\n\\newcount\\appendixno  \\appendixno = `\\@\n%\n% \\def\\appendixletter{\\char\\the\\appendixno}\n% We do the following ugly conditional instead of the above simple\n% construct for the sake of pdftex, which needs the actual\n% letter in the expansion, not just typeset.\n%\n\\def\\appendixletter{%\n  \\ifnum\\appendixno=`A A%\n  \\else\\ifnum\\appendixno=`B B%\n  \\else\\ifnum\\appendixno=`C C%\n  \\else\\ifnum\\appendixno=`D D%\n  \\else\\ifnum\\appendixno=`E E%\n  \\else\\ifnum\\appendixno=`F F%\n  \\else\\ifnum\\appendixno=`G G%\n  \\else\\ifnum\\appendixno=`H H%\n  \\else\\ifnum\\appendixno=`I I%\n  \\else\\ifnum\\appendixno=`J J%\n  \\else\\ifnum\\appendixno=`K K%\n  \\else\\ifnum\\appendixno=`L L%\n  \\else\\ifnum\\appendixno=`M M%\n  \\else\\ifnum\\appendixno=`N N%\n  \\else\\ifnum\\appendixno=`O O%\n  \\else\\ifnum\\appendixno=`P P%\n  \\else\\ifnum\\appendixno=`Q Q%\n  \\else\\ifnum\\appendixno=`R R%\n  \\else\\ifnum\\appendixno=`S S%\n  \\else\\ifnum\\appendixno=`T T%\n  \\else\\ifnum\\appendixno=`U U%\n  \\else\\ifnum\\appendixno=`V V%\n  \\else\\ifnum\\appendixno=`W W%\n  \\else\\ifnum\\appendixno=`X X%\n  \\else\\ifnum\\appendixno=`Y Y%\n  \\else\\ifnum\\appendixno=`Z Z%\n  % The \\the is necessary, despite appearances, because \\appendixletter is\n  % expanded while writing the .toc file.  \\char\\appendixno is not\n  % expandable, thus it is written literally, thus all appendixes come out\n  % with the same letter (or @) in the toc without it.\n  \\else\\char\\the\\appendixno\n  \\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\n  \\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi\\fi}\n\n% Each @chapter defines these (using marks) as the number+name, number\n% and name of the chapter.  Page headings and footings can use\n% these.  @section does likewise.\n\\def\\thischapter{}\n\\def\\thischapternum{}\n\\def\\thischaptername{}\n\\def\\thissection{}\n\\def\\thissectionnum{}\n\\def\\thissectionname{}\n\n\\newcount\\absseclevel % used to calculate proper heading level\n\\newcount\\secbase\\secbase=0 % @raisesections/@lowersections modify this count\n\n% @raisesections: treat @section as chapter, @subsection as section, etc.\n\\def\\raisesections{\\global\\advance\\secbase by -1}\n\\let\\up=\\raisesections % original BFox name\n\n% @lowersections: treat @chapter as section, @section as subsection, etc.\n\\def\\lowersections{\\global\\advance\\secbase by 1}\n\\let\\down=\\lowersections % original BFox name\n\n% we only have subsub.\n\\chardef\\maxseclevel = 3\n%\n% A numbered section within an unnumbered changes to unnumbered too.\n% To achieve this, remember the \"biggest\" unnum. sec. we are currently in:\n\\chardef\\unnlevel = \\maxseclevel\n%\n% Trace whether the current chapter is an appendix or not:\n% \\chapheadtype is \"N\" or \"A\", unnumbered chapters are ignored.\n\\def\\chapheadtype{N}\n\n% Choose a heading macro\n% #1 is heading type\n% #2 is heading level\n% #3 is text for heading\n\\def\\genhead#1#2#3{%\n  % Compute the abs. sec. level:\n  \\absseclevel=#2\n  \\advance\\absseclevel by \\secbase\n  % Make sure \\absseclevel doesn't fall outside the range:\n  \\ifnum \\absseclevel < 0\n    \\absseclevel = 0\n  \\else\n    \\ifnum \\absseclevel > 3\n      \\absseclevel = 3\n    \\fi\n  \\fi\n  % The heading type:\n  \\def\\headtype{#1}%\n  \\if \\headtype U%\n    \\ifnum \\absseclevel < \\unnlevel\n      \\chardef\\unnlevel = \\absseclevel\n    \\fi\n  \\else\n    % Check for appendix sections:\n    \\ifnum \\absseclevel = 0\n      \\edef\\chapheadtype{\\headtype}%\n    \\else\n      \\if \\headtype A\\if \\chapheadtype N%\n\t\\errmessage{@appendix... within a non-appendix chapter}%\n      \\fi\\fi\n    \\fi\n    % Check for numbered within unnumbered:\n    \\ifnum \\absseclevel > \\unnlevel\n      \\def\\headtype{U}%\n    \\else\n      \\chardef\\unnlevel = 3\n    \\fi\n  \\fi\n  % Now print the heading:\n  \\if \\headtype U%\n    \\ifcase\\absseclevel\n\t\\unnumberedzzz{#3}%\n    \\or \\unnumberedseczzz{#3}%\n    \\or \\unnumberedsubseczzz{#3}%\n    \\or \\unnumberedsubsubseczzz{#3}%\n    \\fi\n  \\else\n    \\if \\headtype A%\n      \\ifcase\\absseclevel\n\t  \\appendixzzz{#3}%\n      \\or \\appendixsectionzzz{#3}%\n      \\or \\appendixsubseczzz{#3}%\n      \\or \\appendixsubsubseczzz{#3}%\n      \\fi\n    \\else\n      \\ifcase\\absseclevel\n\t  \\chapterzzz{#3}%\n      \\or \\seczzz{#3}%\n      \\or \\numberedsubseczzz{#3}%\n      \\or \\numberedsubsubseczzz{#3}%\n      \\fi\n    \\fi\n  \\fi\n  \\suppressfirstparagraphindent\n}\n\n% an interface:\n\\def\\numhead{\\genhead N}\n\\def\\apphead{\\genhead A}\n\\def\\unnmhead{\\genhead U}\n\n% @chapter, @appendix, @unnumbered.  Increment top-level counter, reset\n% all lower-level sectioning counters to zero.\n%\n% Also set \\chaplevelprefix, which we prepend to @float sequence numbers\n% (e.g., figures), q.v.  By default (before any chapter), that is empty.\n\\let\\chaplevelprefix = \\empty\n%\n\\outer\\parseargdef\\chapter{\\numhead0{#1}} % normally numhead0 calls chapterzzz\n\\def\\chapterzzz#1{%\n  % section resetting is \\global in case the chapter is in a group, such\n  % as an @include file.\n  \\global\\secno=0 \\global\\subsecno=0 \\global\\subsubsecno=0\n    \\global\\advance\\chapno by 1\n  %\n  % Used for \\float.\n  \\gdef\\chaplevelprefix{\\the\\chapno.}%\n  \\resetallfloatnos\n  %\n  % \\putwordChapter can contain complex things in translations.\n  \\toks0=\\expandafter{\\putwordChapter}%\n  \\message{\\the\\toks0 \\space \\the\\chapno}%\n  %\n  % Write the actual heading.\n  \\chapmacro{#1}{Ynumbered}{\\the\\chapno}%\n  %\n  % So @section and the like are numbered underneath this chapter.\n  \\global\\let\\section = \\numberedsec\n  \\global\\let\\subsection = \\numberedsubsec\n  \\global\\let\\subsubsection = \\numberedsubsubsec\n}\n\n\\outer\\parseargdef\\appendix{\\apphead0{#1}} % normally calls appendixzzz\n%\n\\def\\appendixzzz#1{%\n  \\global\\secno=0 \\global\\subsecno=0 \\global\\subsubsecno=0\n    \\global\\advance\\appendixno by 1\n  \\gdef\\chaplevelprefix{\\appendixletter.}%\n  \\resetallfloatnos\n  %\n  % \\putwordAppendix can contain complex things in translations.\n  \\toks0=\\expandafter{\\putwordAppendix}%\n  \\message{\\the\\toks0 \\space \\appendixletter}%\n  %\n  \\chapmacro{#1}{Yappendix}{\\appendixletter}%\n  %\n  \\global\\let\\section = \\appendixsec\n  \\global\\let\\subsection = \\appendixsubsec\n  \\global\\let\\subsubsection = \\appendixsubsubsec\n}\n\n% normally unnmhead0 calls unnumberedzzz:\n\\outer\\parseargdef\\unnumbered{\\unnmhead0{#1}}\n\\def\\unnumberedzzz#1{%\n  \\global\\secno=0 \\global\\subsecno=0 \\global\\subsubsecno=0\n    \\global\\advance\\unnumberedno by 1\n  %\n  % Since an unnumbered has no number, no prefix for figures.\n  \\global\\let\\chaplevelprefix = \\empty\n  \\resetallfloatnos\n  %\n  % This used to be simply \\message{#1}, but TeX fully expands the\n  % argument to \\message.  Therefore, if #1 contained @-commands, TeX\n  % expanded them.  For example, in `@unnumbered The @cite{Book}', TeX\n  % expanded @cite (which turns out to cause errors because \\cite is meant\n  % to be executed, not expanded).\n  %\n  % Anyway, we don't want the fully-expanded definition of @cite to appear\n  % as a result of the \\message, we just want `@cite' itself.  We use\n  % \\the<toks register> to achieve this: TeX expands \\the<toks> only once,\n  % simply yielding the contents of <toks register>.  (We also do this for\n  % the toc entries.)\n  \\toks0 = {#1}%\n  \\message{(\\the\\toks0)}%\n  %\n  \\chapmacro{#1}{Ynothing}{\\the\\unnumberedno}%\n  %\n  \\global\\let\\section = \\unnumberedsec\n  \\global\\let\\subsection = \\unnumberedsubsec\n  \\global\\let\\subsubsection = \\unnumberedsubsubsec\n}\n\n% @centerchap is like @unnumbered, but the heading is centered.\n\\outer\\parseargdef\\centerchap{%\n  % Well, we could do the following in a group, but that would break\n  % an assumption that \\chapmacro is called at the outermost level.\n  % Thus we are safer this way:\t\t--kasal, 24feb04\n  \\let\\centerparametersmaybe = \\centerparameters\n  \\unnmhead0{#1}%\n  \\let\\centerparametersmaybe = \\relax\n}\n\n% @top is like @unnumbered.\n\\let\\top\\unnumbered\n\n% Sections.\n% \n\\outer\\parseargdef\\numberedsec{\\numhead1{#1}} % normally calls seczzz\n\\def\\seczzz#1{%\n  \\global\\subsecno=0 \\global\\subsubsecno=0  \\global\\advance\\secno by 1\n  \\sectionheading{#1}{sec}{Ynumbered}{\\the\\chapno.\\the\\secno}%\n}\n\n% normally calls appendixsectionzzz:\n\\outer\\parseargdef\\appendixsection{\\apphead1{#1}}\n\\def\\appendixsectionzzz#1{%\n  \\global\\subsecno=0 \\global\\subsubsecno=0  \\global\\advance\\secno by 1\n  \\sectionheading{#1}{sec}{Yappendix}{\\appendixletter.\\the\\secno}%\n}\n\\let\\appendixsec\\appendixsection\n\n% normally calls unnumberedseczzz:\n\\outer\\parseargdef\\unnumberedsec{\\unnmhead1{#1}}\n\\def\\unnumberedseczzz#1{%\n  \\global\\subsecno=0 \\global\\subsubsecno=0  \\global\\advance\\secno by 1\n  \\sectionheading{#1}{sec}{Ynothing}{\\the\\unnumberedno.\\the\\secno}%\n}\n\n% Subsections.\n% \n% normally calls numberedsubseczzz:\n\\outer\\parseargdef\\numberedsubsec{\\numhead2{#1}}\n\\def\\numberedsubseczzz#1{%\n  \\global\\subsubsecno=0  \\global\\advance\\subsecno by 1\n  \\sectionheading{#1}{subsec}{Ynumbered}{\\the\\chapno.\\the\\secno.\\the\\subsecno}%\n}\n\n% normally calls appendixsubseczzz:\n\\outer\\parseargdef\\appendixsubsec{\\apphead2{#1}}\n\\def\\appendixsubseczzz#1{%\n  \\global\\subsubsecno=0  \\global\\advance\\subsecno by 1\n  \\sectionheading{#1}{subsec}{Yappendix}%\n                 {\\appendixletter.\\the\\secno.\\the\\subsecno}%\n}\n\n% normally calls unnumberedsubseczzz:\n\\outer\\parseargdef\\unnumberedsubsec{\\unnmhead2{#1}}\n\\def\\unnumberedsubseczzz#1{%\n  \\global\\subsubsecno=0  \\global\\advance\\subsecno by 1\n  \\sectionheading{#1}{subsec}{Ynothing}%\n                 {\\the\\unnumberedno.\\the\\secno.\\the\\subsecno}%\n}\n\n% Subsubsections.\n% \n% normally numberedsubsubseczzz:\n\\outer\\parseargdef\\numberedsubsubsec{\\numhead3{#1}}\n\\def\\numberedsubsubseczzz#1{%\n  \\global\\advance\\subsubsecno by 1\n  \\sectionheading{#1}{subsubsec}{Ynumbered}%\n                 {\\the\\chapno.\\the\\secno.\\the\\subsecno.\\the\\subsubsecno}%\n}\n\n% normally appendixsubsubseczzz:\n\\outer\\parseargdef\\appendixsubsubsec{\\apphead3{#1}}\n\\def\\appendixsubsubseczzz#1{%\n  \\global\\advance\\subsubsecno by 1\n  \\sectionheading{#1}{subsubsec}{Yappendix}%\n                 {\\appendixletter.\\the\\secno.\\the\\subsecno.\\the\\subsubsecno}%\n}\n\n% normally unnumberedsubsubseczzz:\n\\outer\\parseargdef\\unnumberedsubsubsec{\\unnmhead3{#1}}\n\\def\\unnumberedsubsubseczzz#1{%\n  \\global\\advance\\subsubsecno by 1\n  \\sectionheading{#1}{subsubsec}{Ynothing}%\n                 {\\the\\unnumberedno.\\the\\secno.\\the\\subsecno.\\the\\subsubsecno}%\n}\n\n% These macros control what the section commands do, according\n% to what kind of chapter we are in (ordinary, appendix, or unnumbered).\n% Define them by default for a numbered chapter.\n\\let\\section = \\numberedsec\n\\let\\subsection = \\numberedsubsec\n\\let\\subsubsection = \\numberedsubsubsec\n\n% Define @majorheading, @heading and @subheading\n\n\\def\\majorheading{%\n  {\\advance\\chapheadingskip by 10pt \\chapbreak }%\n  \\parsearg\\chapheadingzzz\n}\n\n\\def\\chapheading{\\chapbreak \\parsearg\\chapheadingzzz}\n\\def\\chapheadingzzz#1{%\n  \\vbox{\\chapfonts \\raggedtitlesettings #1\\par}%\n  \\nobreak\\bigskip \\nobreak\n  \\suppressfirstparagraphindent\n}\n\n% @heading, @subheading, @subsubheading.\n\\parseargdef\\heading{\\sectionheading{#1}{sec}{Yomitfromtoc}{}\n  \\suppressfirstparagraphindent}\n\\parseargdef\\subheading{\\sectionheading{#1}{subsec}{Yomitfromtoc}{}\n  \\suppressfirstparagraphindent}\n\\parseargdef\\subsubheading{\\sectionheading{#1}{subsubsec}{Yomitfromtoc}{}\n  \\suppressfirstparagraphindent}\n\n% These macros generate a chapter, section, etc. heading only\n% (including whitespace, linebreaking, etc. around it),\n% given all the information in convenient, parsed form.\n\n% Args are the skip and penalty (usually negative)\n\\def\\dobreak#1#2{\\par\\ifdim\\lastskip<#1\\removelastskip\\penalty#2\\vskip#1\\fi}\n\n% Parameter controlling skip before chapter headings (if needed)\n\\newskip\\chapheadingskip\n\n% Define plain chapter starts, and page on/off switching for it.\n\\def\\chapbreak{\\dobreak \\chapheadingskip {-4000}}\n\\def\\chappager{\\par\\vfill\\supereject}\n% Because \\domark is called before \\chapoddpage, the filler page will\n% get the headings for the next chapter, which is wrong.  But we don't\n% care -- we just disable all headings on the filler page.\n\\def\\chapoddpage{%\n  \\chappager\n  \\ifodd\\pageno \\else\n    \\begingroup\n      \\headingsoff\n      \\null\n      \\chappager\n    \\endgroup\n  \\fi\n}\n\n\\def\\setchapternewpage #1 {\\csname CHAPPAG#1\\endcsname}\n\n\\def\\CHAPPAGoff{%\n\\global\\let\\contentsalignmacro = \\chappager\n\\global\\let\\pchapsepmacro=\\chapbreak\n\\global\\let\\pagealignmacro=\\chappager}\n\n\\def\\CHAPPAGon{%\n\\global\\let\\contentsalignmacro = \\chappager\n\\global\\let\\pchapsepmacro=\\chappager\n\\global\\let\\pagealignmacro=\\chappager\n\\global\\def\\HEADINGSon{\\HEADINGSsingle}}\n\n\\def\\CHAPPAGodd{%\n\\global\\let\\contentsalignmacro = \\chapoddpage\n\\global\\let\\pchapsepmacro=\\chapoddpage\n\\global\\let\\pagealignmacro=\\chapoddpage\n\\global\\def\\HEADINGSon{\\HEADINGSdouble}}\n\n\\CHAPPAGon\n\n% Chapter opening.\n%\n% #1 is the text, #2 is the section type (Ynumbered, Ynothing,\n% Yappendix, Yomitfromtoc), #3 the chapter number.\n%\n% To test against our argument.\n\\def\\Ynothingkeyword{Ynothing}\n\\def\\Yomitfromtockeyword{Yomitfromtoc}\n\\def\\Yappendixkeyword{Yappendix}\n%\n\\def\\chapmacro#1#2#3{%\n  % Insert the first mark before the heading break (see notes for \\domark).\n  \\let\\prevchapterdefs=\\lastchapterdefs\n  \\let\\prevsectiondefs=\\lastsectiondefs\n  \\gdef\\lastsectiondefs{\\gdef\\thissectionname{}\\gdef\\thissectionnum{}%\n                        \\gdef\\thissection{}}%\n  %\n  \\def\\temptype{#2}%\n  \\ifx\\temptype\\Ynothingkeyword\n    \\gdef\\lastchapterdefs{\\gdef\\thischaptername{#1}\\gdef\\thischapternum{}%\n                          \\gdef\\thischapter{\\thischaptername}}%\n  \\else\\ifx\\temptype\\Yomitfromtockeyword\n    \\gdef\\lastchapterdefs{\\gdef\\thischaptername{#1}\\gdef\\thischapternum{}%\n                          \\gdef\\thischapter{}}%\n  \\else\\ifx\\temptype\\Yappendixkeyword\n    \\toks0={#1}%\n    \\xdef\\lastchapterdefs{%\n      \\gdef\\noexpand\\thischaptername{\\the\\toks0}%\n      \\gdef\\noexpand\\thischapternum{\\appendixletter}%\n      % \\noexpand\\putwordAppendix avoids expanding indigestible\n      % commands in some of the translations.\n      \\gdef\\noexpand\\thischapter{\\noexpand\\putwordAppendix{}\n                                 \\noexpand\\thischapternum:\n                                 \\noexpand\\thischaptername}%\n    }%\n  \\else\n    \\toks0={#1}%\n    \\xdef\\lastchapterdefs{%\n      \\gdef\\noexpand\\thischaptername{\\the\\toks0}%\n      \\gdef\\noexpand\\thischapternum{\\the\\chapno}%\n      % \\noexpand\\putwordChapter avoids expanding indigestible\n      % commands in some of the translations.\n      \\gdef\\noexpand\\thischapter{\\noexpand\\putwordChapter{}\n                                 \\noexpand\\thischapternum:\n                                 \\noexpand\\thischaptername}%\n    }%\n  \\fi\\fi\\fi\n  %\n  % Output the mark.  Pass it through \\safewhatsit, to take care of\n  % the preceding space.\n  \\safewhatsit\\domark\n  %\n  % Insert the chapter heading break.\n  \\pchapsepmacro\n  %\n  % Now the second mark, after the heading break.  No break points\n  % between here and the heading.\n  \\let\\prevchapterdefs=\\lastchapterdefs\n  \\let\\prevsectiondefs=\\lastsectiondefs\n  \\domark\n  %\n  {%\n    \\chapfonts \\rmisbold\n    %\n    % Have to define \\lastsection before calling \\donoderef, because the\n    % xref code eventually uses it.  On the other hand, it has to be called\n    % after \\pchapsepmacro, or the headline will change too soon.\n    \\gdef\\lastsection{#1}%\n    %\n    % Only insert the separating space if we have a chapter/appendix\n    % number, and don't print the unnumbered ``number''.\n    \\ifx\\temptype\\Ynothingkeyword\n      \\setbox0 = \\hbox{}%\n      \\def\\toctype{unnchap}%\n    \\else\\ifx\\temptype\\Yomitfromtockeyword\n      \\setbox0 = \\hbox{}% contents like unnumbered, but no toc entry\n      \\def\\toctype{omit}%\n    \\else\\ifx\\temptype\\Yappendixkeyword\n      \\setbox0 = \\hbox{\\putwordAppendix{} #3\\enspace}%\n      \\def\\toctype{app}%\n    \\else\n      \\setbox0 = \\hbox{#3\\enspace}%\n      \\def\\toctype{numchap}%\n    \\fi\\fi\\fi\n    %\n    % Write the toc entry for this chapter.  Must come before the\n    % \\donoderef, because we include the current node name in the toc\n    % entry, and \\donoderef resets it to empty.\n    \\writetocentry{\\toctype}{#1}{#3}%\n    %\n    % For pdftex, we have to write out the node definition (aka, make\n    % the pdfdest) after any page break, but before the actual text has\n    % been typeset.  If the destination for the pdf outline is after the\n    % text, then jumping from the outline may wind up with the text not\n    % being visible, for instance under high magnification.\n    \\donoderef{#2}%\n    %\n    % Typeset the actual heading.\n    \\nobreak % Avoid page breaks at the interline glue.\n    \\vbox{\\raggedtitlesettings \\hangindent=\\wd0 \\centerparametersmaybe\n          \\unhbox0 #1\\par}%\n  }%\n  \\nobreak\\bigskip % no page break after a chapter title\n  \\nobreak\n}\n\n% @centerchap -- centered and unnumbered.\n\\let\\centerparametersmaybe = \\relax\n\\def\\centerparameters{%\n  \\advance\\rightskip by 3\\rightskip\n  \\leftskip = \\rightskip\n  \\parfillskip = 0pt\n}\n\n\n% I don't think this chapter style is supported any more, so I'm not\n% updating it with the new noderef stuff.  We'll see.  --karl, 11aug03.\n%\n\\def\\setchapterstyle #1 {\\csname CHAPF#1\\endcsname}\n%\n\\def\\unnchfopen #1{%\n  \\chapoddpage\n  \\vbox{\\chapfonts \\raggedtitlesettings #1\\par}%\n  \\nobreak\\bigskip\\nobreak\n}\n\\def\\chfopen #1#2{\\chapoddpage {\\chapfonts\n\\vbox to 3in{\\vfil \\hbox to\\hsize{\\hfil #2} \\hbox to\\hsize{\\hfil #1} \\vfil}}%\n\\par\\penalty 5000 %\n}\n\\def\\centerchfopen #1{%\n  \\chapoddpage\n  \\vbox{\\chapfonts \\raggedtitlesettings \\hfill #1\\hfill}%\n  \\nobreak\\bigskip \\nobreak\n}\n\\def\\CHAPFopen{%\n  \\global\\let\\chapmacro=\\chfopen\n  \\global\\let\\centerchapmacro=\\centerchfopen}\n\n\n% Section titles.  These macros combine the section number parts and\n% call the generic \\sectionheading to do the printing.\n%\n\\newskip\\secheadingskip\n\\def\\secheadingbreak{\\dobreak \\secheadingskip{-1000}}\n\n% Subsection titles.\n\\newskip\\subsecheadingskip\n\\def\\subsecheadingbreak{\\dobreak \\subsecheadingskip{-500}}\n\n% Subsubsection titles.\n\\def\\subsubsecheadingskip{\\subsecheadingskip}\n\\def\\subsubsecheadingbreak{\\subsecheadingbreak}\n\n\n% Print any size, any type, section title.\n%\n% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is\n% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the\n% section number.\n%\n\\def\\seckeyword{sec}\n%\n\\def\\sectionheading#1#2#3#4{%\n  {%\n    \\checkenv{}% should not be in an environment.\n    %\n    % Switch to the right set of fonts.\n    \\csname #2fonts\\endcsname \\rmisbold\n    %\n    \\def\\sectionlevel{#2}%\n    \\def\\temptype{#3}%\n    %\n    % Insert first mark before the heading break (see notes for \\domark).\n    \\let\\prevsectiondefs=\\lastsectiondefs\n    \\ifx\\temptype\\Ynothingkeyword\n      \\ifx\\sectionlevel\\seckeyword\n        \\gdef\\lastsectiondefs{\\gdef\\thissectionname{#1}\\gdef\\thissectionnum{}%\n                              \\gdef\\thissection{\\thissectionname}}%\n      \\fi\n    \\else\\ifx\\temptype\\Yomitfromtockeyword\n      % Don't redefine \\thissection.\n    \\else\\ifx\\temptype\\Yappendixkeyword\n      \\ifx\\sectionlevel\\seckeyword\n        \\toks0={#1}%\n        \\xdef\\lastsectiondefs{%\n          \\gdef\\noexpand\\thissectionname{\\the\\toks0}%\n          \\gdef\\noexpand\\thissectionnum{#4}%\n          % \\noexpand\\putwordSection avoids expanding indigestible\n          % commands in some of the translations.\n          \\gdef\\noexpand\\thissection{\\noexpand\\putwordSection{}\n                                     \\noexpand\\thissectionnum:\n                                     \\noexpand\\thissectionname}%\n        }%\n      \\fi\n    \\else\n      \\ifx\\sectionlevel\\seckeyword\n        \\toks0={#1}%\n        \\xdef\\lastsectiondefs{%\n          \\gdef\\noexpand\\thissectionname{\\the\\toks0}%\n          \\gdef\\noexpand\\thissectionnum{#4}%\n          % \\noexpand\\putwordSection avoids expanding indigestible\n          % commands in some of the translations.\n          \\gdef\\noexpand\\thissection{\\noexpand\\putwordSection{}\n                                     \\noexpand\\thissectionnum:\n                                     \\noexpand\\thissectionname}%\n        }%\n      \\fi\n    \\fi\\fi\\fi\n    %\n    % Go into vertical mode.  Usually we'll already be there, but we\n    % don't want the following whatsit to end up in a preceding paragraph\n    % if the document didn't happen to have a blank line.\n    \\par\n    %\n    % Output the mark.  Pass it through \\safewhatsit, to take care of\n    % the preceding space.\n    \\safewhatsit\\domark\n    %\n    % Insert space above the heading.\n    \\csname #2headingbreak\\endcsname\n    %\n    % Now the second mark, after the heading break.  No break points\n    % between here and the heading.\n    \\let\\prevsectiondefs=\\lastsectiondefs\n    \\domark\n    %\n    % Only insert the space after the number if we have a section number.\n    \\ifx\\temptype\\Ynothingkeyword\n      \\setbox0 = \\hbox{}%\n      \\def\\toctype{unn}%\n      \\gdef\\lastsection{#1}%\n    \\else\\ifx\\temptype\\Yomitfromtockeyword\n      % for @headings -- no section number, don't include in toc,\n      % and don't redefine \\lastsection.\n      \\setbox0 = \\hbox{}%\n      \\def\\toctype{omit}%\n      \\let\\sectionlevel=\\empty\n    \\else\\ifx\\temptype\\Yappendixkeyword\n      \\setbox0 = \\hbox{#4\\enspace}%\n      \\def\\toctype{app}%\n      \\gdef\\lastsection{#1}%\n    \\else\n      \\setbox0 = \\hbox{#4\\enspace}%\n      \\def\\toctype{num}%\n      \\gdef\\lastsection{#1}%\n    \\fi\\fi\\fi\n    %\n    % Write the toc entry (before \\donoderef).  See comments in \\chapmacro.\n    \\writetocentry{\\toctype\\sectionlevel}{#1}{#4}%\n    %\n    % Write the node reference (= pdf destination for pdftex).\n    % Again, see comments in \\chapmacro.\n    \\donoderef{#3}%\n    %\n    % Interline glue will be inserted when the vbox is completed.\n    % That glue will be a valid breakpoint for the page, since it'll be\n    % preceded by a whatsit (usually from the \\donoderef, or from the\n    % \\writetocentry if there was no node).  We don't want to allow that\n    % break, since then the whatsits could end up on page n while the\n    % section is on page n+1, thus toc/etc. are wrong.  Debian bug 276000.\n    \\nobreak\n    %\n    % Output the actual section heading.\n    \\vbox{\\hyphenpenalty=10000 \\tolerance=5000 \\parindent=0pt \\ptexraggedright\n          \\hangindent=\\wd0  % zero if no section number\n          \\unhbox0 #1}%\n  }%\n  % Add extra space after the heading -- half of whatever came above it.\n  % Don't allow stretch, though.\n  \\kern .5 \\csname #2headingskip\\endcsname\n  %\n  % Do not let the kern be a potential breakpoint, as it would be if it\n  % was followed by glue.\n  \\nobreak\n  %\n  % We'll almost certainly start a paragraph next, so don't let that\n  % glue accumulate.  (Not a breakpoint because it's preceded by a\n  % discardable item.)  However, when a paragraph is not started next\n  % (\\startdefun, \\cartouche, \\center, etc.), this needs to be wiped out\n  % or the negative glue will cause weirdly wrong output, typically\n  % obscuring the section heading with something else.\n  \\vskip-\\parskip\n  %\n  % This is so the last item on the main vertical list is a known\n  % \\penalty > 10000, so \\startdefun, etc., can recognize the situation\n  % and do the needful.\n  \\penalty 10001\n}\n\n\n\\message{toc,}\n% Table of contents.\n\\newwrite\\tocfile\n\n% Write an entry to the toc file, opening it if necessary.\n% Called from @chapter, etc.\n%\n% Example usage: \\writetocentry{sec}{Section Name}{\\the\\chapno.\\the\\secno}\n% We append the current node name (if any) and page number as additional\n% arguments for the \\{chap,sec,...}entry macros which will eventually\n% read this.  The node name is used in the pdf outlines as the\n% destination to jump to.\n%\n% We open the .toc file for writing here instead of at @setfilename (or\n% any other fixed time) so that @contents can be anywhere in the document.\n% But if #1 is `omit', then we don't do anything.  This is used for the\n% table of contents chapter openings themselves.\n%\n\\newif\\iftocfileopened\n\\def\\omitkeyword{omit}%\n%\n\\def\\writetocentry#1#2#3{%\n  \\edef\\writetoctype{#1}%\n  \\ifx\\writetoctype\\omitkeyword \\else\n    \\iftocfileopened\\else\n      \\immediate\\openout\\tocfile = \\jobname.toc\n      \\global\\tocfileopenedtrue\n    \\fi\n    %\n    \\iflinks\n      {\\atdummies\n       \\edef\\temp{%\n         \\write\\tocfile{@#1entry{#2}{#3}{\\lastnode}{\\noexpand\\folio}}}%\n       \\temp\n      }%\n    \\fi\n  \\fi\n  %\n  % Tell \\shipout to create a pdf destination on each page, if we're\n  % writing pdf.  These are used in the table of contents.  We can't\n  % just write one on every page because the title pages are numbered\n  % 1 and 2 (the page numbers aren't printed), and so are the first\n  % two pages of the document.  Thus, we'd have two destinations named\n  % `1', and two named `2'.\n  \\ifpdf \\global\\pdfmakepagedesttrue \\fi\n}\n\n\n% These characters do not print properly in the Computer Modern roman\n% fonts, so we must take special care.  This is more or less redundant\n% with the Texinfo input format setup at the end of this file.\n%\n\\def\\activecatcodes{%\n  \\catcode`\\\"=\\active\n  \\catcode`\\$=\\active\n  \\catcode`\\<=\\active\n  \\catcode`\\>=\\active\n  \\catcode`\\\\=\\active\n  \\catcode`\\^=\\active\n  \\catcode`\\_=\\active\n  \\catcode`\\|=\\active\n  \\catcode`\\~=\\active\n}\n\n\n% Read the toc file, which is essentially Texinfo input.\n\\def\\readtocfile{%\n  \\setupdatafile\n  \\activecatcodes\n  \\input \\tocreadfilename\n}\n\n\\newskip\\contentsrightmargin \\contentsrightmargin=1in\n\\newcount\\savepageno\n\\newcount\\lastnegativepageno \\lastnegativepageno = -1\n\n% Prepare to read what we've written to \\tocfile.\n%\n\\def\\startcontents#1{%\n  % If @setchapternewpage on, and @headings double, the contents should\n  % start on an odd page, unlike chapters.  Thus, we maintain\n  % \\contentsalignmacro in parallel with \\pagealignmacro.\n  % From: Torbjorn Granlund <tege@matematik.su.se>\n  \\contentsalignmacro\n  \\immediate\\closeout\\tocfile\n  %\n  % Don't need to put `Contents' or `Short Contents' in the headline.\n  % It is abundantly clear what they are.\n  \\chapmacro{#1}{Yomitfromtoc}{}%\n  %\n  \\savepageno = \\pageno\n  \\begingroup                  % Set up to handle contents files properly.\n    \\raggedbottom              % Worry more about breakpoints than the bottom.\n    \\advance\\hsize by -\\contentsrightmargin % Don't use the full line length.\n    %\n    % Roman numerals for page numbers.\n    \\ifnum \\pageno>0 \\global\\pageno = \\lastnegativepageno \\fi\n}\n\n% redefined for the two-volume lispref.  We always output on\n% \\jobname.toc even if this is redefined.\n%\n\\def\\tocreadfilename{\\jobname.toc}\n\n% Normal (long) toc.\n%\n\\def\\contents{%\n  \\startcontents{\\putwordTOC}%\n    \\openin 1 \\tocreadfilename\\space\n    \\ifeof 1 \\else\n      \\readtocfile\n    \\fi\n    \\vfill \\eject\n    \\contentsalignmacro % in case @setchapternewpage odd is in effect\n    \\ifeof 1 \\else\n      \\pdfmakeoutlines\n    \\fi\n    \\closein 1\n  \\endgroup\n  \\lastnegativepageno = \\pageno\n  \\global\\pageno = \\savepageno\n}\n\n% And just the chapters.\n\\def\\summarycontents{%\n  \\startcontents{\\putwordShortTOC}%\n    %\n    \\let\\partentry = \\shortpartentry\n    \\let\\numchapentry = \\shortchapentry\n    \\let\\appentry = \\shortchapentry\n    \\let\\unnchapentry = \\shortunnchapentry\n    % We want a true roman here for the page numbers.\n    \\secfonts\n    \\let\\rm=\\shortcontrm \\let\\bf=\\shortcontbf\n    \\let\\sl=\\shortcontsl \\let\\tt=\\shortconttt\n    \\rm\n    \\hyphenpenalty = 10000\n    \\advance\\baselineskip by 1pt % Open it up a little.\n    \\def\\numsecentry##1##2##3##4{}\n    \\let\\appsecentry = \\numsecentry\n    \\let\\unnsecentry = \\numsecentry\n    \\let\\numsubsecentry = \\numsecentry\n    \\let\\appsubsecentry = \\numsecentry\n    \\let\\unnsubsecentry = \\numsecentry\n    \\let\\numsubsubsecentry = \\numsecentry\n    \\let\\appsubsubsecentry = \\numsecentry\n    \\let\\unnsubsubsecentry = \\numsecentry\n    \\openin 1 \\tocreadfilename\\space\n    \\ifeof 1 \\else\n      \\readtocfile\n    \\fi\n    \\closein 1\n    \\vfill \\eject\n    \\contentsalignmacro % in case @setchapternewpage odd is in effect\n  \\endgroup\n  \\lastnegativepageno = \\pageno\n  \\global\\pageno = \\savepageno\n}\n\\let\\shortcontents = \\summarycontents\n\n% Typeset the label for a chapter or appendix for the short contents.\n% The arg is, e.g., `A' for an appendix, or `3' for a chapter.\n%\n\\def\\shortchaplabel#1{%\n  % This space should be enough, since a single number is .5em, and the\n  % widest letter (M) is 1em, at least in the Computer Modern fonts.\n  % But use \\hss just in case.\n  % (This space doesn't include the extra space that gets added after\n  % the label; that gets put in by \\shortchapentry above.)\n  %\n  % We'd like to right-justify chapter numbers, but that looks strange\n  % with appendix letters.  And right-justifying numbers and\n  % left-justifying letters looks strange when there is less than 10\n  % chapters.  Have to read the whole toc once to know how many chapters\n  % there are before deciding ...\n  \\hbox to 1em{#1\\hss}%\n}\n\n% These macros generate individual entries in the table of contents.\n% The first argument is the chapter or section name.\n% The last argument is the page number.\n% The arguments in between are the chapter number, section number, ...\n\n% Parts, in the main contents.  Replace the part number, which doesn't\n% exist, with an empty box.  Let's hope all the numbers have the same width.\n% Also ignore the page number, which is conventionally not printed.\n\\def\\numeralbox{\\setbox0=\\hbox{8}\\hbox to \\wd0{\\hfil}}\n\\def\\partentry#1#2#3#4{\\dochapentry{\\numeralbox\\labelspace#1}{}}\n%\n% Parts, in the short toc.\n\\def\\shortpartentry#1#2#3#4{%\n  \\penalty-300\n  \\vskip.5\\baselineskip plus.15\\baselineskip minus.1\\baselineskip\n  \\shortchapentry{{\\bf #1}}{\\numeralbox}{}{}%\n}\n\n% Chapters, in the main contents.\n\\def\\numchapentry#1#2#3#4{\\dochapentry{#2\\labelspace#1}{#4}}\n%\n% Chapters, in the short toc.\n% See comments in \\dochapentry re vbox and related settings.\n\\def\\shortchapentry#1#2#3#4{%\n  \\tocentry{\\shortchaplabel{#2}\\labelspace #1}{\\doshortpageno\\bgroup#4\\egroup}%\n}\n\n% Appendices, in the main contents.\n% Need the word Appendix, and a fixed-size box.\n%\n\\def\\appendixbox#1{%\n  % We use M since it's probably the widest letter.\n  \\setbox0 = \\hbox{\\putwordAppendix{} M}%\n  \\hbox to \\wd0{\\putwordAppendix{} #1\\hss}}\n%\n\\def\\appentry#1#2#3#4{\\dochapentry{\\appendixbox{#2}\\labelspace#1}{#4}}\n\n% Unnumbered chapters.\n\\def\\unnchapentry#1#2#3#4{\\dochapentry{#1}{#4}}\n\\def\\shortunnchapentry#1#2#3#4{\\tocentry{#1}{\\doshortpageno\\bgroup#4\\egroup}}\n\n% Sections.\n\\def\\numsecentry#1#2#3#4{\\dosecentry{#2\\labelspace#1}{#4}}\n\\let\\appsecentry=\\numsecentry\n\\def\\unnsecentry#1#2#3#4{\\dosecentry{#1}{#4}}\n\n% Subsections.\n\\def\\numsubsecentry#1#2#3#4{\\dosubsecentry{#2\\labelspace#1}{#4}}\n\\let\\appsubsecentry=\\numsubsecentry\n\\def\\unnsubsecentry#1#2#3#4{\\dosubsecentry{#1}{#4}}\n\n% And subsubsections.\n\\def\\numsubsubsecentry#1#2#3#4{\\dosubsubsecentry{#2\\labelspace#1}{#4}}\n\\let\\appsubsubsecentry=\\numsubsubsecentry\n\\def\\unnsubsubsecentry#1#2#3#4{\\dosubsubsecentry{#1}{#4}}\n\n% This parameter controls the indentation of the various levels.\n% Same as \\defaultparindent.\n\\newdimen\\tocindent \\tocindent = 15pt\n\n% Now for the actual typesetting. In all these, #1 is the text and #2 is the\n% page number.\n%\n% If the toc has to be broken over pages, we want it to be at chapters\n% if at all possible; hence the \\penalty.\n\\def\\dochapentry#1#2{%\n   \\penalty-300 \\vskip1\\baselineskip plus.33\\baselineskip minus.25\\baselineskip\n   \\begingroup\n     \\chapentryfonts\n     \\tocentry{#1}{\\dopageno\\bgroup#2\\egroup}%\n   \\endgroup\n   \\nobreak\\vskip .25\\baselineskip plus.1\\baselineskip\n}\n\n\\def\\dosecentry#1#2{\\begingroup\n  \\secentryfonts \\leftskip=\\tocindent\n  \\tocentry{#1}{\\dopageno\\bgroup#2\\egroup}%\n\\endgroup}\n\n\\def\\dosubsecentry#1#2{\\begingroup\n  \\subsecentryfonts \\leftskip=2\\tocindent\n  \\tocentry{#1}{\\dopageno\\bgroup#2\\egroup}%\n\\endgroup}\n\n\\def\\dosubsubsecentry#1#2{\\begingroup\n  \\subsubsecentryfonts \\leftskip=3\\tocindent\n  \\tocentry{#1}{\\dopageno\\bgroup#2\\egroup}%\n\\endgroup}\n\n% We use the same \\entry macro as for the index entries.\n\\let\\tocentry = \\entry\n\n% Space between chapter (or whatever) number and the title.\n\\def\\labelspace{\\hskip1em \\relax}\n\n\\def\\dopageno#1{{\\rm #1}}\n\\def\\doshortpageno#1{{\\rm #1}}\n\n\\def\\chapentryfonts{\\secfonts \\rm}\n\\def\\secentryfonts{\\textfonts}\n\\def\\subsecentryfonts{\\textfonts}\n\\def\\subsubsecentryfonts{\\textfonts}\n\n\n\\message{environments,}\n% @foo ... @end foo.\n\n% @tex ... @end tex    escapes into raw TeX temporarily.\n% One exception: @ is still an escape character, so that @end tex works.\n% But \\@ or @@ will get a plain @ character.\n\n\\envdef\\tex{%\n  \\setupmarkupstyle{tex}%\n  \\catcode `\\\\=0 \\catcode `\\{=1 \\catcode `\\}=2\n  \\catcode `\\$=3 \\catcode `\\&=4 \\catcode `\\#=6\n  \\catcode `\\^=7 \\catcode `\\_=8 \\catcode `\\~=\\active \\let~=\\tie\n  \\catcode `\\%=14\n  \\catcode `\\+=\\other\n  \\catcode `\\\"=\\other\n  \\catcode `\\|=\\other\n  \\catcode `\\<=\\other\n  \\catcode `\\>=\\other\n  \\catcode`\\`=\\other\n  \\catcode`\\'=\\other\n  \\escapechar=`\\\\\n  %\n  % ' is active in math mode (mathcode\"8000).  So reset it, and all our\n  % other math active characters (just in case), to plain's definitions.\n  \\mathactive\n  %\n  \\let\\b=\\ptexb\n  \\let\\bullet=\\ptexbullet\n  \\let\\c=\\ptexc\n  \\let\\,=\\ptexcomma\n  \\let\\.=\\ptexdot\n  \\let\\dots=\\ptexdots\n  \\let\\equiv=\\ptexequiv\n  \\let\\!=\\ptexexclam\n  \\let\\i=\\ptexi\n  \\let\\indent=\\ptexindent\n  \\let\\noindent=\\ptexnoindent\n  \\let\\{=\\ptexlbrace\n  \\let\\+=\\tabalign\n  \\let\\}=\\ptexrbrace\n  \\let\\/=\\ptexslash\n  \\let\\*=\\ptexstar\n  \\let\\t=\\ptext\n  \\expandafter \\let\\csname top\\endcsname=\\ptextop  % outer\n  \\let\\frenchspacing=\\plainfrenchspacing\n  %\n  \\def\\endldots{\\mathinner{\\ldots\\ldots\\ldots\\ldots}}%\n  \\def\\enddots{\\relax\\ifmmode\\endldots\\else$\\mathsurround=0pt \\endldots\\,$\\fi}%\n  \\def\\@{@}%\n}\n% There is no need to define \\Etex.\n\n% Define @lisp ... @end lisp.\n% @lisp environment forms a group so it can rebind things,\n% including the definition of @end lisp (which normally is erroneous).\n\n% Amount to narrow the margins by for @lisp.\n\\newskip\\lispnarrowing \\lispnarrowing=0.4in\n\n% This is the definition that ^^M gets inside @lisp, @example, and other\n% such environments.  \\null is better than a space, since it doesn't\n% have any width.\n\\def\\lisppar{\\null\\endgraf}\n\n% This space is always present above and below environments.\n\\newskip\\envskipamount \\envskipamount = 0pt\n\n% Make spacing and below environment symmetrical.  We use \\parskip here\n% to help in doing that, since in @example-like environments \\parskip\n% is reset to zero; thus the \\afterenvbreak inserts no space -- but the\n% start of the next paragraph will insert \\parskip.\n%\n\\def\\aboveenvbreak{{%\n  % =10000 instead of <10000 because of a special case in \\itemzzz and\n  % \\sectionheading, q.v.\n  \\ifnum \\lastpenalty=10000 \\else\n    \\advance\\envskipamount by \\parskip\n    \\endgraf\n    \\ifdim\\lastskip<\\envskipamount\n      \\removelastskip\n      % it's not a good place to break if the last penalty was \\nobreak\n      % or better ...\n      \\ifnum\\lastpenalty<10000 \\penalty-50 \\fi\n      \\vskip\\envskipamount\n    \\fi\n  \\fi\n}}\n\n\\let\\afterenvbreak = \\aboveenvbreak\n\n% \\nonarrowing is a flag.  If \"set\", @lisp etc don't narrow margins; it will\n% also clear it, so that its embedded environments do the narrowing again.\n\\let\\nonarrowing=\\relax\n\n% @cartouche ... @end cartouche: draw rectangle w/rounded corners around\n% environment contents.\n\\font\\circle=lcircle10\n\\newdimen\\circthick\n\\newdimen\\cartouter\\newdimen\\cartinner\n\\newskip\\normbskip\\newskip\\normpskip\\newskip\\normlskip\n\\circthick=\\fontdimen8\\circle\n%\n\\def\\ctl{{\\circle\\char'013\\hskip -6pt}}% 6pt from pl file: 1/2charwidth\n\\def\\ctr{{\\hskip 6pt\\circle\\char'010}}\n\\def\\cbl{{\\circle\\char'012\\hskip -6pt}}\n\\def\\cbr{{\\hskip 6pt\\circle\\char'011}}\n\\def\\carttop{\\hbox to \\cartouter{\\hskip\\lskip\n        \\ctl\\leaders\\hrule height\\circthick\\hfil\\ctr\n        \\hskip\\rskip}}\n\\def\\cartbot{\\hbox to \\cartouter{\\hskip\\lskip\n        \\cbl\\leaders\\hrule height\\circthick\\hfil\\cbr\n        \\hskip\\rskip}}\n%\n\\newskip\\lskip\\newskip\\rskip\n\n\\envdef\\cartouche{%\n  \\ifhmode\\par\\fi  % can't be in the midst of a paragraph.\n  \\startsavinginserts\n  \\lskip=\\leftskip \\rskip=\\rightskip\n  \\leftskip=0pt\\rightskip=0pt % we want these *outside*.\n  \\cartinner=\\hsize \\advance\\cartinner by-\\lskip\n  \\advance\\cartinner by-\\rskip\n  \\cartouter=\\hsize\n  \\advance\\cartouter by 18.4pt\t% allow for 3pt kerns on either\n\t\t\t\t% side, and for 6pt waste from\n\t\t\t\t% each corner char, and rule thickness\n  \\normbskip=\\baselineskip \\normpskip=\\parskip \\normlskip=\\lineskip\n  % Flag to tell @lisp, etc., not to narrow margin.\n  \\let\\nonarrowing = t%\n  %\n  % If this cartouche directly follows a sectioning command, we need the\n  % \\parskip glue (backspaced over by default) or the cartouche can\n  % collide with the section heading.\n  \\ifnum\\lastpenalty>10000 \\vskip\\parskip \\penalty\\lastpenalty \\fi\n  %\n  \\vbox\\bgroup\n      \\baselineskip=0pt\\parskip=0pt\\lineskip=0pt\n      \\carttop\n      \\hbox\\bgroup\n\t  \\hskip\\lskip\n\t  \\vrule\\kern3pt\n\t  \\vbox\\bgroup\n\t      \\kern3pt\n\t      \\hsize=\\cartinner\n\t      \\baselineskip=\\normbskip\n\t      \\lineskip=\\normlskip\n\t      \\parskip=\\normpskip\n\t      \\vskip -\\parskip\n\t      \\comment % For explanation, see the end of def\\group.\n}\n\\def\\Ecartouche{%\n              \\ifhmode\\par\\fi\n\t      \\kern3pt\n\t  \\egroup\n\t  \\kern3pt\\vrule\n\t  \\hskip\\rskip\n      \\egroup\n      \\cartbot\n  \\egroup\n  \\checkinserts\n}\n\n\n% This macro is called at the beginning of all the @example variants,\n% inside a group.\n\\newdimen\\nonfillparindent\n\\def\\nonfillstart{%\n  \\aboveenvbreak\n  \\hfuzz = 12pt % Don't be fussy\n  \\sepspaces % Make spaces be word-separators rather than space tokens.\n  \\let\\par = \\lisppar % don't ignore blank lines\n  \\obeylines % each line of input is a line of output\n  \\parskip = 0pt\n  % Turn off paragraph indentation but redefine \\indent to emulate\n  % the normal \\indent.\n  \\nonfillparindent=\\parindent\n  \\parindent = 0pt\n  \\let\\indent\\nonfillindent\n  %\n  \\emergencystretch = 0pt % don't try to avoid overfull boxes\n  \\ifx\\nonarrowing\\relax\n    \\advance \\leftskip by \\lispnarrowing\n    \\exdentamount=\\lispnarrowing\n  \\else\n    \\let\\nonarrowing = \\relax\n  \\fi\n  \\let\\exdent=\\nofillexdent\n}\n\n\\begingroup\n\\obeyspaces\n% We want to swallow spaces (but not other tokens) after the fake\n% @indent in our nonfill-environments, where spaces are normally\n% active and set to @tie, resulting in them not being ignored after\n% @indent.\n\\gdef\\nonfillindent{\\futurelet\\temp\\nonfillindentcheck}%\n\\gdef\\nonfillindentcheck{%\n\\ifx\\temp %\n\\expandafter\\nonfillindentgobble%\n\\else%\n\\leavevmode\\nonfillindentbox%\n\\fi%\n}%\n\\endgroup\n\\def\\nonfillindentgobble#1{\\nonfillindent}\n\\def\\nonfillindentbox{\\hbox to \\nonfillparindent{\\hss}}\n\n% If you want all examples etc. small: @set dispenvsize small.\n% If you want even small examples the full size: @set dispenvsize nosmall.\n% This affects the following displayed environments:\n%    @example, @display, @format, @lisp\n%\n\\def\\smallword{small}\n\\def\\nosmallword{nosmall}\n\\let\\SETdispenvsize\\relax\n\\def\\setnormaldispenv{%\n  \\ifx\\SETdispenvsize\\smallword\n    % end paragraph for sake of leading, in case document has no blank\n    % line.  This is redundant with what happens in \\aboveenvbreak, but\n    % we need to do it before changing the fonts, and it's inconvenient\n    % to change the fonts afterward.\n    \\ifnum \\lastpenalty=10000 \\else \\endgraf \\fi\n    \\smallexamplefonts \\rm\n  \\fi\n}\n\\def\\setsmalldispenv{%\n  \\ifx\\SETdispenvsize\\nosmallword\n  \\else\n    \\ifnum \\lastpenalty=10000 \\else \\endgraf \\fi\n    \\smallexamplefonts \\rm\n  \\fi\n}\n\n% We often define two environments, @foo and @smallfoo.\n% Let's do it in one command.  #1 is the env name, #2 the definition.\n\\def\\makedispenvdef#1#2{%\n  \\expandafter\\envdef\\csname#1\\endcsname {\\setnormaldispenv #2}%\n  \\expandafter\\envdef\\csname small#1\\endcsname {\\setsmalldispenv #2}%\n  \\expandafter\\let\\csname E#1\\endcsname \\afterenvbreak\n  \\expandafter\\let\\csname Esmall#1\\endcsname \\afterenvbreak\n}\n\n% Define two environment synonyms (#1 and #2) for an environment.\n\\def\\maketwodispenvdef#1#2#3{%\n  \\makedispenvdef{#1}{#3}%\n  \\makedispenvdef{#2}{#3}%\n}\n%\n% @lisp: indented, narrowed, typewriter font;\n% @example: same as @lisp.\n%\n% @smallexample and @smalllisp: use smaller fonts.\n% Originally contributed by Pavel@xerox.\n%\n\\maketwodispenvdef{lisp}{example}{%\n  \\nonfillstart\n  \\tt\\setupmarkupstyle{example}%\n  \\let\\kbdfont = \\kbdexamplefont % Allow @kbd to do something special.\n  \\gobble % eat return\n}\n% @display/@smalldisplay: same as @lisp except keep current font.\n%\n\\makedispenvdef{display}{%\n  \\nonfillstart\n  \\gobble\n}\n\n% @format/@smallformat: same as @display except don't narrow margins.\n%\n\\makedispenvdef{format}{%\n  \\let\\nonarrowing = t%\n  \\nonfillstart\n  \\gobble\n}\n\n% @flushleft: same as @format, but doesn't obey \\SETdispenvsize.\n\\envdef\\flushleft{%\n  \\let\\nonarrowing = t%\n  \\nonfillstart\n  \\gobble\n}\n\\let\\Eflushleft = \\afterenvbreak\n\n% @flushright.\n%\n\\envdef\\flushright{%\n  \\let\\nonarrowing = t%\n  \\nonfillstart\n  \\advance\\leftskip by 0pt plus 1fill\\relax\n  \\gobble\n}\n\\let\\Eflushright = \\afterenvbreak\n\n\n% @raggedright does more-or-less normal line breaking but no right\n% justification.  From plain.tex.\n\\envdef\\raggedright{%\n  \\rightskip0pt plus2em \\spaceskip.3333em \\xspaceskip.5em\\relax\n}\n\\let\\Eraggedright\\par\n\n\\envdef\\raggedleft{%\n  \\parindent=0pt \\leftskip0pt plus2em\n  \\spaceskip.3333em \\xspaceskip.5em \\parfillskip=0pt\n  \\hbadness=10000 % Last line will usually be underfull, so turn off\n                  % badness reporting.\n}\n\\let\\Eraggedleft\\par\n\n\\envdef\\raggedcenter{%\n  \\parindent=0pt \\rightskip0pt plus1em \\leftskip0pt plus1em\n  \\spaceskip.3333em \\xspaceskip.5em \\parfillskip=0pt\n  \\hbadness=10000 % Last line will usually be underfull, so turn off\n                  % badness reporting.\n}\n\\let\\Eraggedcenter\\par\n\n\n% @quotation does normal linebreaking (hence we can't use \\nonfillstart)\n% and narrows the margins.  We keep \\parskip nonzero in general, since\n% we're doing normal filling.  So, when using \\aboveenvbreak and\n% \\afterenvbreak, temporarily make \\parskip 0.\n%\n\\makedispenvdef{quotation}{\\quotationstart}\n%\n\\def\\quotationstart{%\n  \\indentedblockstart % same as \\indentedblock, but increase right margin too.\n  \\ifx\\nonarrowing\\relax\n    \\advance\\rightskip by \\lispnarrowing\n  \\fi\n  \\parsearg\\quotationlabel\n}\n\n% We have retained a nonzero parskip for the environment, since we're\n% doing normal filling.\n%\n\\def\\Equotation{%\n  \\par\n  \\ifx\\quotationauthor\\thisisundefined\\else\n    % indent a bit.\n    \\leftline{\\kern 2\\leftskip \\sl ---\\quotationauthor}%\n  \\fi\n  {\\parskip=0pt \\afterenvbreak}%\n}\n\\def\\Esmallquotation{\\Equotation}\n\n% If we're given an argument, typeset it in bold with a colon after.\n\\def\\quotationlabel#1{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\empty \\else\n    {\\bf #1: }%\n  \\fi\n}\n\n% @indentedblock is like @quotation, but indents only on the left and\n% has no optional argument.\n% \n\\makedispenvdef{indentedblock}{\\indentedblockstart}\n%\n\\def\\indentedblockstart{%\n  {\\parskip=0pt \\aboveenvbreak}% because \\aboveenvbreak inserts \\parskip\n  \\parindent=0pt\n  %\n  % @cartouche defines \\nonarrowing to inhibit narrowing at next level down.\n  \\ifx\\nonarrowing\\relax\n    \\advance\\leftskip by \\lispnarrowing\n    \\exdentamount = \\lispnarrowing\n  \\else\n    \\let\\nonarrowing = \\relax\n  \\fi\n}\n\n% Keep a nonzero parskip for the environment, since we're doing normal filling.\n%\n\\def\\Eindentedblock{%\n  \\par\n  {\\parskip=0pt \\afterenvbreak}%\n}\n\\def\\Esmallindentedblock{\\Eindentedblock}\n\n\n% LaTeX-like @verbatim...@end verbatim and @verb{<char>...<char>}\n% If we want to allow any <char> as delimiter,\n% we need the curly braces so that makeinfo sees the @verb command, eg:\n% `@verbx...x' would look like the '@verbx' command.  --janneke@gnu.org\n%\n% [Knuth]: Donald Ervin Knuth, 1996.  The TeXbook.\n%\n% [Knuth] p.344; only we need to do the other characters Texinfo sets\n% active too.  Otherwise, they get lost as the first character on a\n% verbatim line.\n\\def\\dospecials{%\n  \\do\\ \\do\\\\\\do\\{\\do\\}\\do\\$\\do\\&%\n  \\do\\#\\do\\^\\do\\^^K\\do\\_\\do\\^^A\\do\\%\\do\\~%\n  \\do\\<\\do\\>\\do\\|\\do\\@\\do+\\do\\\"%\n  % Don't do the quotes -- if we do, @set txicodequoteundirected and\n  % @set txicodequotebacktick will not have effect on @verb and\n  % @verbatim, and ?` and !` ligatures won't get disabled.\n  %\\do\\`\\do\\'%\n}\n%\n% [Knuth] p. 380\n\\def\\uncatcodespecials{%\n  \\def\\do##1{\\catcode`##1=\\other}\\dospecials}\n%\n% Setup for the @verb command.\n%\n% Eight spaces for a tab\n\\begingroup\n  \\catcode`\\^^I=\\active\n  \\gdef\\tabeightspaces{\\catcode`\\^^I=\\active\\def^^I{\\ \\ \\ \\ \\ \\ \\ \\ }}\n\\endgroup\n%\n\\def\\setupverb{%\n  \\tt  % easiest (and conventionally used) font for verbatim\n  \\def\\par{\\leavevmode\\endgraf}%\n  \\setupmarkupstyle{verb}%\n  \\tabeightspaces\n  % Respect line breaks,\n  % print special symbols as themselves, and\n  % make each space count\n  % must do in this order:\n  \\obeylines \\uncatcodespecials \\sepspaces\n}\n\n% Setup for the @verbatim environment\n%\n% Real tab expansion.\n\\newdimen\\tabw \\setbox0=\\hbox{\\tt\\space} \\tabw=8\\wd0 % tab amount\n%\n% We typeset each line of the verbatim in an \\hbox, so we can handle\n% tabs.  The \\global is in case the verbatim line starts with an accent,\n% or some other command that starts with a begin-group.  Otherwise, the\n% entire \\verbbox would disappear at the corresponding end-group, before\n% it is typeset.  Meanwhile, we can't have nested verbatim commands\n% (can we?), so the \\global won't be overwriting itself.\n\\newbox\\verbbox\n\\def\\starttabbox{\\global\\setbox\\verbbox=\\hbox\\bgroup}\n%\n\\begingroup\n  \\catcode`\\^^I=\\active\n  \\gdef\\tabexpand{%\n    \\catcode`\\^^I=\\active\n    \\def^^I{\\leavevmode\\egroup\n      \\dimen\\verbbox=\\wd\\verbbox % the width so far, or since the previous tab\n      \\divide\\dimen\\verbbox by\\tabw\n      \\multiply\\dimen\\verbbox by\\tabw % compute previous multiple of \\tabw\n      \\advance\\dimen\\verbbox by\\tabw  % advance to next multiple of \\tabw\n      \\wd\\verbbox=\\dimen\\verbbox \\box\\verbbox \\starttabbox\n    }%\n  }\n\\endgroup\n\n% start the verbatim environment.\n\\def\\setupverbatim{%\n  \\let\\nonarrowing = t%\n  \\nonfillstart\n  \\tt % easiest (and conventionally used) font for verbatim\n  % The \\leavevmode here is for blank lines.  Otherwise, we would\n  % never \\starttabox and the \\egroup would end verbatim mode.\n  \\def\\par{\\leavevmode\\egroup\\box\\verbbox\\endgraf}%\n  \\tabexpand\n  \\setupmarkupstyle{verbatim}%\n  % Respect line breaks,\n  % print special symbols as themselves, and\n  % make each space count.\n  % Must do in this order:\n  \\obeylines \\uncatcodespecials \\sepspaces\n  \\everypar{\\starttabbox}%\n}\n\n% Do the @verb magic: verbatim text is quoted by unique\n% delimiter characters.  Before first delimiter expect a\n% right brace, after last delimiter expect closing brace:\n%\n%    \\def\\doverb'{'<char>#1<char>'}'{#1}\n%\n% [Knuth] p. 382; only eat outer {}\n\\begingroup\n  \\catcode`[=1\\catcode`]=2\\catcode`\\{=\\other\\catcode`\\}=\\other\n  \\gdef\\doverb{#1[\\def\\next##1#1}[##1\\endgroup]\\next]\n\\endgroup\n%\n\\def\\verb{\\begingroup\\setupverb\\doverb}\n%\n%\n% Do the @verbatim magic: define the macro \\doverbatim so that\n% the (first) argument ends when '@end verbatim' is reached, ie:\n%\n%     \\def\\doverbatim#1@end verbatim{#1}\n%\n% For Texinfo it's a lot easier than for LaTeX,\n% because texinfo's \\verbatim doesn't stop at '\\end{verbatim}':\n% we need not redefine '\\', '{' and '}'.\n%\n% Inspired by LaTeX's verbatim command set [latex.ltx]\n%\n\\begingroup\n  \\catcode`\\ =\\active\n  \\obeylines %\n  % ignore everything up to the first ^^M, that's the newline at the end\n  % of the @verbatim input line itself.  Otherwise we get an extra blank\n  % line in the output.\n  \\xdef\\doverbatim#1^^M#2@end verbatim{#2\\noexpand\\end\\gobble verbatim}%\n  % We really want {...\\end verbatim} in the body of the macro, but\n  % without the active space; thus we have to use \\xdef and \\gobble.\n\\endgroup\n%\n\\envdef\\verbatim{%\n    \\setupverbatim\\doverbatim\n}\n\\let\\Everbatim = \\afterenvbreak\n\n\n% @verbatiminclude FILE - insert text of file in verbatim environment.\n%\n\\def\\verbatiminclude{\\parseargusing\\filenamecatcodes\\doverbatiminclude}\n%\n\\def\\doverbatiminclude#1{%\n  {%\n    \\makevalueexpandable\n    \\setupverbatim\n    \\indexnofonts       % Allow `@@' and other weird things in file names.\n    \\wlog{texinfo.tex: doing @verbatiminclude of #1^^J}%\n    \\input #1\n    \\afterenvbreak\n  }%\n}\n\n% @copying ... @end copying.\n% Save the text away for @insertcopying later.\n%\n% We save the uninterpreted tokens, rather than creating a box.\n% Saving the text in a box would be much easier, but then all the\n% typesetting commands (@smallbook, font changes, etc.) have to be done\n% beforehand -- and a) we want @copying to be done first in the source\n% file; b) letting users define the frontmatter in as flexible order as\n% possible is very desirable.\n%\n\\def\\copying{\\checkenv{}\\begingroup\\scanargctxt\\docopying}\n\\def\\docopying#1@end copying{\\endgroup\\def\\copyingtext{#1}}\n%\n\\def\\insertcopying{%\n  \\begingroup\n    \\parindent = 0pt  % paragraph indentation looks wrong on title page\n    \\scanexp\\copyingtext\n  \\endgroup\n}\n\n\n\\message{defuns,}\n% @defun etc.\n\n\\newskip\\defbodyindent \\defbodyindent=.4in\n\\newskip\\defargsindent \\defargsindent=50pt\n\\newskip\\deflastargmargin \\deflastargmargin=18pt\n\\newcount\\defunpenalty\n\n% Start the processing of @deffn:\n\\def\\startdefun{%\n  \\ifnum\\lastpenalty<10000\n    \\medbreak\n    \\defunpenalty=10003 % Will keep this @deffn together with the\n                        % following @def command, see below.\n  \\else\n    % If there are two @def commands in a row, we'll have a \\nobreak,\n    % which is there to keep the function description together with its\n    % header.  But if there's nothing but headers, we need to allow a\n    % break somewhere.  Check specifically for penalty 10002, inserted\n    % by \\printdefunline, instead of 10000, since the sectioning\n    % commands also insert a nobreak penalty, and we don't want to allow\n    % a break between a section heading and a defun.\n    %\n    % As a further refinement, we avoid \"club\" headers by signalling\n    % with penalty of 10003 after the very first @deffn in the\n    % sequence (see above), and penalty of 10002 after any following\n    % @def command.\n    \\ifnum\\lastpenalty=10002 \\penalty2000 \\else \\defunpenalty=10002 \\fi\n    %\n    % Similarly, after a section heading, do not allow a break.\n    % But do insert the glue.\n    \\medskip  % preceded by discardable penalty, so not a breakpoint\n  \\fi\n  %\n  \\parindent=0in\n  \\advance\\leftskip by \\defbodyindent\n  \\exdentamount=\\defbodyindent\n}\n\n\\def\\dodefunx#1{%\n  % First, check whether we are in the right environment:\n  \\checkenv#1%\n  %\n  % As above, allow line break if we have multiple x headers in a row.\n  % It's not a great place, though.\n  \\ifnum\\lastpenalty=10002 \\penalty3000 \\else \\defunpenalty=10002 \\fi\n  %\n  % And now, it's time to reuse the body of the original defun:\n  \\expandafter\\gobbledefun#1%\n}\n\\def\\gobbledefun#1\\startdefun{}\n\n% \\printdefunline \\deffnheader{text}\n%\n\\def\\printdefunline#1#2{%\n  \\begingroup\n    % call \\deffnheader:\n    #1#2 \\endheader\n    % common ending:\n    \\interlinepenalty = 10000\n    \\advance\\rightskip by 0pt plus 1fil\\relax\n    \\endgraf\n    \\nobreak\\vskip -\\parskip\n    \\penalty\\defunpenalty  % signal to \\startdefun and \\dodefunx\n    % Some of the @defun-type tags do not enable magic parentheses,\n    % rendering the following check redundant.  But we don't optimize.\n    \\checkparencounts\n  \\endgroup\n}\n\n\\def\\Edefun{\\endgraf\\medbreak}\n\n% \\makedefun{deffn} creates \\deffn, \\deffnx and \\Edeffn;\n% the only thing remaining is to define \\deffnheader.\n%\n\\def\\makedefun#1{%\n  \\expandafter\\let\\csname E#1\\endcsname = \\Edefun\n  \\edef\\temp{\\noexpand\\domakedefun\n    \\makecsname{#1}\\makecsname{#1x}\\makecsname{#1header}}%\n  \\temp\n}\n\n% \\domakedefun \\deffn \\deffnx \\deffnheader\n%\n% Define \\deffn and \\deffnx, without parameters.\n% \\deffnheader has to be defined explicitly.\n%\n\\def\\domakedefun#1#2#3{%\n  \\envdef#1{%\n    \\startdefun\n    \\doingtypefnfalse    % distinguish typed functions from all else\n    \\parseargusing\\activeparens{\\printdefunline#3}%\n  }%\n  \\def#2{\\dodefunx#1}%\n  \\def#3%\n}\n\n\\newif\\ifdoingtypefn       % doing typed function?\n\\newif\\ifrettypeownline    % typeset return type on its own line?\n\n% @deftypefnnewline on|off says whether the return type of typed functions\n% are printed on their own line.  This affects @deftypefn, @deftypefun,\n% @deftypeop, and @deftypemethod.\n% \n\\parseargdef\\deftypefnnewline{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\onword\n    \\expandafter\\let\\csname SETtxideftypefnnl\\endcsname\n      = \\empty\n  \\else\\ifx\\temp\\offword\n    \\expandafter\\let\\csname SETtxideftypefnnl\\endcsname\n      = \\relax\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @txideftypefnnl value `\\temp',\n                must be on|off}%\n  \\fi\\fi\n}\n\n% Untyped functions:\n\n% @deffn category name args\n\\makedefun{deffn}{\\deffngeneral{}}\n\n% @deffn category class name args\n\\makedefun{defop}#1 {\\defopon{#1\\ \\putwordon}}\n\n% \\defopon {category on}class name args\n\\def\\defopon#1#2 {\\deffngeneral{\\putwordon\\ \\code{#2}}{#1\\ \\code{#2}} }\n\n% \\deffngeneral {subind}category name args\n%\n\\def\\deffngeneral#1#2 #3 #4\\endheader{%\n  % Remember that \\dosubind{fn}{foo}{} is equivalent to \\doind{fn}{foo}.\n  \\dosubind{fn}{\\code{#3}}{#1}%\n  \\defname{#2}{}{#3}\\magicamp\\defunargs{#4\\unskip}%\n}\n\n% Typed functions:\n\n% @deftypefn category type name args\n\\makedefun{deftypefn}{\\deftypefngeneral{}}\n\n% @deftypeop category class type name args\n\\makedefun{deftypeop}#1 {\\deftypeopon{#1\\ \\putwordon}}\n\n% \\deftypeopon {category on}class type name args\n\\def\\deftypeopon#1#2 {\\deftypefngeneral{\\putwordon\\ \\code{#2}}{#1\\ \\code{#2}} }\n\n% \\deftypefngeneral {subind}category type name args\n%\n\\def\\deftypefngeneral#1#2 #3 #4 #5\\endheader{%\n  \\dosubind{fn}{\\code{#4}}{#1}%\n  \\doingtypefntrue\n  \\defname{#2}{#3}{#4}\\defunargs{#5\\unskip}%\n}\n\n% Typed variables:\n\n% @deftypevr category type var args\n\\makedefun{deftypevr}{\\deftypecvgeneral{}}\n\n% @deftypecv category class type var args\n\\makedefun{deftypecv}#1 {\\deftypecvof{#1\\ \\putwordof}}\n\n% \\deftypecvof {category of}class type var args\n\\def\\deftypecvof#1#2 {\\deftypecvgeneral{\\putwordof\\ \\code{#2}}{#1\\ \\code{#2}} }\n\n% \\deftypecvgeneral {subind}category type var args\n%\n\\def\\deftypecvgeneral#1#2 #3 #4 #5\\endheader{%\n  \\dosubind{vr}{\\code{#4}}{#1}%\n  \\defname{#2}{#3}{#4}\\defunargs{#5\\unskip}%\n}\n\n% Untyped variables:\n\n% @defvr category var args\n\\makedefun{defvr}#1 {\\deftypevrheader{#1} {} }\n\n% @defcv category class var args\n\\makedefun{defcv}#1 {\\defcvof{#1\\ \\putwordof}}\n\n% \\defcvof {category of}class var args\n\\def\\defcvof#1#2 {\\deftypecvof{#1}#2 {} }\n\n% Types:\n\n% @deftp category name args\n\\makedefun{deftp}#1 #2 #3\\endheader{%\n  \\doind{tp}{\\code{#2}}%\n  \\defname{#1}{}{#2}\\defunargs{#3\\unskip}%\n}\n\n% Remaining @defun-like shortcuts:\n\\makedefun{defun}{\\deffnheader{\\putwordDeffunc} }\n\\makedefun{defmac}{\\deffnheader{\\putwordDefmac} }\n\\makedefun{defspec}{\\deffnheader{\\putwordDefspec} }\n\\makedefun{deftypefun}{\\deftypefnheader{\\putwordDeffunc} }\n\\makedefun{defvar}{\\defvrheader{\\putwordDefvar} }\n\\makedefun{defopt}{\\defvrheader{\\putwordDefopt} }\n\\makedefun{deftypevar}{\\deftypevrheader{\\putwordDefvar} }\n\\makedefun{defmethod}{\\defopon\\putwordMethodon}\n\\makedefun{deftypemethod}{\\deftypeopon\\putwordMethodon}\n\\makedefun{defivar}{\\defcvof\\putwordInstanceVariableof}\n\\makedefun{deftypeivar}{\\deftypecvof\\putwordInstanceVariableof}\n\n% \\defname, which formats the name of the @def (not the args).\n% #1 is the category, such as \"Function\".\n% #2 is the return type, if any.\n% #3 is the function name.\n%\n% We are followed by (but not passed) the arguments, if any.\n%\n\\def\\defname#1#2#3{%\n  \\par\n  % Get the values of \\leftskip and \\rightskip as they were outside the @def...\n  \\advance\\leftskip by -\\defbodyindent\n  %\n  % Determine if we are typesetting the return type of a typed function\n  % on a line by itself.\n  \\rettypeownlinefalse\n  \\ifdoingtypefn  % doing a typed function specifically?\n    % then check user option for putting return type on its own line:\n    \\expandafter\\ifx\\csname SETtxideftypefnnl\\endcsname\\relax \\else\n      \\rettypeownlinetrue\n    \\fi\n  \\fi\n  %\n  % How we'll format the category name.  Putting it in brackets helps\n  % distinguish it from the body text that may end up on the next line\n  % just below it.\n  \\def\\temp{#1}%\n  \\setbox0=\\hbox{\\kern\\deflastargmargin \\ifx\\temp\\empty\\else [\\rm\\temp]\\fi}\n  %\n  % Figure out line sizes for the paragraph shape.  We'll always have at\n  % least two.\n  \\tempnum = 2\n  %\n  % The first line needs space for \\box0; but if \\rightskip is nonzero,\n  % we need only space for the part of \\box0 which exceeds it:\n  \\dimen0=\\hsize  \\advance\\dimen0 by -\\wd0  \\advance\\dimen0 by \\rightskip\n  %\n  % If doing a return type on its own line, we'll have another line.\n  \\ifrettypeownline\n    \\advance\\tempnum by 1\n    \\def\\maybeshapeline{0in \\hsize}%\n  \\else\n    \\def\\maybeshapeline{}%\n  \\fi\n  %\n  % The continuations:\n  \\dimen2=\\hsize  \\advance\\dimen2 by -\\defargsindent\n  %\n  % The final paragraph shape:\n  \\parshape \\tempnum  0in \\dimen0  \\maybeshapeline  \\defargsindent \\dimen2\n  %\n  % Put the category name at the right margin.\n  \\noindent\n  \\hbox to 0pt{%\n    \\hfil\\box0 \\kern-\\hsize\n    % \\hsize has to be shortened this way:\n    \\kern\\leftskip\n    % Intentionally do not respect \\rightskip, since we need the space.\n  }%\n  %\n  % Allow all lines to be underfull without complaint:\n  \\tolerance=10000 \\hbadness=10000\n  \\exdentamount=\\defbodyindent\n  {%\n    % defun fonts. We use typewriter by default (used to be bold) because:\n    % . we're printing identifiers, they should be in tt in principle.\n    % . in languages with many accents, such as Czech or French, it's\n    %   common to leave accents off identifiers.  The result looks ok in\n    %   tt, but exceedingly strange in rm.\n    % . we don't want -- and --- to be treated as ligatures.\n    % . this still does not fix the ?` and !` ligatures, but so far no\n    %   one has made identifiers using them :).\n    \\df \\tt\n    \\def\\temp{#2}% text of the return type\n    \\ifx\\temp\\empty\\else\n      \\tclose{\\temp}% typeset the return type\n      \\ifrettypeownline\n        % put return type on its own line; prohibit line break following:\n        \\hfil\\vadjust{\\nobreak}\\break  \n      \\else\n        \\space  % type on same line, so just followed by a space\n      \\fi\n    \\fi           % no return type\n    #3% output function name\n  }%\n  {\\rm\\enskip}% hskip 0.5 em of \\tenrm\n  %\n  \\boldbrax\n  % arguments will be output next, if any.\n}\n\n% Print arguments in slanted roman (not ttsl), inconsistently with using\n% tt for the name.  This is because literal text is sometimes needed in\n% the argument list (groff manual), and ttsl and tt are not very\n% distinguishable.  Prevent hyphenation at `-' chars.\n%\n\\def\\defunargs#1{%\n  % use sl by default (not ttsl),\n  % tt for the names.\n  \\df \\sl \\hyphenchar\\font=0\n  %\n  % On the other hand, if an argument has two dashes (for instance), we\n  % want a way to get ttsl.  We used to recommend @var for that, so\n  % leave the code in, but it's strange for @var to lead to typewriter.\n  % Nowadays we recommend @code, since the difference between a ttsl hyphen\n  % and a tt hyphen is pretty tiny.  @code also disables ?` !`.\n  \\def\\var##1{{\\setupmarkupstyle{var}\\ttslanted{##1}}}%\n  #1%\n  \\sl\\hyphenchar\\font=45\n}\n\n% We want ()&[] to print specially on the defun line.\n%\n\\def\\activeparens{%\n  \\catcode`\\(=\\active \\catcode`\\)=\\active\n  \\catcode`\\[=\\active \\catcode`\\]=\\active\n  \\catcode`\\&=\\active\n}\n\n% Make control sequences which act like normal parenthesis chars.\n\\let\\lparen = ( \\let\\rparen = )\n\n% Be sure that we always have a definition for `(', etc.  For example,\n% if the fn name has parens in it, \\boldbrax will not be in effect yet,\n% so TeX would otherwise complain about undefined control sequence.\n{\n  \\activeparens\n  \\global\\let(=\\lparen \\global\\let)=\\rparen\n  \\global\\let[=\\lbrack \\global\\let]=\\rbrack\n  \\global\\let& = \\&\n\n  \\gdef\\boldbrax{\\let(=\\opnr\\let)=\\clnr\\let[=\\lbrb\\let]=\\rbrb}\n  \\gdef\\magicamp{\\let&=\\amprm}\n}\n\n\\newcount\\parencount\n\n% If we encounter &foo, then turn on ()-hacking afterwards\n\\newif\\ifampseen\n\\def\\amprm#1 {\\ampseentrue{\\bf\\&#1 }}\n\n\\def\\parenfont{%\n  \\ifampseen\n    % At the first level, print parens in roman,\n    % otherwise use the default font.\n    \\ifnum \\parencount=1 \\rm \\fi\n  \\else\n    % The \\sf parens (in \\boldbrax) actually are a little bolder than\n    % the contained text.  This is especially needed for [ and ] .\n    \\sf\n  \\fi\n}\n\\def\\infirstlevel#1{%\n  \\ifampseen\n    \\ifnum\\parencount=1\n      #1%\n    \\fi\n  \\fi\n}\n\\def\\bfafterword#1 {#1 \\bf}\n\n\\def\\opnr{%\n  \\global\\advance\\parencount by 1\n  {\\parenfont(}%\n  \\infirstlevel \\bfafterword\n}\n\\def\\clnr{%\n  {\\parenfont)}%\n  \\infirstlevel \\sl\n  \\global\\advance\\parencount by -1\n}\n\n\\newcount\\brackcount\n\\def\\lbrb{%\n  \\global\\advance\\brackcount by 1\n  {\\bf[}%\n}\n\\def\\rbrb{%\n  {\\bf]}%\n  \\global\\advance\\brackcount by -1\n}\n\n\\def\\checkparencounts{%\n  \\ifnum\\parencount=0 \\else \\badparencount \\fi\n  \\ifnum\\brackcount=0 \\else \\badbrackcount \\fi\n}\n% these should not use \\errmessage; the glibc manual, at least, actually\n% has such constructs (when documenting function pointers).\n\\def\\badparencount{%\n  \\message{Warning: unbalanced parentheses in @def...}%\n  \\global\\parencount=0\n}\n\\def\\badbrackcount{%\n  \\message{Warning: unbalanced square brackets in @def...}%\n  \\global\\brackcount=0\n}\n\n\n\\message{macros,}\n% @macro.\n\n% To do this right we need a feature of e-TeX, \\scantokens,\n% which we arrange to emulate with a temporary file in ordinary TeX.\n\\ifx\\eTeXversion\\thisisundefined\n  \\newwrite\\macscribble\n  \\def\\scantokens#1{%\n    \\toks0={#1}%\n    \\immediate\\openout\\macscribble=\\jobname.tmp\n    \\immediate\\write\\macscribble{\\the\\toks0}%\n    \\immediate\\closeout\\macscribble\n    \\input \\jobname.tmp\n  }\n\\fi\n\n\\def\\scanmacro#1{\\begingroup\n  \\newlinechar`\\^^M\n  \\let\\xeatspaces\\eatspaces\n  %\n  % Undo catcode changes of \\startcontents and \\doprintindex\n  % When called from @insertcopying or (short)caption, we need active\n  % backslash to get it printed correctly.  Previously, we had\n  % \\catcode`\\\\=\\other instead.  We'll see whether a problem appears\n  % with macro expansion.\t\t\t\t--kasal, 19aug04\n  \\catcode`\\@=0 \\catcode`\\\\=\\active \\escapechar=`\\@\n  %\n  % ... and for \\example:\n  \\spaceisspace\n  %\n  % The \\empty here causes a following catcode 5 newline to be eaten as\n  % part of reading whitespace after a control sequence.  It does not\n  % eat a catcode 13 newline.  There's no good way to handle the two\n  % cases (untried: maybe e-TeX's \\everyeof could help, though plain TeX\n  % would then have different behavior).  See the Macro Details node in\n  % the manual for the workaround we recommend for macros and\n  % line-oriented commands.\n  % \n  \\scantokens{#1\\empty}%\n\\endgroup}\n\n\\def\\scanexp#1{%\n  \\edef\\temp{\\noexpand\\scanmacro{#1}}%\n  \\temp\n}\n\n\\newcount\\paramno   % Count of parameters\n\\newtoks\\macname    % Macro name\n\\newif\\ifrecursive  % Is it recursive?\n\n% List of all defined macros in the form\n%    \\definedummyword\\macro1\\definedummyword\\macro2...\n% Currently is also contains all @aliases; the list can be split\n% if there is a need.\n\\def\\macrolist{}\n\n% Add the macro to \\macrolist\n\\def\\addtomacrolist#1{\\expandafter \\addtomacrolistxxx \\csname#1\\endcsname}\n\\def\\addtomacrolistxxx#1{%\n     \\toks0 = \\expandafter{\\macrolist\\definedummyword#1}%\n     \\xdef\\macrolist{\\the\\toks0}%\n}\n\n% Utility routines.\n% This does \\let #1 = #2, with \\csnames; that is,\n%   \\let \\csname#1\\endcsname = \\csname#2\\endcsname\n% (except of course we have to play expansion games).\n%\n\\def\\cslet#1#2{%\n  \\expandafter\\let\n  \\csname#1\\expandafter\\endcsname\n  \\csname#2\\endcsname\n}\n\n% Trim leading and trailing spaces off a string.\n% Concepts from aro-bend problem 15 (see CTAN).\n{\\catcode`\\@=11\n\\gdef\\eatspaces #1{\\expandafter\\trim@\\expandafter{#1 }}\n\\gdef\\trim@ #1{\\trim@@ @#1 @ #1 @ @@}\n\\gdef\\trim@@ #1@ #2@ #3@@{\\trim@@@\\empty #2 @}\n\\def\\unbrace#1{#1}\n\\unbrace{\\gdef\\trim@@@ #1 } #2@{#1}\n}\n\n% Trim a single trailing ^^M off a string.\n{\\catcode`\\^^M=\\other \\catcode`\\Q=3%\n\\gdef\\eatcr #1{\\eatcra #1Q^^MQ}%\n\\gdef\\eatcra#1^^MQ{\\eatcrb#1Q}%\n\\gdef\\eatcrb#1Q#2Q{#1}%\n}\n\n% Macro bodies are absorbed as an argument in a context where\n% all characters are catcode 10, 11 or 12, except \\ which is active\n% (as in normal texinfo). It is necessary to change the definition of \\\n% to recognize macro arguments; this is the job of \\mbodybackslash.\n%\n% Non-ASCII encodings make 8-bit characters active, so un-activate\n% them to avoid their expansion.  Must do this non-globally, to\n% confine the change to the current group.\n%\n% It's necessary to have hard CRs when the macro is executed. This is\n% done by making ^^M (\\endlinechar) catcode 12 when reading the macro\n% body, and then making it the \\newlinechar in \\scanmacro.\n%\n\\def\\scanctxt{% used as subroutine\n  \\catcode`\\\"=\\other\n  \\catcode`\\+=\\other\n  \\catcode`\\<=\\other\n  \\catcode`\\>=\\other\n  \\catcode`\\@=\\other\n  \\catcode`\\^=\\other\n  \\catcode`\\_=\\other\n  \\catcode`\\|=\\other\n  \\catcode`\\~=\\other\n  \\ifx\\declaredencoding\\ascii \\else \\setnonasciicharscatcodenonglobal\\other \\fi\n}\n\n\\def\\scanargctxt{% used for copying and captions, not macros.\n  \\scanctxt\n  \\catcode`\\\\=\\other\n  \\catcode`\\^^M=\\other\n}\n\n\\def\\macrobodyctxt{% used for @macro definitions\n  \\scanctxt\n  \\catcode`\\{=\\other\n  \\catcode`\\}=\\other\n  \\catcode`\\^^M=\\other\n  \\usembodybackslash\n}\n\n\\def\\macroargctxt{% used when scanning invocations\n  \\scanctxt\n  \\catcode`\\\\=0\n}\n% why catcode 0 for \\ in the above?  To recognize \\\\ \\{ \\} as \"escapes\"\n% for the single characters \\ { }.  Thus, we end up with the \"commands\"\n% that would be written @\\ @{ @} in a Texinfo document.\n% \n% We already have @{ and @}.  For @\\, we define it here, and only for\n% this purpose, to produce a typewriter backslash (so, the @\\ that we\n% define for @math can't be used with @macro calls):\n%\n\\def\\\\{\\normalbackslash}%\n% \n% We would like to do this for \\, too, since that is what makeinfo does.\n% But it is not possible, because Texinfo already has a command @, for a\n% cedilla accent.  Documents must use @comma{} instead.\n%\n% \\anythingelse will almost certainly be an error of some kind.\n\n\n% \\mbodybackslash is the definition of \\ in @macro bodies.\n% It maps \\foo\\ => \\csname macarg.foo\\endcsname => #N\n% where N is the macro parameter number.\n% We define \\csname macarg.\\endcsname to be \\realbackslash, so\n% \\\\ in macro replacement text gets you a backslash.\n%\n{\\catcode`@=0 @catcode`@\\=@active\n @gdef@usembodybackslash{@let\\=@mbodybackslash}\n @gdef@mbodybackslash#1\\{@csname macarg.#1@endcsname}\n}\n\\expandafter\\def\\csname macarg.\\endcsname{\\realbackslash}\n\n\\def\\margbackslash#1{\\char`\\#1 }\n\n\\def\\macro{\\recursivefalse\\parsearg\\macroxxx}\n\\def\\rmacro{\\recursivetrue\\parsearg\\macroxxx}\n\n\\def\\macroxxx#1{%\n  \\getargs{#1}% now \\macname is the macname and \\argl the arglist\n  \\ifx\\argl\\empty       % no arguments\n     \\paramno=0\\relax\n  \\else\n     \\expandafter\\parsemargdef \\argl;%\n     \\if\\paramno>256\\relax\n       \\ifx\\eTeXversion\\thisisundefined\n         \\errhelp = \\EMsimple\n         \\errmessage{You need eTeX to compile a file with macros with more than 256 arguments}\n       \\fi\n     \\fi\n  \\fi\n  \\if1\\csname ismacro.\\the\\macname\\endcsname\n     \\message{Warning: redefining \\the\\macname}%\n  \\else\n     \\expandafter\\ifx\\csname \\the\\macname\\endcsname \\relax\n     \\else \\errmessage{Macro name \\the\\macname\\space already defined}\\fi\n     \\global\\cslet{macsave.\\the\\macname}{\\the\\macname}%\n     \\global\\expandafter\\let\\csname ismacro.\\the\\macname\\endcsname=1%\n     \\addtomacrolist{\\the\\macname}%\n  \\fi\n  \\begingroup \\macrobodyctxt\n  \\ifrecursive \\expandafter\\parsermacbody\n  \\else \\expandafter\\parsemacbody\n  \\fi}\n\n\\parseargdef\\unmacro{%\n  \\if1\\csname ismacro.#1\\endcsname\n    \\global\\cslet{#1}{macsave.#1}%\n    \\global\\expandafter\\let \\csname ismacro.#1\\endcsname=0%\n    % Remove the macro name from \\macrolist:\n    \\begingroup\n      \\expandafter\\let\\csname#1\\endcsname \\relax\n      \\let\\definedummyword\\unmacrodo\n      \\xdef\\macrolist{\\macrolist}%\n    \\endgroup\n  \\else\n    \\errmessage{Macro #1 not defined}%\n  \\fi\n}\n\n% Called by \\do from \\dounmacro on each macro.  The idea is to omit any\n% macro definitions that have been changed to \\relax.\n%\n\\def\\unmacrodo#1{%\n  \\ifx #1\\relax\n    % remove this\n  \\else\n    \\noexpand\\definedummyword \\noexpand#1%\n  \\fi\n}\n\n% This makes use of the obscure feature that if the last token of a\n% <parameter list> is #, then the preceding argument is delimited by\n% an opening brace, and that opening brace is not consumed.\n\\def\\getargs#1{\\getargsxxx#1{}}\n\\def\\getargsxxx#1#{\\getmacname #1 \\relax\\getmacargs}\n\\def\\getmacname#1 #2\\relax{\\macname={#1}}\n\\def\\getmacargs#1{\\def\\argl{#1}}\n\n% For macro processing make @ a letter so that we can make Texinfo private macro names.\n\\edef\\texiatcatcode{\\the\\catcode`\\@}\n\\catcode `@=11\\relax\n\n% Parse the optional {params} list.  Set up \\paramno and \\paramlist\n% so \\defmacro knows what to do.  Define \\macarg.BLAH for each BLAH\n% in the params list to some hook where the argument si to be expanded.  If\n% there are less than 10 arguments that hook is to be replaced by ##N where N\n% is the position in that list, that is to say the macro arguments are to be\n% defined `a la TeX in the macro body.  \n%\n% That gets used by \\mbodybackslash (above).\n%\n% We need to get `macro parameter char #' into several definitions.\n% The technique used is stolen from LaTeX: let \\hash be something\n% unexpandable, insert that wherever you need a #, and then redefine\n% it to # just before using the token list produced.\n%\n% The same technique is used to protect \\eatspaces till just before\n% the macro is used.\n%\n% If there are 10 or more arguments, a different technique is used, where the\n% hook remains in the body, and when macro is to be expanded the body is\n% processed again to replace the arguments.\n%\n% In that case, the hook is \\the\\toks N-1, and we simply set \\toks N-1 to the\n% argument N value and then \\edef  the body (nothing else will expand because of\n% the catcode regime underwhich the body was input).\n%\n% If you compile with TeX (not eTeX), and you have macros with 10 or more\n% arguments, you need that no macro has more than 256 arguments, otherwise an\n% error is produced.\n\\def\\parsemargdef#1;{%\n  \\paramno=0\\def\\paramlist{}%\n  \\let\\hash\\relax\n  \\let\\xeatspaces\\relax\n  \\parsemargdefxxx#1,;,%\n  % In case that there are 10 or more arguments we parse again the arguments\n  % list to set new definitions for the \\macarg.BLAH macros corresponding to\n  % each BLAH argument. It was anyhow needed to parse already once this list\n  % in order to count the arguments, and as macros with at most 9 arguments\n  % are by far more frequent than macro with 10 or more arguments, defining\n  % twice the \\macarg.BLAH macros does not cost too much processing power.\n  \\ifnum\\paramno<10\\relax\\else\n    \\paramno0\\relax\n    \\parsemmanyargdef@@#1,;,% 10 or more arguments\n  \\fi\n}\n\\def\\parsemargdefxxx#1,{%\n  \\if#1;\\let\\next=\\relax\n  \\else \\let\\next=\\parsemargdefxxx\n    \\advance\\paramno by 1\n    \\expandafter\\edef\\csname macarg.\\eatspaces{#1}\\endcsname\n        {\\xeatspaces{\\hash\\the\\paramno}}%\n    \\edef\\paramlist{\\paramlist\\hash\\the\\paramno,}%\n  \\fi\\next}\n\n\\def\\parsemmanyargdef@@#1,{%\n  \\if#1;\\let\\next=\\relax\n  \\else \n    \\let\\next=\\parsemmanyargdef@@\n    \\edef\\tempb{\\eatspaces{#1}}%\n    \\expandafter\\def\\expandafter\\tempa\n       \\expandafter{\\csname macarg.\\tempb\\endcsname}%\n    % Note that we need some extra \\noexpand\\noexpand, this is because we\n    % don't want \\the  to be expanded in the \\parsermacbody  as it uses an\n    % \\xdef .\n    \\expandafter\\edef\\tempa\n      {\\noexpand\\noexpand\\noexpand\\the\\toks\\the\\paramno}%\n    \\advance\\paramno by 1\\relax\n  \\fi\\next}\n\n% These two commands read recursive and nonrecursive macro bodies.\n% (They're different since rec and nonrec macros end differently.)\n%\n\n\\catcode `\\@\\texiatcatcode\n\\long\\def\\parsemacbody#1@end macro%\n{\\xdef\\temp{\\eatcr{#1}}\\endgroup\\defmacro}%\n\\long\\def\\parsermacbody#1@end rmacro%\n{\\xdef\\temp{\\eatcr{#1}}\\endgroup\\defmacro}%\n\\catcode `\\@=11\\relax\n\n\\let\\endargs@\\relax\n\\let\\nil@\\relax\n\\def\\nilm@{\\nil@}%\n\\long\\def\\nillm@{\\nil@}%\n\n% This macro is expanded during the Texinfo macro expansion, not during its\n% definition.  It gets all the arguments values and assigns them to macros\n% macarg.ARGNAME\n%\n% #1 is the macro name\n% #2 is the list of argument names\n% #3 is the list of argument values\n\\def\\getargvals@#1#2#3{%\n  \\def\\macargdeflist@{}%\n  \\def\\saveparamlist@{#2}% Need to keep a copy for parameter expansion.\n  \\def\\paramlist{#2,\\nil@}%\n  \\def\\macroname{#1}%\n  \\begingroup\n  \\macroargctxt\n  \\def\\argvaluelist{#3,\\nil@}%\n  \\def\\@tempa{#3}%\n  \\ifx\\@tempa\\empty\n    \\setemptyargvalues@\n  \\else\n    \\getargvals@@\n  \\fi\n}\n\n% \n\\def\\getargvals@@{%\n  \\ifx\\paramlist\\nilm@\n      % Some sanity check needed here that \\argvaluelist is also empty.\n      \\ifx\\argvaluelist\\nillm@\n      \\else\n        \\errhelp = \\EMsimple\n        \\errmessage{Too many arguments in macro `\\macroname'!}%\n      \\fi\n      \\let\\next\\macargexpandinbody@\n  \\else\n    \\ifx\\argvaluelist\\nillm@\n       % No more arguments values passed to macro.  Set remaining named-arg\n       % macros to empty.\n       \\let\\next\\setemptyargvalues@\n    \\else\n      % pop current arg name into \\@tempb\n      \\def\\@tempa##1{\\pop@{\\@tempb}{\\paramlist}##1\\endargs@}%\n      \\expandafter\\@tempa\\expandafter{\\paramlist}%\n       % pop current argument value into \\@tempc\n      \\def\\@tempa##1{\\longpop@{\\@tempc}{\\argvaluelist}##1\\endargs@}%\n      \\expandafter\\@tempa\\expandafter{\\argvaluelist}%\n       % Here \\@tempb is the current arg name and \\@tempc is the current arg value.\n       % First place the new argument macro definition into \\@tempd\n       \\expandafter\\macname\\expandafter{\\@tempc}%\n       \\expandafter\\let\\csname macarg.\\@tempb\\endcsname\\relax\n       \\expandafter\\def\\expandafter\\@tempe\\expandafter{%\n         \\csname macarg.\\@tempb\\endcsname}%\n       \\edef\\@tempd{\\long\\def\\@tempe{\\the\\macname}}%\n       \\push@\\@tempd\\macargdeflist@\n       \\let\\next\\getargvals@@\n    \\fi\n  \\fi\n  \\next\n}\n\n\\def\\push@#1#2{%\n  \\expandafter\\expandafter\\expandafter\\def\n  \\expandafter\\expandafter\\expandafter#2%\n  \\expandafter\\expandafter\\expandafter{%\n  \\expandafter#1#2}%\n}\n\n% Replace arguments by their values in the macro body, and place the result\n% in macro \\@tempa\n\\def\\macvalstoargs@{%\n  %  To do this we use the property that token registers that are \\the'ed\n  % within an \\edef  expand only once. So we are going to place all argument\n  % values into respective token registers.\n  %\n  % First we save the token context, and initialize argument numbering.\n  \\begingroup\n    \\paramno0\\relax\n    % Then, for each argument number #N, we place the corresponding argument\n    % value into a new token list register \\toks#N\n    \\expandafter\\putargsintokens@\\saveparamlist@,;,%\n    % Then, we expand the body so that argument are replaced by their\n    % values. The trick for values not to be expanded themselves is that they\n    % are within tokens and that tokens expand only once in an \\edef .\n    \\edef\\@tempc{\\csname mac.\\macroname .body\\endcsname}%\n    % Now we restore the token stack pointer to free the token list registers\n    % which we have used, but we make sure that expanded body is saved after\n    % group.\n    \\expandafter\n  \\endgroup\n  \\expandafter\\def\\expandafter\\@tempa\\expandafter{\\@tempc}%\n  }\n\n\\def\\macargexpandinbody@{% \n  %% Define the named-macro outside of this group and then close this group. \n  \\expandafter\n  \\endgroup\n  \\macargdeflist@\n  % First the replace in body the macro arguments by their values, the result\n  % is in \\@tempa .\n  \\macvalstoargs@\n  % Then we point at the \\norecurse or \\gobble (for recursive) macro value\n  % with \\@tempb .\n  \\expandafter\\let\\expandafter\\@tempb\\csname mac.\\macroname .recurse\\endcsname\n  % Depending on whether it is recursive or not, we need some tailing\n  % \\egroup .\n  \\ifx\\@tempb\\gobble\n     \\let\\@tempc\\relax\n  \\else\n     \\let\\@tempc\\egroup\n  \\fi\n  % And now we do the real job:\n  \\edef\\@tempd{\\noexpand\\@tempb{\\macroname}\\noexpand\\scanmacro{\\@tempa}\\@tempc}%\n  \\@tempd\n}\n\n\\def\\putargsintokens@#1,{%\n  \\if#1;\\let\\next\\relax\n  \\else\n    \\let\\next\\putargsintokens@\n    % First we allocate the new token list register, and give it a temporary\n    % alias \\@tempb .\n    \\toksdef\\@tempb\\the\\paramno\n    % Then we place the argument value into that token list register.\n    \\expandafter\\let\\expandafter\\@tempa\\csname macarg.#1\\endcsname\n    \\expandafter\\@tempb\\expandafter{\\@tempa}%\n    \\advance\\paramno by 1\\relax\n  \\fi\n  \\next\n}\n\n% Save the token stack pointer into macro #1\n\\def\\texisavetoksstackpoint#1{\\edef#1{\\the\\@cclvi}}\n% Restore the token stack pointer from number in macro #1\n\\def\\texirestoretoksstackpoint#1{\\expandafter\\mathchardef\\expandafter\\@cclvi#1\\relax}\n% newtoks that can be used non \\outer .\n\\def\\texinonouternewtoks{\\alloc@ 5\\toks \\toksdef \\@cclvi}\n\n% Tailing missing arguments are set to empty\n\\def\\setemptyargvalues@{%\n  \\ifx\\paramlist\\nilm@\n    \\let\\next\\macargexpandinbody@\n  \\else\n    \\expandafter\\setemptyargvaluesparser@\\paramlist\\endargs@\n    \\let\\next\\setemptyargvalues@\n  \\fi\n  \\next\n}\n\n\\def\\setemptyargvaluesparser@#1,#2\\endargs@{%\n  \\expandafter\\def\\expandafter\\@tempa\\expandafter{%\n    \\expandafter\\def\\csname macarg.#1\\endcsname{}}%\n  \\push@\\@tempa\\macargdeflist@\n  \\def\\paramlist{#2}%\n}\n\n% #1 is the element target macro\n% #2 is the list macro\n% #3,#4\\endargs@ is the list value\n\\def\\pop@#1#2#3,#4\\endargs@{%\n   \\def#1{#3}%\n   \\def#2{#4}%\n}\n\\long\\def\\longpop@#1#2#3,#4\\endargs@{%\n   \\long\\def#1{#3}%\n   \\long\\def#2{#4}%\n}\n\n% This defines a Texinfo @macro. There are eight cases: recursive and\n% nonrecursive macros of zero, one, up to nine, and many arguments.\n% Much magic with \\expandafter here.\n% \\xdef is used so that macro definitions will survive the file\n% they're defined in; @include reads the file inside a group.\n%\n\\def\\defmacro{%\n  \\let\\hash=##% convert placeholders to macro parameter chars\n  \\ifrecursive\n    \\ifcase\\paramno\n    % 0\n      \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n        \\noexpand\\scanmacro{\\temp}}%\n    \\or % 1\n      \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n         \\bgroup\\noexpand\\macroargctxt\n         \\noexpand\\braceorline\n         \\expandafter\\noexpand\\csname\\the\\macname xxx\\endcsname}%\n      \\expandafter\\xdef\\csname\\the\\macname xxx\\endcsname##1{%\n         \\egroup\\noexpand\\scanmacro{\\temp}}%\n    \\else\n      \\ifnum\\paramno<10\\relax % at most 9\n        \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n           \\bgroup\\noexpand\\macroargctxt\n           \\noexpand\\csname\\the\\macname xx\\endcsname}%\n        \\expandafter\\xdef\\csname\\the\\macname xx\\endcsname##1{%\n            \\expandafter\\noexpand\\csname\\the\\macname xxx\\endcsname ##1,}%\n        \\expandafter\\expandafter\n        \\expandafter\\xdef\n        \\expandafter\\expandafter\n          \\csname\\the\\macname xxx\\endcsname\n            \\paramlist{\\egroup\\noexpand\\scanmacro{\\temp}}%\n      \\else % 10 or more\n        \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n          \\noexpand\\getargvals@{\\the\\macname}{\\argl}%\n        }%    \n        \\global\\expandafter\\let\\csname mac.\\the\\macname .body\\endcsname\\temp\n        \\global\\expandafter\\let\\csname mac.\\the\\macname .recurse\\endcsname\\gobble\n      \\fi\n    \\fi\n  \\else\n    \\ifcase\\paramno\n    % 0\n      \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n        \\noexpand\\norecurse{\\the\\macname}%\n        \\noexpand\\scanmacro{\\temp}\\egroup}%\n    \\or % 1\n      \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n         \\bgroup\\noexpand\\macroargctxt\n         \\noexpand\\braceorline\n         \\expandafter\\noexpand\\csname\\the\\macname xxx\\endcsname}%\n      \\expandafter\\xdef\\csname\\the\\macname xxx\\endcsname##1{%\n        \\egroup\n        \\noexpand\\norecurse{\\the\\macname}%\n        \\noexpand\\scanmacro{\\temp}\\egroup}%\n    \\else % at most 9\n      \\ifnum\\paramno<10\\relax\n        \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n           \\bgroup\\noexpand\\macroargctxt\n           \\expandafter\\noexpand\\csname\\the\\macname xx\\endcsname}%\n        \\expandafter\\xdef\\csname\\the\\macname xx\\endcsname##1{%\n            \\expandafter\\noexpand\\csname\\the\\macname xxx\\endcsname ##1,}%\n        \\expandafter\\expandafter\n        \\expandafter\\xdef\n        \\expandafter\\expandafter\n        \\csname\\the\\macname xxx\\endcsname\n        \\paramlist{%\n            \\egroup\n            \\noexpand\\norecurse{\\the\\macname}%\n            \\noexpand\\scanmacro{\\temp}\\egroup}%\n      \\else % 10 or more:\n        \\expandafter\\xdef\\csname\\the\\macname\\endcsname{%\n          \\noexpand\\getargvals@{\\the\\macname}{\\argl}%\n        }%\n        \\global\\expandafter\\let\\csname mac.\\the\\macname .body\\endcsname\\temp\n        \\global\\expandafter\\let\\csname mac.\\the\\macname .recurse\\endcsname\\norecurse\n      \\fi\n    \\fi\n  \\fi}\n\n\\catcode `\\@\\texiatcatcode\\relax\n\n\\def\\norecurse#1{\\bgroup\\cslet{#1}{macsave.#1}}\n\n% \\braceorline decides whether the next nonwhitespace character is a\n% {.  If so it reads up to the closing }, if not, it reads the whole\n% line.  Whatever was read is then fed to the next control sequence\n% as an argument (by \\parsebrace or \\parsearg).\n% \n\\def\\braceorline#1{\\let\\macnamexxx=#1\\futurelet\\nchar\\braceorlinexxx}\n\\def\\braceorlinexxx{%\n  \\ifx\\nchar\\bgroup\\else\n    \\expandafter\\parsearg\n  \\fi \\macnamexxx}\n\n\n% @alias.\n% We need some trickery to remove the optional spaces around the equal\n% sign.  Make them active and then expand them all to nothing.\n%\n\\def\\alias{\\parseargusing\\obeyspaces\\aliasxxx}\n\\def\\aliasxxx #1{\\aliasyyy#1\\relax}\n\\def\\aliasyyy #1=#2\\relax{%\n  {%\n    \\expandafter\\let\\obeyedspace=\\empty\n    \\addtomacrolist{#1}%\n    \\xdef\\next{\\global\\let\\makecsname{#1}=\\makecsname{#2}}%\n  }%\n  \\next\n}\n\n\n\\message{cross references,}\n\n\\newwrite\\auxfile\n\\newif\\ifhavexrefs    % True if xref values are known.\n\\newif\\ifwarnedxrefs  % True if we warned once that they aren't known.\n\n% @inforef is relatively simple.\n\\def\\inforef #1{\\inforefzzz #1,,,,**}\n\\def\\inforefzzz #1,#2,#3,#4**{%\n  \\putwordSee{} \\putwordInfo{} \\putwordfile{} \\file{\\ignorespaces #3{}},\n  node \\samp{\\ignorespaces#1{}}}\n\n% @node's only job in TeX is to define \\lastnode, which is used in\n% cross-references.  The @node line might or might not have commas, and\n% might or might not have spaces before the first comma, like:\n% @node foo , bar , ...\n% We don't want such trailing spaces in the node name.\n%\n\\parseargdef\\node{\\checkenv{}\\donode #1 ,\\finishnodeparse}\n%\n% also remove a trailing comma, in case of something like this:\n% @node Help-Cross,  ,  , Cross-refs\n\\def\\donode#1 ,#2\\finishnodeparse{\\dodonode #1,\\finishnodeparse}\n\\def\\dodonode#1,#2\\finishnodeparse{\\gdef\\lastnode{#1}}\n\n\\let\\nwnode=\\node\n\\let\\lastnode=\\empty\n\n% Write a cross-reference definition for the current node.  #1 is the\n% type (Ynumbered, Yappendix, Ynothing).\n%\n\\def\\donoderef#1{%\n  \\ifx\\lastnode\\empty\\else\n    \\setref{\\lastnode}{#1}%\n    \\global\\let\\lastnode=\\empty\n  \\fi\n}\n\n% @anchor{NAME} -- define xref target at arbitrary point.\n%\n\\newcount\\savesfregister\n%\n\\def\\savesf{\\relax \\ifhmode \\savesfregister=\\spacefactor \\fi}\n\\def\\restoresf{\\relax \\ifhmode \\spacefactor=\\savesfregister \\fi}\n\\def\\anchor#1{\\savesf \\setref{#1}{Ynothing}\\restoresf \\ignorespaces}\n\n% \\setref{NAME}{SNT} defines a cross-reference point NAME (a node or an\n% anchor), which consists of three parts:\n% 1) NAME-title - the current sectioning name taken from \\lastsection,\n%                 or the anchor name.\n% 2) NAME-snt   - section number and type, passed as the SNT arg, or\n%                 empty for anchors.\n% 3) NAME-pg    - the page number.\n%\n% This is called from \\donoderef, \\anchor, and \\dofloat.  In the case of\n% floats, there is an additional part, which is not written here:\n% 4) NAME-lof   - the text as it should appear in a @listoffloats.\n%\n\\def\\setref#1#2{%\n  \\pdfmkdest{#1}%\n  \\iflinks\n    {%\n      \\atdummies  % preserve commands, but don't expand them\n      \\edef\\writexrdef##1##2{%\n\t\\write\\auxfile{@xrdef{#1-% #1 of \\setref, expanded by the \\edef\n\t  ##1}{##2}}% these are parameters of \\writexrdef\n      }%\n      \\toks0 = \\expandafter{\\lastsection}%\n      \\immediate \\writexrdef{title}{\\the\\toks0 }%\n      \\immediate \\writexrdef{snt}{\\csname #2\\endcsname}% \\Ynumbered etc.\n      \\safewhatsit{\\writexrdef{pg}{\\folio}}% will be written later, at \\shipout\n    }%\n  \\fi\n}\n\n% @xrefautosectiontitle on|off says whether @section(ing) names are used\n% automatically in xrefs, if the third arg is not explicitly specified.\n% This was provided as a \"secret\" @set xref-automatic-section-title\n% variable, now it's official.\n% \n\\parseargdef\\xrefautomaticsectiontitle{%\n  \\def\\temp{#1}%\n  \\ifx\\temp\\onword\n    \\expandafter\\let\\csname SETxref-automatic-section-title\\endcsname\n      = \\empty\n  \\else\\ifx\\temp\\offword\n    \\expandafter\\let\\csname SETxref-automatic-section-title\\endcsname\n      = \\relax\n  \\else\n    \\errhelp = \\EMsimple\n    \\errmessage{Unknown @xrefautomaticsectiontitle value `\\temp',\n                must be on|off}%\n  \\fi\\fi\n}\n\n% \f\n% @xref, @pxref, and @ref generate cross-references.  For \\xrefX, #1 is\n% the node name, #2 the name of the Info cross-reference, #3 the printed\n% node name, #4 the name of the Info file, #5 the name of the printed\n% manual.  All but the node name can be omitted.\n%\n\\def\\pxref#1{\\putwordsee{} \\xrefX[#1,,,,,,,]}\n\\def\\xref#1{\\putwordSee{} \\xrefX[#1,,,,,,,]}\n\\def\\ref#1{\\xrefX[#1,,,,,,,]}\n%\n\\newbox\\toprefbox\n\\newbox\\printedrefnamebox\n\\newbox\\infofilenamebox\n\\newbox\\printedmanualbox\n%\n\\def\\xrefX[#1,#2,#3,#4,#5,#6]{\\begingroup\n  \\unsepspaces\n  %\n  % Get args without leading/trailing spaces.\n  \\def\\printedrefname{\\ignorespaces #3}%\n  \\setbox\\printedrefnamebox = \\hbox{\\printedrefname\\unskip}%\n  %\n  \\def\\infofilename{\\ignorespaces #4}%\n  \\setbox\\infofilenamebox = \\hbox{\\infofilename\\unskip}%\n  %\n  \\def\\printedmanual{\\ignorespaces #5}%\n  \\setbox\\printedmanualbox  = \\hbox{\\printedmanual\\unskip}%\n  %\n  % If the printed reference name (arg #3) was not explicitly given in\n  % the @xref, figure out what we want to use.\n  \\ifdim \\wd\\printedrefnamebox = 0pt\n    % No printed node name was explicitly given.\n    \\expandafter\\ifx\\csname SETxref-automatic-section-title\\endcsname \\relax\n      % Not auto section-title: use node name inside the square brackets.\n      \\def\\printedrefname{\\ignorespaces #1}%\n    \\else\n      % Auto section-title: use chapter/section title inside\n      % the square brackets if we have it.\n      \\ifdim \\wd\\printedmanualbox > 0pt\n        % It is in another manual, so we don't have it; use node name.\n        \\def\\printedrefname{\\ignorespaces #1}%\n      \\else\n        \\ifhavexrefs\n          % We (should) know the real title if we have the xref values.\n          \\def\\printedrefname{\\refx{#1-title}{}}%\n        \\else\n          % Otherwise just copy the Info node name.\n          \\def\\printedrefname{\\ignorespaces #1}%\n        \\fi%\n      \\fi\n    \\fi\n  \\fi\n  %\n  % Make link in pdf output.\n  \\ifpdf\n    {\\indexnofonts\n     \\turnoffactive\n     \\makevalueexpandable\n     % This expands tokens, so do it after making catcode changes, so _\n     % etc. don't get their TeX definitions.  This ignores all spaces in\n     % #4, including (wrongly) those in the middle of the filename.\n     \\getfilename{#4}%\n     %\n     % This (wrongly) does not take account of leading or trailing\n     % spaces in #1, which should be ignored.\n     \\edef\\pdfxrefdest{#1}%\n     \\ifx\\pdfxrefdest\\empty\n       \\def\\pdfxrefdest{Top}% no empty targets\n     \\else\n       \\txiescapepdf\\pdfxrefdest  % escape PDF special chars\n     \\fi\n     %\n     \\leavevmode\n     \\startlink attr{/Border [0 0 0]}%\n     \\ifnum\\filenamelength>0\n       goto file{\\the\\filename.pdf} name{\\pdfxrefdest}%\n     \\else\n       goto name{\\pdfmkpgn{\\pdfxrefdest}}%\n     \\fi\n    }%\n    \\setcolor{\\linkcolor}%\n  \\fi\n  %\n  % Float references are printed completely differently: \"Figure 1.2\"\n  % instead of \"[somenode], p.3\".  We distinguish them by the\n  % LABEL-title being set to a magic string.\n  {%\n    % Have to otherify everything special to allow the \\csname to\n    % include an _ in the xref name, etc.\n    \\indexnofonts\n    \\turnoffactive\n    \\expandafter\\global\\expandafter\\let\\expandafter\\Xthisreftitle\n      \\csname XR#1-title\\endcsname\n  }%\n  \\iffloat\\Xthisreftitle\n    % If the user specified the print name (third arg) to the ref,\n    % print it instead of our usual \"Figure 1.2\".\n    \\ifdim\\wd\\printedrefnamebox = 0pt\n      \\refx{#1-snt}{}%\n    \\else\n      \\printedrefname\n    \\fi\n    %\n    % If the user also gave the printed manual name (fifth arg), append\n    % \"in MANUALNAME\".\n    \\ifdim \\wd\\printedmanualbox > 0pt\n      \\space \\putwordin{} \\cite{\\printedmanual}%\n    \\fi\n  \\else\n    % node/anchor (non-float) references.\n    % \n    % If we use \\unhbox to print the node names, TeX does not insert\n    % empty discretionaries after hyphens, which means that it will not\n    % find a line break at a hyphen in a node names.  Since some manuals\n    % are best written with fairly long node names, containing hyphens,\n    % this is a loss.  Therefore, we give the text of the node name\n    % again, so it is as if TeX is seeing it for the first time.\n    % \n    \\ifdim \\wd\\printedmanualbox > 0pt\n      % Cross-manual reference with a printed manual name.\n      % \n      \\crossmanualxref{\\cite{\\printedmanual\\unskip}}%\n    %\n    \\else\\ifdim \\wd\\infofilenamebox > 0pt\n      % Cross-manual reference with only an info filename (arg 4), no\n      % printed manual name (arg 5).  This is essentially the same as\n      % the case above; we output the filename, since we have nothing else.\n      % \n      \\crossmanualxref{\\code{\\infofilename\\unskip}}%\n    %\n    \\else\n      % Reference within this manual.\n      %\n      % _ (for example) has to be the character _ for the purposes of the\n      % control sequence corresponding to the node, but it has to expand\n      % into the usual \\leavevmode...\\vrule stuff for purposes of\n      % printing. So we \\turnoffactive for the \\refx-snt, back on for the\n      % printing, back off for the \\refx-pg.\n      {\\turnoffactive\n       % Only output a following space if the -snt ref is nonempty; for\n       % @unnumbered and @anchor, it won't be.\n       \\setbox2 = \\hbox{\\ignorespaces \\refx{#1-snt}{}}%\n       \\ifdim \\wd2 > 0pt \\refx{#1-snt}\\space\\fi\n      }%\n      % output the `[mynode]' via the macro below so it can be overridden.\n      \\xrefprintnodename\\printedrefname\n      %\n      % But we always want a comma and a space:\n      ,\\space\n      %\n      % output the `page 3'.\n      \\turnoffactive \\putwordpage\\tie\\refx{#1-pg}{}%\n    \\fi\\fi\n  \\fi\n  \\endlink\n\\endgroup}\n\n% Output a cross-manual xref to #1.  Used just above (twice).\n% \n% Only include the text \"Section ``foo'' in\" if the foo is neither\n% missing or Top.  Thus, @xref{,,,foo,The Foo Manual} outputs simply\n% \"see The Foo Manual\", the idea being to refer to the whole manual.\n% \n% But, this being TeX, we can't easily compare our node name against the\n% string \"Top\" while ignoring the possible spaces before and after in\n% the input.  By adding the arbitrary 7sp below, we make it much less\n% likely that a real node name would have the same width as \"Top\" (e.g.,\n% in a monospaced font).  Hopefully it will never happen in practice.\n% \n% For the same basic reason, we retypeset the \"Top\" at every\n% reference, since the current font is indeterminate.\n% \n\\def\\crossmanualxref#1{%\n  \\setbox\\toprefbox = \\hbox{Top\\kern7sp}%\n  \\setbox2 = \\hbox{\\ignorespaces \\printedrefname \\unskip \\kern7sp}%\n  \\ifdim \\wd2 > 7sp  % nonempty?\n    \\ifdim \\wd2 = \\wd\\toprefbox \\else  % same as Top?\n      \\putwordSection{} ``\\printedrefname'' \\putwordin{}\\space\n    \\fi\n  \\fi\n  #1%\n}\n\n% This macro is called from \\xrefX for the `[nodename]' part of xref\n% output.  It's a separate macro only so it can be changed more easily,\n% since square brackets don't work well in some documents.  Particularly\n% one that Bob is working on :).\n%\n\\def\\xrefprintnodename#1{[#1]}\n\n% Things referred to by \\setref.\n%\n\\def\\Ynothing{}\n\\def\\Yomitfromtoc{}\n\\def\\Ynumbered{%\n  \\ifnum\\secno=0\n    \\putwordChapter@tie \\the\\chapno\n  \\else \\ifnum\\subsecno=0\n    \\putwordSection@tie \\the\\chapno.\\the\\secno\n  \\else \\ifnum\\subsubsecno=0\n    \\putwordSection@tie \\the\\chapno.\\the\\secno.\\the\\subsecno\n  \\else\n    \\putwordSection@tie \\the\\chapno.\\the\\secno.\\the\\subsecno.\\the\\subsubsecno\n  \\fi\\fi\\fi\n}\n\\def\\Yappendix{%\n  \\ifnum\\secno=0\n     \\putwordAppendix@tie @char\\the\\appendixno{}%\n  \\else \\ifnum\\subsecno=0\n     \\putwordSection@tie @char\\the\\appendixno.\\the\\secno\n  \\else \\ifnum\\subsubsecno=0\n    \\putwordSection@tie @char\\the\\appendixno.\\the\\secno.\\the\\subsecno\n  \\else\n    \\putwordSection@tie\n      @char\\the\\appendixno.\\the\\secno.\\the\\subsecno.\\the\\subsubsecno\n  \\fi\\fi\\fi\n}\n\n% Define \\refx{NAME}{SUFFIX} to reference a cross-reference string named NAME.\n% If its value is nonempty, SUFFIX is output afterward.\n%\n\\def\\refx#1#2{%\n  {%\n    \\indexnofonts\n    \\otherbackslash\n    \\expandafter\\global\\expandafter\\let\\expandafter\\thisrefX\n      \\csname XR#1\\endcsname\n  }%\n  \\ifx\\thisrefX\\relax\n    % If not defined, say something at least.\n    \\angleleft un\\-de\\-fined\\angleright\n    \\iflinks\n      \\ifhavexrefs\n        {\\toks0 = {#1}% avoid expansion of possibly-complex value\n         \\message{\\linenumber Undefined cross reference `\\the\\toks0'.}}%\n      \\else\n        \\ifwarnedxrefs\\else\n          \\global\\warnedxrefstrue\n          \\message{Cross reference values unknown; you must run TeX again.}%\n        \\fi\n      \\fi\n    \\fi\n  \\else\n    % It's defined, so just use it.\n    \\thisrefX\n  \\fi\n  #2% Output the suffix in any case.\n}\n\n% This is the macro invoked by entries in the aux file.  Usually it's\n% just a \\def (we prepend XR to the control sequence name to avoid\n% collisions).  But if this is a float type, we have more work to do.\n%\n\\def\\xrdef#1#2{%\n  {% The node name might contain 8-bit characters, which in our current\n   % implementation are changed to commands like @'e.  Don't let these\n   % mess up the control sequence name.\n    \\indexnofonts\n    \\turnoffactive\n    \\xdef\\safexrefname{#1}%\n  }%\n  %\n  \\expandafter\\gdef\\csname XR\\safexrefname\\endcsname{#2}% remember this xref\n  %\n  % Was that xref control sequence that we just defined for a float?\n  \\expandafter\\iffloat\\csname XR\\safexrefname\\endcsname\n    % it was a float, and we have the (safe) float type in \\iffloattype.\n    \\expandafter\\let\\expandafter\\floatlist\n      \\csname floatlist\\iffloattype\\endcsname\n    %\n    % Is this the first time we've seen this float type?\n    \\expandafter\\ifx\\floatlist\\relax\n      \\toks0 = {\\do}% yes, so just \\do\n    \\else\n      % had it before, so preserve previous elements in list.\n      \\toks0 = \\expandafter{\\floatlist\\do}%\n    \\fi\n    %\n    % Remember this xref in the control sequence \\floatlistFLOATTYPE,\n    % for later use in \\listoffloats.\n    \\expandafter\\xdef\\csname floatlist\\iffloattype\\endcsname{\\the\\toks0\n      {\\safexrefname}}%\n  \\fi\n}\n\n% Read the last existing aux file, if any.  No error if none exists.\n%\n\\def\\tryauxfile{%\n  \\openin 1 \\jobname.aux\n  \\ifeof 1 \\else\n    \\readdatafile{aux}%\n    \\global\\havexrefstrue\n  \\fi\n  \\closein 1\n}\n\n\\def\\setupdatafile{%\n  \\catcode`\\^^@=\\other\n  \\catcode`\\^^A=\\other\n  \\catcode`\\^^B=\\other\n  \\catcode`\\^^C=\\other\n  \\catcode`\\^^D=\\other\n  \\catcode`\\^^E=\\other\n  \\catcode`\\^^F=\\other\n  \\catcode`\\^^G=\\other\n  \\catcode`\\^^H=\\other\n  \\catcode`\\^^K=\\other\n  \\catcode`\\^^L=\\other\n  \\catcode`\\^^N=\\other\n  \\catcode`\\^^P=\\other\n  \\catcode`\\^^Q=\\other\n  \\catcode`\\^^R=\\other\n  \\catcode`\\^^S=\\other\n  \\catcode`\\^^T=\\other\n  \\catcode`\\^^U=\\other\n  \\catcode`\\^^V=\\other\n  \\catcode`\\^^W=\\other\n  \\catcode`\\^^X=\\other\n  \\catcode`\\^^Z=\\other\n  \\catcode`\\^^[=\\other\n  \\catcode`\\^^\\=\\other\n  \\catcode`\\^^]=\\other\n  \\catcode`\\^^^=\\other\n  \\catcode`\\^^_=\\other\n  % It was suggested to set the catcode of ^ to 7, which would allow ^^e4 etc.\n  % in xref tags, i.e., node names.  But since ^^e4 notation isn't\n  % supported in the main text, it doesn't seem desirable.  Furthermore,\n  % that is not enough: for node names that actually contain a ^\n  % character, we would end up writing a line like this: 'xrdef {'hat\n  % b-title}{'hat b} and \\xrdef does a \\csname...\\endcsname on the first\n  % argument, and \\hat is not an expandable control sequence.  It could\n  % all be worked out, but why?  Either we support ^^ or we don't.\n  %\n  % The other change necessary for this was to define \\auxhat:\n  % \\def\\auxhat{\\def^{'hat }}% extra space so ok if followed by letter\n  % and then to call \\auxhat in \\setq.\n  %\n  \\catcode`\\^=\\other\n  %\n  % Special characters.  Should be turned off anyway, but...\n  \\catcode`\\~=\\other\n  \\catcode`\\[=\\other\n  \\catcode`\\]=\\other\n  \\catcode`\\\"=\\other\n  \\catcode`\\_=\\other\n  \\catcode`\\|=\\other\n  \\catcode`\\<=\\other\n  \\catcode`\\>=\\other\n  \\catcode`\\$=\\other\n  \\catcode`\\#=\\other\n  \\catcode`\\&=\\other\n  \\catcode`\\%=\\other\n  \\catcode`+=\\other % avoid \\+ for paranoia even though we've turned it off\n  %\n  % This is to support \\ in node names and titles, since the \\\n  % characters end up in a \\csname.  It's easier than\n  % leaving it active and making its active definition an actual \\\n  % character.  What I don't understand is why it works in the *value*\n  % of the xrdef.  Seems like it should be a catcode12 \\, and that\n  % should not typeset properly.  But it works, so I'm moving on for\n  % now.  --karl, 15jan04.\n  \\catcode`\\\\=\\other\n  %\n  % Make the characters 128-255 be printing characters.\n  {%\n    \\count1=128\n    \\def\\loop{%\n      \\catcode\\count1=\\other\n      \\advance\\count1 by 1\n      \\ifnum \\count1<256 \\loop \\fi\n    }%\n  }%\n  %\n  % @ is our escape character in .aux files, and we need braces.\n  \\catcode`\\{=1\n  \\catcode`\\}=2\n  \\catcode`\\@=0\n}\n\n\\def\\readdatafile#1{%\n\\begingroup\n  \\setupdatafile\n  \\input\\jobname.#1\n\\endgroup}\n\n\n\\message{insertions,}\n% including footnotes.\n\n\\newcount \\footnoteno\n\n% The trailing space in the following definition for supereject is\n% vital for proper filling; pages come out unaligned when you do a\n% pagealignmacro call if that space before the closing brace is\n% removed. (Generally, numeric constants should always be followed by a\n% space to prevent strange expansion errors.)\n\\def\\supereject{\\par\\penalty -20000\\footnoteno =0 }\n\n% @footnotestyle is meaningful for Info output only.\n\\let\\footnotestyle=\\comment\n\n{\\catcode `\\@=11\n%\n% Auto-number footnotes.  Otherwise like plain.\n\\gdef\\footnote{%\n  \\let\\indent=\\ptexindent\n  \\let\\noindent=\\ptexnoindent\n  \\global\\advance\\footnoteno by \\@ne\n  \\edef\\thisfootno{$^{\\the\\footnoteno}$}%\n  %\n  % In case the footnote comes at the end of a sentence, preserve the\n  % extra spacing after we do the footnote number.\n  \\let\\@sf\\empty\n  \\ifhmode\\edef\\@sf{\\spacefactor\\the\\spacefactor}\\ptexslash\\fi\n  %\n  % Remove inadvertent blank space before typesetting the footnote number.\n  \\unskip\n  \\thisfootno\\@sf\n  \\dofootnote\n}%\n\n% Don't bother with the trickery in plain.tex to not require the\n% footnote text as a parameter.  Our footnotes don't need to be so general.\n%\n% Oh yes, they do; otherwise, @ifset (and anything else that uses\n% \\parseargline) fails inside footnotes because the tokens are fixed when\n% the footnote is read.  --karl, 16nov96.\n%\n\\gdef\\dofootnote{%\n  \\insert\\footins\\bgroup\n  % We want to typeset this text as a normal paragraph, even if the\n  % footnote reference occurs in (for example) a display environment.\n  % So reset some parameters.\n  \\hsize=\\pagewidth\n  \\interlinepenalty\\interfootnotelinepenalty\n  \\splittopskip\\ht\\strutbox % top baseline for broken footnotes\n  \\splitmaxdepth\\dp\\strutbox\n  \\floatingpenalty\\@MM\n  \\leftskip\\z@skip\n  \\rightskip\\z@skip\n  \\spaceskip\\z@skip\n  \\xspaceskip\\z@skip\n  \\parindent\\defaultparindent\n  %\n  \\smallfonts \\rm\n  %\n  % Because we use hanging indentation in footnotes, a @noindent appears\n  % to exdent this text, so make it be a no-op.  makeinfo does not use\n  % hanging indentation so @noindent can still be needed within footnote\n  % text after an @example or the like (not that this is good style).\n  \\let\\noindent = \\relax\n  %\n  % Hang the footnote text off the number.  Use \\everypar in case the\n  % footnote extends for more than one paragraph.\n  \\everypar = {\\hang}%\n  \\textindent{\\thisfootno}%\n  %\n  % Don't crash into the line above the footnote text.  Since this\n  % expands into a box, it must come within the paragraph, lest it\n  % provide a place where TeX can split the footnote.\n  \\footstrut\n  %\n  % Invoke rest of plain TeX footnote routine.\n  \\futurelet\\next\\fo@t\n}\n}%end \\catcode `\\@=11\n\n% In case a @footnote appears in a vbox, save the footnote text and create\n% the real \\insert just after the vbox finished.  Otherwise, the insertion\n% would be lost.\n% Similarly, if a @footnote appears inside an alignment, save the footnote\n% text to a box and make the \\insert when a row of the table is finished.\n% And the same can be done for other insert classes.  --kasal, 16nov03.\n\n% Replace the \\insert primitive by a cheating macro.\n% Deeper inside, just make sure that the saved insertions are not spilled\n% out prematurely.\n%\n\\def\\startsavinginserts{%\n  \\ifx \\insert\\ptexinsert\n    \\let\\insert\\saveinsert\n  \\else\n    \\let\\checkinserts\\relax\n  \\fi\n}\n\n% This \\insert replacement works for both \\insert\\footins{foo} and\n% \\insert\\footins\\bgroup foo\\egroup, but it doesn't work for \\insert27{foo}.\n%\n\\def\\saveinsert#1{%\n  \\edef\\next{\\noexpand\\savetobox \\makeSAVEname#1}%\n  \\afterassignment\\next\n  % swallow the left brace\n  \\let\\temp =\n}\n\\def\\makeSAVEname#1{\\makecsname{SAVE\\expandafter\\gobble\\string#1}}\n\\def\\savetobox#1{\\global\\setbox#1 = \\vbox\\bgroup \\unvbox#1}\n\n\\def\\checksaveins#1{\\ifvoid#1\\else \\placesaveins#1\\fi}\n\n\\def\\placesaveins#1{%\n  \\ptexinsert \\csname\\expandafter\\gobblesave\\string#1\\endcsname\n    {\\box#1}%\n}\n\n% eat @SAVE -- beware, all of them have catcode \\other:\n{\n  \\def\\dospecials{\\do S\\do A\\do V\\do E} \\uncatcodespecials  %  ;-)\n  \\gdef\\gobblesave @SAVE{}\n}\n\n% initialization:\n\\def\\newsaveins #1{%\n  \\edef\\next{\\noexpand\\newsaveinsX \\makeSAVEname#1}%\n  \\next\n}\n\\def\\newsaveinsX #1{%\n  \\csname newbox\\endcsname #1%\n  \\expandafter\\def\\expandafter\\checkinserts\\expandafter{\\checkinserts\n    \\checksaveins #1}%\n}\n\n% initialize:\n\\let\\checkinserts\\empty\n\\newsaveins\\footins\n\\newsaveins\\margin\n\n\n% @image.  We use the macros from epsf.tex to support this.\n% If epsf.tex is not installed and @image is used, we complain.\n%\n% Check for and read epsf.tex up front.  If we read it only at @image\n% time, we might be inside a group, and then its definitions would get\n% undone and the next image would fail.\n\\openin 1 = epsf.tex\n\\ifeof 1 \\else\n  % Do not bother showing banner with epsf.tex v2.7k (available in\n  % doc/epsf.tex and on ctan).\n  \\def\\epsfannounce{\\toks0 = }%\n  \\input epsf.tex\n\\fi\n\\closein 1\n%\n% We will only complain once about lack of epsf.tex.\n\\newif\\ifwarnednoepsf\n\\newhelp\\noepsfhelp{epsf.tex must be installed for images to\n  work.  It is also included in the Texinfo distribution, or you can get\n  it from ftp://tug.org/tex/epsf.tex.}\n%\n\\def\\image#1{%\n  \\ifx\\epsfbox\\thisisundefined\n    \\ifwarnednoepsf \\else\n      \\errhelp = \\noepsfhelp\n      \\errmessage{epsf.tex not found, images will be ignored}%\n      \\global\\warnednoepsftrue\n    \\fi\n  \\else\n    \\imagexxx #1,,,,,\\finish\n  \\fi\n}\n%\n% Arguments to @image:\n% #1 is (mandatory) image filename; we tack on .eps extension.\n% #2 is (optional) width, #3 is (optional) height.\n% #4 is (ignored optional) html alt text.\n% #5 is (ignored optional) extension.\n% #6 is just the usual extra ignored arg for parsing stuff.\n\\newif\\ifimagevmode\n\\def\\imagexxx#1,#2,#3,#4,#5,#6\\finish{\\begingroup\n  \\catcode`\\^^M = 5     % in case we're inside an example\n  \\normalturnoffactive  % allow _ et al. in names\n  % If the image is by itself, center it.\n  \\ifvmode\n    \\imagevmodetrue\n  \\else \\ifx\\centersub\\centerV\n    % for @center @image, we need a vbox so we can have our vertical space\n    \\imagevmodetrue\n    \\vbox\\bgroup % vbox has better behavior than vtop herev\n  \\fi\\fi\n  %\n  \\ifimagevmode\n    \\nobreak\\medskip\n    % Usually we'll have text after the image which will insert\n    % \\parskip glue, so insert it here too to equalize the space\n    % above and below.\n    \\nobreak\\vskip\\parskip\n    \\nobreak\n  \\fi\n  %\n  % Leave vertical mode so that indentation from an enclosing\n  %  environment such as @quotation is respected.\n  % However, if we're at the top level, we don't want the\n  %  normal paragraph indentation.\n  % On the other hand, if we are in the case of @center @image, we don't\n  %  want to start a paragraph, which will create a hsize-width box and\n  %  eradicate the centering.\n  \\ifx\\centersub\\centerV\\else \\noindent \\fi\n  %\n  % Output the image.\n  \\ifpdf\n    \\dopdfimage{#1}{#2}{#3}%\n  \\else\n    % \\epsfbox itself resets \\epsf?size at each figure.\n    \\setbox0 = \\hbox{\\ignorespaces #2}\\ifdim\\wd0 > 0pt \\epsfxsize=#2\\relax \\fi\n    \\setbox0 = \\hbox{\\ignorespaces #3}\\ifdim\\wd0 > 0pt \\epsfysize=#3\\relax \\fi\n    \\epsfbox{#1.eps}%\n  \\fi\n  %\n  \\ifimagevmode\n    \\medskip  % space after a standalone image\n  \\fi  \n  \\ifx\\centersub\\centerV \\egroup \\fi\n\\endgroup}\n\n\n% @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables,\n% etc.  We don't actually implement floating yet, we always include the\n% float \"here\".  But it seemed the best name for the future.\n%\n\\envparseargdef\\float{\\eatcommaspace\\eatcommaspace\\dofloat#1, , ,\\finish}\n\n% There may be a space before second and/or third parameter; delete it.\n\\def\\eatcommaspace#1, {#1,}\n\n% #1 is the optional FLOATTYPE, the text label for this float, typically\n% \"Figure\", \"Table\", \"Example\", etc.  Can't contain commas.  If omitted,\n% this float will not be numbered and cannot be referred to.\n%\n% #2 is the optional xref label.  Also must be present for the float to\n% be referable.\n%\n% #3 is the optional positioning argument; for now, it is ignored.  It\n% will somehow specify the positions allowed to float to (here, top, bottom).\n%\n% We keep a separate counter for each FLOATTYPE, which we reset at each\n% chapter-level command.\n\\let\\resetallfloatnos=\\empty\n%\n\\def\\dofloat#1,#2,#3,#4\\finish{%\n  \\let\\thiscaption=\\empty\n  \\let\\thisshortcaption=\\empty\n  %\n  % don't lose footnotes inside @float.\n  %\n  % BEWARE: when the floats start float, we have to issue warning whenever an\n  % insert appears inside a float which could possibly float. --kasal, 26may04\n  %\n  \\startsavinginserts\n  %\n  % We can't be used inside a paragraph.\n  \\par\n  %\n  \\vtop\\bgroup\n    \\def\\floattype{#1}%\n    \\def\\floatlabel{#2}%\n    \\def\\floatloc{#3}% we do nothing with this yet.\n    %\n    \\ifx\\floattype\\empty\n      \\let\\safefloattype=\\empty\n    \\else\n      {%\n        % the floattype might have accents or other special characters,\n        % but we need to use it in a control sequence name.\n        \\indexnofonts\n        \\turnoffactive\n        \\xdef\\safefloattype{\\floattype}%\n      }%\n    \\fi\n    %\n    % If label is given but no type, we handle that as the empty type.\n    \\ifx\\floatlabel\\empty \\else\n      % We want each FLOATTYPE to be numbered separately (Figure 1,\n      % Table 1, Figure 2, ...).  (And if no label, no number.)\n      %\n      \\expandafter\\getfloatno\\csname\\safefloattype floatno\\endcsname\n      \\global\\advance\\floatno by 1\n      %\n      {%\n        % This magic value for \\lastsection is output by \\setref as the\n        % XREFLABEL-title value.  \\xrefX uses it to distinguish float\n        % labels (which have a completely different output format) from\n        % node and anchor labels.  And \\xrdef uses it to construct the\n        % lists of floats.\n        %\n        \\edef\\lastsection{\\floatmagic=\\safefloattype}%\n        \\setref{\\floatlabel}{Yfloat}%\n      }%\n    \\fi\n    %\n    % start with \\parskip glue, I guess.\n    \\vskip\\parskip\n    %\n    % Don't suppress indentation if a float happens to start a section.\n    \\restorefirstparagraphindent\n}\n\n% we have these possibilities:\n% @float Foo,lbl & @caption{Cap}: Foo 1.1: Cap\n% @float Foo,lbl & no caption:    Foo 1.1\n% @float Foo & @caption{Cap}:     Foo: Cap\n% @float Foo & no caption:        Foo\n% @float ,lbl & Caption{Cap}:     1.1: Cap\n% @float ,lbl & no caption:       1.1\n% @float & @caption{Cap}:         Cap\n% @float & no caption:\n%\n\\def\\Efloat{%\n    \\let\\floatident = \\empty\n    %\n    % In all cases, if we have a float type, it comes first.\n    \\ifx\\floattype\\empty \\else \\def\\floatident{\\floattype}\\fi\n    %\n    % If we have an xref label, the number comes next.\n    \\ifx\\floatlabel\\empty \\else\n      \\ifx\\floattype\\empty \\else % if also had float type, need tie first.\n        \\appendtomacro\\floatident{\\tie}%\n      \\fi\n      % the number.\n      \\appendtomacro\\floatident{\\chaplevelprefix\\the\\floatno}%\n    \\fi\n    %\n    % Start the printed caption with what we've constructed in\n    % \\floatident, but keep it separate; we need \\floatident again.\n    \\let\\captionline = \\floatident\n    %\n    \\ifx\\thiscaption\\empty \\else\n      \\ifx\\floatident\\empty \\else\n\t\\appendtomacro\\captionline{: }% had ident, so need a colon between\n      \\fi\n      %\n      % caption text.\n      \\appendtomacro\\captionline{\\scanexp\\thiscaption}%\n    \\fi\n    %\n    % If we have anything to print, print it, with space before.\n    % Eventually this needs to become an \\insert.\n    \\ifx\\captionline\\empty \\else\n      \\vskip.5\\parskip\n      \\captionline\n      %\n      % Space below caption.\n      \\vskip\\parskip\n    \\fi\n    %\n    % If have an xref label, write the list of floats info.  Do this\n    % after the caption, to avoid chance of it being a breakpoint.\n    \\ifx\\floatlabel\\empty \\else\n      % Write the text that goes in the lof to the aux file as\n      % \\floatlabel-lof.  Besides \\floatident, we include the short\n      % caption if specified, else the full caption if specified, else nothing.\n      {%\n        \\atdummies\n        %\n        % since we read the caption text in the macro world, where ^^M\n        % is turned into a normal character, we have to scan it back, so\n        % we don't write the literal three characters \"^^M\" into the aux file.\n\t\\scanexp{%\n\t  \\xdef\\noexpand\\gtemp{%\n\t    \\ifx\\thisshortcaption\\empty\n\t      \\thiscaption\n\t    \\else\n\t      \\thisshortcaption\n\t    \\fi\n\t  }%\n\t}%\n        \\immediate\\write\\auxfile{@xrdef{\\floatlabel-lof}{\\floatident\n\t  \\ifx\\gtemp\\empty \\else : \\gtemp \\fi}}%\n      }%\n    \\fi\n  \\egroup  % end of \\vtop\n  %\n  % place the captured inserts\n  %\n  % BEWARE: when the floats start floating, we have to issue warning\n  % whenever an insert appears inside a float which could possibly\n  % float. --kasal, 26may04\n  %\n  \\checkinserts\n}\n\n% Append the tokens #2 to the definition of macro #1, not expanding either.\n%\n\\def\\appendtomacro#1#2{%\n  \\expandafter\\def\\expandafter#1\\expandafter{#1#2}%\n}\n\n% @caption, @shortcaption\n%\n\\def\\caption{\\docaption\\thiscaption}\n\\def\\shortcaption{\\docaption\\thisshortcaption}\n\\def\\docaption{\\checkenv\\float \\bgroup\\scanargctxt\\defcaption}\n\\def\\defcaption#1#2{\\egroup \\def#1{#2}}\n\n% The parameter is the control sequence identifying the counter we are\n% going to use.  Create it if it doesn't exist and assign it to \\floatno.\n\\def\\getfloatno#1{%\n  \\ifx#1\\relax\n      % Haven't seen this figure type before.\n      \\csname newcount\\endcsname #1%\n      %\n      % Remember to reset this floatno at the next chap.\n      \\expandafter\\gdef\\expandafter\\resetallfloatnos\n        \\expandafter{\\resetallfloatnos #1=0 }%\n  \\fi\n  \\let\\floatno#1%\n}\n\n% \\setref calls this to get the XREFLABEL-snt value.  We want an @xref\n% to the FLOATLABEL to expand to \"Figure 3.1\".  We call \\setref when we\n% first read the @float command.\n%\n\\def\\Yfloat{\\floattype@tie \\chaplevelprefix\\the\\floatno}%\n\n% Magic string used for the XREFLABEL-title value, so \\xrefX can\n% distinguish floats from other xref types.\n\\def\\floatmagic{!!float!!}\n\n% #1 is the control sequence we are passed; we expand into a conditional\n% which is true if #1 represents a float ref.  That is, the magic\n% \\lastsection value which we \\setref above.\n%\n\\def\\iffloat#1{\\expandafter\\doiffloat#1==\\finish}\n%\n% #1 is (maybe) the \\floatmagic string.  If so, #2 will be the\n% (safe) float type for this float.  We set \\iffloattype to #2.\n%\n\\def\\doiffloat#1=#2=#3\\finish{%\n  \\def\\temp{#1}%\n  \\def\\iffloattype{#2}%\n  \\ifx\\temp\\floatmagic\n}\n\n% @listoffloats FLOATTYPE - print a list of floats like a table of contents.\n%\n\\parseargdef\\listoffloats{%\n  \\def\\floattype{#1}% floattype\n  {%\n    % the floattype might have accents or other special characters,\n    % but we need to use it in a control sequence name.\n    \\indexnofonts\n    \\turnoffactive\n    \\xdef\\safefloattype{\\floattype}%\n  }%\n  %\n  % \\xrdef saves the floats as a \\do-list in \\floatlistSAFEFLOATTYPE.\n  \\expandafter\\ifx\\csname floatlist\\safefloattype\\endcsname \\relax\n    \\ifhavexrefs\n      % if the user said @listoffloats foo but never @float foo.\n      \\message{\\linenumber No `\\safefloattype' floats to list.}%\n    \\fi\n  \\else\n    \\begingroup\n      \\leftskip=\\tocindent  % indent these entries like a toc\n      \\let\\do=\\listoffloatsdo\n      \\csname floatlist\\safefloattype\\endcsname\n    \\endgroup\n  \\fi\n}\n\n% This is called on each entry in a list of floats.  We're passed the\n% xref label, in the form LABEL-title, which is how we save it in the\n% aux file.  We strip off the -title and look up \\XRLABEL-lof, which\n% has the text we're supposed to typeset here.\n%\n% Figures without xref labels will not be included in the list (since\n% they won't appear in the aux file).\n%\n\\def\\listoffloatsdo#1{\\listoffloatsdoentry#1\\finish}\n\\def\\listoffloatsdoentry#1-title\\finish{{%\n  % Can't fully expand XR#1-lof because it can contain anything.  Just\n  % pass the control sequence.  On the other hand, XR#1-pg is just the\n  % page number, and we want to fully expand that so we can get a link\n  % in pdf output.\n  \\toksA = \\expandafter{\\csname XR#1-lof\\endcsname}%\n  %\n  % use the same \\entry macro we use to generate the TOC and index.\n  \\edef\\writeentry{\\noexpand\\entry{\\the\\toksA}{\\csname XR#1-pg\\endcsname}}%\n  \\writeentry\n}}\n\n\n\\message{localization,}\n\n% For single-language documents, @documentlanguage is usually given very\n% early, just after @documentencoding.  Single argument is the language\n% (de) or locale (de_DE) abbreviation.\n%\n{\n  \\catcode`\\_ = \\active\n  \\globaldefs=1\n\\parseargdef\\documentlanguage{\\begingroup\n  \\let_=\\normalunderscore  % normal _ character for filenames\n  \\tex % read txi-??.tex file in plain TeX.\n    % Read the file by the name they passed if it exists.\n    \\openin 1 txi-#1.tex\n    \\ifeof 1\n      \\documentlanguagetrywithoutunderscore{#1_\\finish}%\n    \\else\n      \\globaldefs = 1  % everything in the txi-LL files needs to persist\n      \\input txi-#1.tex\n    \\fi\n    \\closein 1\n  \\endgroup % end raw TeX\n\\endgroup}\n%\n% If they passed de_DE, and txi-de_DE.tex doesn't exist,\n% try txi-de.tex.\n%\n\\gdef\\documentlanguagetrywithoutunderscore#1_#2\\finish{%\n  \\openin 1 txi-#1.tex\n  \\ifeof 1\n    \\errhelp = \\nolanghelp\n    \\errmessage{Cannot read language file txi-#1.tex}%\n  \\else\n    \\globaldefs = 1  % everything in the txi-LL files needs to persist\n    \\input txi-#1.tex\n  \\fi\n  \\closein 1\n}\n}% end of special _ catcode\n%\n\\newhelp\\nolanghelp{The given language definition file cannot be found or\nis empty.  Maybe you need to install it?  Putting it in the current\ndirectory should work if nowhere else does.}\n\n% This macro is called from txi-??.tex files; the first argument is the\n% \\language name to set (without the \"\\lang@\" prefix), the second and\n% third args are \\{left,right}hyphenmin.\n%\n% The language names to pass are determined when the format is built.\n% See the etex.log file created at that time, e.g.,\n% /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log.\n%\n% With TeX Live 2008, etex now includes hyphenation patterns for all\n% available languages.  This means we can support hyphenation in\n% Texinfo, at least to some extent.  (This still doesn't solve the\n% accented characters problem.)\n%\n\\catcode`@=11\n\\def\\txisetlanguage#1#2#3{%\n  % do not set the language if the name is undefined in the current TeX.\n  \\expandafter\\ifx\\csname lang@#1\\endcsname \\relax\n    \\message{no patterns for #1}%\n  \\else\n    \\global\\language = \\csname lang@#1\\endcsname\n  \\fi\n  % but there is no harm in adjusting the hyphenmin values regardless.\n  \\global\\lefthyphenmin = #2\\relax\n  \\global\\righthyphenmin = #3\\relax\n}\n\n% Helpers for encodings.\n% Set the catcode of characters 128 through 255 to the specified number.\n%\n\\def\\setnonasciicharscatcode#1{%\n   \\count255=128\n   \\loop\\ifnum\\count255<256\n      \\global\\catcode\\count255=#1\\relax\n      \\advance\\count255 by 1\n   \\repeat\n}\n\n\\def\\setnonasciicharscatcodenonglobal#1{%\n   \\count255=128\n   \\loop\\ifnum\\count255<256\n      \\catcode\\count255=#1\\relax\n      \\advance\\count255 by 1\n   \\repeat\n}\n\n% @documentencoding sets the definition of non-ASCII characters\n% according to the specified encoding.\n%\n\\parseargdef\\documentencoding{%\n  % Encoding being declared for the document.\n  \\def\\declaredencoding{\\csname #1.enc\\endcsname}%\n  %\n  % Supported encodings: names converted to tokens in order to be able\n  % to compare them with \\ifx.\n  \\def\\ascii{\\csname US-ASCII.enc\\endcsname}%\n  \\def\\latnine{\\csname ISO-8859-15.enc\\endcsname}%\n  \\def\\latone{\\csname ISO-8859-1.enc\\endcsname}%\n  \\def\\lattwo{\\csname ISO-8859-2.enc\\endcsname}%\n  \\def\\utfeight{\\csname UTF-8.enc\\endcsname}%\n  %\n  \\ifx \\declaredencoding \\ascii\n     \\asciichardefs\n  %\n  \\else \\ifx \\declaredencoding \\lattwo\n     \\setnonasciicharscatcode\\active\n     \\lattwochardefs\n  %\n  \\else \\ifx \\declaredencoding \\latone\n     \\setnonasciicharscatcode\\active\n     \\latonechardefs\n  %\n  \\else \\ifx \\declaredencoding \\latnine\n     \\setnonasciicharscatcode\\active\n     \\latninechardefs\n  %\n  \\else \\ifx \\declaredencoding \\utfeight\n     \\setnonasciicharscatcode\\active\n     \\utfeightchardefs\n  %\n  \\else\n    \\message{Unknown document encoding #1, ignoring.}%\n  %\n  \\fi % utfeight\n  \\fi % latnine\n  \\fi % latone\n  \\fi % lattwo\n  \\fi % ascii\n}\n\n% A message to be logged when using a character that isn't available\n% the default font encoding (OT1).\n%\n\\def\\missingcharmsg#1{\\message{Character missing in OT1 encoding: #1.}}\n\n% Take account of \\c (plain) vs. \\, (Texinfo) difference.\n\\def\\cedilla#1{\\ifx\\c\\ptexc\\c{#1}\\else\\,{#1}\\fi}\n\n% First, make active non-ASCII characters in order for them to be\n% correctly categorized when TeX reads the replacement text of\n% macros containing the character definitions.\n\\setnonasciicharscatcode\\active\n%\n% Latin1 (ISO-8859-1) character definitions.\n\\def\\latonechardefs{%\n  \\gdef^^a0{\\tie}\n  \\gdef^^a1{\\exclamdown}\n  \\gdef^^a2{\\missingcharmsg{CENT SIGN}}\n  \\gdef^^a3{{\\pounds}}\n  \\gdef^^a4{\\missingcharmsg{CURRENCY SIGN}}\n  \\gdef^^a5{\\missingcharmsg{YEN SIGN}}\n  \\gdef^^a6{\\missingcharmsg{BROKEN BAR}}\n  \\gdef^^a7{\\S}\n  \\gdef^^a8{\\\"{}}\n  \\gdef^^a9{\\copyright}\n  \\gdef^^aa{\\ordf}\n  \\gdef^^ab{\\guillemetleft}\n  \\gdef^^ac{$\\lnot$}\n  \\gdef^^ad{\\-}\n  \\gdef^^ae{\\registeredsymbol}\n  \\gdef^^af{\\={}}\n  %\n  \\gdef^^b0{\\textdegree}\n  \\gdef^^b1{$\\pm$}\n  \\gdef^^b2{$^2$}\n  \\gdef^^b3{$^3$}\n  \\gdef^^b4{\\'{}}\n  \\gdef^^b5{$\\mu$}\n  \\gdef^^b6{\\P}\n  %\n  \\gdef^^b7{$^.$}\n  \\gdef^^b8{\\cedilla\\ }\n  \\gdef^^b9{$^1$}\n  \\gdef^^ba{\\ordm}\n  %\n  \\gdef^^bb{\\guillemetright}\n  \\gdef^^bc{$1\\over4$}\n  \\gdef^^bd{$1\\over2$}\n  \\gdef^^be{$3\\over4$}\n  \\gdef^^bf{\\questiondown}\n  %\n  \\gdef^^c0{\\`A}\n  \\gdef^^c1{\\'A}\n  \\gdef^^c2{\\^A}\n  \\gdef^^c3{\\~A}\n  \\gdef^^c4{\\\"A}\n  \\gdef^^c5{\\ringaccent A}\n  \\gdef^^c6{\\AE}\n  \\gdef^^c7{\\cedilla C}\n  \\gdef^^c8{\\`E}\n  \\gdef^^c9{\\'E}\n  \\gdef^^ca{\\^E}\n  \\gdef^^cb{\\\"E}\n  \\gdef^^cc{\\`I}\n  \\gdef^^cd{\\'I}\n  \\gdef^^ce{\\^I}\n  \\gdef^^cf{\\\"I}\n  %\n  \\gdef^^d0{\\DH}\n  \\gdef^^d1{\\~N}\n  \\gdef^^d2{\\`O}\n  \\gdef^^d3{\\'O}\n  \\gdef^^d4{\\^O}\n  \\gdef^^d5{\\~O}\n  \\gdef^^d6{\\\"O}\n  \\gdef^^d7{$\\times$}\n  \\gdef^^d8{\\O}\n  \\gdef^^d9{\\`U}\n  \\gdef^^da{\\'U}\n  \\gdef^^db{\\^U}\n  \\gdef^^dc{\\\"U}\n  \\gdef^^dd{\\'Y}\n  \\gdef^^de{\\TH}\n  \\gdef^^df{\\ss}\n  %\n  \\gdef^^e0{\\`a}\n  \\gdef^^e1{\\'a}\n  \\gdef^^e2{\\^a}\n  \\gdef^^e3{\\~a}\n  \\gdef^^e4{\\\"a}\n  \\gdef^^e5{\\ringaccent a}\n  \\gdef^^e6{\\ae}\n  \\gdef^^e7{\\cedilla c}\n  \\gdef^^e8{\\`e}\n  \\gdef^^e9{\\'e}\n  \\gdef^^ea{\\^e}\n  \\gdef^^eb{\\\"e}\n  \\gdef^^ec{\\`{\\dotless i}}\n  \\gdef^^ed{\\'{\\dotless i}}\n  \\gdef^^ee{\\^{\\dotless i}}\n  \\gdef^^ef{\\\"{\\dotless i}}\n  %\n  \\gdef^^f0{\\dh}\n  \\gdef^^f1{\\~n}\n  \\gdef^^f2{\\`o}\n  \\gdef^^f3{\\'o}\n  \\gdef^^f4{\\^o}\n  \\gdef^^f5{\\~o}\n  \\gdef^^f6{\\\"o}\n  \\gdef^^f7{$\\div$}\n  \\gdef^^f8{\\o}\n  \\gdef^^f9{\\`u}\n  \\gdef^^fa{\\'u}\n  \\gdef^^fb{\\^u}\n  \\gdef^^fc{\\\"u}\n  \\gdef^^fd{\\'y}\n  \\gdef^^fe{\\th}\n  \\gdef^^ff{\\\"y}\n}\n\n% Latin9 (ISO-8859-15) encoding character definitions.\n\\def\\latninechardefs{%\n  % Encoding is almost identical to Latin1.\n  \\latonechardefs\n  %\n  \\gdef^^a4{\\euro}\n  \\gdef^^a6{\\v S}\n  \\gdef^^a8{\\v s}\n  \\gdef^^b4{\\v Z}\n  \\gdef^^b8{\\v z}\n  \\gdef^^bc{\\OE}\n  \\gdef^^bd{\\oe}\n  \\gdef^^be{\\\"Y}\n}\n\n% Latin2 (ISO-8859-2) character definitions.\n\\def\\lattwochardefs{%\n  \\gdef^^a0{\\tie}\n  \\gdef^^a1{\\ogonek{A}}\n  \\gdef^^a2{\\u{}}\n  \\gdef^^a3{\\L}\n  \\gdef^^a4{\\missingcharmsg{CURRENCY SIGN}}\n  \\gdef^^a5{\\v L}\n  \\gdef^^a6{\\'S}\n  \\gdef^^a7{\\S}\n  \\gdef^^a8{\\\"{}}\n  \\gdef^^a9{\\v S}\n  \\gdef^^aa{\\cedilla S}\n  \\gdef^^ab{\\v T}\n  \\gdef^^ac{\\'Z}\n  \\gdef^^ad{\\-}\n  \\gdef^^ae{\\v Z}\n  \\gdef^^af{\\dotaccent Z}\n  %\n  \\gdef^^b0{\\textdegree}\n  \\gdef^^b1{\\ogonek{a}}\n  \\gdef^^b2{\\ogonek{ }}\n  \\gdef^^b3{\\l}\n  \\gdef^^b4{\\'{}}\n  \\gdef^^b5{\\v l}\n  \\gdef^^b6{\\'s}\n  \\gdef^^b7{\\v{}}\n  \\gdef^^b8{\\cedilla\\ }\n  \\gdef^^b9{\\v s}\n  \\gdef^^ba{\\cedilla s}\n  \\gdef^^bb{\\v t}\n  \\gdef^^bc{\\'z}\n  \\gdef^^bd{\\H{}}\n  \\gdef^^be{\\v z}\n  \\gdef^^bf{\\dotaccent z}\n  %\n  \\gdef^^c0{\\'R}\n  \\gdef^^c1{\\'A}\n  \\gdef^^c2{\\^A}\n  \\gdef^^c3{\\u A}\n  \\gdef^^c4{\\\"A}\n  \\gdef^^c5{\\'L}\n  \\gdef^^c6{\\'C}\n  \\gdef^^c7{\\cedilla C}\n  \\gdef^^c8{\\v C}\n  \\gdef^^c9{\\'E}\n  \\gdef^^ca{\\ogonek{E}}\n  \\gdef^^cb{\\\"E}\n  \\gdef^^cc{\\v E}\n  \\gdef^^cd{\\'I}\n  \\gdef^^ce{\\^I}\n  \\gdef^^cf{\\v D}\n  %\n  \\gdef^^d0{\\DH}\n  \\gdef^^d1{\\'N}\n  \\gdef^^d2{\\v N}\n  \\gdef^^d3{\\'O}\n  \\gdef^^d4{\\^O}\n  \\gdef^^d5{\\H O}\n  \\gdef^^d6{\\\"O}\n  \\gdef^^d7{$\\times$}\n  \\gdef^^d8{\\v R}\n  \\gdef^^d9{\\ringaccent U}\n  \\gdef^^da{\\'U}\n  \\gdef^^db{\\H U}\n  \\gdef^^dc{\\\"U}\n  \\gdef^^dd{\\'Y}\n  \\gdef^^de{\\cedilla T}\n  \\gdef^^df{\\ss}\n  %\n  \\gdef^^e0{\\'r}\n  \\gdef^^e1{\\'a}\n  \\gdef^^e2{\\^a}\n  \\gdef^^e3{\\u a}\n  \\gdef^^e4{\\\"a}\n  \\gdef^^e5{\\'l}\n  \\gdef^^e6{\\'c}\n  \\gdef^^e7{\\cedilla c}\n  \\gdef^^e8{\\v c}\n  \\gdef^^e9{\\'e}\n  \\gdef^^ea{\\ogonek{e}}\n  \\gdef^^eb{\\\"e}\n  \\gdef^^ec{\\v e}\n  \\gdef^^ed{\\'{\\dotless{i}}}\n  \\gdef^^ee{\\^{\\dotless{i}}}\n  \\gdef^^ef{\\v d}\n  %\n  \\gdef^^f0{\\dh}\n  \\gdef^^f1{\\'n}\n  \\gdef^^f2{\\v n}\n  \\gdef^^f3{\\'o}\n  \\gdef^^f4{\\^o}\n  \\gdef^^f5{\\H o}\n  \\gdef^^f6{\\\"o}\n  \\gdef^^f7{$\\div$}\n  \\gdef^^f8{\\v r}\n  \\gdef^^f9{\\ringaccent u}\n  \\gdef^^fa{\\'u}\n  \\gdef^^fb{\\H u}\n  \\gdef^^fc{\\\"u}\n  \\gdef^^fd{\\'y}\n  \\gdef^^fe{\\cedilla t}\n  \\gdef^^ff{\\dotaccent{}}\n}\n\n% UTF-8 character definitions.\n%\n% This code to support UTF-8 is based on LaTeX's utf8.def, with some\n% changes for Texinfo conventions.  It is included here under the GPL by\n% permission from Frank Mittelbach and the LaTeX team.\n%\n\\newcount\\countUTFx\n\\newcount\\countUTFy\n\\newcount\\countUTFz\n\n\\gdef\\UTFviiiTwoOctets#1#2{\\expandafter\n   \\UTFviiiDefined\\csname u8:#1\\string #2\\endcsname}\n%\n\\gdef\\UTFviiiThreeOctets#1#2#3{\\expandafter\n   \\UTFviiiDefined\\csname u8:#1\\string #2\\string #3\\endcsname}\n%\n\\gdef\\UTFviiiFourOctets#1#2#3#4{\\expandafter\n   \\UTFviiiDefined\\csname u8:#1\\string #2\\string #3\\string #4\\endcsname}\n\n\\gdef\\UTFviiiDefined#1{%\n  \\ifx #1\\relax\n    \\message{\\linenumber Unicode char \\string #1 not defined for Texinfo}%\n  \\else\n    \\expandafter #1%\n  \\fi\n}\n\n\\begingroup\n  \\catcode`\\~13\n  \\catcode`\\\"12\n\n  \\def\\UTFviiiLoop{%\n    \\global\\catcode\\countUTFx\\active\n    \\uccode`\\~\\countUTFx\n    \\uppercase\\expandafter{\\UTFviiiTmp}%\n    \\advance\\countUTFx by 1\n    \\ifnum\\countUTFx < \\countUTFy\n      \\expandafter\\UTFviiiLoop\n    \\fi}\n\n  \\countUTFx = \"C2\n  \\countUTFy = \"E0\n  \\def\\UTFviiiTmp{%\n    \\xdef~{\\noexpand\\UTFviiiTwoOctets\\string~}}\n  \\UTFviiiLoop\n\n  \\countUTFx = \"E0\n  \\countUTFy = \"F0\n  \\def\\UTFviiiTmp{%\n    \\xdef~{\\noexpand\\UTFviiiThreeOctets\\string~}}\n  \\UTFviiiLoop\n\n  \\countUTFx = \"F0\n  \\countUTFy = \"F4\n  \\def\\UTFviiiTmp{%\n    \\xdef~{\\noexpand\\UTFviiiFourOctets\\string~}}\n  \\UTFviiiLoop\n\\endgroup\n\n\\begingroup\n  \\catcode`\\\"=12\n  \\catcode`\\<=12\n  \\catcode`\\.=12\n  \\catcode`\\,=12\n  \\catcode`\\;=12\n  \\catcode`\\!=12\n  \\catcode`\\~=13\n\n  \\gdef\\DeclareUnicodeCharacter#1#2{%\n    \\countUTFz = \"#1\\relax\n    %\\wlog{\\space\\space defining Unicode char U+#1 (decimal \\the\\countUTFz)}%\n    \\begingroup\n      \\parseXMLCharref\n      \\def\\UTFviiiTwoOctets##1##2{%\n        \\csname u8:##1\\string ##2\\endcsname}%\n      \\def\\UTFviiiThreeOctets##1##2##3{%\n        \\csname u8:##1\\string ##2\\string ##3\\endcsname}%\n      \\def\\UTFviiiFourOctets##1##2##3##4{%\n        \\csname u8:##1\\string ##2\\string ##3\\string ##4\\endcsname}%\n      \\expandafter\\expandafter\\expandafter\\expandafter\n       \\expandafter\\expandafter\\expandafter\n       \\gdef\\UTFviiiTmp{#2}%\n    \\endgroup}\n\n  \\gdef\\parseXMLCharref{%\n    \\ifnum\\countUTFz < \"A0\\relax\n      \\errhelp = \\EMsimple\n      \\errmessage{Cannot define Unicode char value < 00A0}%\n    \\else\\ifnum\\countUTFz < \"800\\relax\n      \\parseUTFviiiA,%\n      \\parseUTFviiiB C\\UTFviiiTwoOctets.,%\n    \\else\\ifnum\\countUTFz < \"10000\\relax\n      \\parseUTFviiiA;%\n      \\parseUTFviiiA,%\n      \\parseUTFviiiB E\\UTFviiiThreeOctets.{,;}%\n    \\else\n      \\parseUTFviiiA;%\n      \\parseUTFviiiA,%\n      \\parseUTFviiiA!%\n      \\parseUTFviiiB F\\UTFviiiFourOctets.{!,;}%\n    \\fi\\fi\\fi\n  }\n\n  \\gdef\\parseUTFviiiA#1{%\n    \\countUTFx = \\countUTFz\n    \\divide\\countUTFz by 64\n    \\countUTFy = \\countUTFz\n    \\multiply\\countUTFz by 64\n    \\advance\\countUTFx by -\\countUTFz\n    \\advance\\countUTFx by 128\n    \\uccode `#1\\countUTFx\n    \\countUTFz = \\countUTFy}\n\n  \\gdef\\parseUTFviiiB#1#2#3#4{%\n    \\advance\\countUTFz by \"#10\\relax\n    \\uccode `#3\\countUTFz\n    \\uppercase{\\gdef\\UTFviiiTmp{#2#3#4}}}\n\\endgroup\n\n\\def\\utfeightchardefs{%\n  \\DeclareUnicodeCharacter{00A0}{\\tie}\n  \\DeclareUnicodeCharacter{00A1}{\\exclamdown}\n  \\DeclareUnicodeCharacter{00A3}{\\pounds}\n  \\DeclareUnicodeCharacter{00A8}{\\\"{ }}\n  \\DeclareUnicodeCharacter{00A9}{\\copyright}\n  \\DeclareUnicodeCharacter{00AA}{\\ordf}\n  \\DeclareUnicodeCharacter{00AB}{\\guillemetleft}\n  \\DeclareUnicodeCharacter{00AD}{\\-}\n  \\DeclareUnicodeCharacter{00AE}{\\registeredsymbol}\n  \\DeclareUnicodeCharacter{00AF}{\\={ }}\n\n  \\DeclareUnicodeCharacter{00B0}{\\ringaccent{ }}\n  \\DeclareUnicodeCharacter{00B4}{\\'{ }}\n  \\DeclareUnicodeCharacter{00B8}{\\cedilla{ }}\n  \\DeclareUnicodeCharacter{00BA}{\\ordm}\n  \\DeclareUnicodeCharacter{00BB}{\\guillemetright}\n  \\DeclareUnicodeCharacter{00BF}{\\questiondown}\n\n  \\DeclareUnicodeCharacter{00C0}{\\`A}\n  \\DeclareUnicodeCharacter{00C1}{\\'A}\n  \\DeclareUnicodeCharacter{00C2}{\\^A}\n  \\DeclareUnicodeCharacter{00C3}{\\~A}\n  \\DeclareUnicodeCharacter{00C4}{\\\"A}\n  \\DeclareUnicodeCharacter{00C5}{\\AA}\n  \\DeclareUnicodeCharacter{00C6}{\\AE}\n  \\DeclareUnicodeCharacter{00C7}{\\cedilla{C}}\n  \\DeclareUnicodeCharacter{00C8}{\\`E}\n  \\DeclareUnicodeCharacter{00C9}{\\'E}\n  \\DeclareUnicodeCharacter{00CA}{\\^E}\n  \\DeclareUnicodeCharacter{00CB}{\\\"E}\n  \\DeclareUnicodeCharacter{00CC}{\\`I}\n  \\DeclareUnicodeCharacter{00CD}{\\'I}\n  \\DeclareUnicodeCharacter{00CE}{\\^I}\n  \\DeclareUnicodeCharacter{00CF}{\\\"I}\n\n  \\DeclareUnicodeCharacter{00D0}{\\DH}\n  \\DeclareUnicodeCharacter{00D1}{\\~N}\n  \\DeclareUnicodeCharacter{00D2}{\\`O}\n  \\DeclareUnicodeCharacter{00D3}{\\'O}\n  \\DeclareUnicodeCharacter{00D4}{\\^O}\n  \\DeclareUnicodeCharacter{00D5}{\\~O}\n  \\DeclareUnicodeCharacter{00D6}{\\\"O}\n  \\DeclareUnicodeCharacter{00D8}{\\O}\n  \\DeclareUnicodeCharacter{00D9}{\\`U}\n  \\DeclareUnicodeCharacter{00DA}{\\'U}\n  \\DeclareUnicodeCharacter{00DB}{\\^U}\n  \\DeclareUnicodeCharacter{00DC}{\\\"U}\n  \\DeclareUnicodeCharacter{00DD}{\\'Y}\n  \\DeclareUnicodeCharacter{00DE}{\\TH}\n  \\DeclareUnicodeCharacter{00DF}{\\ss}\n\n  \\DeclareUnicodeCharacter{00E0}{\\`a}\n  \\DeclareUnicodeCharacter{00E1}{\\'a}\n  \\DeclareUnicodeCharacter{00E2}{\\^a}\n  \\DeclareUnicodeCharacter{00E3}{\\~a}\n  \\DeclareUnicodeCharacter{00E4}{\\\"a}\n  \\DeclareUnicodeCharacter{00E5}{\\aa}\n  \\DeclareUnicodeCharacter{00E6}{\\ae}\n  \\DeclareUnicodeCharacter{00E7}{\\cedilla{c}}\n  \\DeclareUnicodeCharacter{00E8}{\\`e}\n  \\DeclareUnicodeCharacter{00E9}{\\'e}\n  \\DeclareUnicodeCharacter{00EA}{\\^e}\n  \\DeclareUnicodeCharacter{00EB}{\\\"e}\n  \\DeclareUnicodeCharacter{00EC}{\\`{\\dotless{i}}}\n  \\DeclareUnicodeCharacter{00ED}{\\'{\\dotless{i}}}\n  \\DeclareUnicodeCharacter{00EE}{\\^{\\dotless{i}}}\n  \\DeclareUnicodeCharacter{00EF}{\\\"{\\dotless{i}}}\n\n  \\DeclareUnicodeCharacter{00F0}{\\dh}\n  \\DeclareUnicodeCharacter{00F1}{\\~n}\n  \\DeclareUnicodeCharacter{00F2}{\\`o}\n  \\DeclareUnicodeCharacter{00F3}{\\'o}\n  \\DeclareUnicodeCharacter{00F4}{\\^o}\n  \\DeclareUnicodeCharacter{00F5}{\\~o}\n  \\DeclareUnicodeCharacter{00F6}{\\\"o}\n  \\DeclareUnicodeCharacter{00F8}{\\o}\n  \\DeclareUnicodeCharacter{00F9}{\\`u}\n  \\DeclareUnicodeCharacter{00FA}{\\'u}\n  \\DeclareUnicodeCharacter{00FB}{\\^u}\n  \\DeclareUnicodeCharacter{00FC}{\\\"u}\n  \\DeclareUnicodeCharacter{00FD}{\\'y}\n  \\DeclareUnicodeCharacter{00FE}{\\th}\n  \\DeclareUnicodeCharacter{00FF}{\\\"y}\n\n  \\DeclareUnicodeCharacter{0100}{\\=A}\n  \\DeclareUnicodeCharacter{0101}{\\=a}\n  \\DeclareUnicodeCharacter{0102}{\\u{A}}\n  \\DeclareUnicodeCharacter{0103}{\\u{a}}\n  \\DeclareUnicodeCharacter{0104}{\\ogonek{A}}\n  \\DeclareUnicodeCharacter{0105}{\\ogonek{a}}\n  \\DeclareUnicodeCharacter{0106}{\\'C}\n  \\DeclareUnicodeCharacter{0107}{\\'c}\n  \\DeclareUnicodeCharacter{0108}{\\^C}\n  \\DeclareUnicodeCharacter{0109}{\\^c}\n  \\DeclareUnicodeCharacter{0118}{\\ogonek{E}}\n  \\DeclareUnicodeCharacter{0119}{\\ogonek{e}}\n  \\DeclareUnicodeCharacter{010A}{\\dotaccent{C}}\n  \\DeclareUnicodeCharacter{010B}{\\dotaccent{c}}\n  \\DeclareUnicodeCharacter{010C}{\\v{C}}\n  \\DeclareUnicodeCharacter{010D}{\\v{c}}\n  \\DeclareUnicodeCharacter{010E}{\\v{D}}\n\n  \\DeclareUnicodeCharacter{0112}{\\=E}\n  \\DeclareUnicodeCharacter{0113}{\\=e}\n  \\DeclareUnicodeCharacter{0114}{\\u{E}}\n  \\DeclareUnicodeCharacter{0115}{\\u{e}}\n  \\DeclareUnicodeCharacter{0116}{\\dotaccent{E}}\n  \\DeclareUnicodeCharacter{0117}{\\dotaccent{e}}\n  \\DeclareUnicodeCharacter{011A}{\\v{E}}\n  \\DeclareUnicodeCharacter{011B}{\\v{e}}\n  \\DeclareUnicodeCharacter{011C}{\\^G}\n  \\DeclareUnicodeCharacter{011D}{\\^g}\n  \\DeclareUnicodeCharacter{011E}{\\u{G}}\n  \\DeclareUnicodeCharacter{011F}{\\u{g}}\n\n  \\DeclareUnicodeCharacter{0120}{\\dotaccent{G}}\n  \\DeclareUnicodeCharacter{0121}{\\dotaccent{g}}\n  \\DeclareUnicodeCharacter{0124}{\\^H}\n  \\DeclareUnicodeCharacter{0125}{\\^h}\n  \\DeclareUnicodeCharacter{0128}{\\~I}\n  \\DeclareUnicodeCharacter{0129}{\\~{\\dotless{i}}}\n  \\DeclareUnicodeCharacter{012A}{\\=I}\n  \\DeclareUnicodeCharacter{012B}{\\={\\dotless{i}}}\n  \\DeclareUnicodeCharacter{012C}{\\u{I}}\n  \\DeclareUnicodeCharacter{012D}{\\u{\\dotless{i}}}\n\n  \\DeclareUnicodeCharacter{0130}{\\dotaccent{I}}\n  \\DeclareUnicodeCharacter{0131}{\\dotless{i}}\n  \\DeclareUnicodeCharacter{0132}{IJ}\n  \\DeclareUnicodeCharacter{0133}{ij}\n  \\DeclareUnicodeCharacter{0134}{\\^J}\n  \\DeclareUnicodeCharacter{0135}{\\^{\\dotless{j}}}\n  \\DeclareUnicodeCharacter{0139}{\\'L}\n  \\DeclareUnicodeCharacter{013A}{\\'l}\n\n  \\DeclareUnicodeCharacter{0141}{\\L}\n  \\DeclareUnicodeCharacter{0142}{\\l}\n  \\DeclareUnicodeCharacter{0143}{\\'N}\n  \\DeclareUnicodeCharacter{0144}{\\'n}\n  \\DeclareUnicodeCharacter{0147}{\\v{N}}\n  \\DeclareUnicodeCharacter{0148}{\\v{n}}\n  \\DeclareUnicodeCharacter{014C}{\\=O}\n  \\DeclareUnicodeCharacter{014D}{\\=o}\n  \\DeclareUnicodeCharacter{014E}{\\u{O}}\n  \\DeclareUnicodeCharacter{014F}{\\u{o}}\n\n  \\DeclareUnicodeCharacter{0150}{\\H{O}}\n  \\DeclareUnicodeCharacter{0151}{\\H{o}}\n  \\DeclareUnicodeCharacter{0152}{\\OE}\n  \\DeclareUnicodeCharacter{0153}{\\oe}\n  \\DeclareUnicodeCharacter{0154}{\\'R}\n  \\DeclareUnicodeCharacter{0155}{\\'r}\n  \\DeclareUnicodeCharacter{0158}{\\v{R}}\n  \\DeclareUnicodeCharacter{0159}{\\v{r}}\n  \\DeclareUnicodeCharacter{015A}{\\'S}\n  \\DeclareUnicodeCharacter{015B}{\\'s}\n  \\DeclareUnicodeCharacter{015C}{\\^S}\n  \\DeclareUnicodeCharacter{015D}{\\^s}\n  \\DeclareUnicodeCharacter{015E}{\\cedilla{S}}\n  \\DeclareUnicodeCharacter{015F}{\\cedilla{s}}\n\n  \\DeclareUnicodeCharacter{0160}{\\v{S}}\n  \\DeclareUnicodeCharacter{0161}{\\v{s}}\n  \\DeclareUnicodeCharacter{0162}{\\cedilla{t}}\n  \\DeclareUnicodeCharacter{0163}{\\cedilla{T}}\n  \\DeclareUnicodeCharacter{0164}{\\v{T}}\n\n  \\DeclareUnicodeCharacter{0168}{\\~U}\n  \\DeclareUnicodeCharacter{0169}{\\~u}\n  \\DeclareUnicodeCharacter{016A}{\\=U}\n  \\DeclareUnicodeCharacter{016B}{\\=u}\n  \\DeclareUnicodeCharacter{016C}{\\u{U}}\n  \\DeclareUnicodeCharacter{016D}{\\u{u}}\n  \\DeclareUnicodeCharacter{016E}{\\ringaccent{U}}\n  \\DeclareUnicodeCharacter{016F}{\\ringaccent{u}}\n\n  \\DeclareUnicodeCharacter{0170}{\\H{U}}\n  \\DeclareUnicodeCharacter{0171}{\\H{u}}\n  \\DeclareUnicodeCharacter{0174}{\\^W}\n  \\DeclareUnicodeCharacter{0175}{\\^w}\n  \\DeclareUnicodeCharacter{0176}{\\^Y}\n  \\DeclareUnicodeCharacter{0177}{\\^y}\n  \\DeclareUnicodeCharacter{0178}{\\\"Y}\n  \\DeclareUnicodeCharacter{0179}{\\'Z}\n  \\DeclareUnicodeCharacter{017A}{\\'z}\n  \\DeclareUnicodeCharacter{017B}{\\dotaccent{Z}}\n  \\DeclareUnicodeCharacter{017C}{\\dotaccent{z}}\n  \\DeclareUnicodeCharacter{017D}{\\v{Z}}\n  \\DeclareUnicodeCharacter{017E}{\\v{z}}\n\n  \\DeclareUnicodeCharacter{01C4}{D\\v{Z}}\n  \\DeclareUnicodeCharacter{01C5}{D\\v{z}}\n  \\DeclareUnicodeCharacter{01C6}{d\\v{z}}\n  \\DeclareUnicodeCharacter{01C7}{LJ}\n  \\DeclareUnicodeCharacter{01C8}{Lj}\n  \\DeclareUnicodeCharacter{01C9}{lj}\n  \\DeclareUnicodeCharacter{01CA}{NJ}\n  \\DeclareUnicodeCharacter{01CB}{Nj}\n  \\DeclareUnicodeCharacter{01CC}{nj}\n  \\DeclareUnicodeCharacter{01CD}{\\v{A}}\n  \\DeclareUnicodeCharacter{01CE}{\\v{a}}\n  \\DeclareUnicodeCharacter{01CF}{\\v{I}}\n\n  \\DeclareUnicodeCharacter{01D0}{\\v{\\dotless{i}}}\n  \\DeclareUnicodeCharacter{01D1}{\\v{O}}\n  \\DeclareUnicodeCharacter{01D2}{\\v{o}}\n  \\DeclareUnicodeCharacter{01D3}{\\v{U}}\n  \\DeclareUnicodeCharacter{01D4}{\\v{u}}\n\n  \\DeclareUnicodeCharacter{01E2}{\\={\\AE}}\n  \\DeclareUnicodeCharacter{01E3}{\\={\\ae}}\n  \\DeclareUnicodeCharacter{01E6}{\\v{G}}\n  \\DeclareUnicodeCharacter{01E7}{\\v{g}}\n  \\DeclareUnicodeCharacter{01E8}{\\v{K}}\n  \\DeclareUnicodeCharacter{01E9}{\\v{k}}\n\n  \\DeclareUnicodeCharacter{01F0}{\\v{\\dotless{j}}}\n  \\DeclareUnicodeCharacter{01F1}{DZ}\n  \\DeclareUnicodeCharacter{01F2}{Dz}\n  \\DeclareUnicodeCharacter{01F3}{dz}\n  \\DeclareUnicodeCharacter{01F4}{\\'G}\n  \\DeclareUnicodeCharacter{01F5}{\\'g}\n  \\DeclareUnicodeCharacter{01F8}{\\`N}\n  \\DeclareUnicodeCharacter{01F9}{\\`n}\n  \\DeclareUnicodeCharacter{01FC}{\\'{\\AE}}\n  \\DeclareUnicodeCharacter{01FD}{\\'{\\ae}}\n  \\DeclareUnicodeCharacter{01FE}{\\'{\\O}}\n  \\DeclareUnicodeCharacter{01FF}{\\'{\\o}}\n\n  \\DeclareUnicodeCharacter{021E}{\\v{H}}\n  \\DeclareUnicodeCharacter{021F}{\\v{h}}\n\n  \\DeclareUnicodeCharacter{0226}{\\dotaccent{A}}\n  \\DeclareUnicodeCharacter{0227}{\\dotaccent{a}}\n  \\DeclareUnicodeCharacter{0228}{\\cedilla{E}}\n  \\DeclareUnicodeCharacter{0229}{\\cedilla{e}}\n  \\DeclareUnicodeCharacter{022E}{\\dotaccent{O}}\n  \\DeclareUnicodeCharacter{022F}{\\dotaccent{o}}\n\n  \\DeclareUnicodeCharacter{0232}{\\=Y}\n  \\DeclareUnicodeCharacter{0233}{\\=y}\n  \\DeclareUnicodeCharacter{0237}{\\dotless{j}}\n\n  \\DeclareUnicodeCharacter{02DB}{\\ogonek{ }}\n\n  \\DeclareUnicodeCharacter{1E02}{\\dotaccent{B}}\n  \\DeclareUnicodeCharacter{1E03}{\\dotaccent{b}}\n  \\DeclareUnicodeCharacter{1E04}{\\udotaccent{B}}\n  \\DeclareUnicodeCharacter{1E05}{\\udotaccent{b}}\n  \\DeclareUnicodeCharacter{1E06}{\\ubaraccent{B}}\n  \\DeclareUnicodeCharacter{1E07}{\\ubaraccent{b}}\n  \\DeclareUnicodeCharacter{1E0A}{\\dotaccent{D}}\n  \\DeclareUnicodeCharacter{1E0B}{\\dotaccent{d}}\n  \\DeclareUnicodeCharacter{1E0C}{\\udotaccent{D}}\n  \\DeclareUnicodeCharacter{1E0D}{\\udotaccent{d}}\n  \\DeclareUnicodeCharacter{1E0E}{\\ubaraccent{D}}\n  \\DeclareUnicodeCharacter{1E0F}{\\ubaraccent{d}}\n\n  \\DeclareUnicodeCharacter{1E1E}{\\dotaccent{F}}\n  \\DeclareUnicodeCharacter{1E1F}{\\dotaccent{f}}\n\n  \\DeclareUnicodeCharacter{1E20}{\\=G}\n  \\DeclareUnicodeCharacter{1E21}{\\=g}\n  \\DeclareUnicodeCharacter{1E22}{\\dotaccent{H}}\n  \\DeclareUnicodeCharacter{1E23}{\\dotaccent{h}}\n  \\DeclareUnicodeCharacter{1E24}{\\udotaccent{H}}\n  \\DeclareUnicodeCharacter{1E25}{\\udotaccent{h}}\n  \\DeclareUnicodeCharacter{1E26}{\\\"H}\n  \\DeclareUnicodeCharacter{1E27}{\\\"h}\n\n  \\DeclareUnicodeCharacter{1E30}{\\'K}\n  \\DeclareUnicodeCharacter{1E31}{\\'k}\n  \\DeclareUnicodeCharacter{1E32}{\\udotaccent{K}}\n  \\DeclareUnicodeCharacter{1E33}{\\udotaccent{k}}\n  \\DeclareUnicodeCharacter{1E34}{\\ubaraccent{K}}\n  \\DeclareUnicodeCharacter{1E35}{\\ubaraccent{k}}\n  \\DeclareUnicodeCharacter{1E36}{\\udotaccent{L}}\n  \\DeclareUnicodeCharacter{1E37}{\\udotaccent{l}}\n  \\DeclareUnicodeCharacter{1E3A}{\\ubaraccent{L}}\n  \\DeclareUnicodeCharacter{1E3B}{\\ubaraccent{l}}\n  \\DeclareUnicodeCharacter{1E3E}{\\'M}\n  \\DeclareUnicodeCharacter{1E3F}{\\'m}\n\n  \\DeclareUnicodeCharacter{1E40}{\\dotaccent{M}}\n  \\DeclareUnicodeCharacter{1E41}{\\dotaccent{m}}\n  \\DeclareUnicodeCharacter{1E42}{\\udotaccent{M}}\n  \\DeclareUnicodeCharacter{1E43}{\\udotaccent{m}}\n  \\DeclareUnicodeCharacter{1E44}{\\dotaccent{N}}\n  \\DeclareUnicodeCharacter{1E45}{\\dotaccent{n}}\n  \\DeclareUnicodeCharacter{1E46}{\\udotaccent{N}}\n  \\DeclareUnicodeCharacter{1E47}{\\udotaccent{n}}\n  \\DeclareUnicodeCharacter{1E48}{\\ubaraccent{N}}\n  \\DeclareUnicodeCharacter{1E49}{\\ubaraccent{n}}\n\n  \\DeclareUnicodeCharacter{1E54}{\\'P}\n  \\DeclareUnicodeCharacter{1E55}{\\'p}\n  \\DeclareUnicodeCharacter{1E56}{\\dotaccent{P}}\n  \\DeclareUnicodeCharacter{1E57}{\\dotaccent{p}}\n  \\DeclareUnicodeCharacter{1E58}{\\dotaccent{R}}\n  \\DeclareUnicodeCharacter{1E59}{\\dotaccent{r}}\n  \\DeclareUnicodeCharacter{1E5A}{\\udotaccent{R}}\n  \\DeclareUnicodeCharacter{1E5B}{\\udotaccent{r}}\n  \\DeclareUnicodeCharacter{1E5E}{\\ubaraccent{R}}\n  \\DeclareUnicodeCharacter{1E5F}{\\ubaraccent{r}}\n\n  \\DeclareUnicodeCharacter{1E60}{\\dotaccent{S}}\n  \\DeclareUnicodeCharacter{1E61}{\\dotaccent{s}}\n  \\DeclareUnicodeCharacter{1E62}{\\udotaccent{S}}\n  \\DeclareUnicodeCharacter{1E63}{\\udotaccent{s}}\n  \\DeclareUnicodeCharacter{1E6A}{\\dotaccent{T}}\n  \\DeclareUnicodeCharacter{1E6B}{\\dotaccent{t}}\n  \\DeclareUnicodeCharacter{1E6C}{\\udotaccent{T}}\n  \\DeclareUnicodeCharacter{1E6D}{\\udotaccent{t}}\n  \\DeclareUnicodeCharacter{1E6E}{\\ubaraccent{T}}\n  \\DeclareUnicodeCharacter{1E6F}{\\ubaraccent{t}}\n\n  \\DeclareUnicodeCharacter{1E7C}{\\~V}\n  \\DeclareUnicodeCharacter{1E7D}{\\~v}\n  \\DeclareUnicodeCharacter{1E7E}{\\udotaccent{V}}\n  \\DeclareUnicodeCharacter{1E7F}{\\udotaccent{v}}\n\n  \\DeclareUnicodeCharacter{1E80}{\\`W}\n  \\DeclareUnicodeCharacter{1E81}{\\`w}\n  \\DeclareUnicodeCharacter{1E82}{\\'W}\n  \\DeclareUnicodeCharacter{1E83}{\\'w}\n  \\DeclareUnicodeCharacter{1E84}{\\\"W}\n  \\DeclareUnicodeCharacter{1E85}{\\\"w}\n  \\DeclareUnicodeCharacter{1E86}{\\dotaccent{W}}\n  \\DeclareUnicodeCharacter{1E87}{\\dotaccent{w}}\n  \\DeclareUnicodeCharacter{1E88}{\\udotaccent{W}}\n  \\DeclareUnicodeCharacter{1E89}{\\udotaccent{w}}\n  \\DeclareUnicodeCharacter{1E8A}{\\dotaccent{X}}\n  \\DeclareUnicodeCharacter{1E8B}{\\dotaccent{x}}\n  \\DeclareUnicodeCharacter{1E8C}{\\\"X}\n  \\DeclareUnicodeCharacter{1E8D}{\\\"x}\n  \\DeclareUnicodeCharacter{1E8E}{\\dotaccent{Y}}\n  \\DeclareUnicodeCharacter{1E8F}{\\dotaccent{y}}\n\n  \\DeclareUnicodeCharacter{1E90}{\\^Z}\n  \\DeclareUnicodeCharacter{1E91}{\\^z}\n  \\DeclareUnicodeCharacter{1E92}{\\udotaccent{Z}}\n  \\DeclareUnicodeCharacter{1E93}{\\udotaccent{z}}\n  \\DeclareUnicodeCharacter{1E94}{\\ubaraccent{Z}}\n  \\DeclareUnicodeCharacter{1E95}{\\ubaraccent{z}}\n  \\DeclareUnicodeCharacter{1E96}{\\ubaraccent{h}}\n  \\DeclareUnicodeCharacter{1E97}{\\\"t}\n  \\DeclareUnicodeCharacter{1E98}{\\ringaccent{w}}\n  \\DeclareUnicodeCharacter{1E99}{\\ringaccent{y}}\n\n  \\DeclareUnicodeCharacter{1EA0}{\\udotaccent{A}}\n  \\DeclareUnicodeCharacter{1EA1}{\\udotaccent{a}}\n\n  \\DeclareUnicodeCharacter{1EB8}{\\udotaccent{E}}\n  \\DeclareUnicodeCharacter{1EB9}{\\udotaccent{e}}\n  \\DeclareUnicodeCharacter{1EBC}{\\~E}\n  \\DeclareUnicodeCharacter{1EBD}{\\~e}\n\n  \\DeclareUnicodeCharacter{1ECA}{\\udotaccent{I}}\n  \\DeclareUnicodeCharacter{1ECB}{\\udotaccent{i}}\n  \\DeclareUnicodeCharacter{1ECC}{\\udotaccent{O}}\n  \\DeclareUnicodeCharacter{1ECD}{\\udotaccent{o}}\n\n  \\DeclareUnicodeCharacter{1EE4}{\\udotaccent{U}}\n  \\DeclareUnicodeCharacter{1EE5}{\\udotaccent{u}}\n\n  \\DeclareUnicodeCharacter{1EF2}{\\`Y}\n  \\DeclareUnicodeCharacter{1EF3}{\\`y}\n  \\DeclareUnicodeCharacter{1EF4}{\\udotaccent{Y}}\n\n  \\DeclareUnicodeCharacter{1EF8}{\\~Y}\n  \\DeclareUnicodeCharacter{1EF9}{\\~y}\n\n  \\DeclareUnicodeCharacter{2013}{--}\n  \\DeclareUnicodeCharacter{2014}{---}\n  \\DeclareUnicodeCharacter{2018}{\\quoteleft}\n  \\DeclareUnicodeCharacter{2019}{\\quoteright}\n  \\DeclareUnicodeCharacter{201A}{\\quotesinglbase}\n  \\DeclareUnicodeCharacter{201C}{\\quotedblleft}\n  \\DeclareUnicodeCharacter{201D}{\\quotedblright}\n  \\DeclareUnicodeCharacter{201E}{\\quotedblbase}\n  \\DeclareUnicodeCharacter{2022}{\\bullet}\n  \\DeclareUnicodeCharacter{2026}{\\dots}\n  \\DeclareUnicodeCharacter{2039}{\\guilsinglleft}\n  \\DeclareUnicodeCharacter{203A}{\\guilsinglright}\n  \\DeclareUnicodeCharacter{20AC}{\\euro}\n\n  \\DeclareUnicodeCharacter{2192}{\\expansion}\n  \\DeclareUnicodeCharacter{21D2}{\\result}\n\n  \\DeclareUnicodeCharacter{2212}{\\minus}\n  \\DeclareUnicodeCharacter{2217}{\\point}\n  \\DeclareUnicodeCharacter{2261}{\\equiv}\n}% end of \\utfeightchardefs\n\n\n% US-ASCII character definitions.\n\\def\\asciichardefs{% nothing need be done\n   \\relax\n}\n\n% Make non-ASCII characters printable again for compatibility with\n% existing Texinfo documents that may use them, even without declaring a\n% document encoding.\n%\n\\setnonasciicharscatcode \\other\n\n\n\\message{formatting,}\n\n\\newdimen\\defaultparindent \\defaultparindent = 15pt\n\n\\chapheadingskip = 15pt plus 4pt minus 2pt\n\\secheadingskip = 12pt plus 3pt minus 2pt\n\\subsecheadingskip = 9pt plus 2pt minus 2pt\n\n% Prevent underfull vbox error messages.\n\\vbadness = 10000\n\n% Don't be very finicky about underfull hboxes, either.\n\\hbadness = 6666\n\n% Following George Bush, get rid of widows and orphans.\n\\widowpenalty=10000\n\\clubpenalty=10000\n\n% Use TeX 3.0's \\emergencystretch to help line breaking, but if we're\n% using an old version of TeX, don't do anything.  We want the amount of\n% stretch added to depend on the line length, hence the dependence on\n% \\hsize.  We call this whenever the paper size is set.\n%\n\\def\\setemergencystretch{%\n  \\ifx\\emergencystretch\\thisisundefined\n    % Allow us to assign to \\emergencystretch anyway.\n    \\def\\emergencystretch{\\dimen0}%\n  \\else\n    \\emergencystretch = .15\\hsize\n  \\fi\n}\n\n% Parameters in order: 1) textheight; 2) textwidth;\n% 3) voffset; 4) hoffset; 5) binding offset; 6) topskip;\n% 7) physical page height; 8) physical page width.\n%\n% We also call \\setleading{\\textleading}, so the caller should define\n% \\textleading.  The caller should also set \\parskip.\n%\n\\def\\internalpagesizes#1#2#3#4#5#6#7#8{%\n  \\voffset = #3\\relax\n  \\topskip = #6\\relax\n  \\splittopskip = \\topskip\n  %\n  \\vsize = #1\\relax\n  \\advance\\vsize by \\topskip\n  \\outervsize = \\vsize\n  \\advance\\outervsize by 2\\topandbottommargin\n  \\pageheight = \\vsize\n  %\n  \\hsize = #2\\relax\n  \\outerhsize = \\hsize\n  \\advance\\outerhsize by 0.5in\n  \\pagewidth = \\hsize\n  %\n  \\normaloffset = #4\\relax\n  \\bindingoffset = #5\\relax\n  %\n  \\ifpdf\n    \\pdfpageheight #7\\relax\n    \\pdfpagewidth #8\\relax\n    % if we don't reset these, they will remain at \"1 true in\" of\n    % whatever layout pdftex was dumped with.\n    \\pdfhorigin = 1 true in\n    \\pdfvorigin = 1 true in\n  \\fi\n  %\n  \\setleading{\\textleading}\n  %\n  \\parindent = \\defaultparindent\n  \\setemergencystretch\n}\n\n% @letterpaper (the default).\n\\def\\letterpaper{{\\globaldefs = 1\n  \\parskip = 3pt plus 2pt minus 1pt\n  \\textleading = 13.2pt\n  %\n  % If page is nothing but text, make it come out even.\n  \\internalpagesizes{607.2pt}{6in}% that's 46 lines\n                    {\\voffset}{.25in}%\n                    {\\bindingoffset}{36pt}%\n                    {11in}{8.5in}%\n}}\n\n% Use @smallbook to reset parameters for 7x9.25 trim size.\n\\def\\smallbook{{\\globaldefs = 1\n  \\parskip = 2pt plus 1pt\n  \\textleading = 12pt\n  %\n  \\internalpagesizes{7.5in}{5in}%\n                    {-.2in}{0in}%\n                    {\\bindingoffset}{16pt}%\n                    {9.25in}{7in}%\n  %\n  \\lispnarrowing = 0.3in\n  \\tolerance = 700\n  \\hfuzz = 1pt\n  \\contentsrightmargin = 0pt\n  \\defbodyindent = .5cm\n}}\n\n% Use @smallerbook to reset parameters for 6x9 trim size.\n% (Just testing, parameters still in flux.)\n\\def\\smallerbook{{\\globaldefs = 1\n  \\parskip = 1.5pt plus 1pt\n  \\textleading = 12pt\n  %\n  \\internalpagesizes{7.4in}{4.8in}%\n                    {-.2in}{-.4in}%\n                    {0pt}{14pt}%\n                    {9in}{6in}%\n  %\n  \\lispnarrowing = 0.25in\n  \\tolerance = 700\n  \\hfuzz = 1pt\n  \\contentsrightmargin = 0pt\n  \\defbodyindent = .4cm\n}}\n\n% Use @afourpaper to print on European A4 paper.\n\\def\\afourpaper{{\\globaldefs = 1\n  \\parskip = 3pt plus 2pt minus 1pt\n  \\textleading = 13.2pt\n  %\n  % Double-side printing via postscript on Laserjet 4050\n  % prints double-sided nicely when \\bindingoffset=10mm and \\hoffset=-6mm.\n  % To change the settings for a different printer or situation, adjust\n  % \\normaloffset until the front-side and back-side texts align.  Then\n  % do the same for \\bindingoffset.  You can set these for testing in\n  % your texinfo source file like this:\n  % @tex\n  % \\global\\normaloffset = -6mm\n  % \\global\\bindingoffset = 10mm\n  % @end tex\n  \\internalpagesizes{673.2pt}{160mm}% that's 51 lines\n                    {\\voffset}{\\hoffset}%\n                    {\\bindingoffset}{44pt}%\n                    {297mm}{210mm}%\n  %\n  \\tolerance = 700\n  \\hfuzz = 1pt\n  \\contentsrightmargin = 0pt\n  \\defbodyindent = 5mm\n}}\n\n% Use @afivepaper to print on European A5 paper.\n% From romildo@urano.iceb.ufop.br, 2 July 2000.\n% He also recommends making @example and @lisp be small.\n\\def\\afivepaper{{\\globaldefs = 1\n  \\parskip = 2pt plus 1pt minus 0.1pt\n  \\textleading = 12.5pt\n  %\n  \\internalpagesizes{160mm}{120mm}%\n                    {\\voffset}{\\hoffset}%\n                    {\\bindingoffset}{8pt}%\n                    {210mm}{148mm}%\n  %\n  \\lispnarrowing = 0.2in\n  \\tolerance = 800\n  \\hfuzz = 1.2pt\n  \\contentsrightmargin = 0pt\n  \\defbodyindent = 2mm\n  \\tableindent = 12mm\n}}\n\n% A specific text layout, 24x15cm overall, intended for A4 paper.\n\\def\\afourlatex{{\\globaldefs = 1\n  \\afourpaper\n  \\internalpagesizes{237mm}{150mm}%\n                    {\\voffset}{4.6mm}%\n                    {\\bindingoffset}{7mm}%\n                    {297mm}{210mm}%\n  %\n  % Must explicitly reset to 0 because we call \\afourpaper.\n  \\globaldefs = 0\n}}\n\n% Use @afourwide to print on A4 paper in landscape format.\n\\def\\afourwide{{\\globaldefs = 1\n  \\afourpaper\n  \\internalpagesizes{241mm}{165mm}%\n                    {\\voffset}{-2.95mm}%\n                    {\\bindingoffset}{7mm}%\n                    {297mm}{210mm}%\n  \\globaldefs = 0\n}}\n\n% @pagesizes TEXTHEIGHT[,TEXTWIDTH]\n% Perhaps we should allow setting the margins, \\topskip, \\parskip,\n% and/or leading, also. Or perhaps we should compute them somehow.\n%\n\\parseargdef\\pagesizes{\\pagesizesyyy #1,,\\finish}\n\\def\\pagesizesyyy#1,#2,#3\\finish{{%\n  \\setbox0 = \\hbox{\\ignorespaces #2}\\ifdim\\wd0 > 0pt \\hsize=#2\\relax \\fi\n  \\globaldefs = 1\n  %\n  \\parskip = 3pt plus 2pt minus 1pt\n  \\setleading{\\textleading}%\n  %\n  \\dimen0 = #1\\relax\n  \\advance\\dimen0 by \\voffset\n  %\n  \\dimen2 = \\hsize\n  \\advance\\dimen2 by \\normaloffset\n  %\n  \\internalpagesizes{#1}{\\hsize}%\n                    {\\voffset}{\\normaloffset}%\n                    {\\bindingoffset}{44pt}%\n                    {\\dimen0}{\\dimen2}%\n}}\n\n% Set default to letter.\n%\n\\letterpaper\n\n\n\\message{and turning on texinfo input format.}\n\n\\def^^L{\\par} % remove \\outer, so ^L can appear in an @comment\n\n% DEL is a comment character, in case @c does not suffice.\n\\catcode`\\^^? = 14\n\n% Define macros to output various characters with catcode for normal text.\n\\catcode`\\\"=\\other \\def\\normaldoublequote{\"}\n\\catcode`\\$=\\other \\def\\normaldollar{$}%$ font-lock fix\n\\catcode`\\+=\\other \\def\\normalplus{+}\n\\catcode`\\<=\\other \\def\\normalless{<}\n\\catcode`\\>=\\other \\def\\normalgreater{>}\n\\catcode`\\^=\\other \\def\\normalcaret{^}\n\\catcode`\\_=\\other \\def\\normalunderscore{_}\n\\catcode`\\|=\\other \\def\\normalverticalbar{|}\n\\catcode`\\~=\\other \\def\\normaltilde{~}\n\n% This macro is used to make a character print one way in \\tt\n% (where it can probably be output as-is), and another way in other fonts,\n% where something hairier probably needs to be done.\n%\n% #1 is what to print if we are indeed using \\tt; #2 is what to print\n% otherwise.  Since all the Computer Modern typewriter fonts have zero\n% interword stretch (and shrink), and it is reasonable to expect all\n% typewriter fonts to have this, we can check that font parameter.\n%\n\\def\\ifusingtt#1#2{\\ifdim \\fontdimen3\\font=0pt #1\\else #2\\fi}\n\n% Same as above, but check for italic font.  Actually this also catches\n% non-italic slanted fonts since it is impossible to distinguish them from\n% italic fonts.  But since this is only used by $ and it uses \\sl anyway\n% this is not a problem.\n\\def\\ifusingit#1#2{\\ifdim \\fontdimen1\\font>0pt #1\\else #2\\fi}\n\n% Turn off all special characters except @\n% (and those which the user can use as if they were ordinary).\n% Most of these we simply print from the \\tt font, but for some, we can\n% use math or other variants that look better in normal text.\n\n\\catcode`\\\"=\\active\n\\def\\activedoublequote{{\\tt\\char34}}\n\\let\"=\\activedoublequote\n\\catcode`\\~=\\active\n\\def~{{\\tt\\char126}}\n\\chardef\\hat=`\\^\n\\catcode`\\^=\\active\n\\def^{{\\tt \\hat}}\n\n\\catcode`\\_=\\active\n\\def_{\\ifusingtt\\normalunderscore\\_}\n\\let\\realunder=_\n% Subroutine for the previous macro.\n\\def\\_{\\leavevmode \\kern.07em \\vbox{\\hrule width.3em height.1ex}\\kern .07em }\n\n\\catcode`\\|=\\active\n\\def|{{\\tt\\char124}}\n\\chardef \\less=`\\<\n\\catcode`\\<=\\active\n\\def<{{\\tt \\less}}\n\\chardef \\gtr=`\\>\n\\catcode`\\>=\\active\n\\def>{{\\tt \\gtr}}\n\\catcode`\\+=\\active\n\\def+{{\\tt \\char 43}}\n\\catcode`\\$=\\active\n\\def${\\ifusingit{{\\sl\\$}}\\normaldollar}%$ font-lock fix\n\n% If a .fmt file is being used, characters that might appear in a file\n% name cannot be active until we have parsed the command line.\n% So turn them off again, and have \\everyjob (or @setfilename) turn them on.\n% \\otherifyactive is called near the end of this file.\n\\def\\otherifyactive{\\catcode`+=\\other \\catcode`\\_=\\other}\n\n% Used sometimes to turn off (effectively) the active characters even after\n% parsing them.\n\\def\\turnoffactive{%\n  \\normalturnoffactive\n  \\otherbackslash\n}\n\n\\catcode`\\@=0\n\n% \\backslashcurfont outputs one backslash character in current font,\n% as in \\char`\\\\.\n\\global\\chardef\\backslashcurfont=`\\\\\n\\global\\let\\rawbackslashxx=\\backslashcurfont  % let existing .??s files work\n\n% \\realbackslash is an actual character `\\' with catcode other, and\n% \\doublebackslash is two of them (for the pdf outlines).\n{\\catcode`\\\\=\\other @gdef@realbackslash{\\} @gdef@doublebackslash{\\\\}}\n\n% In texinfo, backslash is an active character; it prints the backslash\n% in fixed width font.\n\\catcode`\\\\=\\active  % @ for escape char from now on.\n\n% The story here is that in math mode, the \\char of \\backslashcurfont\n% ends up printing the roman \\ from the math symbol font (because \\char\n% in math mode uses the \\mathcode, and plain.tex sets\n% \\mathcode`\\\\=\"026E).  It seems better for @backslashchar{} to always\n% print a typewriter backslash, hence we use an explicit \\mathchar,\n% which is the decimal equivalent of \"715c (class 7, e.g., use \\fam;\n% ignored family value; char position \"5C).  We can't use \" for the\n% usual hex value because it has already been made active.\n@def@normalbackslash{{@tt @ifmmode @mathchar29020 @else @backslashcurfont @fi}}\n@let@backslashchar = @normalbackslash % @backslashchar{} is for user documents.\n\n% On startup, @fixbackslash assigns:\n%  @let \\ = @normalbackslash\n% \\rawbackslash defines an active \\ to do \\backslashcurfont.\n% \\otherbackslash defines an active \\ to be a literal `\\' character with\n% catcode other.  We switch back and forth between these.\n@gdef@rawbackslash{@let\\=@backslashcurfont}\n@gdef@otherbackslash{@let\\=@realbackslash}\n\n% Same as @turnoffactive except outputs \\ as {\\tt\\char`\\\\} instead of\n% the literal character `\\'.  Also revert - to its normal character, in\n% case the active - from code has slipped in.\n%\n{@catcode`- = @active\n @gdef@normalturnoffactive{%\n   @let-=@normaldash\n   @let\"=@normaldoublequote\n   @let$=@normaldollar %$ font-lock fix\n   @let+=@normalplus\n   @let<=@normalless\n   @let>=@normalgreater\n   @let\\=@normalbackslash\n   @let^=@normalcaret\n   @let_=@normalunderscore\n   @let|=@normalverticalbar\n   @let~=@normaltilde\n   @markupsetuplqdefault\n   @markupsetuprqdefault\n   @unsepspaces\n }\n}\n\n% Make _ and + \\other characters, temporarily.\n% This is canceled by @fixbackslash.\n@otherifyactive\n\n% If a .fmt file is being used, we don't want the `\\input texinfo' to show up.\n% That is what \\eatinput is for; after that, the `\\' should revert to printing\n% a backslash.\n%\n@gdef@eatinput input texinfo{@fixbackslash}\n@global@let\\ = @eatinput\n\n% On the other hand, perhaps the file did not have a `\\input texinfo'. Then\n% the first `\\' in the file would cause an error. This macro tries to fix\n% that, assuming it is called before the first `\\' could plausibly occur.\n% Also turn back on active characters that might appear in the input\n% file name, in case not using a pre-dumped format.\n%\n@gdef@fixbackslash{%\n  @ifx\\@eatinput @let\\ = @normalbackslash @fi\n  @catcode`+=@active\n  @catcode`@_=@active\n}\n\n% Say @foo, not \\foo, in error messages.\n@escapechar = `@@\n\n% These (along with & and #) are made active for url-breaking, so need\n% active definitions as the normal characters.\n@def@normaldot{.}\n@def@normalquest{?}\n@def@normalslash{/}\n\n% These look ok in all fonts, so just make them not special.\n% @hashchar{} gets its own user-level command, because of #line.\n@catcode`@& = @other @def@normalamp{&}\n@catcode`@# = @other @def@normalhash{#}\n@catcode`@% = @other @def@normalpercent{%}\n\n@let @hashchar = @normalhash\n\n@c Finally, make ` and ' active, so that txicodequoteundirected and\n@c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}.  If we\n@c don't make ` and ' active, @code will not get them as active chars.\n@c Do this last of all since we use ` in the previous @catcode assignments.\n@catcode`@'=@active\n@catcode`@`=@active\n@markupsetuplqdefault\n@markupsetuprqdefault\n\n@c Local variables:\n@c eval: (add-hook 'write-file-hooks 'time-stamp)\n@c page-delimiter: \"^\\\\\\\\message\"\n@c time-stamp-start: \"def\\\\\\\\texinfoversion{\"\n@c time-stamp-format: \"%:y-%02m-%02d.%02H\"\n@c time-stamp-end: \"}\"\n@c End:\n\n@c vim:sw=2:\n\n@ignore\n   arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115\n@end ignore\n"
  },
  {
    "path": "configure",
    "content": "#! /bin/sh\n# Guess values for system-dependent variables and create Makefiles.\n# Generated by GNU Autoconf 2.69 for guile-wm 1.0.\n#\n# Report bugs to <mark@markwitmer.com>.\n#\n#\n# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.\n#\n#\n# This configure script is free software; the Free Software Foundation\n# gives unlimited permission to copy, distribute and modify it.\n## -------------------- ##\n## M4sh Initialization. ##\n## -------------------- ##\n\n# Be more Bourne compatible\nDUALCASE=1; export DUALCASE # for MKS sh\nif test -n \"${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :\n  emulate sh\n  NULLCMD=:\n  # Pre-4.2 versions of Zsh do word splitting on ${1+\"$@\"}, which\n  # is contrary to our usage.  Disable this feature.\n  alias -g '${1+\"$@\"}'='\"$@\"'\n  setopt NO_GLOB_SUBST\nelse\n  case `(set -o) 2>/dev/null` in #(\n  *posix*) :\n    set -o posix ;; #(\n  *) :\n     ;;\nesac\nfi\n\n\nas_nl='\n'\nexport as_nl\n# Printing a long string crashes Solaris 7 /usr/bin/printf.\nas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\nas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo\nas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo\n# Prefer a ksh shell builtin over an external printf program on Solaris,\n# but without wasting forks for bash or zsh.\nif test -z \"$BASH_VERSION$ZSH_VERSION\" \\\n    && (test \"X`print -r -- $as_echo`\" = \"X$as_echo\") 2>/dev/null; then\n  as_echo='print -r --'\n  as_echo_n='print -rn --'\nelif (test \"X`printf %s $as_echo`\" = \"X$as_echo\") 2>/dev/null; then\n  as_echo='printf %s\\n'\n  as_echo_n='printf %s'\nelse\n  if test \"X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`\" = \"X-n $as_echo\"; then\n    as_echo_body='eval /usr/ucb/echo -n \"$1$as_nl\"'\n    as_echo_n='/usr/ucb/echo -n'\n  else\n    as_echo_body='eval expr \"X$1\" : \"X\\\\(.*\\\\)\"'\n    as_echo_n_body='eval\n      arg=$1;\n      case $arg in #(\n      *\"$as_nl\"*)\n\texpr \"X$arg\" : \"X\\\\(.*\\\\)$as_nl\";\n\targ=`expr \"X$arg\" : \".*$as_nl\\\\(.*\\\\)\"`;;\n      esac;\n      expr \"X$arg\" : \"X\\\\(.*\\\\)\" | tr -d \"$as_nl\"\n    '\n    export as_echo_n_body\n    as_echo_n='sh -c $as_echo_n_body as_echo'\n  fi\n  export as_echo_body\n  as_echo='sh -c $as_echo_body as_echo'\nfi\n\n# The user is always right.\nif test \"${PATH_SEPARATOR+set}\" != set; then\n  PATH_SEPARATOR=:\n  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {\n    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||\n      PATH_SEPARATOR=';'\n  }\nfi\n\n\n# IFS\n# We need space, tab and new line, in precisely that order.  Quoting is\n# there to prevent editors from complaining about space-tab.\n# (If _AS_PATH_WALK were called with IFS unset, it would disable word\n# splitting by setting IFS to empty value.)\nIFS=\" \"\"\t$as_nl\"\n\n# Find who we are.  Look in the path if we contain no directory separator.\nas_myself=\ncase $0 in #((\n  *[\\\\/]* ) as_myself=$0 ;;\n  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    test -r \"$as_dir/$0\" && as_myself=$as_dir/$0 && break\n  done\nIFS=$as_save_IFS\n\n     ;;\nesac\n# We did not find ourselves, most probably we were run as `sh COMMAND'\n# in which case we are not to be found in the path.\nif test \"x$as_myself\" = x; then\n  as_myself=$0\nfi\nif test ! -f \"$as_myself\"; then\n  $as_echo \"$as_myself: error: cannot find myself; rerun with an absolute file name\" >&2\n  exit 1\nfi\n\n# Unset variables that we do not need and which cause bugs (e.g. in\n# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the \"|| exit 1\"\n# suppresses any \"Segmentation fault\" message there.  '((' could\n# trigger a bug in pdksh 5.2.14.\nfor as_var in BASH_ENV ENV MAIL MAILPATH\ndo eval test x\\${$as_var+set} = xset \\\n  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :\ndone\nPS1='$ '\nPS2='> '\nPS4='+ '\n\n# NLS nuisances.\nLC_ALL=C\nexport LC_ALL\nLANGUAGE=C\nexport LANGUAGE\n\n# CDPATH.\n(unset CDPATH) >/dev/null 2>&1 && unset CDPATH\n\n# Use a proper internal environment variable to ensure we don't fall\n  # into an infinite loop, continuously re-executing ourselves.\n  if test x\"${_as_can_reexec}\" != xno && test \"x$CONFIG_SHELL\" != x; then\n    _as_can_reexec=no; export _as_can_reexec;\n    # We cannot yet assume a decent shell, so we have to provide a\n# neutralization value for shells without unset; and this also\n# works around shells that cannot unset nonexistent variables.\n# Preserve -v and -x to the replacement shell.\nBASH_ENV=/dev/null\nENV=/dev/null\n(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV\ncase $- in # ((((\n  *v*x* | *x*v* ) as_opts=-vx ;;\n  *v* ) as_opts=-v ;;\n  *x* ) as_opts=-x ;;\n  * ) as_opts= ;;\nesac\nexec $CONFIG_SHELL $as_opts \"$as_myself\" ${1+\"$@\"}\n# Admittedly, this is quite paranoid, since all the known shells bail\n# out after a failed `exec'.\n$as_echo \"$0: could not re-execute with $CONFIG_SHELL\" >&2\nas_fn_exit 255\n  fi\n  # We don't want this to propagate to other subprocesses.\n          { _as_can_reexec=; unset _as_can_reexec;}\nif test \"x$CONFIG_SHELL\" = x; then\n  as_bourne_compatible=\"if test -n \\\"\\${ZSH_VERSION+set}\\\" && (emulate sh) >/dev/null 2>&1; then :\n  emulate sh\n  NULLCMD=:\n  # Pre-4.2 versions of Zsh do word splitting on \\${1+\\\"\\$@\\\"}, which\n  # is contrary to our usage.  Disable this feature.\n  alias -g '\\${1+\\\"\\$@\\\"}'='\\\"\\$@\\\"'\n  setopt NO_GLOB_SUBST\nelse\n  case \\`(set -o) 2>/dev/null\\` in #(\n  *posix*) :\n    set -o posix ;; #(\n  *) :\n     ;;\nesac\nfi\n\"\n  as_required=\"as_fn_return () { (exit \\$1); }\nas_fn_success () { as_fn_return 0; }\nas_fn_failure () { as_fn_return 1; }\nas_fn_ret_success () { return 0; }\nas_fn_ret_failure () { return 1; }\n\nexitcode=0\nas_fn_success || { exitcode=1; echo as_fn_success failed.; }\nas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }\nas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }\nas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }\nif ( set x; as_fn_ret_success y && test x = \\\"\\$1\\\" ); then :\n\nelse\n  exitcode=1; echo positional parameters were not saved.\nfi\ntest x\\$exitcode = x0 || exit 1\ntest -x / || exit 1\"\n  as_suggested=\"  as_lineno_1=\";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested\" as_lineno_1a=\\$LINENO\n  as_lineno_2=\";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested\" as_lineno_2a=\\$LINENO\n  eval 'test \\\"x\\$as_lineno_1'\\$as_run'\\\" != \\\"x\\$as_lineno_2'\\$as_run'\\\" &&\n  test \\\"x\\`expr \\$as_lineno_1'\\$as_run' + 1\\`\\\" = \\\"x\\$as_lineno_2'\\$as_run'\\\"' || exit 1\"\n  if (eval \"$as_required\") 2>/dev/null; then :\n  as_have_required=yes\nelse\n  as_have_required=no\nfi\n  if test x$as_have_required = xyes && (eval \"$as_suggested\") 2>/dev/null; then :\n\nelse\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nas_found=false\nfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n  as_found=:\n  case $as_dir in #(\n\t /*)\n\t   for as_base in sh bash ksh sh5; do\n\t     # Try only shells that exist, to save several forks.\n\t     as_shell=$as_dir/$as_base\n\t     if { test -f \"$as_shell\" || test -f \"$as_shell.exe\"; } &&\n\t\t    { $as_echo \"$as_bourne_compatible\"\"$as_required\" | as_run=a \"$as_shell\"; } 2>/dev/null; then :\n  CONFIG_SHELL=$as_shell as_have_required=yes\n\t\t   if { $as_echo \"$as_bourne_compatible\"\"$as_suggested\" | as_run=a \"$as_shell\"; } 2>/dev/null; then :\n  break 2\nfi\nfi\n\t   done;;\n       esac\n  as_found=false\ndone\n$as_found || { if { test -f \"$SHELL\" || test -f \"$SHELL.exe\"; } &&\n\t      { $as_echo \"$as_bourne_compatible\"\"$as_required\" | as_run=a \"$SHELL\"; } 2>/dev/null; then :\n  CONFIG_SHELL=$SHELL as_have_required=yes\nfi; }\nIFS=$as_save_IFS\n\n\n      if test \"x$CONFIG_SHELL\" != x; then :\n  export CONFIG_SHELL\n             # We cannot yet assume a decent shell, so we have to provide a\n# neutralization value for shells without unset; and this also\n# works around shells that cannot unset nonexistent variables.\n# Preserve -v and -x to the replacement shell.\nBASH_ENV=/dev/null\nENV=/dev/null\n(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV\ncase $- in # ((((\n  *v*x* | *x*v* ) as_opts=-vx ;;\n  *v* ) as_opts=-v ;;\n  *x* ) as_opts=-x ;;\n  * ) as_opts= ;;\nesac\nexec $CONFIG_SHELL $as_opts \"$as_myself\" ${1+\"$@\"}\n# Admittedly, this is quite paranoid, since all the known shells bail\n# out after a failed `exec'.\n$as_echo \"$0: could not re-execute with $CONFIG_SHELL\" >&2\nexit 255\nfi\n\n    if test x$as_have_required = xno; then :\n  $as_echo \"$0: This script requires a shell more modern than all\"\n  $as_echo \"$0: the shells that I found on your system.\"\n  if test x${ZSH_VERSION+set} = xset ; then\n    $as_echo \"$0: In particular, zsh $ZSH_VERSION has bugs and should\"\n    $as_echo \"$0: be upgraded to zsh 4.3.4 or later.\"\n  else\n    $as_echo \"$0: Please tell bug-autoconf@gnu.org and\n$0: mark@markwitmer.com about your system, including any\n$0: error possibly output before this message. Then install\n$0: a modern shell, or manually run the script under such a\n$0: shell if you do have one.\"\n  fi\n  exit 1\nfi\nfi\nfi\nSHELL=${CONFIG_SHELL-/bin/sh}\nexport SHELL\n# Unset more variables known to interfere with behavior of common tools.\nCLICOLOR_FORCE= GREP_OPTIONS=\nunset CLICOLOR_FORCE GREP_OPTIONS\n\n## --------------------- ##\n## M4sh Shell Functions. ##\n## --------------------- ##\n# as_fn_unset VAR\n# ---------------\n# Portably unset VAR.\nas_fn_unset ()\n{\n  { eval $1=; unset $1;}\n}\nas_unset=as_fn_unset\n\n# as_fn_set_status STATUS\n# -----------------------\n# Set $? to STATUS, without forking.\nas_fn_set_status ()\n{\n  return $1\n} # as_fn_set_status\n\n# as_fn_exit STATUS\n# -----------------\n# Exit the shell with STATUS, even in a \"trap 0\" or \"set -e\" context.\nas_fn_exit ()\n{\n  set +e\n  as_fn_set_status $1\n  exit $1\n} # as_fn_exit\n\n# as_fn_mkdir_p\n# -------------\n# Create \"$as_dir\" as a directory, including parents if necessary.\nas_fn_mkdir_p ()\n{\n\n  case $as_dir in #(\n  -*) as_dir=./$as_dir;;\n  esac\n  test -d \"$as_dir\" || eval $as_mkdir_p || {\n    as_dirs=\n    while :; do\n      case $as_dir in #(\n      *\\'*) as_qdir=`$as_echo \"$as_dir\" | sed \"s/'/'\\\\\\\\\\\\\\\\''/g\"`;; #'(\n      *) as_qdir=$as_dir;;\n      esac\n      as_dirs=\"'$as_qdir' $as_dirs\"\n      as_dir=`$as_dirname -- \"$as_dir\" ||\n$as_expr X\"$as_dir\" : 'X\\(.*[^/]\\)//*[^/][^/]*/*$' \\| \\\n\t X\"$as_dir\" : 'X\\(//\\)[^/]' \\| \\\n\t X\"$as_dir\" : 'X\\(//\\)$' \\| \\\n\t X\"$as_dir\" : 'X\\(/\\)' \\| . 2>/dev/null ||\n$as_echo X\"$as_dir\" |\n    sed '/^X\\(.*[^/]\\)\\/\\/*[^/][^/]*\\/*$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)[^/].*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\).*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  s/.*/./; q'`\n      test -d \"$as_dir\" && break\n    done\n    test -z \"$as_dirs\" || eval \"mkdir $as_dirs\"\n  } || test -d \"$as_dir\" || as_fn_error $? \"cannot create directory $as_dir\"\n\n\n} # as_fn_mkdir_p\n\n# as_fn_executable_p FILE\n# -----------------------\n# Test if FILE is an executable regular file.\nas_fn_executable_p ()\n{\n  test -f \"$1\" && test -x \"$1\"\n} # as_fn_executable_p\n# as_fn_append VAR VALUE\n# ----------------------\n# Append the text in VALUE to the end of the definition contained in VAR. Take\n# advantage of any shell optimizations that allow amortized linear growth over\n# repeated appends, instead of the typical quadratic growth present in naive\n# implementations.\nif (eval \"as_var=1; as_var+=2; test x\\$as_var = x12\") 2>/dev/null; then :\n  eval 'as_fn_append ()\n  {\n    eval $1+=\\$2\n  }'\nelse\n  as_fn_append ()\n  {\n    eval $1=\\$$1\\$2\n  }\nfi # as_fn_append\n\n# as_fn_arith ARG...\n# ------------------\n# Perform arithmetic evaluation on the ARGs, and store the result in the\n# global $as_val. Take advantage of shells that can avoid forks. The arguments\n# must be portable across $(()) and expr.\nif (eval \"test \\$(( 1 + 1 )) = 2\") 2>/dev/null; then :\n  eval 'as_fn_arith ()\n  {\n    as_val=$(( $* ))\n  }'\nelse\n  as_fn_arith ()\n  {\n    as_val=`expr \"$@\" || test $? -eq 1`\n  }\nfi # as_fn_arith\n\n\n# as_fn_error STATUS ERROR [LINENO LOG_FD]\n# ----------------------------------------\n# Output \"`basename $0`: error: ERROR\" to stderr. If LINENO and LOG_FD are\n# provided, also output the error to LOG_FD, referencing LINENO. Then exit the\n# script with STATUS, using 1 if that was 0.\nas_fn_error ()\n{\n  as_status=$1; test $as_status -eq 0 && as_status=1\n  if test \"$4\"; then\n    as_lineno=${as_lineno-\"$3\"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\n    $as_echo \"$as_me:${as_lineno-$LINENO}: error: $2\" >&$4\n  fi\n  $as_echo \"$as_me: error: $2\" >&2\n  as_fn_exit $as_status\n} # as_fn_error\n\nif expr a : '\\(a\\)' >/dev/null 2>&1 &&\n   test \"X`expr 00001 : '.*\\(...\\)'`\" = X001; then\n  as_expr=expr\nelse\n  as_expr=false\nfi\n\nif (basename -- /) >/dev/null 2>&1 && test \"X`basename -- / 2>&1`\" = \"X/\"; then\n  as_basename=basename\nelse\n  as_basename=false\nfi\n\nif (as_dir=`dirname -- /` && test \"X$as_dir\" = X/) >/dev/null 2>&1; then\n  as_dirname=dirname\nelse\n  as_dirname=false\nfi\n\nas_me=`$as_basename -- \"$0\" ||\n$as_expr X/\"$0\" : '.*/\\([^/][^/]*\\)/*$' \\| \\\n\t X\"$0\" : 'X\\(//\\)$' \\| \\\n\t X\"$0\" : 'X\\(/\\)' \\| . 2>/dev/null ||\n$as_echo X/\"$0\" |\n    sed '/^.*\\/\\([^/][^/]*\\)\\/*$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\/\\(\\/\\/\\)$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\/\\(\\/\\).*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  s/.*/./; q'`\n\n# Avoid depending upon Character Ranges.\nas_cr_letters='abcdefghijklmnopqrstuvwxyz'\nas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\nas_cr_Letters=$as_cr_letters$as_cr_LETTERS\nas_cr_digits='0123456789'\nas_cr_alnum=$as_cr_Letters$as_cr_digits\n\n\n  as_lineno_1=$LINENO as_lineno_1a=$LINENO\n  as_lineno_2=$LINENO as_lineno_2a=$LINENO\n  eval 'test \"x$as_lineno_1'$as_run'\" != \"x$as_lineno_2'$as_run'\" &&\n  test \"x`expr $as_lineno_1'$as_run' + 1`\" = \"x$as_lineno_2'$as_run'\"' || {\n  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)\n  sed -n '\n    p\n    /[$]LINENO/=\n  ' <$as_myself |\n    sed '\n      s/[$]LINENO.*/&-/\n      t lineno\n      b\n      :lineno\n      N\n      :loop\n      s/[$]LINENO\\([^'$as_cr_alnum'_].*\\n\\)\\(.*\\)/\\2\\1\\2/\n      t loop\n      s/-\\n.*//\n    ' >$as_me.lineno &&\n  chmod +x \"$as_me.lineno\" ||\n    { $as_echo \"$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell\" >&2; as_fn_exit 1; }\n\n  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have\n  # already done that, so ensure we don't try to do so again and fall\n  # in an infinite loop.  This has already happened in practice.\n  _as_can_reexec=no; export _as_can_reexec\n  # Don't try to exec as it changes $[0], causing all sort of problems\n  # (the dirname of $[0] is not the place where we might find the\n  # original and so on.  Autoconf is especially sensitive to this).\n  . \"./$as_me.lineno\"\n  # Exit status is that of the last command.\n  exit\n}\n\nECHO_C= ECHO_N= ECHO_T=\ncase `echo -n x` in #(((((\n-n*)\n  case `echo 'xy\\c'` in\n  *c*) ECHO_T='\t';;\t# ECHO_T is single tab character.\n  xy)  ECHO_C='\\c';;\n  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null\n       ECHO_T='\t';;\n  esac;;\n*)\n  ECHO_N='-n';;\nesac\n\nrm -f conf$$ conf$$.exe conf$$.file\nif test -d conf$$.dir; then\n  rm -f conf$$.dir/conf$$.file\nelse\n  rm -f conf$$.dir\n  mkdir conf$$.dir 2>/dev/null\nfi\nif (echo >conf$$.file) 2>/dev/null; then\n  if ln -s conf$$.file conf$$ 2>/dev/null; then\n    as_ln_s='ln -s'\n    # ... but there are two gotchas:\n    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\n    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\n    # In both cases, we have to default to `cp -pR'.\n    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\n      as_ln_s='cp -pR'\n  elif ln conf$$.file conf$$ 2>/dev/null; then\n    as_ln_s=ln\n  else\n    as_ln_s='cp -pR'\n  fi\nelse\n  as_ln_s='cp -pR'\nfi\nrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\nrmdir conf$$.dir 2>/dev/null\n\nif mkdir -p . 2>/dev/null; then\n  as_mkdir_p='mkdir -p \"$as_dir\"'\nelse\n  test -d ./-p && rmdir ./-p\n  as_mkdir_p=false\nfi\n\nas_test_x='test -x'\nas_executable_p=as_fn_executable_p\n\n# Sed expression to map a string onto a valid CPP name.\nas_tr_cpp=\"eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'\"\n\n# Sed expression to map a string onto a valid variable name.\nas_tr_sh=\"eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'\"\n\n\ntest -n \"$DJDIR\" || exec 7<&0 </dev/null\nexec 6>&1\n\n# Name of the host.\n# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,\n# so uname gets run too.\nac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`\n\n#\n# Initializations.\n#\nac_default_prefix=/usr/local\nac_clean_files=\nac_config_libobj_dir=.\nLIBOBJS=\ncross_compiling=no\nsubdirs=\nMFLAGS=\nMAKEFLAGS=\n\n# Identity of this package.\nPACKAGE_NAME='guile-wm'\nPACKAGE_TARNAME='guile-wm'\nPACKAGE_VERSION='1.0'\nPACKAGE_STRING='guile-wm 1.0'\nPACKAGE_BUGREPORT='mark@markwitmer.com'\nPACKAGE_URL=''\n\nac_subst_vars='LTLIBOBJS\nLIBOBJS\nguilesitedir\nGUILE_SITE\nGUILE_TOOLS\nGUILE_CONFIG\nGUILE\nGUILE_EFFECTIVE_VERSION\nPKG_CONFIG_LIBDIR\nPKG_CONFIG_PATH\nPKG_CONFIG\nAM_BACKSLASH\nAM_DEFAULT_VERBOSITY\nAM_DEFAULT_V\nAM_V\nam__untar\nam__tar\nAMTAR\nam__leading_dot\nSET_MAKE\nAWK\nmkdir_p\nMKDIR_P\nINSTALL_STRIP_PROGRAM\nSTRIP\ninstall_sh\nMAKEINFO\nAUTOHEADER\nAUTOMAKE\nAUTOCONF\nACLOCAL\nVERSION\nPACKAGE\nCYGPATH_W\nam__isrc\nINSTALL_DATA\nINSTALL_SCRIPT\nINSTALL_PROGRAM\ntarget_alias\nhost_alias\nbuild_alias\nLIBS\nECHO_T\nECHO_N\nECHO_C\nDEFS\nmandir\nlocaledir\nlibdir\npsdir\npdfdir\ndvidir\nhtmldir\ninfodir\ndocdir\noldincludedir\nincludedir\nlocalstatedir\nsharedstatedir\nsysconfdir\ndatadir\ndatarootdir\nlibexecdir\nsbindir\nbindir\nprogram_transform_name\nprefix\nexec_prefix\nPACKAGE_URL\nPACKAGE_BUGREPORT\nPACKAGE_STRING\nPACKAGE_VERSION\nPACKAGE_TARNAME\nPACKAGE_NAME\nPATH_SEPARATOR\nSHELL'\nac_subst_files=''\nac_user_opts='\nenable_option_checking\nenable_silent_rules\nwith_guile_site_dir\n'\n      ac_precious_vars='build_alias\nhost_alias\ntarget_alias\nPKG_CONFIG\nPKG_CONFIG_PATH\nPKG_CONFIG_LIBDIR'\n\n\n# Initialize some variables set by options.\nac_init_help=\nac_init_version=false\nac_unrecognized_opts=\nac_unrecognized_sep=\n# The variables have the same names as the options, with\n# dashes changed to underlines.\ncache_file=/dev/null\nexec_prefix=NONE\nno_create=\nno_recursion=\nprefix=NONE\nprogram_prefix=NONE\nprogram_suffix=NONE\nprogram_transform_name=s,x,x,\nsilent=\nsite=\nsrcdir=\nverbose=\nx_includes=NONE\nx_libraries=NONE\n\n# Installation directory options.\n# These are left unexpanded so users can \"make install exec_prefix=/foo\"\n# and all the variables that are supposed to be based on exec_prefix\n# by default will actually change.\n# Use braces instead of parens because sh, perl, etc. also accept them.\n# (The list follows the same order as the GNU Coding Standards.)\nbindir='${exec_prefix}/bin'\nsbindir='${exec_prefix}/sbin'\nlibexecdir='${exec_prefix}/libexec'\ndatarootdir='${prefix}/share'\ndatadir='${datarootdir}'\nsysconfdir='${prefix}/etc'\nsharedstatedir='${prefix}/com'\nlocalstatedir='${prefix}/var'\nincludedir='${prefix}/include'\noldincludedir='/usr/include'\ndocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'\ninfodir='${datarootdir}/info'\nhtmldir='${docdir}'\ndvidir='${docdir}'\npdfdir='${docdir}'\npsdir='${docdir}'\nlibdir='${exec_prefix}/lib'\nlocaledir='${datarootdir}/locale'\nmandir='${datarootdir}/man'\n\nac_prev=\nac_dashdash=\nfor ac_option\ndo\n  # If the previous option needs an argument, assign it.\n  if test -n \"$ac_prev\"; then\n    eval $ac_prev=\\$ac_option\n    ac_prev=\n    continue\n  fi\n\n  case $ac_option in\n  *=?*) ac_optarg=`expr \"X$ac_option\" : '[^=]*=\\(.*\\)'` ;;\n  *=)   ac_optarg= ;;\n  *)    ac_optarg=yes ;;\n  esac\n\n  # Accept the important Cygnus configure options, so we can diagnose typos.\n\n  case $ac_dashdash$ac_option in\n  --)\n    ac_dashdash=yes ;;\n\n  -bindir | --bindir | --bindi | --bind | --bin | --bi)\n    ac_prev=bindir ;;\n  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)\n    bindir=$ac_optarg ;;\n\n  -build | --build | --buil | --bui | --bu)\n    ac_prev=build_alias ;;\n  -build=* | --build=* | --buil=* | --bui=* | --bu=*)\n    build_alias=$ac_optarg ;;\n\n  -cache-file | --cache-file | --cache-fil | --cache-fi \\\n  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)\n    ac_prev=cache_file ;;\n  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \\\n  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)\n    cache_file=$ac_optarg ;;\n\n  --config-cache | -C)\n    cache_file=config.cache ;;\n\n  -datadir | --datadir | --datadi | --datad)\n    ac_prev=datadir ;;\n  -datadir=* | --datadir=* | --datadi=* | --datad=*)\n    datadir=$ac_optarg ;;\n\n  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \\\n  | --dataroo | --dataro | --datar)\n    ac_prev=datarootdir ;;\n  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \\\n  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)\n    datarootdir=$ac_optarg ;;\n\n  -disable-* | --disable-*)\n    ac_useropt=`expr \"x$ac_option\" : 'x-*disable-\\(.*\\)'`\n    # Reject names that are not valid shell variable names.\n    expr \"x$ac_useropt\" : \".*[^-+._$as_cr_alnum]\" >/dev/null &&\n      as_fn_error $? \"invalid feature name: $ac_useropt\"\n    ac_useropt_orig=$ac_useropt\n    ac_useropt=`$as_echo \"$ac_useropt\" | sed 's/[-+.]/_/g'`\n    case $ac_user_opts in\n      *\"\n\"enable_$ac_useropt\"\n\"*) ;;\n      *) ac_unrecognized_opts=\"$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig\"\n\t ac_unrecognized_sep=', ';;\n    esac\n    eval enable_$ac_useropt=no ;;\n\n  -docdir | --docdir | --docdi | --doc | --do)\n    ac_prev=docdir ;;\n  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)\n    docdir=$ac_optarg ;;\n\n  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)\n    ac_prev=dvidir ;;\n  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)\n    dvidir=$ac_optarg ;;\n\n  -enable-* | --enable-*)\n    ac_useropt=`expr \"x$ac_option\" : 'x-*enable-\\([^=]*\\)'`\n    # Reject names that are not valid shell variable names.\n    expr \"x$ac_useropt\" : \".*[^-+._$as_cr_alnum]\" >/dev/null &&\n      as_fn_error $? \"invalid feature name: $ac_useropt\"\n    ac_useropt_orig=$ac_useropt\n    ac_useropt=`$as_echo \"$ac_useropt\" | sed 's/[-+.]/_/g'`\n    case $ac_user_opts in\n      *\"\n\"enable_$ac_useropt\"\n\"*) ;;\n      *) ac_unrecognized_opts=\"$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig\"\n\t ac_unrecognized_sep=', ';;\n    esac\n    eval enable_$ac_useropt=\\$ac_optarg ;;\n\n  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \\\n  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \\\n  | --exec | --exe | --ex)\n    ac_prev=exec_prefix ;;\n  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \\\n  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \\\n  | --exec=* | --exe=* | --ex=*)\n    exec_prefix=$ac_optarg ;;\n\n  -gas | --gas | --ga | --g)\n    # Obsolete; use --with-gas.\n    with_gas=yes ;;\n\n  -help | --help | --hel | --he | -h)\n    ac_init_help=long ;;\n  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)\n    ac_init_help=recursive ;;\n  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)\n    ac_init_help=short ;;\n\n  -host | --host | --hos | --ho)\n    ac_prev=host_alias ;;\n  -host=* | --host=* | --hos=* | --ho=*)\n    host_alias=$ac_optarg ;;\n\n  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)\n    ac_prev=htmldir ;;\n  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \\\n  | --ht=*)\n    htmldir=$ac_optarg ;;\n\n  -includedir | --includedir | --includedi | --included | --include \\\n  | --includ | --inclu | --incl | --inc)\n    ac_prev=includedir ;;\n  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \\\n  | --includ=* | --inclu=* | --incl=* | --inc=*)\n    includedir=$ac_optarg ;;\n\n  -infodir | --infodir | --infodi | --infod | --info | --inf)\n    ac_prev=infodir ;;\n  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)\n    infodir=$ac_optarg ;;\n\n  -libdir | --libdir | --libdi | --libd)\n    ac_prev=libdir ;;\n  -libdir=* | --libdir=* | --libdi=* | --libd=*)\n    libdir=$ac_optarg ;;\n\n  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \\\n  | --libexe | --libex | --libe)\n    ac_prev=libexecdir ;;\n  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \\\n  | --libexe=* | --libex=* | --libe=*)\n    libexecdir=$ac_optarg ;;\n\n  -localedir | --localedir | --localedi | --localed | --locale)\n    ac_prev=localedir ;;\n  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)\n    localedir=$ac_optarg ;;\n\n  -localstatedir | --localstatedir | --localstatedi | --localstated \\\n  | --localstate | --localstat | --localsta | --localst | --locals)\n    ac_prev=localstatedir ;;\n  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \\\n  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)\n    localstatedir=$ac_optarg ;;\n\n  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)\n    ac_prev=mandir ;;\n  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)\n    mandir=$ac_optarg ;;\n\n  -nfp | --nfp | --nf)\n    # Obsolete; use --without-fp.\n    with_fp=no ;;\n\n  -no-create | --no-create | --no-creat | --no-crea | --no-cre \\\n  | --no-cr | --no-c | -n)\n    no_create=yes ;;\n\n  -no-recursion | --no-recursion | --no-recursio | --no-recursi \\\n  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)\n    no_recursion=yes ;;\n\n  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \\\n  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \\\n  | --oldin | --oldi | --old | --ol | --o)\n    ac_prev=oldincludedir ;;\n  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \\\n  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \\\n  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)\n    oldincludedir=$ac_optarg ;;\n\n  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)\n    ac_prev=prefix ;;\n  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)\n    prefix=$ac_optarg ;;\n\n  -program-prefix | --program-prefix | --program-prefi | --program-pref \\\n  | --program-pre | --program-pr | --program-p)\n    ac_prev=program_prefix ;;\n  -program-prefix=* | --program-prefix=* | --program-prefi=* \\\n  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)\n    program_prefix=$ac_optarg ;;\n\n  -program-suffix | --program-suffix | --program-suffi | --program-suff \\\n  | --program-suf | --program-su | --program-s)\n    ac_prev=program_suffix ;;\n  -program-suffix=* | --program-suffix=* | --program-suffi=* \\\n  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)\n    program_suffix=$ac_optarg ;;\n\n  -program-transform-name | --program-transform-name \\\n  | --program-transform-nam | --program-transform-na \\\n  | --program-transform-n | --program-transform- \\\n  | --program-transform | --program-transfor \\\n  | --program-transfo | --program-transf \\\n  | --program-trans | --program-tran \\\n  | --progr-tra | --program-tr | --program-t)\n    ac_prev=program_transform_name ;;\n  -program-transform-name=* | --program-transform-name=* \\\n  | --program-transform-nam=* | --program-transform-na=* \\\n  | --program-transform-n=* | --program-transform-=* \\\n  | --program-transform=* | --program-transfor=* \\\n  | --program-transfo=* | --program-transf=* \\\n  | --program-trans=* | --program-tran=* \\\n  | --progr-tra=* | --program-tr=* | --program-t=*)\n    program_transform_name=$ac_optarg ;;\n\n  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)\n    ac_prev=pdfdir ;;\n  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)\n    pdfdir=$ac_optarg ;;\n\n  -psdir | --psdir | --psdi | --psd | --ps)\n    ac_prev=psdir ;;\n  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)\n    psdir=$ac_optarg ;;\n\n  -q | -quiet | --quiet | --quie | --qui | --qu | --q \\\n  | -silent | --silent | --silen | --sile | --sil)\n    silent=yes ;;\n\n  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)\n    ac_prev=sbindir ;;\n  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \\\n  | --sbi=* | --sb=*)\n    sbindir=$ac_optarg ;;\n\n  -sharedstatedir | --sharedstatedir | --sharedstatedi \\\n  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \\\n  | --sharedst | --shareds | --shared | --share | --shar \\\n  | --sha | --sh)\n    ac_prev=sharedstatedir ;;\n  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \\\n  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \\\n  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \\\n  | --sha=* | --sh=*)\n    sharedstatedir=$ac_optarg ;;\n\n  -site | --site | --sit)\n    ac_prev=site ;;\n  -site=* | --site=* | --sit=*)\n    site=$ac_optarg ;;\n\n  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)\n    ac_prev=srcdir ;;\n  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)\n    srcdir=$ac_optarg ;;\n\n  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \\\n  | --syscon | --sysco | --sysc | --sys | --sy)\n    ac_prev=sysconfdir ;;\n  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \\\n  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)\n    sysconfdir=$ac_optarg ;;\n\n  -target | --target | --targe | --targ | --tar | --ta | --t)\n    ac_prev=target_alias ;;\n  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)\n    target_alias=$ac_optarg ;;\n\n  -v | -verbose | --verbose | --verbos | --verbo | --verb)\n    verbose=yes ;;\n\n  -version | --version | --versio | --versi | --vers | -V)\n    ac_init_version=: ;;\n\n  -with-* | --with-*)\n    ac_useropt=`expr \"x$ac_option\" : 'x-*with-\\([^=]*\\)'`\n    # Reject names that are not valid shell variable names.\n    expr \"x$ac_useropt\" : \".*[^-+._$as_cr_alnum]\" >/dev/null &&\n      as_fn_error $? \"invalid package name: $ac_useropt\"\n    ac_useropt_orig=$ac_useropt\n    ac_useropt=`$as_echo \"$ac_useropt\" | sed 's/[-+.]/_/g'`\n    case $ac_user_opts in\n      *\"\n\"with_$ac_useropt\"\n\"*) ;;\n      *) ac_unrecognized_opts=\"$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig\"\n\t ac_unrecognized_sep=', ';;\n    esac\n    eval with_$ac_useropt=\\$ac_optarg ;;\n\n  -without-* | --without-*)\n    ac_useropt=`expr \"x$ac_option\" : 'x-*without-\\(.*\\)'`\n    # Reject names that are not valid shell variable names.\n    expr \"x$ac_useropt\" : \".*[^-+._$as_cr_alnum]\" >/dev/null &&\n      as_fn_error $? \"invalid package name: $ac_useropt\"\n    ac_useropt_orig=$ac_useropt\n    ac_useropt=`$as_echo \"$ac_useropt\" | sed 's/[-+.]/_/g'`\n    case $ac_user_opts in\n      *\"\n\"with_$ac_useropt\"\n\"*) ;;\n      *) ac_unrecognized_opts=\"$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig\"\n\t ac_unrecognized_sep=', ';;\n    esac\n    eval with_$ac_useropt=no ;;\n\n  --x)\n    # Obsolete; use --with-x.\n    with_x=yes ;;\n\n  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \\\n  | --x-incl | --x-inc | --x-in | --x-i)\n    ac_prev=x_includes ;;\n  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \\\n  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)\n    x_includes=$ac_optarg ;;\n\n  -x-libraries | --x-libraries | --x-librarie | --x-librari \\\n  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)\n    ac_prev=x_libraries ;;\n  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \\\n  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)\n    x_libraries=$ac_optarg ;;\n\n  -*) as_fn_error $? \"unrecognized option: \\`$ac_option'\nTry \\`$0 --help' for more information\"\n    ;;\n\n  *=*)\n    ac_envvar=`expr \"x$ac_option\" : 'x\\([^=]*\\)='`\n    # Reject names that are not valid shell variable names.\n    case $ac_envvar in #(\n      '' | [0-9]* | *[!_$as_cr_alnum]* )\n      as_fn_error $? \"invalid variable name: \\`$ac_envvar'\" ;;\n    esac\n    eval $ac_envvar=\\$ac_optarg\n    export $ac_envvar ;;\n\n  *)\n    # FIXME: should be removed in autoconf 3.0.\n    $as_echo \"$as_me: WARNING: you should use --build, --host, --target\" >&2\n    expr \"x$ac_option\" : \".*[^-._$as_cr_alnum]\" >/dev/null &&\n      $as_echo \"$as_me: WARNING: invalid host type: $ac_option\" >&2\n    : \"${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}\"\n    ;;\n\n  esac\ndone\n\nif test -n \"$ac_prev\"; then\n  ac_option=--`echo $ac_prev | sed 's/_/-/g'`\n  as_fn_error $? \"missing argument to $ac_option\"\nfi\n\nif test -n \"$ac_unrecognized_opts\"; then\n  case $enable_option_checking in\n    no) ;;\n    fatal) as_fn_error $? \"unrecognized options: $ac_unrecognized_opts\" ;;\n    *)     $as_echo \"$as_me: WARNING: unrecognized options: $ac_unrecognized_opts\" >&2 ;;\n  esac\nfi\n\n# Check all directory arguments for consistency.\nfor ac_var in\texec_prefix prefix bindir sbindir libexecdir datarootdir \\\n\t\tdatadir sysconfdir sharedstatedir localstatedir includedir \\\n\t\toldincludedir docdir infodir htmldir dvidir pdfdir psdir \\\n\t\tlibdir localedir mandir\ndo\n  eval ac_val=\\$$ac_var\n  # Remove trailing slashes.\n  case $ac_val in\n    */ )\n      ac_val=`expr \"X$ac_val\" : 'X\\(.*[^/]\\)' \\| \"X$ac_val\" : 'X\\(.*\\)'`\n      eval $ac_var=\\$ac_val;;\n  esac\n  # Be sure to have absolute directory names.\n  case $ac_val in\n    [\\\\/$]* | ?:[\\\\/]* )  continue;;\n    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;\n  esac\n  as_fn_error $? \"expected an absolute directory name for --$ac_var: $ac_val\"\ndone\n\n# There might be people who depend on the old broken behavior: `$host'\n# used to hold the argument of --host etc.\n# FIXME: To remove some day.\nbuild=$build_alias\nhost=$host_alias\ntarget=$target_alias\n\n# FIXME: To remove some day.\nif test \"x$host_alias\" != x; then\n  if test \"x$build_alias\" = x; then\n    cross_compiling=maybe\n  elif test \"x$build_alias\" != \"x$host_alias\"; then\n    cross_compiling=yes\n  fi\nfi\n\nac_tool_prefix=\ntest -n \"$host_alias\" && ac_tool_prefix=$host_alias-\n\ntest \"$silent\" = yes && exec 6>/dev/null\n\n\nac_pwd=`pwd` && test -n \"$ac_pwd\" &&\nac_ls_di=`ls -di .` &&\nac_pwd_ls_di=`cd \"$ac_pwd\" && ls -di .` ||\n  as_fn_error $? \"working directory cannot be determined\"\ntest \"X$ac_ls_di\" = \"X$ac_pwd_ls_di\" ||\n  as_fn_error $? \"pwd does not report name of working directory\"\n\n\n# Find the source files, if location was not specified.\nif test -z \"$srcdir\"; then\n  ac_srcdir_defaulted=yes\n  # Try the directory containing this script, then the parent directory.\n  ac_confdir=`$as_dirname -- \"$as_myself\" ||\n$as_expr X\"$as_myself\" : 'X\\(.*[^/]\\)//*[^/][^/]*/*$' \\| \\\n\t X\"$as_myself\" : 'X\\(//\\)[^/]' \\| \\\n\t X\"$as_myself\" : 'X\\(//\\)$' \\| \\\n\t X\"$as_myself\" : 'X\\(/\\)' \\| . 2>/dev/null ||\n$as_echo X\"$as_myself\" |\n    sed '/^X\\(.*[^/]\\)\\/\\/*[^/][^/]*\\/*$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)[^/].*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\).*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  s/.*/./; q'`\n  srcdir=$ac_confdir\n  if test ! -r \"$srcdir/$ac_unique_file\"; then\n    srcdir=..\n  fi\nelse\n  ac_srcdir_defaulted=no\nfi\nif test ! -r \"$srcdir/$ac_unique_file\"; then\n  test \"$ac_srcdir_defaulted\" = yes && srcdir=\"$ac_confdir or ..\"\n  as_fn_error $? \"cannot find sources ($ac_unique_file) in $srcdir\"\nfi\nac_msg=\"sources are in $srcdir, but \\`cd $srcdir' does not work\"\nac_abs_confdir=`(\n\tcd \"$srcdir\" && test -r \"./$ac_unique_file\" || as_fn_error $? \"$ac_msg\"\n\tpwd)`\n# When building in place, set srcdir=.\nif test \"$ac_abs_confdir\" = \"$ac_pwd\"; then\n  srcdir=.\nfi\n# Remove unnecessary trailing slashes from srcdir.\n# Double slashes in file names in object file debugging info\n# mess up M-x gdb in Emacs.\ncase $srcdir in\n*/) srcdir=`expr \"X$srcdir\" : 'X\\(.*[^/]\\)' \\| \"X$srcdir\" : 'X\\(.*\\)'`;;\nesac\nfor ac_var in $ac_precious_vars; do\n  eval ac_env_${ac_var}_set=\\${${ac_var}+set}\n  eval ac_env_${ac_var}_value=\\$${ac_var}\n  eval ac_cv_env_${ac_var}_set=\\${${ac_var}+set}\n  eval ac_cv_env_${ac_var}_value=\\$${ac_var}\ndone\n\n#\n# Report the --help message.\n#\nif test \"$ac_init_help\" = \"long\"; then\n  # Omit some internal or obsolete options to make the list less imposing.\n  # This message is too long to be a string in the A/UX 3.1 sh.\n  cat <<_ACEOF\n\\`configure' configures guile-wm 1.0 to adapt to many kinds of systems.\n\nUsage: $0 [OPTION]... [VAR=VALUE]...\n\nTo assign environment variables (e.g., CC, CFLAGS...), specify them as\nVAR=VALUE.  See below for descriptions of some of the useful variables.\n\nDefaults for the options are specified in brackets.\n\nConfiguration:\n  -h, --help              display this help and exit\n      --help=short        display options specific to this package\n      --help=recursive    display the short help of all the included packages\n  -V, --version           display version information and exit\n  -q, --quiet, --silent   do not print \\`checking ...' messages\n      --cache-file=FILE   cache test results in FILE [disabled]\n  -C, --config-cache      alias for \\`--cache-file=config.cache'\n  -n, --no-create         do not create output files\n      --srcdir=DIR        find the sources in DIR [configure dir or \\`..']\n\nInstallation directories:\n  --prefix=PREFIX         install architecture-independent files in PREFIX\n                          [$ac_default_prefix]\n  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX\n                          [PREFIX]\n\nBy default, \\`make install' will install all the files in\n\\`$ac_default_prefix/bin', \\`$ac_default_prefix/lib' etc.  You can specify\nan installation prefix other than \\`$ac_default_prefix' using \\`--prefix',\nfor instance \\`--prefix=\\$HOME'.\n\nFor better control, use the options below.\n\nFine tuning of the installation directories:\n  --bindir=DIR            user executables [EPREFIX/bin]\n  --sbindir=DIR           system admin executables [EPREFIX/sbin]\n  --libexecdir=DIR        program executables [EPREFIX/libexec]\n  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]\n  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]\n  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]\n  --libdir=DIR            object code libraries [EPREFIX/lib]\n  --includedir=DIR        C header files [PREFIX/include]\n  --oldincludedir=DIR     C header files for non-gcc [/usr/include]\n  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]\n  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]\n  --infodir=DIR           info documentation [DATAROOTDIR/info]\n  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]\n  --mandir=DIR            man documentation [DATAROOTDIR/man]\n  --docdir=DIR            documentation root [DATAROOTDIR/doc/guile-wm]\n  --htmldir=DIR           html documentation [DOCDIR]\n  --dvidir=DIR            dvi documentation [DOCDIR]\n  --pdfdir=DIR            pdf documentation [DOCDIR]\n  --psdir=DIR             ps documentation [DOCDIR]\n_ACEOF\n\n  cat <<\\_ACEOF\n\nProgram names:\n  --program-prefix=PREFIX            prepend PREFIX to installed program names\n  --program-suffix=SUFFIX            append SUFFIX to installed program names\n  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names\n_ACEOF\nfi\n\nif test -n \"$ac_init_help\"; then\n  case $ac_init_help in\n     short | recursive ) echo \"Configuration of guile-wm 1.0:\";;\n   esac\n  cat <<\\_ACEOF\n\nOptional Features:\n  --disable-option-checking  ignore unrecognized --enable/--with options\n  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)\n  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]\n  --enable-silent-rules   less verbose build output (undo: \"make V=1\")\n  --disable-silent-rules  verbose build output (undo: \"make V=0\")\n\nOptional Packages:\n  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]\n  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)\n  --with-guile-site-dir   use the specified installation path for Guile\n                          modules\n\nSome influential environment variables:\n  PKG_CONFIG  path to pkg-config utility\n  PKG_CONFIG_PATH\n              directories to add to pkg-config's search path\n  PKG_CONFIG_LIBDIR\n              path overriding pkg-config's built-in search path\n\nUse these variables to override the choices made by `configure' or to help\nit to find libraries and programs with nonstandard names/locations.\n\nReport bugs to <mark@markwitmer.com>.\n_ACEOF\nac_status=$?\nfi\n\nif test \"$ac_init_help\" = \"recursive\"; then\n  # If there are subdirs, report their specific --help.\n  for ac_dir in : $ac_subdirs_all; do test \"x$ac_dir\" = x: && continue\n    test -d \"$ac_dir\" ||\n      { cd \"$srcdir\" && ac_pwd=`pwd` && srcdir=. && test -d \"$ac_dir\"; } ||\n      continue\n    ac_builddir=.\n\ncase \"$ac_dir\" in\n.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\n*)\n  ac_dir_suffix=/`$as_echo \"$ac_dir\" | sed 's|^\\.[\\\\/]||'`\n  # A \"..\" for each directory in $ac_dir_suffix.\n  ac_top_builddir_sub=`$as_echo \"$ac_dir_suffix\" | sed 's|/[^\\\\/]*|/..|g;s|/||'`\n  case $ac_top_builddir_sub in\n  \"\") ac_top_builddir_sub=. ac_top_build_prefix= ;;\n  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;\n  esac ;;\nesac\nac_abs_top_builddir=$ac_pwd\nac_abs_builddir=$ac_pwd$ac_dir_suffix\n# for backward compatibility:\nac_top_builddir=$ac_top_build_prefix\n\ncase $srcdir in\n  .)  # We are building in place.\n    ac_srcdir=.\n    ac_top_srcdir=$ac_top_builddir_sub\n    ac_abs_top_srcdir=$ac_pwd ;;\n  [\\\\/]* | ?:[\\\\/]* )  # Absolute name.\n    ac_srcdir=$srcdir$ac_dir_suffix;\n    ac_top_srcdir=$srcdir\n    ac_abs_top_srcdir=$srcdir ;;\n  *) # Relative name.\n    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\n    ac_top_srcdir=$ac_top_build_prefix$srcdir\n    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\nesac\nac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\n\n    cd \"$ac_dir\" || { ac_status=$?; continue; }\n    # Check for guested configure.\n    if test -f \"$ac_srcdir/configure.gnu\"; then\n      echo &&\n      $SHELL \"$ac_srcdir/configure.gnu\" --help=recursive\n    elif test -f \"$ac_srcdir/configure\"; then\n      echo &&\n      $SHELL \"$ac_srcdir/configure\" --help=recursive\n    else\n      $as_echo \"$as_me: WARNING: no configuration information is in $ac_dir\" >&2\n    fi || ac_status=$?\n    cd \"$ac_pwd\" || { ac_status=$?; break; }\n  done\nfi\n\ntest -n \"$ac_init_help\" && exit $ac_status\nif $ac_init_version; then\n  cat <<\\_ACEOF\nguile-wm configure 1.0\ngenerated by GNU Autoconf 2.69\n\nCopyright (C) 2012 Free Software Foundation, Inc.\nThis configure script is free software; the Free Software Foundation\ngives unlimited permission to copy, distribute and modify it.\n_ACEOF\n  exit\nfi\n\n## ------------------------ ##\n## Autoconf initialization. ##\n## ------------------------ ##\ncat >config.log <<_ACEOF\nThis file contains any messages produced by compilers while\nrunning configure, to aid debugging if configure makes a mistake.\n\nIt was created by guile-wm $as_me 1.0, which was\ngenerated by GNU Autoconf 2.69.  Invocation command line was\n\n  $ $0 $@\n\n_ACEOF\nexec 5>>config.log\n{\ncat <<_ASUNAME\n## --------- ##\n## Platform. ##\n## --------- ##\n\nhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`\nuname -m = `(uname -m) 2>/dev/null || echo unknown`\nuname -r = `(uname -r) 2>/dev/null || echo unknown`\nuname -s = `(uname -s) 2>/dev/null || echo unknown`\nuname -v = `(uname -v) 2>/dev/null || echo unknown`\n\n/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`\n/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`\n\n/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`\n/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`\n/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`\n/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`\n/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`\n/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`\n/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`\n\n_ASUNAME\n\nas_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    $as_echo \"PATH: $as_dir\"\n  done\nIFS=$as_save_IFS\n\n} >&5\n\ncat >&5 <<_ACEOF\n\n\n## ----------- ##\n## Core tests. ##\n## ----------- ##\n\n_ACEOF\n\n\n# Keep a trace of the command line.\n# Strip out --no-create and --no-recursion so they do not pile up.\n# Strip out --silent because we don't want to record it for future runs.\n# Also quote any args containing shell meta-characters.\n# Make two passes to allow for proper duplicate-argument suppression.\nac_configure_args=\nac_configure_args0=\nac_configure_args1=\nac_must_keep_next=false\nfor ac_pass in 1 2\ndo\n  for ac_arg\n  do\n    case $ac_arg in\n    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;\n    -q | -quiet | --quiet | --quie | --qui | --qu | --q \\\n    | -silent | --silent | --silen | --sile | --sil)\n      continue ;;\n    *\\'*)\n      ac_arg=`$as_echo \"$ac_arg\" | sed \"s/'/'\\\\\\\\\\\\\\\\''/g\"` ;;\n    esac\n    case $ac_pass in\n    1) as_fn_append ac_configure_args0 \" '$ac_arg'\" ;;\n    2)\n      as_fn_append ac_configure_args1 \" '$ac_arg'\"\n      if test $ac_must_keep_next = true; then\n\tac_must_keep_next=false # Got value, back to normal.\n      else\n\tcase $ac_arg in\n\t  *=* | --config-cache | -C | -disable-* | --disable-* \\\n\t  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \\\n\t  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \\\n\t  | -with-* | --with-* | -without-* | --without-* | --x)\n\t    case \"$ac_configure_args0 \" in\n\t      \"$ac_configure_args1\"*\" '$ac_arg' \"* ) continue ;;\n\t    esac\n\t    ;;\n\t  -* ) ac_must_keep_next=true ;;\n\tesac\n      fi\n      as_fn_append ac_configure_args \" '$ac_arg'\"\n      ;;\n    esac\n  done\ndone\n{ ac_configure_args0=; unset ac_configure_args0;}\n{ ac_configure_args1=; unset ac_configure_args1;}\n\n# When interrupted or exit'd, cleanup temporary files, and complete\n# config.log.  We remove comments because anyway the quotes in there\n# would cause problems or look ugly.\n# WARNING: Use '\\'' to represent an apostrophe within the trap.\n# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.\ntrap 'exit_status=$?\n  # Save into config.log some information that might help in debugging.\n  {\n    echo\n\n    $as_echo \"## ---------------- ##\n## Cache variables. ##\n## ---------------- ##\"\n    echo\n    # The following way of writing the cache mishandles newlines in values,\n(\n  for ac_var in `(set) 2>&1 | sed -n '\\''s/^\\([a-zA-Z_][a-zA-Z0-9_]*\\)=.*/\\1/p'\\''`; do\n    eval ac_val=\\$$ac_var\n    case $ac_val in #(\n    *${as_nl}*)\n      case $ac_var in #(\n      *_cv_*) { $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline\" >&5\n$as_echo \"$as_me: WARNING: cache variable $ac_var contains a newline\" >&2;} ;;\n      esac\n      case $ac_var in #(\n      _ | IFS | as_nl) ;; #(\n      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(\n      *) { eval $ac_var=; unset $ac_var;} ;;\n      esac ;;\n    esac\n  done\n  (set) 2>&1 |\n    case $as_nl`(ac_space='\\'' '\\''; set) 2>&1` in #(\n    *${as_nl}ac_space=\\ *)\n      sed -n \\\n\t\"s/'\\''/'\\''\\\\\\\\'\\'''\\''/g;\n\t  s/^\\\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\\\)=\\\\(.*\\\\)/\\\\1='\\''\\\\2'\\''/p\"\n      ;; #(\n    *)\n      sed -n \"/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p\"\n      ;;\n    esac |\n    sort\n)\n    echo\n\n    $as_echo \"## ----------------- ##\n## Output variables. ##\n## ----------------- ##\"\n    echo\n    for ac_var in $ac_subst_vars\n    do\n      eval ac_val=\\$$ac_var\n      case $ac_val in\n      *\\'\\''*) ac_val=`$as_echo \"$ac_val\" | sed \"s/'\\''/'\\''\\\\\\\\\\\\\\\\'\\'''\\''/g\"`;;\n      esac\n      $as_echo \"$ac_var='\\''$ac_val'\\''\"\n    done | sort\n    echo\n\n    if test -n \"$ac_subst_files\"; then\n      $as_echo \"## ------------------- ##\n## File substitutions. ##\n## ------------------- ##\"\n      echo\n      for ac_var in $ac_subst_files\n      do\n\teval ac_val=\\$$ac_var\n\tcase $ac_val in\n\t*\\'\\''*) ac_val=`$as_echo \"$ac_val\" | sed \"s/'\\''/'\\''\\\\\\\\\\\\\\\\'\\'''\\''/g\"`;;\n\tesac\n\t$as_echo \"$ac_var='\\''$ac_val'\\''\"\n      done | sort\n      echo\n    fi\n\n    if test -s confdefs.h; then\n      $as_echo \"## ----------- ##\n## confdefs.h. ##\n## ----------- ##\"\n      echo\n      cat confdefs.h\n      echo\n    fi\n    test \"$ac_signal\" != 0 &&\n      $as_echo \"$as_me: caught signal $ac_signal\"\n    $as_echo \"$as_me: exit $exit_status\"\n  } >&5\n  rm -f core *.core core.conftest.* &&\n    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&\n    exit $exit_status\n' 0\nfor ac_signal in 1 2 13 15; do\n  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal\ndone\nac_signal=0\n\n# confdefs.h avoids OS command line length limits that DEFS can exceed.\nrm -f -r conftest* confdefs.h\n\n$as_echo \"/* confdefs.h */\" > confdefs.h\n\n# Predefined preprocessor variables.\n\ncat >>confdefs.h <<_ACEOF\n#define PACKAGE_NAME \"$PACKAGE_NAME\"\n_ACEOF\n\ncat >>confdefs.h <<_ACEOF\n#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"\n_ACEOF\n\ncat >>confdefs.h <<_ACEOF\n#define PACKAGE_VERSION \"$PACKAGE_VERSION\"\n_ACEOF\n\ncat >>confdefs.h <<_ACEOF\n#define PACKAGE_STRING \"$PACKAGE_STRING\"\n_ACEOF\n\ncat >>confdefs.h <<_ACEOF\n#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"\n_ACEOF\n\ncat >>confdefs.h <<_ACEOF\n#define PACKAGE_URL \"$PACKAGE_URL\"\n_ACEOF\n\n\n# Let the site file select an alternate cache file if it wants to.\n# Prefer an explicitly selected file to automatically selected ones.\nac_site_file1=NONE\nac_site_file2=NONE\nif test -n \"$CONFIG_SITE\"; then\n  # We do not want a PATH search for config.site.\n  case $CONFIG_SITE in #((\n    -*)  ac_site_file1=./$CONFIG_SITE;;\n    */*) ac_site_file1=$CONFIG_SITE;;\n    *)   ac_site_file1=./$CONFIG_SITE;;\n  esac\nelif test \"x$prefix\" != xNONE; then\n  ac_site_file1=$prefix/share/config.site\n  ac_site_file2=$prefix/etc/config.site\nelse\n  ac_site_file1=$ac_default_prefix/share/config.site\n  ac_site_file2=$ac_default_prefix/etc/config.site\nfi\nfor ac_site_file in \"$ac_site_file1\" \"$ac_site_file2\"\ndo\n  test \"x$ac_site_file\" = xNONE && continue\n  if test /dev/null != \"$ac_site_file\" && test -r \"$ac_site_file\"; then\n    { $as_echo \"$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file\" >&5\n$as_echo \"$as_me: loading site script $ac_site_file\" >&6;}\n    sed 's/^/| /' \"$ac_site_file\" >&5\n    . \"$ac_site_file\" \\\n      || { { $as_echo \"$as_me:${as_lineno-$LINENO}: error: in \\`$ac_pwd':\" >&5\n$as_echo \"$as_me: error: in \\`$ac_pwd':\" >&2;}\nas_fn_error $? \"failed to load site script $ac_site_file\nSee \\`config.log' for more details\" \"$LINENO\" 5; }\n  fi\ndone\n\nif test -r \"$cache_file\"; then\n  # Some versions of bash will fail to source /dev/null (special files\n  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.\n  if test /dev/null != \"$cache_file\" && test -f \"$cache_file\"; then\n    { $as_echo \"$as_me:${as_lineno-$LINENO}: loading cache $cache_file\" >&5\n$as_echo \"$as_me: loading cache $cache_file\" >&6;}\n    case $cache_file in\n      [\\\\/]* | ?:[\\\\/]* ) . \"$cache_file\";;\n      *)                      . \"./$cache_file\";;\n    esac\n  fi\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: creating cache $cache_file\" >&5\n$as_echo \"$as_me: creating cache $cache_file\" >&6;}\n  >$cache_file\nfi\n\n# Check that the precious variables saved in the cache have kept the same\n# value.\nac_cache_corrupted=false\nfor ac_var in $ac_precious_vars; do\n  eval ac_old_set=\\$ac_cv_env_${ac_var}_set\n  eval ac_new_set=\\$ac_env_${ac_var}_set\n  eval ac_old_val=\\$ac_cv_env_${ac_var}_value\n  eval ac_new_val=\\$ac_env_${ac_var}_value\n  case $ac_old_set,$ac_new_set in\n    set,)\n      { $as_echo \"$as_me:${as_lineno-$LINENO}: error: \\`$ac_var' was set to \\`$ac_old_val' in the previous run\" >&5\n$as_echo \"$as_me: error: \\`$ac_var' was set to \\`$ac_old_val' in the previous run\" >&2;}\n      ac_cache_corrupted=: ;;\n    ,set)\n      { $as_echo \"$as_me:${as_lineno-$LINENO}: error: \\`$ac_var' was not set in the previous run\" >&5\n$as_echo \"$as_me: error: \\`$ac_var' was not set in the previous run\" >&2;}\n      ac_cache_corrupted=: ;;\n    ,);;\n    *)\n      if test \"x$ac_old_val\" != \"x$ac_new_val\"; then\n\t# differences in whitespace do not lead to failure.\n\tac_old_val_w=`echo x $ac_old_val`\n\tac_new_val_w=`echo x $ac_new_val`\n\tif test \"$ac_old_val_w\" != \"$ac_new_val_w\"; then\n\t  { $as_echo \"$as_me:${as_lineno-$LINENO}: error: \\`$ac_var' has changed since the previous run:\" >&5\n$as_echo \"$as_me: error: \\`$ac_var' has changed since the previous run:\" >&2;}\n\t  ac_cache_corrupted=:\n\telse\n\t  { $as_echo \"$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \\`$ac_var' since the previous run:\" >&5\n$as_echo \"$as_me: warning: ignoring whitespace changes in \\`$ac_var' since the previous run:\" >&2;}\n\t  eval $ac_var=\\$ac_old_val\n\tfi\n\t{ $as_echo \"$as_me:${as_lineno-$LINENO}:   former value:  \\`$ac_old_val'\" >&5\n$as_echo \"$as_me:   former value:  \\`$ac_old_val'\" >&2;}\n\t{ $as_echo \"$as_me:${as_lineno-$LINENO}:   current value: \\`$ac_new_val'\" >&5\n$as_echo \"$as_me:   current value: \\`$ac_new_val'\" >&2;}\n      fi;;\n  esac\n  # Pass precious variables to config.status.\n  if test \"$ac_new_set\" = set; then\n    case $ac_new_val in\n    *\\'*) ac_arg=$ac_var=`$as_echo \"$ac_new_val\" | sed \"s/'/'\\\\\\\\\\\\\\\\''/g\"` ;;\n    *) ac_arg=$ac_var=$ac_new_val ;;\n    esac\n    case \" $ac_configure_args \" in\n      *\" '$ac_arg' \"*) ;; # Avoid dups.  Use of quotes ensures accuracy.\n      *) as_fn_append ac_configure_args \" '$ac_arg'\" ;;\n    esac\n  fi\ndone\nif $ac_cache_corrupted; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: error: in \\`$ac_pwd':\" >&5\n$as_echo \"$as_me: error: in \\`$ac_pwd':\" >&2;}\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build\" >&5\n$as_echo \"$as_me: error: changes in the environment can compromise the build\" >&2;}\n  as_fn_error $? \"run \\`make distclean' and/or \\`rm $cache_file' and start over\" \"$LINENO\" 5\nfi\n## -------------------- ##\n## Main body of script. ##\n## -------------------- ##\n\nac_ext=c\nac_cpp='$CPP $CPPFLAGS'\nac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\nac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\nac_compiler_gnu=$ac_cv_c_compiler_gnu\n\n\n\nac_aux_dir=\nfor ac_dir in build_aux \"$srcdir\"/build_aux; do\n  if test -f \"$ac_dir/install-sh\"; then\n    ac_aux_dir=$ac_dir\n    ac_install_sh=\"$ac_aux_dir/install-sh -c\"\n    break\n  elif test -f \"$ac_dir/install.sh\"; then\n    ac_aux_dir=$ac_dir\n    ac_install_sh=\"$ac_aux_dir/install.sh -c\"\n    break\n  elif test -f \"$ac_dir/shtool\"; then\n    ac_aux_dir=$ac_dir\n    ac_install_sh=\"$ac_aux_dir/shtool install -c\"\n    break\n  fi\ndone\nif test -z \"$ac_aux_dir\"; then\n  as_fn_error $? \"cannot find install-sh, install.sh, or shtool in build_aux \\\"$srcdir\\\"/build_aux\" \"$LINENO\" 5\nfi\n\n# These three variables are undocumented and unsupported,\n# and are intended to be withdrawn in a future Autoconf release.\n# They can cause serious problems if a builder's source tree is in a directory\n# whose full name contains unusual characters.\nac_config_guess=\"$SHELL $ac_aux_dir/config.guess\"  # Please don't use this var.\nac_config_sub=\"$SHELL $ac_aux_dir/config.sub\"  # Please don't use this var.\nac_configure=\"$SHELL $ac_aux_dir/configure\"  # Please don't use this var.\n\n\nam__api_version='1.14'\n\n# Find a good install program.  We prefer a C program (faster),\n# so one script is as good as another.  But avoid the broken or\n# incompatible versions:\n# SysV /etc/install, /usr/sbin/install\n# SunOS /usr/etc/install\n# IRIX /sbin/install\n# AIX /bin/install\n# AmigaOS /C/install, which installs bootblocks on floppy discs\n# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag\n# AFS /usr/afsws/bin/install, which mishandles nonexistent args\n# SVR4 /usr/ucb/install, which tries to use the nonexistent group \"staff\"\n# OS/2's system install, which has a completely different semantic\n# ./install, which can be erroneously created by make from ./install.sh.\n# Reject install programs that cannot install multiple files.\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install\" >&5\n$as_echo_n \"checking for a BSD-compatible install... \" >&6; }\nif test -z \"$INSTALL\"; then\nif ${ac_cv_path_install+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    # Account for people who put trailing slashes in PATH elements.\ncase $as_dir/ in #((\n  ./ | .// | /[cC]/* | \\\n  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \\\n  ?:[\\\\/]os2[\\\\/]install[\\\\/]* | ?:[\\\\/]OS2[\\\\/]INSTALL[\\\\/]* | \\\n  /usr/ucb/* ) ;;\n  *)\n    # OSF1 and SCO ODT 3.0 have their own names for install.\n    # Don't use installbsd from OSF since it installs stuff as root\n    # by default.\n    for ac_prog in ginstall scoinst install; do\n      for ac_exec_ext in '' $ac_executable_extensions; do\n\tif as_fn_executable_p \"$as_dir/$ac_prog$ac_exec_ext\"; then\n\t  if test $ac_prog = install &&\n\t    grep dspmsg \"$as_dir/$ac_prog$ac_exec_ext\" >/dev/null 2>&1; then\n\t    # AIX install.  It has an incompatible calling convention.\n\t    :\n\t  elif test $ac_prog = install &&\n\t    grep pwplus \"$as_dir/$ac_prog$ac_exec_ext\" >/dev/null 2>&1; then\n\t    # program-specific install script used by HP pwplus--don't use.\n\t    :\n\t  else\n\t    rm -rf conftest.one conftest.two conftest.dir\n\t    echo one > conftest.one\n\t    echo two > conftest.two\n\t    mkdir conftest.dir\n\t    if \"$as_dir/$ac_prog$ac_exec_ext\" -c conftest.one conftest.two \"`pwd`/conftest.dir\" &&\n\t      test -s conftest.one && test -s conftest.two &&\n\t      test -s conftest.dir/conftest.one &&\n\t      test -s conftest.dir/conftest.two\n\t    then\n\t      ac_cv_path_install=\"$as_dir/$ac_prog$ac_exec_ext -c\"\n\t      break 3\n\t    fi\n\t  fi\n\tfi\n      done\n    done\n    ;;\nesac\n\n  done\nIFS=$as_save_IFS\n\nrm -rf conftest.one conftest.two conftest.dir\n\nfi\n  if test \"${ac_cv_path_install+set}\" = set; then\n    INSTALL=$ac_cv_path_install\n  else\n    # As a last resort, use the slow shell script.  Don't cache a\n    # value for INSTALL within a source directory, because that will\n    # break other packages using the cache if that directory is\n    # removed, or if the value is a relative name.\n    INSTALL=$ac_install_sh\n  fi\nfi\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: result: $INSTALL\" >&5\n$as_echo \"$INSTALL\" >&6; }\n\n# Use test -z because SunOS4 sh mishandles braces in ${var-val}.\n# It thinks the first close brace ends the variable substitution.\ntest -z \"$INSTALL_PROGRAM\" && INSTALL_PROGRAM='${INSTALL}'\n\ntest -z \"$INSTALL_SCRIPT\" && INSTALL_SCRIPT='${INSTALL}'\n\ntest -z \"$INSTALL_DATA\" && INSTALL_DATA='${INSTALL} -m 644'\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking whether build environment is sane\" >&5\n$as_echo_n \"checking whether build environment is sane... \" >&6; }\n# Reject unsafe characters in $srcdir or the absolute working directory\n# name.  Accept space and tab only in the latter.\nam_lf='\n'\ncase `pwd` in\n  *[\\\\\\\"\\#\\$\\&\\'\\`$am_lf]*)\n    as_fn_error $? \"unsafe absolute working directory name\" \"$LINENO\" 5;;\nesac\ncase $srcdir in\n  *[\\\\\\\"\\#\\$\\&\\'\\`$am_lf\\ \\\t]*)\n    as_fn_error $? \"unsafe srcdir value: '$srcdir'\" \"$LINENO\" 5;;\nesac\n\n# Do 'set' in a subshell so we don't clobber the current shell's\n# arguments.  Must try -L first in case configure is actually a\n# symlink; some systems play weird games with the mod time of symlinks\n# (eg FreeBSD returns the mod time of the symlink's containing\n# directory).\nif (\n   am_has_slept=no\n   for am_try in 1 2; do\n     echo \"timestamp, slept: $am_has_slept\" > conftest.file\n     set X `ls -Lt \"$srcdir/configure\" conftest.file 2> /dev/null`\n     if test \"$*\" = \"X\"; then\n\t# -L didn't work.\n\tset X `ls -t \"$srcdir/configure\" conftest.file`\n     fi\n     if test \"$*\" != \"X $srcdir/configure conftest.file\" \\\n\t&& test \"$*\" != \"X conftest.file $srcdir/configure\"; then\n\n\t# If neither matched, then we have a broken ls.  This can happen\n\t# if, for instance, CONFIG_SHELL is bash and it inherits a\n\t# broken ls alias from the environment.  This has actually\n\t# happened.  Such a system could not be considered \"sane\".\n\tas_fn_error $? \"ls -t appears to fail.  Make sure there is not a broken\n  alias in your environment\" \"$LINENO\" 5\n     fi\n     if test \"$2\" = conftest.file || test $am_try -eq 2; then\n       break\n     fi\n     # Just in case.\n     sleep 1\n     am_has_slept=yes\n   done\n   test \"$2\" = conftest.file\n   )\nthen\n   # Ok.\n   :\nelse\n   as_fn_error $? \"newly created file is older than distributed files!\nCheck your system clock\" \"$LINENO\" 5\nfi\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: result: yes\" >&5\n$as_echo \"yes\" >&6; }\n# If we didn't sleep, we still need to ensure time stamps of config.status and\n# generated files are strictly newer.\nam_sleep_pid=\nif grep 'slept: no' conftest.file >/dev/null 2>&1; then\n  ( sleep 1 ) &\n  am_sleep_pid=$!\nfi\n\nrm -f conftest.file\n\ntest \"$program_prefix\" != NONE &&\n  program_transform_name=\"s&^&$program_prefix&;$program_transform_name\"\n# Use a double $ so make ignores it.\ntest \"$program_suffix\" != NONE &&\n  program_transform_name=\"s&\\$&$program_suffix&;$program_transform_name\"\n# Double any \\ or $.\n# By default was `s,x,x', remove it if useless.\nac_script='s/[\\\\$]/&&/g;s/;s,x,x,$//'\nprogram_transform_name=`$as_echo \"$program_transform_name\" | sed \"$ac_script\"`\n\n# expand $ac_aux_dir to an absolute path\nam_aux_dir=`cd $ac_aux_dir && pwd`\n\nif test x\"${MISSING+set}\" != xset; then\n  case $am_aux_dir in\n  *\\ * | *\\\t*)\n    MISSING=\"\\${SHELL} \\\"$am_aux_dir/missing\\\"\" ;;\n  *)\n    MISSING=\"\\${SHELL} $am_aux_dir/missing\" ;;\n  esac\nfi\n# Use eval to expand $SHELL\nif eval \"$MISSING --is-lightweight\"; then\n  am_missing_run=\"$MISSING \"\nelse\n  am_missing_run=\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing\" >&5\n$as_echo \"$as_me: WARNING: 'missing' script is too old or missing\" >&2;}\nfi\n\nif test x\"${install_sh}\" != xset; then\n  case $am_aux_dir in\n  *\\ * | *\\\t*)\n    install_sh=\"\\${SHELL} '$am_aux_dir/install-sh'\" ;;\n  *)\n    install_sh=\"\\${SHELL} $am_aux_dir/install-sh\"\n  esac\nfi\n\n# Installed binaries are usually stripped using 'strip' when the user\n# run \"make install-strip\".  However 'strip' might not be the right\n# tool to use in cross-compilation environments, therefore Automake\n# will honor the 'STRIP' environment variable to overrule this program.\nif test \"$cross_compiling\" != no; then\n  if test -n \"$ac_tool_prefix\"; then\n  # Extract the first word of \"${ac_tool_prefix}strip\", so it can be a program name with args.\nset dummy ${ac_tool_prefix}strip; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_prog_STRIP+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  if test -n \"$STRIP\"; then\n  ac_cv_prog_STRIP=\"$STRIP\" # Let the user override the test.\nelse\nas_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_prog_STRIP=\"${ac_tool_prefix}strip\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\nfi\nfi\nSTRIP=$ac_cv_prog_STRIP\nif test -n \"$STRIP\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $STRIP\" >&5\n$as_echo \"$STRIP\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\nfi\nif test -z \"$ac_cv_prog_STRIP\"; then\n  ac_ct_STRIP=$STRIP\n  # Extract the first word of \"strip\", so it can be a program name with args.\nset dummy strip; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_prog_ac_ct_STRIP+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  if test -n \"$ac_ct_STRIP\"; then\n  ac_cv_prog_ac_ct_STRIP=\"$ac_ct_STRIP\" # Let the user override the test.\nelse\nas_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_prog_ac_ct_STRIP=\"strip\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\nfi\nfi\nac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP\nif test -n \"$ac_ct_STRIP\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP\" >&5\n$as_echo \"$ac_ct_STRIP\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n  if test \"x$ac_ct_STRIP\" = x; then\n    STRIP=\":\"\n  else\n    case $cross_compiling:$ac_tool_warned in\nyes:)\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet\" >&5\n$as_echo \"$as_me: WARNING: using cross tools not prefixed with host triplet\" >&2;}\nac_tool_warned=yes ;;\nesac\n    STRIP=$ac_ct_STRIP\n  fi\nelse\n  STRIP=\"$ac_cv_prog_STRIP\"\nfi\n\nfi\nINSTALL_STRIP_PROGRAM=\"\\$(install_sh) -c -s\"\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p\" >&5\n$as_echo_n \"checking for a thread-safe mkdir -p... \" >&6; }\nif test -z \"$MKDIR_P\"; then\n  if ${ac_cv_path_mkdir+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_prog in mkdir gmkdir; do\n\t for ac_exec_ext in '' $ac_executable_extensions; do\n\t   as_fn_executable_p \"$as_dir/$ac_prog$ac_exec_ext\" || continue\n\t   case `\"$as_dir/$ac_prog$ac_exec_ext\" --version 2>&1` in #(\n\t     'mkdir (GNU coreutils) '* | \\\n\t     'mkdir (coreutils) '* | \\\n\t     'mkdir (fileutils) '4.1*)\n\t       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext\n\t       break 3;;\n\t   esac\n\t done\n       done\n  done\nIFS=$as_save_IFS\n\nfi\n\n  test -d ./--version && rmdir ./--version\n  if test \"${ac_cv_path_mkdir+set}\" = set; then\n    MKDIR_P=\"$ac_cv_path_mkdir -p\"\n  else\n    # As a last resort, use the slow shell script.  Don't cache a\n    # value for MKDIR_P within a source directory, because that will\n    # break other packages using the cache if that directory is\n    # removed, or if the value is a relative name.\n    MKDIR_P=\"$ac_install_sh -d\"\n  fi\nfi\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: result: $MKDIR_P\" >&5\n$as_echo \"$MKDIR_P\" >&6; }\n\nfor ac_prog in gawk mawk nawk awk\ndo\n  # Extract the first word of \"$ac_prog\", so it can be a program name with args.\nset dummy $ac_prog; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_prog_AWK+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  if test -n \"$AWK\"; then\n  ac_cv_prog_AWK=\"$AWK\" # Let the user override the test.\nelse\nas_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_prog_AWK=\"$ac_prog\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\nfi\nfi\nAWK=$ac_cv_prog_AWK\nif test -n \"$AWK\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $AWK\" >&5\n$as_echo \"$AWK\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\n  test -n \"$AWK\" && break\ndone\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \\$(MAKE)\" >&5\n$as_echo_n \"checking whether ${MAKE-make} sets \\$(MAKE)... \" >&6; }\nset x ${MAKE-make}\nac_make=`$as_echo \"$2\" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`\nif eval \\${ac_cv_prog_make_${ac_make}_set+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  cat >conftest.make <<\\_ACEOF\nSHELL = /bin/sh\nall:\n\t@echo '@@@%%%=$(MAKE)=@@@%%%'\n_ACEOF\n# GNU make sometimes prints \"make[1]: Entering ...\", which would confuse us.\ncase `${MAKE-make} -f conftest.make 2>/dev/null` in\n  *@@@%%%=?*=@@@%%%*)\n    eval ac_cv_prog_make_${ac_make}_set=yes;;\n  *)\n    eval ac_cv_prog_make_${ac_make}_set=no;;\nesac\nrm -f conftest.make\nfi\nif eval test \\$ac_cv_prog_make_${ac_make}_set = yes; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: yes\" >&5\n$as_echo \"yes\" >&6; }\n  SET_MAKE=\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\n  SET_MAKE=\"MAKE=${MAKE-make}\"\nfi\n\nrm -rf .tst 2>/dev/null\nmkdir .tst 2>/dev/null\nif test -d .tst; then\n  am__leading_dot=.\nelse\n  am__leading_dot=_\nfi\nrmdir .tst 2>/dev/null\n\n# Check whether --enable-silent-rules was given.\nif test \"${enable_silent_rules+set}\" = set; then :\n  enableval=$enable_silent_rules;\nfi\n\ncase $enable_silent_rules in # (((\n  yes) AM_DEFAULT_VERBOSITY=0;;\n   no) AM_DEFAULT_VERBOSITY=1;;\n    *) AM_DEFAULT_VERBOSITY=1;;\nesac\nam_make=${MAKE-make}\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables\" >&5\n$as_echo_n \"checking whether $am_make supports nested variables... \" >&6; }\nif ${am_cv_make_support_nested_variables+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  if $as_echo 'TRUE=$(BAR$(V))\nBAR0=false\nBAR1=true\nV=1\nam__doit:\n\t@$(TRUE)\n.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then\n  am_cv_make_support_nested_variables=yes\nelse\n  am_cv_make_support_nested_variables=no\nfi\nfi\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables\" >&5\n$as_echo \"$am_cv_make_support_nested_variables\" >&6; }\nif test $am_cv_make_support_nested_variables = yes; then\n    AM_V='$(V)'\n  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'\nelse\n  AM_V=$AM_DEFAULT_VERBOSITY\n  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY\nfi\nAM_BACKSLASH='\\'\n\nif test \"`cd $srcdir && pwd`\" != \"`pwd`\"; then\n  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output\n  # is not polluted with repeated \"-I.\"\n  am__isrc=' -I$(srcdir)'\n  # test to see if srcdir already configured\n  if test -f $srcdir/config.status; then\n    as_fn_error $? \"source directory already configured; run \\\"make distclean\\\" there first\" \"$LINENO\" 5\n  fi\nfi\n\n# test whether we have cygpath\nif test -z \"$CYGPATH_W\"; then\n  if (cygpath --version) >/dev/null 2>/dev/null; then\n    CYGPATH_W='cygpath -w'\n  else\n    CYGPATH_W=echo\n  fi\nfi\n\n\n# Define the identity of the package.\n PACKAGE='guile-wm'\n VERSION='1.0'\n\n\ncat >>confdefs.h <<_ACEOF\n#define PACKAGE \"$PACKAGE\"\n_ACEOF\n\n\ncat >>confdefs.h <<_ACEOF\n#define VERSION \"$VERSION\"\n_ACEOF\n\n# Some tools Automake needs.\n\nACLOCAL=${ACLOCAL-\"${am_missing_run}aclocal-${am__api_version}\"}\n\n\nAUTOCONF=${AUTOCONF-\"${am_missing_run}autoconf\"}\n\n\nAUTOMAKE=${AUTOMAKE-\"${am_missing_run}automake-${am__api_version}\"}\n\n\nAUTOHEADER=${AUTOHEADER-\"${am_missing_run}autoheader\"}\n\n\nMAKEINFO=${MAKEINFO-\"${am_missing_run}makeinfo\"}\n\n# For better backward compatibility.  To be removed once Automake 1.9.x\n# dies out for good.  For more background, see:\n# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>\n# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>\nmkdir_p='$(MKDIR_P)'\n\n# We need awk for the \"check\" target.  The system \"awk\" is bad on\n# some platforms.\n# Always define AMTAR for backward compatibility.  Yes, it's still used\n# in the wild :-(  We should find a proper way to deprecate it ...\nAMTAR='$${TAR-tar}'\n\n\n# We'll loop over all known methods to create a tar archive until one works.\n_am_tools='gnutar  pax cpio none'\n\nam__tar='$${TAR-tar} chof - \"$$tardir\"' am__untar='$${TAR-tar} xf -'\n\n\n\n\n\n\n# POSIX will say in a future version that running \"rm -f\" with no argument\n# is OK; and we want to be able to make that assumption in our Makefile\n# recipes.  So use an aggressive probe to check that the usage we want is\n# actually supported \"in the wild\" to an acceptable degree.\n# See automake bug#10828.\n# To make any issue more visible, cause the running configure to be aborted\n# by default if the 'rm' program in use doesn't match our expectations; the\n# user can still override this though.\nif rm -f && rm -fr && rm -rf; then : OK; else\n  cat >&2 <<'END'\nOops!\n\nYour 'rm' program seems unable to run without file operands specified\non the command line, even when the '-f' option is present.  This is contrary\nto the behaviour of most rm programs out there, and not conforming with\nthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>\n\nPlease tell bug-automake@gnu.org about your system, including the value\nof your $PATH and any error possibly output before this message.  This\ncan help us improve future automake versions.\n\nEND\n  if test x\"$ACCEPT_INFERIOR_RM_PROGRAM\" = x\"yes\"; then\n    echo 'Configuration will proceed anyway, since you have set the' >&2\n    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to \"yes\"' >&2\n    echo >&2\n  else\n    cat >&2 <<'END'\nAborting the configuration process, to ensure you take notice of the issue.\n\nYou can download and install GNU coreutils to get an 'rm' implementation\nthat behaves properly: <http://www.gnu.org/software/coreutils/>.\n\nIf you want to complete the configuration process using your problematic\n'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM\nto \"yes\", and re-run configure.\n\nEND\n    as_fn_error $? \"Your 'rm' program is bad, sorry.\" \"$LINENO\" 5\n  fi\nfi\n\nac_config_files=\"$ac_config_files Makefile module/Makefile\"\n\n\n\n\n\n\n\n\n\nif test \"x$ac_cv_env_PKG_CONFIG_set\" != \"xset\"; then\n\tif test -n \"$ac_tool_prefix\"; then\n  # Extract the first word of \"${ac_tool_prefix}pkg-config\", so it can be a program name with args.\nset dummy ${ac_tool_prefix}pkg-config; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_PKG_CONFIG+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $PKG_CONFIG in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_PKG_CONFIG=\"$PKG_CONFIG\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_PKG_CONFIG=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nPKG_CONFIG=$ac_cv_path_PKG_CONFIG\nif test -n \"$PKG_CONFIG\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG\" >&5\n$as_echo \"$PKG_CONFIG\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\nfi\nif test -z \"$ac_cv_path_PKG_CONFIG\"; then\n  ac_pt_PKG_CONFIG=$PKG_CONFIG\n  # Extract the first word of \"pkg-config\", so it can be a program name with args.\nset dummy pkg-config; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $ac_pt_PKG_CONFIG in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_ac_pt_PKG_CONFIG=\"$ac_pt_PKG_CONFIG\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_ac_pt_PKG_CONFIG=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG\nif test -n \"$ac_pt_PKG_CONFIG\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG\" >&5\n$as_echo \"$ac_pt_PKG_CONFIG\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n  if test \"x$ac_pt_PKG_CONFIG\" = x; then\n    PKG_CONFIG=\"\"\n  else\n    case $cross_compiling:$ac_tool_warned in\nyes:)\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet\" >&5\n$as_echo \"$as_me: WARNING: using cross tools not prefixed with host triplet\" >&2;}\nac_tool_warned=yes ;;\nesac\n    PKG_CONFIG=$ac_pt_PKG_CONFIG\n  fi\nelse\n  PKG_CONFIG=\"$ac_cv_path_PKG_CONFIG\"\nfi\n\nfi\nif test -n \"$PKG_CONFIG\"; then\n\t_pkg_min_version=0.9.0\n\t{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version\" >&5\n$as_echo_n \"checking pkg-config is at least version $_pkg_min_version... \" >&6; }\n\tif $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then\n\t\t{ $as_echo \"$as_me:${as_lineno-$LINENO}: result: yes\" >&5\n$as_echo \"yes\" >&6; }\n\telse\n\t\t{ $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\n\t\tPKG_CONFIG=\"\"\n\tfi\nfi\n  _guile_versions_to_search=\"2.0 2.2\"\n  if test -n \"$GUILE_EFFECTIVE_VERSION\"; then\n    _guile_tmp=\"\"\n    for v in $_guile_versions_to_search; do\n      if test \"$v\" = \"$GUILE_EFFECTIVE_VERSION\"; then\n        _guile_tmp=$v\n      fi\n    done\n    if test -z \"$_guile_tmp\"; then\n      { { $as_echo \"$as_me:${as_lineno-$LINENO}: error: in \\`$ac_pwd':\" >&5\n$as_echo \"$as_me: error: in \\`$ac_pwd':\" >&2;}\nas_fn_error $? \"searching for guile development files for versions $_guile_versions_to_search, but previously found $GUILE version $GUILE_EFFECTIVE_VERSION\nSee \\`config.log' for more details\" \"$LINENO\" 5; }\n    fi\n    _guile_versions_to_search=$GUILE_EFFECTIVE_VERSION\n  fi\n  GUILE_EFFECTIVE_VERSION=\"\"\n  _guile_errors=\"\"\n  for v in $_guile_versions_to_search; do\n    { $as_echo \"$as_me:${as_lineno-$LINENO}: checking for guile $v\" >&5\n$as_echo \"$as_me: checking for guile $v\" >&6;}\n    if test -z \"$GUILE_EFFECTIVE_VERSION\"; then\n      if test -n \"$PKG_CONFIG\" && \\\n    { { $as_echo \"$as_me:${as_lineno-$LINENO}: \\$PKG_CONFIG --exists --print-errors \\\"guile-\\$v\\\"\"; } >&5\n  ($PKG_CONFIG --exists --print-errors \"guile-$v\") 2>&5\n  ac_status=$?\n  $as_echo \"$as_me:${as_lineno-$LINENO}: \\$? = $ac_status\" >&5\n  test $ac_status = 0; }; then\n  GUILE_EFFECTIVE_VERSION=$v\nfi\n    fi\n  done\n\n  if test -z \"$GUILE_EFFECTIVE_VERSION\"; then\n    as_fn_error $? \"\nNo Guile development packages were found.\n\nPlease verify that you have Guile installed.  If you installed Guile\nfrom a binary distribution, please verify that you have also installed\nthe development packages.  If you installed it yourself, you might need\nto adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.\n\" \"$LINENO\" 5\n  fi\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: found guile $v\" >&5\n$as_echo \"$as_me: found guile $v\" >&6;}\n\n\n# Extract the first word of \"guile\", so it can be a program name with args.\nset dummy guile; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_GUILE+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $GUILE in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_GUILE=\"$GUILE\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_GUILE=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nGUILE=$ac_cv_path_GUILE\nif test -n \"$GUILE\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $GUILE\" >&5\n$as_echo \"$GUILE\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\n  if test \"$GUILE\" = \"\" ; then\n      as_fn_error $? \"guile required but not found\" \"$LINENO\" 5\n  fi\n\n  # Extract the first word of \"guile-config\", so it can be a program name with args.\nset dummy guile-config; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_GUILE_CONFIG+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $GUILE_CONFIG in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_GUILE_CONFIG=\"$GUILE_CONFIG\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_GUILE_CONFIG=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nGUILE_CONFIG=$ac_cv_path_GUILE_CONFIG\nif test -n \"$GUILE_CONFIG\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $GUILE_CONFIG\" >&5\n$as_echo \"$GUILE_CONFIG\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\n  if test \"$GUILE_CONFIG\" = \"\" ; then\n      as_fn_error $? \"guile-config required but not found\" \"$LINENO\" 5\n  fi\n\n  # Extract the first word of \"guile-tools\", so it can be a program name with args.\nset dummy guile-tools; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_GUILE_TOOLS+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $GUILE_TOOLS in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_GUILE_TOOLS=\"$GUILE_TOOLS\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_GUILE_TOOLS=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nGUILE_TOOLS=$ac_cv_path_GUILE_TOOLS\nif test -n \"$GUILE_TOOLS\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $GUILE_TOOLS\" >&5\n$as_echo \"$GUILE_TOOLS\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\n\n\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: checking for Guile site directory\" >&5\n$as_echo_n \"checking for Guile site directory... \" >&6; }\n  GUILE_SITE=`$GUILE_CONFIG info pkgdatadir`/site\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $GUILE_SITE\" >&5\n$as_echo \"$GUILE_SITE\" >&6; }\n\n\n# Extract the first word of \"guile\", so it can be a program name with args.\nset dummy guile; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_GUILE+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $GUILE in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_GUILE=\"$GUILE\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_GUILE=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nGUILE=$ac_cv_path_GUILE\nif test -n \"$GUILE\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $GUILE\" >&5\n$as_echo \"$GUILE\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\n  if test \"$GUILE\" = \"\" ; then\n      as_fn_error $? \"guile required but not found\" \"$LINENO\" 5\n  fi\n\n  # Extract the first word of \"guile-config\", so it can be a program name with args.\nset dummy guile-config; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_GUILE_CONFIG+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $GUILE_CONFIG in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_GUILE_CONFIG=\"$GUILE_CONFIG\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_GUILE_CONFIG=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nGUILE_CONFIG=$ac_cv_path_GUILE_CONFIG\nif test -n \"$GUILE_CONFIG\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $GUILE_CONFIG\" >&5\n$as_echo \"$GUILE_CONFIG\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\n  if test \"$GUILE_CONFIG\" = \"\" ; then\n      as_fn_error $? \"guile-config required but not found\" \"$LINENO\" 5\n  fi\n\n  # Extract the first word of \"guile-tools\", so it can be a program name with args.\nset dummy guile-tools; ac_word=$2\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking for $ac_word\" >&5\n$as_echo_n \"checking for $ac_word... \" >&6; }\nif ${ac_cv_path_GUILE_TOOLS+:} false; then :\n  $as_echo_n \"(cached) \" >&6\nelse\n  case $GUILE_TOOLS in\n  [\\\\/]* | ?:[\\\\/]*)\n  ac_cv_path_GUILE_TOOLS=\"$GUILE_TOOLS\" # Let the user override the test with a path.\n  ;;\n  *)\n  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    for ac_exec_ext in '' $ac_executable_extensions; do\n  if as_fn_executable_p \"$as_dir/$ac_word$ac_exec_ext\"; then\n    ac_cv_path_GUILE_TOOLS=\"$as_dir/$ac_word$ac_exec_ext\"\n    $as_echo \"$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext\" >&5\n    break 2\n  fi\ndone\n  done\nIFS=$as_save_IFS\n\n  ;;\nesac\nfi\nGUILE_TOOLS=$ac_cv_path_GUILE_TOOLS\nif test -n \"$GUILE_TOOLS\"; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $GUILE_TOOLS\" >&5\n$as_echo \"$GUILE_TOOLS\" >&6; }\nelse\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: result: no\" >&5\n$as_echo \"no\" >&6; }\nfi\n\n\n\n\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking if (xcb xml) is available\" >&5\n$as_echo_n \"checking if (xcb xml) is available... \" >&6; }\n\n  $GUILE -c \"(use-modules (xcb xml)) (exit ((lambda () 0)))\" > /dev/null 2>&1\n  ac_guile_module_required=$?\n\n\t  if test \"$ac_guile_module_required\" = \"0\" ; then ac_guile_module_required=yes ; else ac_guile_module_required=no ; fi\n          { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $ac_guile_module_required\" >&5\n$as_echo \"$ac_guile_module_required\" >&6; }\n\n\n          if test \"$ac_guile_module_required\" = \"no\" ; then\n              as_fn_error $? \"required guile module not found: (xcb xml)\" \"$LINENO\" 5\n          fi\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking if (xcb xml xproto) is available\" >&5\n$as_echo_n \"checking if (xcb xml xproto) is available... \" >&6; }\n\n  $GUILE -c \"(use-modules (xcb xml xproto)) (exit ((lambda () 0)))\" > /dev/null 2>&1\n  ac_guile_module_required=$?\n\n\t  if test \"$ac_guile_module_required\" = \"0\" ; then ac_guile_module_required=yes ; else ac_guile_module_required=no ; fi\n          { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $ac_guile_module_required\" >&5\n$as_echo \"$ac_guile_module_required\" >&6; }\n\n\n          if test \"$ac_guile_module_required\" = \"no\" ; then\n              as_fn_error $? \"required guile module not found: (xcb xml xproto)\" \"$LINENO\" 5\n          fi\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking if (xcb xml struct) is available\" >&5\n$as_echo_n \"checking if (xcb xml struct) is available... \" >&6; }\n\n  $GUILE -c \"(use-modules (xcb xml struct)) (exit ((lambda () 0)))\" > /dev/null 2>&1\n  ac_guile_module_required=$?\n\n\t  if test \"$ac_guile_module_required\" = \"0\" ; then ac_guile_module_required=yes ; else ac_guile_module_required=no ; fi\n          { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $ac_guile_module_required\" >&5\n$as_echo \"$ac_guile_module_required\" >&6; }\n\n\n          if test \"$ac_guile_module_required\" = \"no\" ; then\n              as_fn_error $? \"required guile module not found: (xcb xml struct)\" \"$LINENO\" 5\n          fi\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking if (xcb xml ext randr) is available\" >&5\n$as_echo_n \"checking if (xcb xml ext randr) is available... \" >&6; }\n\n  $GUILE -c \"(use-modules (xcb xml ext randr)) (exit ((lambda () 0)))\" > /dev/null 2>&1\n  ac_guile_module_required=$?\n\n\t  if test \"$ac_guile_module_required\" = \"0\" ; then ac_guile_module_required=yes ; else ac_guile_module_required=no ; fi\n          { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $ac_guile_module_required\" >&5\n$as_echo \"$ac_guile_module_required\" >&6; }\n\n\n          if test \"$ac_guile_module_required\" = \"no\" ; then\n              as_fn_error $? \"required guile module not found: (xcb xml ext randr)\" \"$LINENO\" 5\n          fi\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking if (xcb event-loop) is available\" >&5\n$as_echo_n \"checking if (xcb event-loop) is available... \" >&6; }\n\n  $GUILE -c \"(use-modules (xcb event-loop)) (exit ((lambda () 0)))\" > /dev/null 2>&1\n  ac_guile_module_required=$?\n\n\t  if test \"$ac_guile_module_required\" = \"0\" ; then ac_guile_module_required=yes ; else ac_guile_module_required=no ; fi\n          { $as_echo \"$as_me:${as_lineno-$LINENO}: result: $ac_guile_module_required\" >&5\n$as_echo \"$ac_guile_module_required\" >&6; }\n\n\n          if test \"$ac_guile_module_required\" = \"no\" ; then\n              as_fn_error $? \"required guile module not found: (xcb event-loop)\" \"$LINENO\" 5\n          fi\n\n\n\n# Check whether --with-guile-site-dir was given.\nif test \"${with_guile_site_dir+set}\" = set; then :\n  withval=$with_guile_site_dir; guilesitedir=\"$withval\"\nelse\n  guilesitedir=\"$GUILE_SITE\"\n\nfi\n\n\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: result: $guilesitedir\" >&5\n$as_echo \"$guilesitedir\" >&6; }\n\ncat >confcache <<\\_ACEOF\n# This file is a shell script that caches the results of configure\n# tests run on this system so they can be shared between configure\n# scripts and configure runs, see configure's option --config-cache.\n# It is not useful on other systems.  If it contains results you don't\n# want to keep, you may remove or edit it.\n#\n# config.status only pays attention to the cache file if you give it\n# the --recheck option to rerun configure.\n#\n# `ac_cv_env_foo' variables (set or unset) will be overridden when\n# loading this file, other *unset* `ac_cv_foo' will be assigned the\n# following values.\n\n_ACEOF\n\n# The following way of writing the cache mishandles newlines in values,\n# but we know of no workaround that is simple, portable, and efficient.\n# So, we kill variables containing newlines.\n# Ultrix sh set writes to stderr and can't be redirected directly,\n# and sets the high bit in the cache file unless we assign to the vars.\n(\n  for ac_var in `(set) 2>&1 | sed -n 's/^\\([a-zA-Z_][a-zA-Z0-9_]*\\)=.*/\\1/p'`; do\n    eval ac_val=\\$$ac_var\n    case $ac_val in #(\n    *${as_nl}*)\n      case $ac_var in #(\n      *_cv_*) { $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline\" >&5\n$as_echo \"$as_me: WARNING: cache variable $ac_var contains a newline\" >&2;} ;;\n      esac\n      case $ac_var in #(\n      _ | IFS | as_nl) ;; #(\n      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(\n      *) { eval $ac_var=; unset $ac_var;} ;;\n      esac ;;\n    esac\n  done\n\n  (set) 2>&1 |\n    case $as_nl`(ac_space=' '; set) 2>&1` in #(\n    *${as_nl}ac_space=\\ *)\n      # `set' does not quote correctly, so add quotes: double-quote\n      # substitution turns \\\\\\\\ into \\\\, and sed turns \\\\ into \\.\n      sed -n \\\n\t\"s/'/'\\\\\\\\''/g;\n\t  s/^\\\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\\\)=\\\\(.*\\\\)/\\\\1='\\\\2'/p\"\n      ;; #(\n    *)\n      # `set' quotes correctly as required by POSIX, so do not add quotes.\n      sed -n \"/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p\"\n      ;;\n    esac |\n    sort\n) |\n  sed '\n     /^ac_cv_env_/b end\n     t clear\n     :clear\n     s/^\\([^=]*\\)=\\(.*[{}].*\\)$/test \"${\\1+set}\" = set || &/\n     t end\n     s/^\\([^=]*\\)=\\(.*\\)$/\\1=${\\1=\\2}/\n     :end' >>confcache\nif diff \"$cache_file\" confcache >/dev/null 2>&1; then :; else\n  if test -w \"$cache_file\"; then\n    if test \"x$cache_file\" != \"x/dev/null\"; then\n      { $as_echo \"$as_me:${as_lineno-$LINENO}: updating cache $cache_file\" >&5\n$as_echo \"$as_me: updating cache $cache_file\" >&6;}\n      if test ! -f \"$cache_file\" || test -h \"$cache_file\"; then\n\tcat confcache >\"$cache_file\"\n      else\n        case $cache_file in #(\n        */* | ?:*)\n\t  mv -f confcache \"$cache_file\"$$ &&\n\t  mv -f \"$cache_file\"$$ \"$cache_file\" ;; #(\n        *)\n\t  mv -f confcache \"$cache_file\" ;;\n\tesac\n      fi\n    fi\n  else\n    { $as_echo \"$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file\" >&5\n$as_echo \"$as_me: not updating unwritable cache $cache_file\" >&6;}\n  fi\nfi\nrm -f confcache\n\ntest \"x$prefix\" = xNONE && prefix=$ac_default_prefix\n# Let make expand exec_prefix.\ntest \"x$exec_prefix\" = xNONE && exec_prefix='${prefix}'\n\n# Transform confdefs.h into DEFS.\n# Protect against shell expansion while executing Makefile rules.\n# Protect against Makefile macro expansion.\n#\n# If the first sed substitution is executed (which looks for macros that\n# take arguments), then branch to the quote section.  Otherwise,\n# look for a macro that doesn't take arguments.\nac_script='\n:mline\n/\\\\$/{\n N\n s,\\\\\\n,,\n b mline\n}\nt clear\n:clear\ns/^[\t ]*#[\t ]*define[\t ][\t ]*\\([^\t (][^\t (]*([^)]*)\\)[\t ]*\\(.*\\)/-D\\1=\\2/g\nt quote\ns/^[\t ]*#[\t ]*define[\t ][\t ]*\\([^\t ][^\t ]*\\)[\t ]*\\(.*\\)/-D\\1=\\2/g\nt quote\nb any\n:quote\ns/[\t `~#$^&*(){}\\\\|;'\\''\"<>?]/\\\\&/g\ns/\\[/\\\\&/g\ns/\\]/\\\\&/g\ns/\\$/$$/g\nH\n:any\n${\n\tg\n\ts/^\\n//\n\ts/\\n/ /g\n\tp\n}\n'\nDEFS=`sed -n \"$ac_script\" confdefs.h`\n\n\nac_libobjs=\nac_ltlibobjs=\nU=\nfor ac_i in : $LIBOBJS; do test \"x$ac_i\" = x: && continue\n  # 1. Remove the extension, and $U if already installed.\n  ac_script='s/\\$U\\././;s/\\.o$//;s/\\.obj$//'\n  ac_i=`$as_echo \"$ac_i\" | sed \"$ac_script\"`\n  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR\n  #    will be set to the directory where LIBOBJS objects are built.\n  as_fn_append ac_libobjs \" \\${LIBOBJDIR}$ac_i\\$U.$ac_objext\"\n  as_fn_append ac_ltlibobjs \" \\${LIBOBJDIR}$ac_i\"'$U.lo'\ndone\nLIBOBJS=$ac_libobjs\n\nLTLIBOBJS=$ac_ltlibobjs\n\n\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure\" >&5\n$as_echo_n \"checking that generated files are newer than configure... \" >&6; }\n   if test -n \"$am_sleep_pid\"; then\n     # Hide warnings about reused PIDs.\n     wait $am_sleep_pid 2>/dev/null\n   fi\n   { $as_echo \"$as_me:${as_lineno-$LINENO}: result: done\" >&5\n$as_echo \"done\" >&6; }\n\n\n: \"${CONFIG_STATUS=./config.status}\"\nac_write_fail=0\nac_clean_files_save=$ac_clean_files\nac_clean_files=\"$ac_clean_files $CONFIG_STATUS\"\n{ $as_echo \"$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS\" >&5\n$as_echo \"$as_me: creating $CONFIG_STATUS\" >&6;}\nas_write_fail=0\ncat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1\n#! $SHELL\n# Generated by $as_me.\n# Run this file to recreate the current configuration.\n# Compiler output produced by configure, useful for debugging\n# configure, is in config.log if it exists.\n\ndebug=false\nac_cs_recheck=false\nac_cs_silent=false\n\nSHELL=\\${CONFIG_SHELL-$SHELL}\nexport SHELL\n_ASEOF\ncat >>$CONFIG_STATUS <<\\_ASEOF || as_write_fail=1\n## -------------------- ##\n## M4sh Initialization. ##\n## -------------------- ##\n\n# Be more Bourne compatible\nDUALCASE=1; export DUALCASE # for MKS sh\nif test -n \"${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :\n  emulate sh\n  NULLCMD=:\n  # Pre-4.2 versions of Zsh do word splitting on ${1+\"$@\"}, which\n  # is contrary to our usage.  Disable this feature.\n  alias -g '${1+\"$@\"}'='\"$@\"'\n  setopt NO_GLOB_SUBST\nelse\n  case `(set -o) 2>/dev/null` in #(\n  *posix*) :\n    set -o posix ;; #(\n  *) :\n     ;;\nesac\nfi\n\n\nas_nl='\n'\nexport as_nl\n# Printing a long string crashes Solaris 7 /usr/bin/printf.\nas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\nas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo\nas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo\n# Prefer a ksh shell builtin over an external printf program on Solaris,\n# but without wasting forks for bash or zsh.\nif test -z \"$BASH_VERSION$ZSH_VERSION\" \\\n    && (test \"X`print -r -- $as_echo`\" = \"X$as_echo\") 2>/dev/null; then\n  as_echo='print -r --'\n  as_echo_n='print -rn --'\nelif (test \"X`printf %s $as_echo`\" = \"X$as_echo\") 2>/dev/null; then\n  as_echo='printf %s\\n'\n  as_echo_n='printf %s'\nelse\n  if test \"X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`\" = \"X-n $as_echo\"; then\n    as_echo_body='eval /usr/ucb/echo -n \"$1$as_nl\"'\n    as_echo_n='/usr/ucb/echo -n'\n  else\n    as_echo_body='eval expr \"X$1\" : \"X\\\\(.*\\\\)\"'\n    as_echo_n_body='eval\n      arg=$1;\n      case $arg in #(\n      *\"$as_nl\"*)\n\texpr \"X$arg\" : \"X\\\\(.*\\\\)$as_nl\";\n\targ=`expr \"X$arg\" : \".*$as_nl\\\\(.*\\\\)\"`;;\n      esac;\n      expr \"X$arg\" : \"X\\\\(.*\\\\)\" | tr -d \"$as_nl\"\n    '\n    export as_echo_n_body\n    as_echo_n='sh -c $as_echo_n_body as_echo'\n  fi\n  export as_echo_body\n  as_echo='sh -c $as_echo_body as_echo'\nfi\n\n# The user is always right.\nif test \"${PATH_SEPARATOR+set}\" != set; then\n  PATH_SEPARATOR=:\n  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {\n    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||\n      PATH_SEPARATOR=';'\n  }\nfi\n\n\n# IFS\n# We need space, tab and new line, in precisely that order.  Quoting is\n# there to prevent editors from complaining about space-tab.\n# (If _AS_PATH_WALK were called with IFS unset, it would disable word\n# splitting by setting IFS to empty value.)\nIFS=\" \"\"\t$as_nl\"\n\n# Find who we are.  Look in the path if we contain no directory separator.\nas_myself=\ncase $0 in #((\n  *[\\\\/]* ) as_myself=$0 ;;\n  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\nfor as_dir in $PATH\ndo\n  IFS=$as_save_IFS\n  test -z \"$as_dir\" && as_dir=.\n    test -r \"$as_dir/$0\" && as_myself=$as_dir/$0 && break\n  done\nIFS=$as_save_IFS\n\n     ;;\nesac\n# We did not find ourselves, most probably we were run as `sh COMMAND'\n# in which case we are not to be found in the path.\nif test \"x$as_myself\" = x; then\n  as_myself=$0\nfi\nif test ! -f \"$as_myself\"; then\n  $as_echo \"$as_myself: error: cannot find myself; rerun with an absolute file name\" >&2\n  exit 1\nfi\n\n# Unset variables that we do not need and which cause bugs (e.g. in\n# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the \"|| exit 1\"\n# suppresses any \"Segmentation fault\" message there.  '((' could\n# trigger a bug in pdksh 5.2.14.\nfor as_var in BASH_ENV ENV MAIL MAILPATH\ndo eval test x\\${$as_var+set} = xset \\\n  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :\ndone\nPS1='$ '\nPS2='> '\nPS4='+ '\n\n# NLS nuisances.\nLC_ALL=C\nexport LC_ALL\nLANGUAGE=C\nexport LANGUAGE\n\n# CDPATH.\n(unset CDPATH) >/dev/null 2>&1 && unset CDPATH\n\n\n# as_fn_error STATUS ERROR [LINENO LOG_FD]\n# ----------------------------------------\n# Output \"`basename $0`: error: ERROR\" to stderr. If LINENO and LOG_FD are\n# provided, also output the error to LOG_FD, referencing LINENO. Then exit the\n# script with STATUS, using 1 if that was 0.\nas_fn_error ()\n{\n  as_status=$1; test $as_status -eq 0 && as_status=1\n  if test \"$4\"; then\n    as_lineno=${as_lineno-\"$3\"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\n    $as_echo \"$as_me:${as_lineno-$LINENO}: error: $2\" >&$4\n  fi\n  $as_echo \"$as_me: error: $2\" >&2\n  as_fn_exit $as_status\n} # as_fn_error\n\n\n# as_fn_set_status STATUS\n# -----------------------\n# Set $? to STATUS, without forking.\nas_fn_set_status ()\n{\n  return $1\n} # as_fn_set_status\n\n# as_fn_exit STATUS\n# -----------------\n# Exit the shell with STATUS, even in a \"trap 0\" or \"set -e\" context.\nas_fn_exit ()\n{\n  set +e\n  as_fn_set_status $1\n  exit $1\n} # as_fn_exit\n\n# as_fn_unset VAR\n# ---------------\n# Portably unset VAR.\nas_fn_unset ()\n{\n  { eval $1=; unset $1;}\n}\nas_unset=as_fn_unset\n# as_fn_append VAR VALUE\n# ----------------------\n# Append the text in VALUE to the end of the definition contained in VAR. Take\n# advantage of any shell optimizations that allow amortized linear growth over\n# repeated appends, instead of the typical quadratic growth present in naive\n# implementations.\nif (eval \"as_var=1; as_var+=2; test x\\$as_var = x12\") 2>/dev/null; then :\n  eval 'as_fn_append ()\n  {\n    eval $1+=\\$2\n  }'\nelse\n  as_fn_append ()\n  {\n    eval $1=\\$$1\\$2\n  }\nfi # as_fn_append\n\n# as_fn_arith ARG...\n# ------------------\n# Perform arithmetic evaluation on the ARGs, and store the result in the\n# global $as_val. Take advantage of shells that can avoid forks. The arguments\n# must be portable across $(()) and expr.\nif (eval \"test \\$(( 1 + 1 )) = 2\") 2>/dev/null; then :\n  eval 'as_fn_arith ()\n  {\n    as_val=$(( $* ))\n  }'\nelse\n  as_fn_arith ()\n  {\n    as_val=`expr \"$@\" || test $? -eq 1`\n  }\nfi # as_fn_arith\n\n\nif expr a : '\\(a\\)' >/dev/null 2>&1 &&\n   test \"X`expr 00001 : '.*\\(...\\)'`\" = X001; then\n  as_expr=expr\nelse\n  as_expr=false\nfi\n\nif (basename -- /) >/dev/null 2>&1 && test \"X`basename -- / 2>&1`\" = \"X/\"; then\n  as_basename=basename\nelse\n  as_basename=false\nfi\n\nif (as_dir=`dirname -- /` && test \"X$as_dir\" = X/) >/dev/null 2>&1; then\n  as_dirname=dirname\nelse\n  as_dirname=false\nfi\n\nas_me=`$as_basename -- \"$0\" ||\n$as_expr X/\"$0\" : '.*/\\([^/][^/]*\\)/*$' \\| \\\n\t X\"$0\" : 'X\\(//\\)$' \\| \\\n\t X\"$0\" : 'X\\(/\\)' \\| . 2>/dev/null ||\n$as_echo X/\"$0\" |\n    sed '/^.*\\/\\([^/][^/]*\\)\\/*$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\/\\(\\/\\/\\)$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\/\\(\\/\\).*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  s/.*/./; q'`\n\n# Avoid depending upon Character Ranges.\nas_cr_letters='abcdefghijklmnopqrstuvwxyz'\nas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\nas_cr_Letters=$as_cr_letters$as_cr_LETTERS\nas_cr_digits='0123456789'\nas_cr_alnum=$as_cr_Letters$as_cr_digits\n\nECHO_C= ECHO_N= ECHO_T=\ncase `echo -n x` in #(((((\n-n*)\n  case `echo 'xy\\c'` in\n  *c*) ECHO_T='\t';;\t# ECHO_T is single tab character.\n  xy)  ECHO_C='\\c';;\n  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null\n       ECHO_T='\t';;\n  esac;;\n*)\n  ECHO_N='-n';;\nesac\n\nrm -f conf$$ conf$$.exe conf$$.file\nif test -d conf$$.dir; then\n  rm -f conf$$.dir/conf$$.file\nelse\n  rm -f conf$$.dir\n  mkdir conf$$.dir 2>/dev/null\nfi\nif (echo >conf$$.file) 2>/dev/null; then\n  if ln -s conf$$.file conf$$ 2>/dev/null; then\n    as_ln_s='ln -s'\n    # ... but there are two gotchas:\n    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\n    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\n    # In both cases, we have to default to `cp -pR'.\n    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\n      as_ln_s='cp -pR'\n  elif ln conf$$.file conf$$ 2>/dev/null; then\n    as_ln_s=ln\n  else\n    as_ln_s='cp -pR'\n  fi\nelse\n  as_ln_s='cp -pR'\nfi\nrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\nrmdir conf$$.dir 2>/dev/null\n\n\n# as_fn_mkdir_p\n# -------------\n# Create \"$as_dir\" as a directory, including parents if necessary.\nas_fn_mkdir_p ()\n{\n\n  case $as_dir in #(\n  -*) as_dir=./$as_dir;;\n  esac\n  test -d \"$as_dir\" || eval $as_mkdir_p || {\n    as_dirs=\n    while :; do\n      case $as_dir in #(\n      *\\'*) as_qdir=`$as_echo \"$as_dir\" | sed \"s/'/'\\\\\\\\\\\\\\\\''/g\"`;; #'(\n      *) as_qdir=$as_dir;;\n      esac\n      as_dirs=\"'$as_qdir' $as_dirs\"\n      as_dir=`$as_dirname -- \"$as_dir\" ||\n$as_expr X\"$as_dir\" : 'X\\(.*[^/]\\)//*[^/][^/]*/*$' \\| \\\n\t X\"$as_dir\" : 'X\\(//\\)[^/]' \\| \\\n\t X\"$as_dir\" : 'X\\(//\\)$' \\| \\\n\t X\"$as_dir\" : 'X\\(/\\)' \\| . 2>/dev/null ||\n$as_echo X\"$as_dir\" |\n    sed '/^X\\(.*[^/]\\)\\/\\/*[^/][^/]*\\/*$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)[^/].*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\).*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  s/.*/./; q'`\n      test -d \"$as_dir\" && break\n    done\n    test -z \"$as_dirs\" || eval \"mkdir $as_dirs\"\n  } || test -d \"$as_dir\" || as_fn_error $? \"cannot create directory $as_dir\"\n\n\n} # as_fn_mkdir_p\nif mkdir -p . 2>/dev/null; then\n  as_mkdir_p='mkdir -p \"$as_dir\"'\nelse\n  test -d ./-p && rmdir ./-p\n  as_mkdir_p=false\nfi\n\n\n# as_fn_executable_p FILE\n# -----------------------\n# Test if FILE is an executable regular file.\nas_fn_executable_p ()\n{\n  test -f \"$1\" && test -x \"$1\"\n} # as_fn_executable_p\nas_test_x='test -x'\nas_executable_p=as_fn_executable_p\n\n# Sed expression to map a string onto a valid CPP name.\nas_tr_cpp=\"eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'\"\n\n# Sed expression to map a string onto a valid variable name.\nas_tr_sh=\"eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'\"\n\n\nexec 6>&1\n## ----------------------------------- ##\n## Main body of $CONFIG_STATUS script. ##\n## ----------------------------------- ##\n_ASEOF\ntest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1\n\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\n# Save the log message, to keep $0 and so on meaningful, and to\n# report actual input values of CONFIG_FILES etc. instead of their\n# values after options handling.\nac_log=\"\nThis file was extended by guile-wm $as_me 1.0, which was\ngenerated by GNU Autoconf 2.69.  Invocation command line was\n\n  CONFIG_FILES    = $CONFIG_FILES\n  CONFIG_HEADERS  = $CONFIG_HEADERS\n  CONFIG_LINKS    = $CONFIG_LINKS\n  CONFIG_COMMANDS = $CONFIG_COMMANDS\n  $ $0 $@\n\non `(hostname || uname -n) 2>/dev/null | sed 1q`\n\"\n\n_ACEOF\n\ncase $ac_config_files in *\"\n\"*) set x $ac_config_files; shift; ac_config_files=$*;;\nesac\n\n\n\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\n# Files that config.status was made for.\nconfig_files=\"$ac_config_files\"\n\n_ACEOF\n\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\nac_cs_usage=\"\\\n\\`$as_me' instantiates files and other configuration actions\nfrom templates according to the current configuration.  Unless the files\nand actions are specified as TAGs, all are instantiated by default.\n\nUsage: $0 [OPTION]... [TAG]...\n\n  -h, --help       print this help, then exit\n  -V, --version    print version number and configuration settings, then exit\n      --config     print configuration, then exit\n  -q, --quiet, --silent\n                   do not print progress messages\n  -d, --debug      don't remove temporary files\n      --recheck    update $as_me by reconfiguring in the same conditions\n      --file=FILE[:TEMPLATE]\n                   instantiate the configuration file FILE\n\nConfiguration files:\n$config_files\n\nReport bugs to <mark@markwitmer.com>.\"\n\n_ACEOF\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\nac_cs_config=\"`$as_echo \"$ac_configure_args\" | sed 's/^ //; s/[\\\\\"\"\\`\\$]/\\\\\\\\&/g'`\"\nac_cs_version=\"\\\\\nguile-wm config.status 1.0\nconfigured by $0, generated by GNU Autoconf 2.69,\n  with options \\\\\"\\$ac_cs_config\\\\\"\n\nCopyright (C) 2012 Free Software Foundation, Inc.\nThis config.status script is free software; the Free Software Foundation\ngives unlimited permission to copy, distribute and modify it.\"\n\nac_pwd='$ac_pwd'\nsrcdir='$srcdir'\nINSTALL='$INSTALL'\nMKDIR_P='$MKDIR_P'\nAWK='$AWK'\ntest -n \"\\$AWK\" || AWK=awk\n_ACEOF\n\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\n# The default lists apply if the user does not specify any file.\nac_need_defaults=:\nwhile test $# != 0\ndo\n  case $1 in\n  --*=?*)\n    ac_option=`expr \"X$1\" : 'X\\([^=]*\\)='`\n    ac_optarg=`expr \"X$1\" : 'X[^=]*=\\(.*\\)'`\n    ac_shift=:\n    ;;\n  --*=)\n    ac_option=`expr \"X$1\" : 'X\\([^=]*\\)='`\n    ac_optarg=\n    ac_shift=:\n    ;;\n  *)\n    ac_option=$1\n    ac_optarg=$2\n    ac_shift=shift\n    ;;\n  esac\n\n  case $ac_option in\n  # Handling of the options.\n  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)\n    ac_cs_recheck=: ;;\n  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )\n    $as_echo \"$ac_cs_version\"; exit ;;\n  --config | --confi | --conf | --con | --co | --c )\n    $as_echo \"$ac_cs_config\"; exit ;;\n  --debug | --debu | --deb | --de | --d | -d )\n    debug=: ;;\n  --file | --fil | --fi | --f )\n    $ac_shift\n    case $ac_optarg in\n    *\\'*) ac_optarg=`$as_echo \"$ac_optarg\" | sed \"s/'/'\\\\\\\\\\\\\\\\''/g\"` ;;\n    '') as_fn_error $? \"missing file argument\" ;;\n    esac\n    as_fn_append CONFIG_FILES \" '$ac_optarg'\"\n    ac_need_defaults=false;;\n  --he | --h |  --help | --hel | -h )\n    $as_echo \"$ac_cs_usage\"; exit ;;\n  -q | -quiet | --quiet | --quie | --qui | --qu | --q \\\n  | -silent | --silent | --silen | --sile | --sil | --si | --s)\n    ac_cs_silent=: ;;\n\n  # This is an error.\n  -*) as_fn_error $? \"unrecognized option: \\`$1'\nTry \\`$0 --help' for more information.\" ;;\n\n  *) as_fn_append ac_config_targets \" $1\"\n     ac_need_defaults=false ;;\n\n  esac\n  shift\ndone\n\nac_configure_extra_args=\n\nif $ac_cs_silent; then\n  exec 6>/dev/null\n  ac_configure_extra_args=\"$ac_configure_extra_args --silent\"\nfi\n\n_ACEOF\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\nif \\$ac_cs_recheck; then\n  set X $SHELL '$0' $ac_configure_args \\$ac_configure_extra_args --no-create --no-recursion\n  shift\n  \\$as_echo \"running CONFIG_SHELL=$SHELL \\$*\" >&6\n  CONFIG_SHELL='$SHELL'\n  export CONFIG_SHELL\n  exec \"\\$@\"\nfi\n\n_ACEOF\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\nexec 5>>config.log\n{\n  echo\n  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX\n## Running $as_me. ##\n_ASBOX\n  $as_echo \"$ac_log\"\n} >&5\n\n_ACEOF\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\n_ACEOF\n\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\n\n# Handling of arguments.\nfor ac_config_target in $ac_config_targets\ndo\n  case $ac_config_target in\n    \"Makefile\") CONFIG_FILES=\"$CONFIG_FILES Makefile\" ;;\n    \"module/Makefile\") CONFIG_FILES=\"$CONFIG_FILES module/Makefile\" ;;\n\n  *) as_fn_error $? \"invalid argument: \\`$ac_config_target'\" \"$LINENO\" 5;;\n  esac\ndone\n\n\n# If the user did not use the arguments to specify the items to instantiate,\n# then the envvar interface is used.  Set only those that are not.\n# We use the long form for the default assignment because of an extremely\n# bizarre bug on SunOS 4.1.3.\nif $ac_need_defaults; then\n  test \"${CONFIG_FILES+set}\" = set || CONFIG_FILES=$config_files\nfi\n\n# Have a temporary directory for convenience.  Make it in the build tree\n# simply because there is no reason against having it here, and in addition,\n# creating and moving files from /tmp can sometimes cause problems.\n# Hook for its removal unless debugging.\n# Note that there is a small window in which the directory will not be cleaned:\n# after its creation but before its name has been assigned to `$tmp'.\n$debug ||\n{\n  tmp= ac_tmp=\n  trap 'exit_status=$?\n  : \"${ac_tmp:=$tmp}\"\n  { test ! -d \"$ac_tmp\" || rm -fr \"$ac_tmp\"; } && exit $exit_status\n' 0\n  trap 'as_fn_exit 1' 1 2 13 15\n}\n# Create a (secure) tmp directory for tmp files.\n\n{\n  tmp=`(umask 077 && mktemp -d \"./confXXXXXX\") 2>/dev/null` &&\n  test -d \"$tmp\"\n}  ||\n{\n  tmp=./conf$$-$RANDOM\n  (umask 077 && mkdir \"$tmp\")\n} || as_fn_error $? \"cannot create a temporary directory in .\" \"$LINENO\" 5\nac_tmp=$tmp\n\n# Set up the scripts for CONFIG_FILES section.\n# No need to generate them if there are no CONFIG_FILES.\n# This happens for instance with `./config.status config.h'.\nif test -n \"$CONFIG_FILES\"; then\n\n\nac_cr=`echo X | tr X '\\015'`\n# On cygwin, bash can eat \\r inside `` if the user requested igncr.\n# But we know of no other shell where ac_cr would be empty at this\n# point, so we can use a bashism as a fallback.\nif test \"x$ac_cr\" = x; then\n  eval ac_cr=\\$\\'\\\\r\\'\nfi\nac_cs_awk_cr=`$AWK 'BEGIN { print \"a\\rb\" }' </dev/null 2>/dev/null`\nif test \"$ac_cs_awk_cr\" = \"a${ac_cr}b\"; then\n  ac_cs_awk_cr='\\\\r'\nelse\n  ac_cs_awk_cr=$ac_cr\nfi\n\necho 'BEGIN {' >\"$ac_tmp/subs1.awk\" &&\n_ACEOF\n\n\n{\n  echo \"cat >conf$$subs.awk <<_ACEOF\" &&\n  echo \"$ac_subst_vars\" | sed 's/.*/&!$&$ac_delim/' &&\n  echo \"_ACEOF\"\n} >conf$$subs.sh ||\n  as_fn_error $? \"could not make $CONFIG_STATUS\" \"$LINENO\" 5\nac_delim_num=`echo \"$ac_subst_vars\" | grep -c '^'`\nac_delim='%!_!# '\nfor ac_last_try in false false false false false :; do\n  . ./conf$$subs.sh ||\n    as_fn_error $? \"could not make $CONFIG_STATUS\" \"$LINENO\" 5\n\n  ac_delim_n=`sed -n \"s/.*$ac_delim\\$/X/p\" conf$$subs.awk | grep -c X`\n  if test $ac_delim_n = $ac_delim_num; then\n    break\n  elif $ac_last_try; then\n    as_fn_error $? \"could not make $CONFIG_STATUS\" \"$LINENO\" 5\n  else\n    ac_delim=\"$ac_delim!$ac_delim _$ac_delim!! \"\n  fi\ndone\nrm -f conf$$subs.sh\n\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\ncat >>\"\\$ac_tmp/subs1.awk\" <<\\\\_ACAWK &&\n_ACEOF\nsed -n '\nh\ns/^/S[\"/; s/!.*/\"]=/\np\ng\ns/^[^!]*!//\n:repl\nt repl\ns/'\"$ac_delim\"'$//\nt delim\n:nl\nh\ns/\\(.\\{148\\}\\)..*/\\1/\nt more1\ns/[\"\\\\]/\\\\&/g; s/^/\"/; s/$/\\\\n\"\\\\/\np\nn\nb repl\n:more1\ns/[\"\\\\]/\\\\&/g; s/^/\"/; s/$/\"\\\\/\np\ng\ns/.\\{148\\}//\nt nl\n:delim\nh\ns/\\(.\\{148\\}\\)..*/\\1/\nt more2\ns/[\"\\\\]/\\\\&/g; s/^/\"/; s/$/\"/\np\nb\n:more2\ns/[\"\\\\]/\\\\&/g; s/^/\"/; s/$/\"\\\\/\np\ng\ns/.\\{148\\}//\nt delim\n' <conf$$subs.awk | sed '\n/^[^\"\"]/{\n  N\n  s/\\n//\n}\n' >>$CONFIG_STATUS || ac_write_fail=1\nrm -f conf$$subs.awk\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\n_ACAWK\ncat >>\"\\$ac_tmp/subs1.awk\" <<_ACAWK &&\n  for (key in S) S_is_set[key] = 1\n  FS = \"\u0007\"\n\n}\n{\n  line = $ 0\n  nfields = split(line, field, \"@\")\n  substed = 0\n  len = length(field[1])\n  for (i = 2; i < nfields; i++) {\n    key = field[i]\n    keylen = length(key)\n    if (S_is_set[key]) {\n      value = S[key]\n      line = substr(line, 1, len) \"\" value \"\" substr(line, len + keylen + 3)\n      len += length(value) + length(field[++i])\n      substed = 1\n    } else\n      len += 1 + keylen\n  }\n\n  print line\n}\n\n_ACAWK\n_ACEOF\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\nif sed \"s/$ac_cr//\" < /dev/null > /dev/null 2>&1; then\n  sed \"s/$ac_cr\\$//; s/$ac_cr/$ac_cs_awk_cr/g\"\nelse\n  cat\nfi < \"$ac_tmp/subs1.awk\" > \"$ac_tmp/subs.awk\" \\\n  || as_fn_error $? \"could not setup config files machinery\" \"$LINENO\" 5\n_ACEOF\n\n# VPATH may cause trouble with some makes, so we remove sole $(srcdir),\n# ${srcdir} and @srcdir@ entries from VPATH if srcdir is \".\", strip leading and\n# trailing colons and then remove the whole line if VPATH becomes empty\n# (actually we leave an empty line to preserve line numbers).\nif test \"x$srcdir\" = x.; then\n  ac_vpsub='/^[\t ]*VPATH[\t ]*=[\t ]*/{\nh\ns///\ns/^/:/\ns/[\t ]*$/:/\ns/:\\$(srcdir):/:/g\ns/:\\${srcdir}:/:/g\ns/:@srcdir@:/:/g\ns/^:*//\ns/:*$//\nx\ns/\\(=[\t ]*\\).*/\\1/\nG\ns/\\n//\ns/^[^=]*=[\t ]*$//\n}'\nfi\n\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\nfi # test -n \"$CONFIG_FILES\"\n\n\neval set X \"  :F $CONFIG_FILES      \"\nshift\nfor ac_tag\ndo\n  case $ac_tag in\n  :[FHLC]) ac_mode=$ac_tag; continue;;\n  esac\n  case $ac_mode$ac_tag in\n  :[FHL]*:*);;\n  :L* | :C*:*) as_fn_error $? \"invalid tag \\`$ac_tag'\" \"$LINENO\" 5;;\n  :[FH]-) ac_tag=-:-;;\n  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;\n  esac\n  ac_save_IFS=$IFS\n  IFS=:\n  set x $ac_tag\n  IFS=$ac_save_IFS\n  shift\n  ac_file=$1\n  shift\n\n  case $ac_mode in\n  :L) ac_source=$1;;\n  :[FH])\n    ac_file_inputs=\n    for ac_f\n    do\n      case $ac_f in\n      -) ac_f=\"$ac_tmp/stdin\";;\n      *) # Look for the file first in the build tree, then in the source tree\n\t # (if the path is not absolute).  The absolute path cannot be DOS-style,\n\t # because $ac_f cannot contain `:'.\n\t test -f \"$ac_f\" ||\n\t   case $ac_f in\n\t   [\\\\/$]*) false;;\n\t   *) test -f \"$srcdir/$ac_f\" && ac_f=\"$srcdir/$ac_f\";;\n\t   esac ||\n\t   as_fn_error 1 \"cannot find input file: \\`$ac_f'\" \"$LINENO\" 5;;\n      esac\n      case $ac_f in *\\'*) ac_f=`$as_echo \"$ac_f\" | sed \"s/'/'\\\\\\\\\\\\\\\\''/g\"`;; esac\n      as_fn_append ac_file_inputs \" '$ac_f'\"\n    done\n\n    # Let's still pretend it is `configure' which instantiates (i.e., don't\n    # use $as_me), people would be surprised to read:\n    #    /* config.h.  Generated by config.status.  */\n    configure_input='Generated from '`\n\t  $as_echo \"$*\" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'\n\t`' by configure.'\n    if test x\"$ac_file\" != x-; then\n      configure_input=\"$ac_file.  $configure_input\"\n      { $as_echo \"$as_me:${as_lineno-$LINENO}: creating $ac_file\" >&5\n$as_echo \"$as_me: creating $ac_file\" >&6;}\n    fi\n    # Neutralize special characters interpreted by sed in replacement strings.\n    case $configure_input in #(\n    *\\&* | *\\|* | *\\\\* )\n       ac_sed_conf_input=`$as_echo \"$configure_input\" |\n       sed 's/[\\\\\\\\&|]/\\\\\\\\&/g'`;; #(\n    *) ac_sed_conf_input=$configure_input;;\n    esac\n\n    case $ac_tag in\n    *:-:* | *:-) cat >\"$ac_tmp/stdin\" \\\n      || as_fn_error $? \"could not create $ac_file\" \"$LINENO\" 5 ;;\n    esac\n    ;;\n  esac\n\n  ac_dir=`$as_dirname -- \"$ac_file\" ||\n$as_expr X\"$ac_file\" : 'X\\(.*[^/]\\)//*[^/][^/]*/*$' \\| \\\n\t X\"$ac_file\" : 'X\\(//\\)[^/]' \\| \\\n\t X\"$ac_file\" : 'X\\(//\\)$' \\| \\\n\t X\"$ac_file\" : 'X\\(/\\)' \\| . 2>/dev/null ||\n$as_echo X\"$ac_file\" |\n    sed '/^X\\(.*[^/]\\)\\/\\/*[^/][^/]*\\/*$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)[^/].*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\/\\)$/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  /^X\\(\\/\\).*/{\n\t    s//\\1/\n\t    q\n\t  }\n\t  s/.*/./; q'`\n  as_dir=\"$ac_dir\"; as_fn_mkdir_p\n  ac_builddir=.\n\ncase \"$ac_dir\" in\n.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\n*)\n  ac_dir_suffix=/`$as_echo \"$ac_dir\" | sed 's|^\\.[\\\\/]||'`\n  # A \"..\" for each directory in $ac_dir_suffix.\n  ac_top_builddir_sub=`$as_echo \"$ac_dir_suffix\" | sed 's|/[^\\\\/]*|/..|g;s|/||'`\n  case $ac_top_builddir_sub in\n  \"\") ac_top_builddir_sub=. ac_top_build_prefix= ;;\n  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;\n  esac ;;\nesac\nac_abs_top_builddir=$ac_pwd\nac_abs_builddir=$ac_pwd$ac_dir_suffix\n# for backward compatibility:\nac_top_builddir=$ac_top_build_prefix\n\ncase $srcdir in\n  .)  # We are building in place.\n    ac_srcdir=.\n    ac_top_srcdir=$ac_top_builddir_sub\n    ac_abs_top_srcdir=$ac_pwd ;;\n  [\\\\/]* | ?:[\\\\/]* )  # Absolute name.\n    ac_srcdir=$srcdir$ac_dir_suffix;\n    ac_top_srcdir=$srcdir\n    ac_abs_top_srcdir=$srcdir ;;\n  *) # Relative name.\n    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\n    ac_top_srcdir=$ac_top_build_prefix$srcdir\n    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\nesac\nac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\n\n\n  case $ac_mode in\n  :F)\n  #\n  # CONFIG_FILE\n  #\n\n  case $INSTALL in\n  [\\\\/$]* | ?:[\\\\/]* ) ac_INSTALL=$INSTALL ;;\n  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;\n  esac\n  ac_MKDIR_P=$MKDIR_P\n  case $MKDIR_P in\n  [\\\\/$]* | ?:[\\\\/]* ) ;;\n  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;\n  esac\n_ACEOF\n\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\n# If the template does not know about datarootdir, expand it.\n# FIXME: This hack should be removed a few years after 2.60.\nac_datarootdir_hack=; ac_datarootdir_seen=\nac_sed_dataroot='\n/datarootdir/ {\n  p\n  q\n}\n/@datadir@/p\n/@docdir@/p\n/@infodir@/p\n/@localedir@/p\n/@mandir@/p'\ncase `eval \"sed -n \\\"\\$ac_sed_dataroot\\\" $ac_file_inputs\"` in\n*datarootdir*) ac_datarootdir_seen=yes;;\n*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting\" >&5\n$as_echo \"$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting\" >&2;}\n_ACEOF\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\n  ac_datarootdir_hack='\n  s&@datadir@&$datadir&g\n  s&@docdir@&$docdir&g\n  s&@infodir@&$infodir&g\n  s&@localedir@&$localedir&g\n  s&@mandir@&$mandir&g\n  s&\\\\\\${datarootdir}&$datarootdir&g' ;;\nesac\n_ACEOF\n\n# Neutralize VPATH when `$srcdir' = `.'.\n# Shell code in configure.ac might set extrasub.\n# FIXME: do we really want to maintain this feature?\ncat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\nac_sed_extra=\"$ac_vpsub\n$extrasub\n_ACEOF\ncat >>$CONFIG_STATUS <<\\_ACEOF || ac_write_fail=1\n:t\n/@[a-zA-Z_][a-zA-Z_0-9]*@/!b\ns|@configure_input@|$ac_sed_conf_input|;t t\ns&@top_builddir@&$ac_top_builddir_sub&;t t\ns&@top_build_prefix@&$ac_top_build_prefix&;t t\ns&@srcdir@&$ac_srcdir&;t t\ns&@abs_srcdir@&$ac_abs_srcdir&;t t\ns&@top_srcdir@&$ac_top_srcdir&;t t\ns&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t\ns&@builddir@&$ac_builddir&;t t\ns&@abs_builddir@&$ac_abs_builddir&;t t\ns&@abs_top_builddir@&$ac_abs_top_builddir&;t t\ns&@INSTALL@&$ac_INSTALL&;t t\ns&@MKDIR_P@&$ac_MKDIR_P&;t t\n$ac_datarootdir_hack\n\"\neval sed \\\"\\$ac_sed_extra\\\" \"$ac_file_inputs\" | $AWK -f \"$ac_tmp/subs.awk\" \\\n  >$ac_tmp/out || as_fn_error $? \"could not create $ac_file\" \"$LINENO\" 5\n\ntest -z \"$ac_datarootdir_hack$ac_datarootdir_seen\" &&\n  { ac_out=`sed -n '/\\${datarootdir}/p' \"$ac_tmp/out\"`; test -n \"$ac_out\"; } &&\n  { ac_out=`sed -n '/^[\t ]*datarootdir[\t ]*:*=/p' \\\n      \"$ac_tmp/out\"`; test -z \"$ac_out\"; } &&\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \\`datarootdir'\nwhich seems to be undefined.  Please make sure it is defined\" >&5\n$as_echo \"$as_me: WARNING: $ac_file contains a reference to the variable \\`datarootdir'\nwhich seems to be undefined.  Please make sure it is defined\" >&2;}\n\n  rm -f \"$ac_tmp/stdin\"\n  case $ac_file in\n  -) cat \"$ac_tmp/out\" && rm -f \"$ac_tmp/out\";;\n  *) rm -f \"$ac_file\" && mv \"$ac_tmp/out\" \"$ac_file\";;\n  esac \\\n  || as_fn_error $? \"could not create $ac_file\" \"$LINENO\" 5\n ;;\n\n\n\n  esac\n\ndone # for ac_tag\n\n\nas_fn_exit 0\n_ACEOF\nac_clean_files=$ac_clean_files_save\n\ntest $ac_write_fail = 0 ||\n  as_fn_error $? \"write failure creating $CONFIG_STATUS\" \"$LINENO\" 5\n\n\n# configure is writing to config.log, and then calls config.status.\n# config.status does its own redirection, appending to config.log.\n# Unfortunately, on DOS this fails, as config.log is still kept open\n# by configure, so config.status won't be able to write to it; its\n# output is simply discarded.  So we exec the FD to /dev/null,\n# effectively closing config.log, so it can be properly (re)opened and\n# appended to by config.status.  When coming back to configure, we\n# need to make the FD available again.\nif test \"$no_create\" != yes; then\n  ac_cs_success=:\n  ac_config_status_args=\n  test \"$silent\" = yes &&\n    ac_config_status_args=\"$ac_config_status_args --quiet\"\n  exec 5>/dev/null\n  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false\n  exec 5>>config.log\n  # Use ||, not &&, to avoid exiting from the if with $? = 1, which\n  # would make configure fail if this is the last instruction.\n  $ac_cs_success || as_fn_exit 1\nfi\nif test -n \"$ac_unrecognized_opts\" && test \"$enable_option_checking\" != no; then\n  { $as_echo \"$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts\" >&5\n$as_echo \"$as_me: WARNING: unrecognized options: $ac_unrecognized_opts\" >&2;}\nfi\n\n"
  },
  {
    "path": "configure.ac",
    "content": "#                                               -*- Autoconf -*-\n# Process this file with autoconf to produce a configure script.\n\nAC_PREREQ([2.69])\nAC_INIT([guile-wm], [1.0], [mark@markwitmer.com])\n\nAC_CONFIG_AUX_DIR([build_aux])\nAM_INIT_AUTOMAKE([gnu std-options])\n\nAC_CONFIG_FILES([\n        Makefile\n        module/Makefile\n])\n\nGUILE_PKG([2.0 2.2])\nGUILE_SITE_DIR\nGUILE_PROGS\n\nGUILE_MODULE_REQUIRED([xcb xml])\nGUILE_MODULE_REQUIRED([xcb xml xproto])\nGUILE_MODULE_REQUIRED([xcb xml struct])\nGUILE_MODULE_REQUIRED([xcb xml ext randr])\nGUILE_MODULE_REQUIRED([xcb event-loop])\n\nAC_ARG_WITH([guile-site-dir],\n        [AS_HELP_STRING([--with-guile-site-dir],\n            [use the specified installation path for Guile modules]\n        )],\n        [guilesitedir=\"$withval\"],\n        [guilesitedir=\"$GUILE_SITE\"]\n)\n\nAC_SUBST([guilesitedir])\nAC_MSG_RESULT($guilesitedir)\n\nAC_OUTPUT\n"
  },
  {
    "path": "guile-wm",
    "content": "#!/usr/bin/guile \\\n-e main\n!#\n\n;; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(use-modules\n (guile-wm shared)\n (guile-wm user)\n (guile-wm log)\n (ice-9 format)\n (ice-9 regex)\n (ice-9 rdelim)\n (ice-9 getopt-long)\n (xcb event-loop)\n (xcb xml)\n (xcb xml xproto)\n (system base compile))\n\n(define (report-error resume data)\n  (catch #t\n    (lambda ()\n      (format (current-error-port) \"X Error: ~a \\n~{~a~}\"\n              (xcb-struct-name (xcb-struct data))\n              (map (lambda (f) (format #f \"~a: ~a\\n\"\n                                       f (xref (xcb-data data) f)))\n                   (xcb-struct-fields (xcb-struct data)))))\n    (lambda args (log! \"Unknown error: ~a\" data)))\n  (resume))\n\n(define wm-modules-spec (make-regexp \"^;+\\\\s+wm-modules:\\\\s+(.+)\"))\n\n(define (get-user-modules init-file)\n  (define (read-module-names str)\n    (define (read-names)\n      (let read-name ((names '()) (raw-name (read)))\n        (cond\n         ((eof-object? raw-name) names)\n         ((list? raw-name) (read-name (cons raw-name names) (read)))\n         (else (read-name (cons raw-name names) (read))))))\n    (with-input-from-string str read-names))\n  (define (read-modules)\n    (let get-imports ((to-import '()) (l (read-line)))\n      (define (get-imports-from-match match)\n        (get-imports\n         (append (read-module-names (match:substring match 1)) to-import)\n         (read-line)))\n      (if (eof-object? (peek-char)) to-import\n          (or (and=> (regexp-exec wm-modules-spec l) get-imports-from-match)\n              (get-imports to-import (read-line))))))\n  (define module-list (with-input-from-file init-file read-modules))\n  (cons 'use-wm-modules module-list))\n\n(define (make-xcb-connection)\n  (let lp ((attempts 0))\n    (or (xcb-connect!)\n        (if (= attempts 4)\n            (error \"Could not establish XCB connection\")\n            (begin (usleep 500000)\n                   (lp (+ attempts 1)))))))\n\n(define (begin-event-loop init-file log-file)\n  (open-log log-file)\n  (log! \"Beginning event loop\")\n  (let ((xcb-conn (make-xcb-connection)))\n       (log! \"XCB is connected\")\n       (event-loop-prepare! xcb-conn report-error)\n       (loop-with-connection xcb-conn\n         (current-screen (xref (xcb-connection-setup xcb-conn) 'roots 0))\n         (current-root (xref (current-screen) 'root))\n         (let ((user-module (resolve-module '(guile-wm user))))\n           (set-current-module user-module)\n           (when init-file\n             (compile (get-user-modules init-file) #:env user-module)\n             (compile `(begin\n                         (init-guile-wm-modules!)\n                         (include ,init-file))\n                      #:env user-module)))))\n  (close-log))\n\n(define (main . args)\n  (define option-spec\n    '((version   (single-char #\\v) (value #f))\n      (init-file (single-char #\\i) (value #t))\n      (log-file  (single-char #\\l) (value #t))\n      (help      (single-char #\\h) (value #f))))\n  (define options (getopt-long (command-line) option-spec))\n  (define help-wanted? (option-ref options 'help #f))\n  (define version-wanted? (option-ref options 'version #f))\n  (define log-file (option-ref\n                    options 'log-file\n                    (format #f \"/tmp/guile-wm.log\")))\n  (define init-file\n    (option-ref\n     options 'init-file\n     (format #f \"~a/.guile-wm\" (getenv \"HOME\"))))\n  (if (or version-wanted? help-wanted?)\n      (begin\n        (if version-wanted? (display \"Guile-WM version 0.1\\n\"))\n        (if help-wanted?\n            (display \"\\\n     guile-wm [options]\n       -v, --version    Display version\n       -i, --init-file  Use the given init file (default \\\"$HOME/.guile-wm\\\")\n       -l, --log-file   Use the given log file (defaults \\\"/tmp/guile-wm.log\\\")\n       -h, --help       Display this help\\n\")))\n      (begin-event-loop init-file log-file)))\n"
  },
  {
    "path": "guile-wm.texi",
    "content": "\\input texinfo   @c -*-texinfo-*-\n@c %**start of header\n@setfilename guile-wm.info\n@settitle The Guile-WM Manual 1.0\n@c %**end of header\n\n@copying\nThis manual is for Guile-WM, version 1.0.\n\nCopyright @copyright{} 2013 Mark Witmer.\n\n@quotation\n   Permission is granted to copy, distribute and/or modify this document\nunder the terms of the GNU Free Documentation License, Version 1.3 or\nany later version published by the Free Software Foundation; with no\nInvariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A\ncopy of the license is included in the section entitled \"GNU Free\nDocumentation License.\"\n@end quotation\n@end copying\n\n@dircategory X11\n@direntry\n* Guile-WM: (guile-wm).    A Scheme Window Manager Toolkit\n@end direntry\n\n@titlepage\n@title Guile-WM\n@subtitle A Scheme Window Manager Toolkit\n@author Mark Witmer\n\n@c  The following two commands\n@c  start the copyright page.\n@page\n@vskip 0pt plus 1filll\n@insertcopying\n\n@end titlepage\n\n@c So the toc is printed at the start.\n@contents\n\n@ifnottex\n@node Top\n@top Guile-WM\n\nThis manual is for Guile-WM, version 1.0.\n\n   Permission is granted to copy, distribute and/or modify this document\nunder the terms of the GNU Free Documentation License, Version 1.3 or\nany later version published by the Free Software Foundation; with no\nInvariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A\ncopy of the license is included in the section entitled \"GNU Free\nDocumentation License.\"\n\nGuile-WM is an extensible window manager and support toolkit for the\nX11 windowing system, written in Guile Scheme.\n\n@end ifnottex\n\n@menu\n* Introduction::\n* Getting Started::\n* X11 Abstraction Layer::\n* User-Facing Modules::\n\n* Function Index::\n\n@end menu\n\n@findex\n\n@node Introduction\n@chapter Introduction\n\nGuile-WM is an extensible window manager and support toolkit for the\nX11 windowing system, written in Guile Scheme. It includes a library\nof modules for handling X11-related tasks such as detecting\nkeystrokes, reparenting windows, and controlling input focus. It also\nprovides modules with end-user facing window management features that\ncan be mixed together according to the user's preferences.\n\nGuile-WM's architecture is inspired by the microkernel concept in\noperating system design. In mircokernels, a small core process is\nfronted by a set of user-specified modules that provide much of the\ndesired behavior. In the case of Guile-WM, the core process is simply\nan X event loop that begins when the window manager starts. The\nbehavior of the window manager is determined by the set of modules\nloaded in the user's configuration file.\n\nGuile-WM is built on top of Guile XCB, a Scheme X client\nlibrary. @inforef{Top, Guile XCB, guile-xcb}.\n\n@node Getting Started\n@chapter Getting Started\n\n@menu\n* Running the WM::\n* Configuring the WM::\n* Creating a WM Module::\n* WM Hooks::\n@end menu\n\n@node Running the WM\n@section Running the WM\n\nBy default, Guile-WM simply starts the event loop and loads and\nevaluates a Scheme file containing the user's configuration. The\nconfiguration file is mandatory; if it isn't found, Guile-WM won't\nstart.\n\nGuile-WM takes a few command line arguments (preceded by @samp{--} in their\nlong format) that can affect its behavior.\n\n@deffn{Command Line} version -v\nDisplay the version number of Guile-WM and exit\n@end deffn\n\n@deffn{Command Line} help -h\nDisplay a message documenting the command line options and exit\n@end deffn\n\n@deffn{Command Line} init-file -i\nSelect an alternate configuration file location (default is @code{$HOME/.guile-wm})\n@end deffn\n\n@deffn{Command Line} log-file -l\nSelect an alternate log file location (default is @code{/tmp/guile-wm.log})\n@end deffn\n\n@node Configuring the WM\n@section Configuring the WM\n\nFor the most part, the configuration file is evaluated just like any\nother Scheme source file. An additional facility is provided for\nloading and initializing window-manager specific modules by listing\nthem in special lines of comments prefixed with @code{wm-modules:}.\n\nIf an item in the list is a symbol, it will be expanded to\n@code{(guile-wm module @var{symbol})}. Lists are imported as-is.\n\n@lisp\n\n;; -*- scheme -*-\n;; File: $HOME/.guile-wm\n\n;; wm-modules: cursor root-keymap\n;; wm-modules: repl randr fullscreen\n;; wm-modules: menu message window-menu time simple-reparent\n;; wm-modules: simple-focus window-cycle (path-to another module)\n\n@end lisp\n\nModules listed in the comments are imported by @code{(guile-wm user)},\nthe module in which the configuration file runs. Some of these modules\ninclude a procedure that is to be run after the X server connection is\nestablished. Those procedures are called before the body of the\nconfiguration file is evaluated. @xref{Creating a WM Module}.\n\nIn addition to importing modules, this file can configure their\nbehavior according to the user's preferences. Of course, since this is\njust Scheme code, this file can also import modules from other sources\nand provide more elaborate extensions to the core WM behavior.\n\n@node Creating a WM Module\n@section Creating a WM Module\n\nSome user-facing modules in the window manager perform setup actions\nrequiring an open connection to the X server. These modules can\nregister themselves as observers to evaluate code once the X\nconnection has been opened.\n\n@deffn{Scheme Procedure} wm-init proc\n\nAdd @var{proc} to a list of procedures that will be called immediately\nafter the window manager connects to the X server. Inside of proc, the\nparameter @code{current-xcb-connection} exported by @code{(xcb xml)} will\nhave its value bound to the opened X connection.\n\nIf this procedure is called multiple times by a module, only the last\nregistered procedure will be used.\n@end deffn\n\n@node WM Hooks\n@section WM Hooks\n\nBecause of how the Guile XCB event loop is designed, normal Guile\nhooks do not work in Guile-WM. Consequently, it comes with a\nsubstitute Scheme-only interface found in @code{(guile-wm shared)}.\n\n@sc{Guile hooks DO NOT work in Guile-WM. You have been\nwarned!}\n\nThese procedures have the same behavior as their corresponding Guile\nhook procedures. @inforef{Hooks, Hooks, guile}.\n\n@deffn{Scheme Procedure} wm-hook-empty? hook\nSee hook-empty?\n@end deffn\n\n@deffn{Scheme Procedure} make-wm-hook [arity]\nSee make-hook\n@end deffn\n\n@deffn{Scheme Procedure} add-wm-hook! hook proc\nSee add-hook!\n@end deffn\n\n@deffn{Scheme Procedure} remove-wm-hook! hook proc\nSee remove-hook!\n@end deffn\n\n@deffn{Scheme Procedure} reset-wm-hook! hook\nSee reset-hook!\n@end deffn\n\n@deffn{Scheme Procedure} run-wm-hook hook . args\nSee run-hook\n@end deffn\n\n@node X11 Abstraction Layer\n@chapter X11 Abstraction Layer\n\nThese features don't affect the behavior of the window manager\ndirectly, but they provide a framework on top of the core X11 protocol\nfor the user-facing part of the package to use.\n\n@menu\n* Keyboard Input::               Reading keystrokes from the WM\n* Drawing::                      Graphical Contexts, Pixmaps, and Windows\n* Commands::                     Telling the WM what to do\n* Reparenting and Redirection::  Taking control of windows\n* Text::                         Displaying and editing text\n* Color::                        Using the colormap\n* Focus::                        Setting the focus\n* ICCCM::                        A little bit of support for the standard\n* Logging::                      Keeping a record\n@end menu\n\n@node Keyboard Input\n@section Keyboard Input\n\nGuile-WM provides two complementary interfaces for keyboard input:\nkeystroke listeners and keymaps. Keystroke listeners receive keyboard\ninput and convert it into symbols. Keymaps map keys to actions or\nother keymaps. They can be driven by keyboard input for various\npurposes: selecting user commands, editing a text buffer, and so on.\n\n@menu\n* Keystroke Listeners::      Listening to the keyboard\n* Keymaps::                  Binding keys to actions\n@end menu\n\n@node Keystroke Listeners\n@subsection Keystroke Listeners\n\nKeyboard input in X11 is somewhat complicated. First, X11 assigns a\nnumeric code to each key on the keyboard. Keycodes are dynamically\nmapped into a set of fixed numerical keysyms which correspond to all\nthe different possible keys the X11 designers could think of.\n\nThe benefit of this system is that users can use a program like\nxmodmap to change what keysyms the keycodes are mapped to. This lets\nusers do fun things like remap the caps lock key to make it an extra\ncontrol key and so forth.\n\nGuile-WM simplifies this process by providing an interface to X11\nkeyboard events with one procedure, found in @code{(guile-wm keystroke)}.\n\n@deffn{Scheme Procedure} keystroke-listen! win\nCreate a keystroke listener on window @var{win}. Returns a procedure\nthat can be called with zero arguments in order to yield control to\nthe event loop until a key is pressed on @var{win}. That key will then\nbe returned. If the procedure is called with @code{#f} as its\nargument, the listener will be canceled. If the procedure is called\nwith another, single-argument procedure as its argument, control will\nnot immediately be yielded to the event loop. Instead, the provided\nprocedure will be called when the key is pressed.\n\nThe procedure can be called any number of times while the listener is\nactive and will wait for a new keystroke each time. If the keyboard\nmapping changes while a keystroke listener is active, the listener will\nautomatically update itself.\n\nKeys returned by the procedure are symbols; alphabetic characters are\nin the format @code{a}, @code{b}, @code{c}, etc. Numbers and symbols\nuse words: @code{one}, @code{two}, @code{three}, @code{asterisk},\n@code{percent}, and so on. When a modifier is pressed down, it is\nprepended to the key: for control, the prefix is ``C-'' (@code{C-a},\n@code{C-one}, @code{C-up}, etc.), for meta, the prefix is ``M-''. If\nboth are pressed down, they are both prepended, with ``C-''\nfirst. (@code{C-M-a}, @code{C-M-one}, etc.).\n\nSee keystroke.scm for the full list of mappings.\n@end deffn\n\nIn other applications, the term ``keystroke'' often refers to the full\nkey-down/key-up cycle. In Guile-WM, listeners created by\n@code{keystroke-listen!} respond specifically to key-down events.\n\n@node Keymaps\n@subsection Keymaps\n\nKeymaps are a flexible tool for binding input to behavior. At their\ncore is a mapping from input values to procedures, referred to here as\nkey handlers. The procedures @code{keymap-lookup} and @code{do-keymap}\nare used to run keymaps.\n\nKeymap support is located in @code{(guile-wm keymap)}\n\n@deffn{Scheme Syntax} create-keymap mapping ...\nCreate a new keymap. Each @var{mapping} is a mapping from a key to a\nkey handler. There are four forms available for mappings.\n\nThe first two forms map a key to a procedure that takes the rest\narguments provided to @code{keymap-lookup}:\n\n@code{((k args ...) exp ...)}\n\nMaps key @var{k} to a handler consisting of expressions @var{exp}\n..., called with arguments @var{args}.\n\n@code{(k => proc)}\n\nMaps key @var{k} to handler @var{proc}.\n\nThe other two forms map a key to a procedure that takes the\n@code{key-provider} procedure as well as the rest arguments provided\nto @code{keymap-lookup}. This allows the handler to start a subsidiary\nkeymap that receives keys from the same source as the primary keymap.\n\n@code{(k ==> proc)}\n\nMaps key @var{k} to procedure @var{proc}.\n\n@code{((k ==> args) stmt ...)}\n\nMaps key @var{k} to a procedure with args @var{args} ... and body\n@var{stmt} ... .\n\nIn all four forms, @var{k} is evaluated inside of @code{quasiquote}, so\nan expression that evaluates to some literal can be provided if it is\nunquoted.\n\n@end deffn\n\n@deffn{Scheme Procedure} keymap-lookup keymap key-provider . args\nReads a key by calling thunk @var{key-provider} and returns another\nthunk to call the procedure the key is bound to, if one exists.\n\nThis procedure returns a thunk so that the caller can perform any\ndesired actions (hide a menu, signal something to the user, etc.)\nprior to actually invoking the keymap's behavior.\n\n@var{args} will be passed to the matched key handler.\n\nOrdinarily, @var{key-provider} returns key symbols, but that is not a\nrequirement. Keymaps can run on anything that can be differentiated by\n@code{eq?}.\n@end deffn\n\n@deffn{Scheme Procedure} do-keymap keymap key-provider . args\nCall @code{keymap-lookup} with the provided arguments and then\nimmediately evaluate the result.\n@end deffn\n\n@deffn{Scheme Syntax} define-keymap name mapping ...\nCreate a keymap with @var{mappings} and bind it to @var{name}.\n@end deffn\n\n@deffn{Scheme Syntax} define-keymap-once name mapping ...\nDefine a keymap that will not be redefined if the module it is in gets\nrecompiled.\n@end deffn\n\n@deffn{Scheme Procedure} bind-key! keymap key proc\nBind @var{key} to handler @var{proc} in @var{keymap}. @var{proc} will\nbe called with the rest arguments provided to @code{keymap-lookup} as\nits arguments.\n@end deffn\n\n@deffn{Scheme Procedure} bind-intermediate-key! keymap key proc\nBind @var{key} to handler @var{proc} in @var{keymap}. @var{proc} will\nbe called with the @var{key-provider} and rest arguments provided to\n@code{keymap-lookup} as its arguments.\n@end deffn\n\n@deffn{Scheme Procedure} unbind-key! keymap key\nDelete the binding for @var{key} in @var{keymap}.\n@end deffn\n\nBy default, keymaps produce an error when they receive an unbound\nkey. The following procedures modify that behavior:\n\n@deffn{Scheme Procedure} keymap-with-default keymap default\n\nReturn a new keymap with the same bindings as @var{keymap}, but with\nan additional default key handler, @var{default}, to call when a key is\nprovided for which there is no binding.\n\n@var{default} should take arguments (@var{key} @var{arg} ...), where\n@var{key} is the unbound key and @var{arg} ... are the rest arguments\nthat were passed to @code{keymap-lookup}.\n@end deffn\n\n@deffn{Scheme Procedure} keymap-ignore key . args\nIgnore the key and return the additional arguments as values,\nunchanged. This procedure can be used with @code{keymap-with-default}\nto create a keymap that ignores unknown keys.\n@end deffn\n\n@subsubsection Prompt Keymaps\n\nA common use case for a keymap is to run some kind of stateful\noperation, such as a text editing buffer or menu. These operations can\noften be modeled with a ``continue-cancel-confirm'' sequence. For\nexample, in a menu, pressing @code{up} or @code{down} moves the\nselection and continues the keymap. Pressing @code{escape} will cancel\nthe keymap, and pressing @code{enter} confirms it.\n\nSince this model occurs frequently, Guile-WM includes special\nprocedures and syntax for creating and running ``prompt'' keymaps.\nThese keymaps run in a tail-recursive loop, taking the output from one\niteration and passing it in as the input to the next iteration. A\nstate variable (@code{continue}, @code{confirm}, or @code{cancel}) is\npassed along transparently.\n\n@deffn{Scheme Syntax} create-prompt-keymap mapping ...\n\nCreate a prompt keymap with mappings @var{mapping} ... .  In addition\nto the mappings specified, @code{escape} and @code{C-g} will\nautomatically be bound to @code{cancel-keymap}, and @code{return} will\nbe bound to @code{confirm-keymap}.\n\nSyntax for mappings remains the same as in\n@code{create-keymap}. However, handlers bound using @code{==>} now\nmust accept one additional argument that provides the state of the\nkeymap after @code{key-provider} and before the other arguments.\n\nBecause these keymaps are stateful, handlers must return the values\nthat will be passed back into the keymap on its next iteration.  For\nexample, in a text buffer editor, a handler will receive arguments\ndescribing the state of the text editor, and should return a set of\nvalues of the same length describing the state of the text editor\nafter the operation corresponding to the key pressed has been\nperformed.\n\nHandlers bound with @code{==>} must return the state variable before\nthe other values, but do not need to return @code{key-provider}.  The\nstate returned should be one of the symbols @code{cancel},\n@code{confirm}, or @code{continue}.\n\nIn summary, a handler bound with @code{==>} is called and returns\nvalues in this manner:\n\n@samp{(handler keymap-lookup state arg ...) -> (values new-state new-arg ...)} \n\nOther handlers are called like this:\n\n@samp{(handler arg ...) -> (values new-arg ...)}\n\nThese handlers automatically have @code{continue} appended to their\nreturn values.\n@end deffn\n\nNote that @code{bind-key!} and @code{bind-intermediate-key!} can be\nused with prompt keymaps, but they must explicitly include the state\nargument in their list of arguments.\n\n@deffn{Scheme Syntax} define-prompt-keymap name mapping ...\nCreate a prompt keymap with name @var{name} and mappings @var{mapping} ... .\n@end deffn\n\n@deffn{Scheme Procedure} do-prompt-keymap keymap get-key on-continue on-cancel . args\n\nRun prompt keymap @var{keymap} with initial arguments @var{args} by\ngetting keys using @var{get-key}. When a handler returns\n@code{(values 'continue ...)}, @var{on-continue} will be called with the other\nvalues returned by the handler as its arguments. The keymap will then\nrun again, with those values as its new arguments.\n\nWhen a handler returns @code{(values 'cancel ...)}, @var{on-cancel}\nwill be called with the other values returned by the handler as its\narguments. Likewise, when @code{(values 'confirm ...)} is returned,\n@var{on-confirm} is called before the keymap ends. In both cases, the\nkeymap will then terminate.\n@end deffn\n\n@deffn{Scheme Procedure} prompt-keymap-with-default keymap default\nReturns a new keymap copied from @var{keymap} with @var{default} as\nthe handler for unknown keys. @var{default} should take the unknown\nkey as an argument and then the other arguments, and will\nautomatically continue the keymap.\n@end deffn\n\n@deffn{Scheme Procedure} cancel-keymap state . args\nCancel the prompt keymap by returning @code{(values 'cancel args ...)}\n@end deffn\n\n@deffn{Scheme Procedure} confirm-keymap state . args\nConfirm the prompt keymap by returning @code{(values 'confirm args ...)}\n@end deffn\n\n@deffn{Scheme Procedure} continue-keymap state . args\nContinue the prompt keymap by returning @code{(values 'continue args ...)}\n@end deffn\n\nThese keymaps are complicated to explain, but simple to use. Here is a\nsimple keymap and binding in the root keymap to prompt the user to\nselect a number from zero to one hundred:\n\n@lisp\n(use-modules (guile-wm keymap))\n(use-wm-modules root-keymap message)\n\n\n(define-prompt-keymap number-adjust-keymap\n  ((less-than quantity) (max 0 (- quantity 5))) ;; state hidden syntax\n  ((greater-than ==> get-key state quantity) ;; ==> syntax\n    (values 'continue (min 100 (+ quantity 5)))))\n\n(bind-intermediate-key!\n root-keymap 'N\n (lambda (get-key)\n   (do-prompt-keymap\n    number-adjust-keymap get-key\n    (lambda (n) (message (format #f \"Number: ~a\" n)))\n    (lambda (n) (message (format #f \"Confirmed: ~a\" n)))\n    (lambda (n) (message \"Canceled\"))\n    50)))\n@end lisp\n\n@node Drawing\n@section Drawing\n\nOften, when performing basic graphical tasks with an X server, it is\nnecessary to ask the X server to create a server-side data structure\nand then to delete it when the structure is no longer needed.\n\nGuile-WM provides some syntax in @code{(guile-wm draw)} to handle the\ncreate/destroy action transparently.\n\n@deffn{Scheme Syntax} with-gc (gc drawable prop ...) stmt stmt* ...\nHave the X server create a graphical context by passing drawable\n@var{drawable} and a keyword list of properties @var{prop} ... in a\n@code{make-gc} request. Evaluate @var{stmt} @var{stmt*} ... with @var{gc}\nbound to the XID of the newly created graphical context. Request that\nthe X server destroy the graphical context when it goes out of scope.\n@end deffn\n\n@deffn{Scheme Syntax} with-font (name font) stmt stmt* ...\nHave the X server create a font by passing font string @var{font} in\nan @code{open-font} request. Evaluate @var{stmt} @var{stmt*} ... with\n@var{font} bound to the XID of the newly created font. Request that\nthe X server destroy the font when it goes out of scope.\n@end deffn\n\n@deffn{Scheme Syntax} with-pixmap (pixmap win color width height) stmt stmt* ...\nHave the X server create a pixmap by passing window @var{win}, pixel\ninteger @var{color}, integer @var{width}, and integer @var{height}\nin a @code{create-pixmap} request. Evaluate @var{stmt} @var{stmt*} ... with\n@var{pixmap} bound to the XID of the newly created pixmap. Request\nthat the X server destroy the pixmap when it goes out of scope.\n@end deffn\n\nThis module also includes some simple methods for creating windows:\n\n@deffn{Scheme Procedure} basic-window-create x y width height border [events]\nCreate an unmapped window with dimensions (@var{x}, @var{y}), size\n(@var{width}, @var{height}) and border width\n@var{border}. @var{events} is an optional list of symbols from the\nxenum @code{event-mask} in @code{(xcb xml xproto)} to use as the\nwindow's event mask. By default it consists of @code{key-press},\n@code{structure-notify}, and @code{exposure}.\n@end deffn\n\n@deffn{Scheme Procedure} fixed-window-create x y width height border [events] [#:focused?=#t]\nCreate an unmapped window with dimensions (@var{x}, @var{y}), size\n(@var{width}, @var{height}) and border width\n@var{border}. @var{events} is an optional list of symbols from the\nxenum @code{event-mask} in @code{(xml xcb xproto)} to use as the\nwindow's event mask. By default it consists of @code{key-press},\n@code{structure-notify}, and @code{exposure}.\n\nEvent listeners will be created so that this window will automatically\nrecirculate to always be on top, and if @var{focused?} is true, it\nwill always grab the keyboard input when visible.\n\nUse this procedure to create window manager overlays such as the\nmessage display, minibuffer, or menu.\n@end deffn\n\n@deffn{Scheme Procedure} fixed-window? win\nReturns @code{#t} if XID @var{win} refers to a fixed window.\n@end deffn\n@node Commands\n@section Commands\n\nGuile-WM provides users with a simple command execution\nfacility. Internally, these commands are evaluated using a small\ncustomized language that executes a Scheme procedures with the same\nname. As a result, commands can be used both interactively and in\ncode. For example, the command @code{shell-command xterm} will be\nevaluated as @code{(shell-command \"xterm\")}.\n\nCommands save the user the trouble of writing out a full Scheme\nexpression for every simple task he or she wants to perform. Guile-WM\nprovides a minibuffer and a root keymap that can be used to enter and\nselect commands. @xref{Minibuffer}, or @ref{Root Keymap}.\n\nThe following definitions are found in @code{(guile-wm command)}:\n\n@deffn{Scheme Syntax} define-command (name (arg type) ...) stmt ...\n@deffnx{Scheme Syntax} define-command (name arg type) stmt ...\nDefine a new command named @var{name}. It creates and exports a\nprocedure with arguments @var{arg} ... and body @var{stmt} ...;\n@var{type} for each @var{arg} should be one of the following:\n@code{#:number}, @code{#:string}, or @code{#:symbol}. In the command\nlanguage, no quoting is needed. Instead, the language parses and\nquotes arguments based on what type is specified for them.\n\nThe second version creates a command that accepts any number of\narguments of type @var{type}.\n\n@end deffn\n\n@deffn{Scheme Procedure} run-command cmd [arg-missing-proc]\nRuns the given string @var{cmd} as a command. If the string doesn't\ninclude enough arguments, @var{arg-missing-proc} is called to supply\nadditional arguments. It takes arguments @var{name} and @var{type},\nthe name and type of the required argument. Possible types are\n@code{#:string}, @code{#:symbol}, and\n@code{#:number}. @var{arg-missing-proc} may return a number, symbol,\nor string which will be coerced to the correct type.\n@end deffn\n\nSome syntax is also provided to bind keys to commands. @xref{Keymaps}.\n\n@deffn{Scheme Syntax} bind-key-commands keymap (key command) ...\n@deffnx{Scheme Syntax} bind-key-commands keymap arg-missing (key command) ...\nBind @var{key} to command string @var{command} in @var{keymap}.\n\nIn the second form, @var{arg-missing} is a procedure to call to supply\narguments that are missing from the command string, as with\n@code{run-command}.\n@end deffn\n\nThe docstring for a commands procedure can be accessed using the\nprocedure @code{command-documentation}:\n\n@deffn{Scheme Procedure} command-documentation command\nReturn the docstring for the procedure associated with symbol\n@var{command}.\n@end deffn\n\nSome basic commands are provided by default:\n\n@deffn{Command} quit\nQuit the window manager and close the connection to the X\nserver. Replaces the core binding of the same name.\n@end deffn\n\n@deffn{Command} shell-command commands #:string\nConcatenate @var{commands} into a single string and execute the result\nin a detached process.\n@end deffn\n\n@deffn{Command} shell-command-output commands #:string\nConcatenate @var{commands} into a single string and execute the result\nin a process; wait for the command to terminate and return a string\ncontaining its output.\n@end deffn\n\n@deffn{Command} wm-eval (exp #:string)\nEvaluate S-expression @var{exp} in the window manager's current\n environment.\n@end deffn\n\n@node Reparenting and Redirection\n@section Reparenting and Redirection\n\nReparenting and redirection are two common X11 window manager\nbehaviors. When redirecting, window managers can rewrite or ignore\ncertain X requests that applications make to ensure that their windows\nfollow the window management rules that are in place. These requests\ninclude mapping windows to the root window, changing their size and\nposition, and placing them above or below other windows.\n\nWhen window managers redirect map requests, they often add the step of\nreparenting the X window inside of another window which the window\nmanager owns and keeps track of. These parent windows can contain\nwindow decoration, icons, titlebars, and so on.\n\nGuile-WM provides support for redirecting requests and reparenting\nwindows in modules @code{(guile-wm redirect)} and @code{(guile-wm\nreparent)}, respectively.\n\n@deffn{Scheme Procedure} wm-reparent-window child parent x y\nReparent @var{child} inside of @var{parent} at coordinates (@var{x},\n@var{y}), and set up event handlers to manage the life-cycle of the\nparent window.\n@end deffn\n\n@deffn{Scheme Procedure} begin-redirect! on-map on-configure on-circulate\nBegin redirecting @code{map-request}, @code{configure-request}, and\n@code{circulate-request} events on the root window so that\n@code{map-request} events are passed to @var{on-map},\n@code{configure-request} events to @var{on-configure}, and\n@code{circulate-request} to @var{on-circulate}.\n@end deffn\n\n@deffn{Scheme Procedure} end-redirect!\nStop redirecting requests on the root window.\n@end deffn\n\nGuile-WM can be configured to automatically reparent new windows with\nthe following method:\n\n@deffn{Scheme Procedure} begin-reparent-redirect! create-parent\n              child-x child-y allow-configure? allow-circulate?\n\nBegin redirecting client map, configure, and circulate requests. When\na map request for a new window arrives from another application, a\nparent window is created by calling thunk @var{create-parent}. The\nchild window is reparented inside the parent at coordinates\n(@var{child-x}, @var{child-y}).\n\n @var{allow-configure?}  and @var{allow-circulate?} specify whether\nconfigure and circulate requests made by the child window's\napplication should sent to the X server or ignored. Ignored requests\ncan still be handled by procedures added to\n@code{configure-request-hook} and @code{circulate-request-hook}.\n@end deffn\n\nThe following hooks are run when requests come from client windows:\n\n@deffn{WM Hook} after-reparent-hook\nCalled after a child window has been reparented inside a parent and\nmapped. If this hooks is empty, the parent window will be mapped\nautomatically and the child window will be given the focus. Its two\narguments are the XID of the child window and the XID of the parent\nwindow.\n@end deffn\n\n@deffn{WM Hook} unmap-notify-hook\nCalled when another application unmaps a reparented window. If this\nhook is empty, the parent window will be unmapped. Its two arguments\nare the unmap-notify event, and the XID of the parent window.\n@end deffn\n\n@deffn{WM Hook} configure-request-hook\nCalled when a configure request is received. The request is its\nsingle argument.\n@end deffn\n\n@deffn{WM Hook} circulate-request-hook\nCalled when a circulate request is received. The request is its\nsingle argument.\n@end deffn\n\n@node Text\n@section Text\n\nGuile-WM provides an interface for rendering text in an X window, as\nwell as an interface for editing the contents of a text buffer.\n\n@menu\n* Displaying Text::\n* Editing Text::\n@end menu\n\n@node Displaying Text\n@subsection Displaying Text\n\nGuile-WM renders text using the core X11 protocol's support for simple\nbitmapped fonts. Being able to use TTF and OTF fonts would be much\nbetter, but the infrastructure for doing so is built on top of the\nxlib and/or xcb X client libraries, and Guile-XCB (despite it's name)\ndoesn't inter-operate with either of those at the moment. Nor does it\nhave its own font rendering library. Hopefully this situation will be\nrectified eventually.\n\nText display functions are in @code{(guile-wm text)}:\n\n@deffn{Scheme Procedure} put-text text win fg bg font-string\nRender escaped text string @var{text} in X window @var{win}, which is\nresized to fit the text with two pixels of padding all\naround. @var{fg} is the desired foreground color, and @var{bg} is the\nbackground color. @var{font-string} should be a font string following\nthe core X11 font specification format.\n@end deffn\n\nText strings passed to @code{put-text} can contain some simple escape\nsequences to change color inline or insert newlines. These escapes are\ns-expressions prefixed by the symbol @code{^}. For example, to invert\nthe foreground and background colors between the words ``this'' and\n``house'' in the phrase ``this house'', the string should read\n@code{\"this ^(invert)house\"}. To insert a single @code{^}, include two\ncarats in a row like this: @code{^^}. This method is a bit verbose,\nbut it is a lot more readable than the inscrutable escape sequences\nused in terminal emulators.\n\n@deffn{Text Escape} invert\nOutput the remainder of the text with the foreground and background\ncolors reversed.\n@end deffn\n\n@deffn{Text Escape} color fg [bg]\nOutput the remainder of the text with the foreground color set to\n@var{fg} and the background color set to @var{bg}, if it is provided.\n@end deffn\n\n@deffn{Text Escape} start-new-line\nBegin a new line in the displayed text. This escape can also be\naccomplished by simply placing an actual newline in the string.\n@end deffn\n\n@node Editing Text\n@subsection Editing Text\n\nThe module @code{(guile-wm text-edit)} exports a number of procedures\nthat can be used to edit a text buffer. These procedures all use a\nrecord type called @code{text-edit-data}, which has two fields---the\ntext stored in the buffer, the location of the cursor or point in the\nbuffer.\n\nThe text is stored in a vlist of strings, with each string\nrepresenting one line. @inforef{Vlists,\nVlists, guile}.\n\nPoint is a pair of integers, @code{(x . y)}, where x is the column of\npoint and y is the row.\n\nText editor state is an @emph{immutable} data structure---procedures\nthat set its properties actually return a new copy of the data\nstructure with the old property value replaced by the new\none. @inforef{SRFI-9 Records, Functional ``Setters'', guile}.\n\n@deffn{Scheme Procedure} make-text-edit-data point text\nCreate a new text edit data structure with point @var{point} and text\nbuffer @var{text}.\n@end deffn\n\n@deffn{Scheme Procedure} empty-text-edit-data\nCreate a new text edit data structure with an empty buffer and point\nat (0, 0).\n@end deffn\n\n@deffn{Scheme Procedure} data-text\n@deffnx{Scheme Procedure} set-data-text\nGetter and functional setter for the text edit data's text buffer\n@end deffn\n\n@deffn{Scheme Procedure} data-point\n@deffnx{Scheme Procedure} set-data-point\nGetter and functional setter for the text edit data's point\n@end deffn\n\nThe following procedures perform transformations on instances of text\nedit data. As with the record type itself, the text buffer is\nconsidered immutable and all operations return new values.\n\n@deffn{Scheme Procedure} point-start data\nMove point to the start of the current line\n@end deffn\n\n@deffn{Scheme Procedure} point-end data\nMove point to the end of the current line\n@end deffn\n\n@deffn{Scheme Procedure} point-left data\nMove point one column to the left, or to the end of the preceding row\nif it is already all the way to the left. Point will not move if it is\nalready at the start of the first row\n@end deffn\n\n@deffn{Scheme Procedure} point-right data\nMove point one column to the right, or to the start of the following row\nif it is already all the way to the right. Point will not move if it is\nalready at the end of the last row\n@end deffn\n\n@deffn{Scheme Procedure} point-insert data str\nInsert string @var{str} at the current point and move point to the end\nof the newly inserted string.\n@end deffn\n\n@deffn{Scheme Procedure} delete-backwards data\nDelete the character preceding point and move point back one\ncharacter. If point is at the beginning of a line, delete the\npreceding newline and combine the current line with the preceding\nline. Do nothing if point is at the beginning of the text.\n@end deffn\n\n@deffn{Scheme Procedure} delete-forwards data\nDelete the character at point. If point is at the end of a line,\ndelete the newline and merge the current line with the next line. Do\nnothing if point is at the end of the text.\n@end deffn\n\n@deffn{Scheme Procedure} kill-to-end-of-line data\nDelete text from point's location to the end of the current line\n@end deffn\n\n@deffn{Scheme Procedure} insert-newline data\nInsert a newline at point\n@end deffn\n\n@deffn{Scheme Procedure} point-forwards-word data\nMove point forward past one word to the next word separator character,\nor to the end of the text if no such character is found.\n@end deffn\n\n@deffn{Scheme Procedure} point-backwards-word data\nMove point backwards past one word to the preceding word separator\ncharacter, or to the beginning of the text if no such character is found.\n@end deffn\n\n@deffn{Scheme Procedure} delete-forwards-word data\nDelete text and move point forward past one word to the next word\nseparator character, or to the end of the text if no such character is\nfound.\n@end deffn\n\n@deffn{Scheme Procedure} delete-backwards-word data\nDelete text and move point backward past one word to the preceding\nword separator character, or to the beginning of the text if no such\ncharacter is found.\n@end deffn\n\n@deffn{Scheme Procedure} point-up data\nMove point up one row if it is not already in the first row. Preserve\nits column if the new row is wide enough, otherwise move it to the end\nof the new row.\n@end deffn\n\n@deffn{Scheme Procedure} point-down data\nMove point down one row if it is not already in the last row. Preserve\nits column if the new row is wide enough, otherwise move it to the end\nof the new row.\n@end deffn\n\nAdditional text modifier procedures can be defined using helper syntax\nthat destructures the text edit data, passes its properties as\narguments to a procedure, and then constructs and returns new text\nedit data from the values returned by that procedure.\n\n@deffn{Scheme Syntax} define-text-modifier (name text point-x point-y other ...) stmt ...\n\nDefine procedure @var{name}, which takes a record of type\n@code{text-edit-data} as an argument along with arguments @var{other}\n... . The text, point column, and point row of that record are passed\nalong with @var{args} ... as arguments @var{text}, @var{point-x}, and\n@var{point-y} and @var{args} ... to a procedure with body @var{stmt\n...} . This procedure must return three values: the new text, the new\npoint column, and the new point row. Those values are combined into\na new record of type @code{text-edit-data}, which is then returned.\n@end deffn\n\nThis syntax is simply a means of eliminating getter/setter\nboilerplate, and is quite simple to use in practice. See text-edit.scm\nfor examples.\n\n@node Color\n@section Color\n\nX11 was designed when the number of colors available at any one time\non a system was often very limited. As a result, it associates a\n``colormap'' with each screen; the colormap maps integer values\n(``pixels,'' in X11 terms) to colors, and it is possible to swap\ncolormaps so that multiple set of colors can be made\navailable. However, colormaps now can have a large depth, normally 24\nbits at the very least, and swapping colormaps is more or less\nobsolete.\n\nThat is all a long way of saying that when creating its own windows,\nGuile-WM makes the bold assumption that the system it's running on\nsupports 24 bit color depth and lets the user worry about colormaps if\nnecessary. @xref{Drawing}. @code{(guile-wm color)} provides a\nprocedure to convert a color name into the appropriate pixel for the\ngiven colormap.\n\n@deffn{Scheme Procedure} pixel-for-color cmap color\nLook up and return a pixel value for the given color name @var{color}\nin colormap @var{cmap}. @var{color} should be a symbol corresponding\nto one of X11s built-in colors, following the usual Scheme naming\nconventions (all lowercase, words dash-separated).\n@end deffn\n\n@node Focus\n@section Focus\n\nIn X11, the window with the focus is the one that normally gets\nkeyboard events. Rather than sending a @code{set-input-focus} request\ndirectly to the server, modules in Guile-WM should call the procedure\n@code{set-focus} in module @code{(guile-wm focus)}, which handles some\ninternal housekeeping and runs a hook so that other parts of the\nwindow manager can update as necessary.\n\n@deffn{Scheme Procedure} set-focus new-focus\nGive the X input focus to window @var{new-focus}. Run the\n@code{focus-change} hook with arguments @var{old-focus} and\n@var{new-focus}.  @var{old-focus} is the window (or value from the\nxenum @code{input-focus}) that X reported as having the focus before\nthe focus change request. @var{old-focus} may or may not be equal to\n@code{current focus}. Finally, update @code{current-focus} and bring\n@var{new-focus} to the front.\n@end deffn\n\n@deffn{WM Hook} focus-change\nA two-argument hook that is run when @code{set-focus} is called.\n@end deffn\n\n@deffn{Scheme Variable} current-focus\nThe window that currently holds the X input focus, according to the\nwindow manager. Sometimes a module might briefly unmap and then remap\nthe focused window, which can cause X to report that no window at all\nhas the focus.\n@end deffn\n\n@node ICCCM\n@section ICCCM\n\nThe X11 core protocol provides some facilities for windowed\napplications to interact with one another---X clients can redirect\nrequests and grab keyboard and mouse input, and windows have readable\nproperties. But it doesn't specify how applications are supposed to\ncoordinate the use of these features.\n\nThe Inter-Client Communication Conventions Manual\n(@uref{http://www.x.org/releases/X11R7.6/doc/xorg-docs/specs/ICCCM/icccm.html})\nis a detailed standard adopted by the X Consortium to provide some of\nthese guidelines.  It specifies a mechanism for storing data in\nselection and cut buffers for other X clients to see, rules for how\nclient applications should use shared resources, and guidance on how\nwindow managers and other client applications should interact with one\nanother and respond to changes in the X server's state.\n\nGuile-WM implements a small part of this standard in @code{(guile-wm\nicccm)}, mostly having to do with reading client window\nproperties. These properties are mapped to X11 ``atoms,'' which are\nunique symbols stored on the server side and referred to by X resource\nIDs (XIDs). Many atoms commonly used by ICCCM-compliant applications\nare automatically defined by the X server and given pre-determined\nXIDs.\n\n@deffn{Scheme Procedure} pre-defined-atom sym\nReturn the XID for the pre-defined atom with name @var{sym}. A list of\npre-defined atoms can been viewed by evaluating the variable\n@code{atom}, defined in @code{(xcb xml xproto)}, at the repl.\n@end deffn\n\n@deffn{Scheme Procedure} request-window-property win atom\nSend a request to the X server for the property of window @var{win}\nwith name @var{atom}. @var{win} and @var{atom} should both be XIDs.\nReturns a cookie that can be used with @code{solicit} to block for the\nserver's response.\n@end deffn\n\n@deffn{Scheme Procedure} get-window-property win atom\nSend a request to the X server for the property of window @var{win}\nwith name @var{atom} and block for the response. @var{win} and\n@var{atom} should both be XIDs.\n@end deffn\n\n@deffn{Scheme Property} window-property-value get-property-reply\nReturns the @code{value} property of the X reply\n@var{get-property-reply}.\n@end deffn\n\n@deffn{Scheme Procedure} window-property-type get-property-reply\nReturns the @code{type} property of the X reply\n@var{get-property-reply}; it will be the XID of an atom.\n@end deffn\n\n@deffn{Scheme Procedure} window-attributes wins\nMake a @code{get-window-attributes} request for all windows in list\n@var{wins}, and return the results in a list.\n@end deffn\n\n@deffn{Scheme Procedure} window-names wins\nRequest the @code{WM_NAME} property for each window in list @var{wins}\nand return a list of the returned properties' values.\n@end deffn\n\n@deffn{Scheme Procedure} top-level-windows\nReturn a list of windows that are considered ``top level'' according\nto ICCCM's definition of the term. (@code{map-state} is @code{viewable} and\n@code{override-redirect} is @code{#f})\n@end deffn\n\n@deffn{Scheme Procedure} window-size-hints win\nReturn the window's @code{WM_NORMAL_HINTS} property value. The\nresult is an xcb structure which can be used in calls to @code{xref}\nand @code{xset!}. See the ICCCM standard for a list of its fields.\n@end deffn\n\n@deffn{Scheme Procedure} window-wm-hints win\nReturn the window's @code{WM_HINTS} property value. The result is an\nxcb structure which can be used in calls to @code{xref} and\n@code{xset!}. See the ICCCM standard for a list of its fields.\n@end deffn\n\nSome client applications expect the window manager to keep track of\ntheir state. See the ICCCM standard for more details.\n\n@deffn{Scheme Procedure} window-state win\nReturn the value of the @code{state} field in the window's\n@code{WM_STATE} property.\n@end deffn\n\n@deffn{Scheme Procedure} set-window-state! win state\nSet the value of the @code{state} field in the window's\n@code{WM_STATE} to @var{state}.\n@end deffn\n\nWindow states are just integers, but some variables are defined to\ngive them easily-identified names:\n\n@deffn{Scheme Variable} window-state-normal\nValue for the normal window state (@code{1}).\n@end deffn\n\n@deffn{Scheme Variable} window-state-withdrawn\nValue for the withdrawn window state (@code{0}).\n@end deffn\n\n@deffn{Scheme Variable} window-state-iconic\nValue for the iconic window state (@code{3}).\n@end deffn\n\nOther structured properties can be specified by the user and retrieved\nwith the following procedure:\n\n@deffn{Scheme Procedure} window-struct-property win struct atom\nReturn the property of window @var{win} associated with atom\n@var{atom}, with structure specified by XCB struct @var{struct}.\n@end deffn\n@node Logging\n@section Logging\n\nGuile-WM writes to a log file as it runs. The output from any\napplication that is opened by Guile-WM is also written to the log\nfile.\n\nThe procedure for adding a time-stamped log entry is found in @code{(guile-wm\nlog)}.\n\n@deffn{Scheme Procedure} log! message\nWrite @var{message} to a new line in the logfile, preceded by a time-stamp.\n@end deffn\n\nThe location of the log file can be specified by the command line\nargument @code{--log-file} or the switch @code{-l}. By default, it is\n@code{/tmp/guile-wm.log}.\n\n@node User-Facing Modules\n@chapter User-Facing Modules\n\nThe modules documented in this chapter can be listed in the user\nconfiguration file to add to or modify the window manager's behavior.\n\nGenerally speaking, these modules' features combine without\ninterfering with one another. A WM module can include another WM\nmodule using the usual @code{#:use-module} or @code{(use-modules ...)}\nsyntax without registering the included module to initialize when the\nwindow manager starts. For example, the @code{tiling} module takes\nadvantage of information available about multiple displays by\nimporting @code{(guile-wm module randr)}, but the user still has the\nchoice to enable or not enable randr in the configuration file.\n\nIf one module does require that another module or modules be initialized,\nit should import them with the syntax @code{use-wm-modules}.\n\n@deffn{Scheme Syntax} use-wm-modules m ...\nImport the modules @var{m} ... and register them to initialize when\nGuile-WM connects to the X server. If an item in @var{m} ... is a\nsymbol instead of a list, it is expanded into @code{(guile-wm module\n@var{m})}.\n@end deffn\n\n@menu\n* Cursor::\n* Fullscreen::\n* Generic Menu::\n* Help::\n* Message::\n* Minibuffer::\n* Randr::\n* Repl::\n* Root Keymap::\n* Simple Focus::\n* Simple Reparenting::\n* Tiling::\n* Magnetic::\n* Time::\n* Tinywm::\n* Window Cycling::\n* Window Menu::\n@end menu\n\n@node Cursor\n@section Cursor\n\nModule @code{cursor} allows the user to create cursors using X11's\nstandard cursor font and to set which cursor is visible on the root\nwindow.\n\n\n@deffn{Scheme Variable} x-cursors\nThis alist associates a symbol with each glyph in X11's cursor font.\n@end deffn\n\n@deffn{Scheme Procedure} make-cursor glyph\nRequest that the X server create a cursor from the X11 cursor glyph\nassociated with symbol @var{glyph} in @code{x-cursors}. Returns the\nXID associate with the new cursor.\n@end deffn\n\n@deffn{Command} set-cursor! (cursor #:symbol)\nSet the cursor to the X11 cursor glyph associated with the symbol\n@var{cursor} in @code{x-cursors}.\n@end deffn\n\n@node Fullscreen\n@section Fullscreen\n\nModule @code{fullscreen} provides a command to make windows fill the\nscreen.\n\n@deffn{Command} fullscreen\nResize the focused window to take up the whole screen (or output, if\n@code{randr} is enabled).\n@end deffn\n\n@node Magnetic\n@section Magnetic\n\nThis module combines the behavior of modules @code{tiling} and\n@code{tinywm}. @xref{Tiling}. @xref{Tinywm}. After a window is dragged\ninto a new tile, it is automatically moved and resized to fill the\nwhole tile.\n\n@node Generic Menu\n@section Generic Menu\n\nModule @code{menu} is used to create menus. Specific menus are\nspecified in other modules.\n\n@deffn{Keymap} menu-keymap\nThis prompt keymap contains the bindings in use for navigating menus\n@end deffn\n\nThese are the procedures that are bound by default to the menu keymap:\n\n@deffn{Scheme Procedure} menu-point-down state row-count row\nMove the menu's selection down. Bound to @code{C-n} and @code{down}.\n@end deffn\n\n@deffn{Scheme Procedure} menu-point-up state row-count row\nMove the menu's selection up. Bound to @code{C-p} and @code{up}.\n@end deffn\n\n@deffn{Scheme Procedure} menu-circulate state row-count row\nMove the menu's selection down, or to the top if it is already at the\nbottom. Bound to @var{tab}.\n@end deffn\n\n@deffn{Scheme Procedure} menu prompt choice-alist action [default]\nDisplay a menu and allow the user to select an item from\nit. @var{prompt} is the message displayed above the menu\nitems. @var{choice-alist} is an associative list; the car of each item\nshould be the text to display in the menu, and the cdr is the value\nthat goes with it.\n\n@var{action} is a one-argument procedure that will be called with the\nchosen value if the menu is not canceled. If provided, @var{default}\nwill be passed to @var{action} if the keymap is canceled.\n@end deffn\n\n@deffn{Scheme Variable} menu-font\nAn X11 font string that specifies the font used to display the menu\n@end deffn\n\n@node Help\n@section Help\n\n@code{help} provides commands that allow the user to browse the\ndocumentation.\n\n@deffn{Command} help\nList all the commands and show documentation for the one selected by\nthe user\n@end deffn\n\n@deffn{Command} document\nDisplay arguments, their types, and the docstring for command CMD\n@end deffn\n\n@node Message\n@section Message\n\n@code{message} adds the ability to display messages to the user.\n\n@deffn{Command} message (msg #:string)\nDisplay @var{msg} in the upper right hand corner of the screen. It\nwill disappear after eight seconds.\n@end deffn\n\n@deffn{Command} message-with-timeout (msg #:string) (timeout #:number)\nDisplay @var{msg} in the upper right hand corner of the screen for\n@var{timeout} seconds.\n@end deffn\n\n@deffn{Command} sticky-message msg #:string\nDisplay @var{msg} in the upper right hand corner of the screen until\nthe message window is hidden or a new message is displayed\n@end deffn\n\n@deffn{Command} hide-message\nHide the message window\n@end deffn\n\n@deffn{Scheme Variable} message-font\nAn X11 font string that specifies the font used to display messages\n@end deffn\n\n@node Minibuffer\n@section Minibuffer\n\n@code{minibuffer} provides a window that can appear in the upper\nleft-hand corner of the screen, prompt for input, and then perform\nsome action on the input.\n\n@deffn{Keymap} minibuffer-keymap\nThis prompt keymap contains the bindings in use for editing text in\nthe minibuffer.\n@end deffn\n\nThe minibuffer keymap's keys are bound to procedures from\n@code{(guile-wm text-edit)}. @xref{Editing Text, Editing Text}.\n\n@deffn{Scheme Procedure} minibuffer prompt [action]\nDisplay a minibuffer with prompt @var{prompt}. If @var{action} is\nspecified, call it with the text entered by the user as an argument\nand return the result. Otherwise, return the text. If the minibuffer\nis canceled, the return value is unspecified.\n@end deffn\n\n@deffn{Scheme Variable} minibuffer-font\nAn X11 font string that specifies the font used to display the minibuffer\n@end deffn\n\nThe minibuffer can be used to prompt for missing command\narguments. @xref{Commands}.\n\n@deffn{Scheme Procedure} prompt-for-additional-arg arg-name type\nPrompt for a command argument with name @var{arg-name} and type\n@var{type}, and return it. This procedure can be passed as the\nargument @var{arg-missing-proc} in a call to @code{run-command}.\n@end deffn\n\n@code{minibuffer} also exports some commands that use the minibuffer:\n\n@deffn{Command} prompt-for-eval\nPrompt for a Guile scheme expression, evaluate it, and display the\nresult.\n@end deffn\n\n@deffn{Command} prompt-for-command\nPrompt for a Guile-WM command and run it.\n@end deffn\n\n@deffn{Command} prompt-for-shell-command\nPrompt for a shell command and run it.\n@end deffn\n\n@node Randr\n@section Randr\n\nRandr is the X extension that keeps track of screen resources such as\nmultiple monitors, logical screens, and so on. Guile-WM keeps track of\ndata provided by Randr in the @code{randr} module.\n\nOnce the module is initialized, it will automatically update its\ndatabase whenever the screen configuration is changed. Any other\nmodule that relies on this information should add a procedure to the\nscreen change hook.\n\n@deffn{WM Hook} screen-change-hook\nThis zero-argument hook is run whenever the screen configuration changes.\n@end deffn\n\n@deffn{Scheme Procedure} get-output-dimensions\nReturns a list of alists, each one corresponding to an active randr\noutput. The alists each have four keys---@code{x}, @code{y},\n@code{height}, and @code{width}.\n@end deffn\n\n@deffn{Scheme Procedure} screen-dimensions\nReturns a pair of numbers (@var{x} . @var{y})) with the screen\ndimensions detected by randr. Returns @code{#f} if randr is not\nenabled.\n@end deffn\n\n@deffn{Scheme Parameter} screen-info\nThe reply from the X server to the last @code{get-screen-info} request.\n@end deffn\n\n@deffn{Command} set-resolution! (output #:string) (width #:number) (height #:number)\nSet the resolution of randr output @var{output} to (@var{width}, @var{height}).\n@end deffn\n\n@deffn{Command} set-offset! (output #:string) (x #:number) (y #:number)\nSet the offset of randr output @var{output} to (@var{x}, @var{y}).\n@end deffn\n\n@deffn{Command} disable-screen! (output #:string)\nDisable randr output @var{output}.\n@end deffn\n\n@deffn{Command} rotate-screen! (output #:string) (rotation #:symbol)\n\nSet the rotation of randr output @var{output} to @var{rotation}, which\ncan be any one of the following symbols:\n\n@code{rotate-0}, @code{reflect-x}, @code{reflect-y}, @code{rotate-90},\n@code{rotate-270}, or @code{rotate-180}.\n@end deffn\n\n@node Root Keymap\n@section Root Keymap\n\nGuile-WM provides a quick way to access commands via a global keymap\nthat runs on the root window. When the user presses the root key (by\ndefault set to @code{C-t}), the root window grabs keyboard input and\nruns the root keymap.\n\n@deffn{Keymap} root-keymap\nThe keymap that is run when the users presses the root key. Empty by\ndefault.\n@end deffn\n\n@deffn{Command} set-root-key! (key #:symbol)\nSet the root key to @var{key}.\n@end deffn\n\n@deffn{Command} bind-root-key! (key #:symbol) (str #:string)\nBind @var{key} to command string @var{str} in the root keymap.\n@end deffn\n\n@deffn{Command} unbind-root-key! (key #:symbol)\nRemove the binding for @var{key} in the root keymap.\n@end deffn\n\n@deffn{Scheme Syntax} with-root-keymap-disabled stmt ...\nEvaluate @var{stmt} ... with the root keymap disabled. If the user\npresses the root key while the content of this form is being\nevaluated, the key press will be ignored.\n@end deffn\n\n@deffn{Procedure With Setter} keymap-cursor\nThis variable stores the name of the cursor that is displayed when the\nroot keymap is active. The default value of @code{#f} signifies that\nthe cursor should not change.\n@end deffn\n\n@node Repl\n@section Repl\n\nIn addition to minibuffers, menus, and keymaps, users can interact\nwith the window manager process via a repl server. Module @code{repl}\nlets the user start up a repl server from the configuration file,\nwhich can be connected to with telnet, netcat, or some other program\nsuch as emacs via geiser mode. This is the method of choice for\ndeveloping new WM features.\n\n@deffn{Scheme Procedure} start-wm-repl [sock]\nStart a repl listening on socket @var{sock}. By default, @var{sock} is\na tcp server socket listening on port 37146.\n@end deffn\n\nThe repl server runs in a separate thread from the rest of the window\nmanager. This creates a dilemma when the user wants to run code that\ninteracts with the event loop, because the event loop runs inside one\nprompt and the repl runs in a different prompt on another thread. When\nthe event loop calls @code{abort}, an error results. @inforef{Prompts,\nPrompts, guile}.\n\nTo get around this problem, the Guile-WM repl adds a new metacommand,\n@code{post}, which takes an expression and runs it on the event loop's\nthread.\n\n@deffn{Repl Command} post exp\nRun expression @var{exp} on the man event loop thread and return the\nresult. If an error results, the full debugger will not be available,\nbut the error message and backtrace are printed. Use @code{post}\nwhenever code in the expression results in a call to @var{solicit} or\n@var{abort}.\n@end deffn\n\n@node Simple Focus\n@section Simple Focus\n\nModule @code{simple-focus} adds some simple window decoration to give\nvisual indication of which window has the input focus.\n\n@deffn{Procedure With Setter} simple-focus-color\nThis variable stores the name of the color that is currently used for\nthe border of the selected window. It must be a symbol.\n@end deffn\n\n@deffn{Procedure With Setter} simple-unfocus-color\nThis variable stores the name of the color that is currently used for\nthe border of unselected windows. It must be a symbol.\n@end deffn\n\n@node Simple Reparenting\n@section Simple Reparenting\n\nModule @code{simple-reparent} uses the reparenting methods found in\n@code{(guile-wm reparent)} to reparent child\nwindows. @xref{Reparenting and Redirection, Reparenting and\nRedirection, guile}.\n\n@node Tiling\n@section Tiling\n\nModule @code{tiling} adds a tiling window management algorithm\ninspired by Stumpwm to Guile-WM. @inforef{Top, StumpWM, stumpwm}.\nEach output (known as a ``frame'' in this module) is divided into\nvirtual rectangular tiles, which hold X windows. One tile is the\n``selected'' tile, and any new X window that is created gets placed\nwithin that tile. The user can move the tile selection, move windows\nbetween tiles, split tiles either horizontally or vertically, and\ndelete tiles. If not all the windows are visible, the hidden ones are\nstored in a queue and can be pulled up and displayed on the\nselected tile.\n\n@deffn{Command} horizontal-split\nSplit the selected tile in half horizontally. The left new tile will be\nselected and store the contents of the original tile.\n@end deffn\n\n@deffn{Command} vertical-split\nSplit the selected tile in half vertically. The top new tile will be\nselected and store the contents of the original tile.\n@end deffn\n\n@deffn{Command} select-right\nSelect the tile to the right of the currently selected tile, if one exists\n@end deffn\n\n@deffn{Command} select-left\nSelect the tile to the left of the currently selected tile, if one exists\n@end deffn\n\n@deffn{Command} select-up\nSelect the tile above the currently selected tile, if one exists\n@end deffn\n\n@deffn{Command} select-down\nSelect the tile below the currently selected tile, if one exists\n@end deffn\n\n@deffn{Command} move-right\nMove the contents of the selected tile to the tile to the right, if\none exists, and select it\n@end deffn\n\n@deffn{Command} move-left\nMove the contents of the selected tile to the tile to the left, if\none exists, and select it\n@end deffn\n\n@deffn{Command} move-up\nMove the contents of the selected tile to the tile above, if one\nexists, and select it\n@end deffn\n\n@deffn{Command} move-down\nMove the contents of the selected tile to the tile below, if one\nexists, and select it\n@end deffn\n\n@deffn{Command} grow-window-vertical\nIncrease the the height of the selected tile\n@end deffn\n\n@deffn{Command} grow-window-horizontal\nIncrease the the width of the selected tile\n@end deffn\n\n@deffn{Command} shrink-window-vertical\nDecrease the the height of the selected tile\n@end deffn\n\n@deffn{Command} shrink-window-horizontal\nDecrease the the width of the selected tile\n@end deffn\n\n@deffn{Command} clear-frame\nDelete all the tiles in the current frame and replace them with one\ntile holding the window that was in the selected tile\n@end deffn\n\n@deffn{Command} reveal-window\nPlace the next hidden window in the queue into the current tile\n@end deffn\n\n@deffn{Command} restore-window\nPlace the most recently hidden window into the current tile\n@end deffn\n\n@deffn{Command} delete-split\nDelete the tile that is split with the selected one and replace\nthem both with one tile containing the selected tile's contents\n@end deffn\n\n@code{tiling} also exports an API for other modules to use:\n\n@deffn{Scheme Variable} blank-x-window\nThis variable stores the XID of the blank window that is displayed\nwhen an empty tile is selected.\n@end deffn\n\n@deffn{Scheme Variable} selected-tile\nOnce the module is initialized, this variable stores the currently\nselected tile\n@end deffn\n\n@deffn{Scheme Procedure} tile-at x y\nReturns the tile at coordinates (@var{x}, @var{y}).\n@end deffn\n\n@deffn{Scheme Procedure} tile-for x-window\nReturns the tile that currently holds X window @var{x-window}, if the\nwindow is currently mapped, or @code{#f} if it is not. @var{x-window}\nshould be a parent window created in the reparenting process, not the\nchild window inside of it that belongs to another application.\n@end deffn\n\n@deffn{Scheme Procedure} move-tile old new\nMove the contents of tile @var{old} into tile @var{new}.\n@end deffn\n@node Time\n@section Time\n\nThe @code{time} module adds a command to show the current date and time.\n\n@deffn{Command} show-time\nDisplay a message with the current date and time\n@end deffn\n\n@node Tinywm\n@section Tinywm\n\nAs its name implies, the @code{tinywm} module implements a minimal\nwindow manager. The user can move windows by clicking and dragging\nthem with the left mouse button while the alt key is pressed down, and\ncan resize windows by clicking and dragging them with the right mouse\nbutton while the alt key is pressed down.\n\n@deffn{WM Hook} tinywm-drag-end-hook\nThis hook is called when the user stops dragging a window. It\nprovides one argument---the XID of the window being dragged.\n@end deffn\n\n@deffn{WM Hook} tinywm-resize-end-hook\nThis hook is called when the user stops resizing a window. It\nprovides one argument---the XID of the window being resized.\n@end deffn\n\n@node Window Cycling\n@section Window Cycling\n\nModule @code{window-cycle} provides commands to circulate mapped X\nwindows.\n\n@deffn{Command} window-cycle\nBring the bottom-most X window to the front and give it the input focus.\n@end deffn\n\n@deffn{Command} visible-window-cycle\nBring the bottom-most visible X window to the front and give it the\ninput focus. Requires window reparenting to work properly.\n@end deffn\n\n@node Window Menu\n@section Window Menu\n\nModule @code{window-menu} offers the user a customizable menu to\nselect a window.\n\n@deffn{Command} select-window\nDisplay a menu listing all of the top-level windows by name. If\n@code{menu-select-window-hook} is empty, bring the window chosen by\nthe user to the front and give it the input selection. Otherwise, run\n@code{menu-select-window-hook} with the chosen window XID as its argument.\n@end deffn\n\n@deffn{WM Hook} menu-select-window-hook\nThis one-argument hook, when not empty, is called after the user makes\na selection in the window menu with the chosen window XID as its\nargument.\n@end deffn\n\n@node Function Index\n@unnumbered Function Index\n\n@printindex fn\n\n@bye\n"
  },
  {
    "path": "module/Makefile.am",
    "content": "## Process this file with automake to produce Makefile.in.\n##\n##  \tCopyright (C) 2013 Mark Witmer\n##\n##   This file is part of guile-wm.\n##\n##   guile-wm is free software; you can redistribute it and/or modify\n##   it under the terms of the GNU Lesser General Public License as\n##   published by the Free Software Foundation; either version 3, or\n##   (at your option) any later version.\n##\n##   guile-wm is distributed in the hope that it will be useful, but\n##   WITHOUT ANY WARRANTY; without even the implied warranty of\n##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n##   GNU Lesser General Public License for more details.\n##\n##   You should have received a copy of the GNU Lesser General Public\n##   License along with guile-wm; see the file COPYING.LESSER.  If\n##   not, write to the Free Software Foundation, Inc., 51 Franklin\n##   Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nwmdir = $(guilesitedir)\nnobase_dist_wm_DATA =                     \\\nguile-wm/color.scm                        \\\nguile-wm/focus.scm                        \\\nguile-wm/keystroke.scm                    \\\nguile-wm/reparent.scm                     \\\nguile-wm/text.scm                         \\\nguile-wm/text-edit.scm                    \\\nguile-wm/command.scm                      \\\nguile-wm/icccm.scm                        \\\nguile-wm/keysyms.scm                      \\\nguile-wm/shared.scm                       \\\nguile-wm/user.scm                         \\\nguile-wm/draw.scm                         \\\nguile-wm/keymap.scm                       \\\nguile-wm/log.scm                          \\\nguile-wm/redirect.scm                     \\\nguile-wm/module/cursor.scm                \\\nguile-wm/module/magnetic.scm              \\\nguile-wm/module/message.scm               \\\nguile-wm/module/repl.scm                  \\\nguile-wm/module/simple-reparent.scm       \\\nguile-wm/module/tiling.scm                \\\nguile-wm/module/window-cycle.scm          \\\nguile-wm/module/fullscreen.scm            \\\nguile-wm/module/minibuffer.scm            \\\nguile-wm/module/root-keymap.scm           \\\nguile-wm/module/time.scm                  \\\nguile-wm/module/window-menu.scm           \\\nguile-wm/module/menu.scm                  \\\nguile-wm/module/randr.scm                 \\\nguile-wm/module/simple-focus.scm          \\\nguile-wm/module/tinywm.scm                \\\nlanguage/command/spec.scm\n"
  },
  {
    "path": "module/Makefile.in",
    "content": "# Makefile.in generated by automake 1.14.1 from Makefile.am.\n# @configure_input@\n\n# Copyright (C) 1994-2013 Free Software Foundation, Inc.\n\n# This Makefile.in is free software; the Free Software Foundation\n# gives unlimited permission to copy and/or distribute it,\n# with or without modifications, as long as this notice is preserved.\n\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY, to the extent permitted by law; without\n# even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n# PARTICULAR PURPOSE.\n\n@SET_MAKE@\n\nVPATH = @srcdir@\nam__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'\nam__make_running_with_option = \\\n  case $${target_option-} in \\\n      ?) ;; \\\n      *) echo \"am__make_running_with_option: internal error: invalid\" \\\n              \"target option '$${target_option-}' specified\" >&2; \\\n         exit 1;; \\\n  esac; \\\n  has_opt=no; \\\n  sane_makeflags=$$MAKEFLAGS; \\\n  if $(am__is_gnu_make); then \\\n    sane_makeflags=$$MFLAGS; \\\n  else \\\n    case $$MAKEFLAGS in \\\n      *\\\\[\\ \\\t]*) \\\n        bs=\\\\; \\\n        sane_makeflags=`printf '%s\\n' \"$$MAKEFLAGS\" \\\n          | sed \"s/$$bs$$bs[$$bs $$bs\t]*//g\"`;; \\\n    esac; \\\n  fi; \\\n  skip_next=no; \\\n  strip_trailopt () \\\n  { \\\n    flg=`printf '%s\\n' \"$$flg\" | sed \"s/$$1.*$$//\"`; \\\n  }; \\\n  for flg in $$sane_makeflags; do \\\n    test $$skip_next = yes && { skip_next=no; continue; }; \\\n    case $$flg in \\\n      *=*|--*) continue;; \\\n        -*I) strip_trailopt 'I'; skip_next=yes;; \\\n      -*I?*) strip_trailopt 'I';; \\\n        -*O) strip_trailopt 'O'; skip_next=yes;; \\\n      -*O?*) strip_trailopt 'O';; \\\n        -*l) strip_trailopt 'l'; skip_next=yes;; \\\n      -*l?*) strip_trailopt 'l';; \\\n      -[dEDm]) skip_next=yes;; \\\n      -[JT]) skip_next=yes;; \\\n    esac; \\\n    case $$flg in \\\n      *$$target_option*) has_opt=yes; break;; \\\n    esac; \\\n  done; \\\n  test $$has_opt = yes\nam__make_dryrun = (target_option=n; $(am__make_running_with_option))\nam__make_keepgoing = (target_option=k; $(am__make_running_with_option))\npkgdatadir = $(datadir)/@PACKAGE@\npkgincludedir = $(includedir)/@PACKAGE@\npkglibdir = $(libdir)/@PACKAGE@\npkglibexecdir = $(libexecdir)/@PACKAGE@\nam__cd = CDPATH=\"$${ZSH_VERSION+.}$(PATH_SEPARATOR)\" && cd\ninstall_sh_DATA = $(install_sh) -c -m 644\ninstall_sh_PROGRAM = $(install_sh) -c\ninstall_sh_SCRIPT = $(install_sh) -c\nINSTALL_HEADER = $(INSTALL_DATA)\ntransform = $(program_transform_name)\nNORMAL_INSTALL = :\nPRE_INSTALL = :\nPOST_INSTALL = :\nNORMAL_UNINSTALL = :\nPRE_UNINSTALL = :\nPOST_UNINSTALL = :\nsubdir = module\nDIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \\\n\t$(nobase_dist_wm_DATA)\nACLOCAL_M4 = $(top_srcdir)/aclocal.m4\nam__aclocal_m4_deps = $(top_srcdir)/configure.ac\nam__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\\n\t$(ACLOCAL_M4)\nmkinstalldirs = $(install_sh) -d\nCONFIG_CLEAN_FILES =\nCONFIG_CLEAN_VPATH_FILES =\nAM_V_P = $(am__v_P_@AM_V@)\nam__v_P_ = $(am__v_P_@AM_DEFAULT_V@)\nam__v_P_0 = false\nam__v_P_1 = :\nAM_V_GEN = $(am__v_GEN_@AM_V@)\nam__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)\nam__v_GEN_0 = @echo \"  GEN     \" $@;\nam__v_GEN_1 = \nAM_V_at = $(am__v_at_@AM_V@)\nam__v_at_ = $(am__v_at_@AM_DEFAULT_V@)\nam__v_at_0 = @\nam__v_at_1 = \nSOURCES =\nDIST_SOURCES =\nam__can_run_installinfo = \\\n  case $$AM_UPDATE_INFO_DIR in \\\n    n|no|NO) false;; \\\n    *) (install-info --version) >/dev/null 2>&1;; \\\n  esac\nam__vpath_adj_setup = srcdirstrip=`echo \"$(srcdir)\" | sed 's|.|.|g'`;\nam__vpath_adj = case $$p in \\\n    $(srcdir)/*) f=`echo \"$$p\" | sed \"s|^$$srcdirstrip/||\"`;; \\\n    *) f=$$p;; \\\n  esac;\nam__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;\nam__install_max = 40\nam__nobase_strip_setup = \\\n  srcdirstrip=`echo \"$(srcdir)\" | sed 's/[].[^$$\\\\*|]/\\\\\\\\&/g'`\nam__nobase_strip = \\\n  for p in $$list; do echo \"$$p\"; done | sed -e \"s|$$srcdirstrip/||\"\nam__nobase_list = $(am__nobase_strip_setup); \\\n  for p in $$list; do echo \"$$p $$p\"; done | \\\n  sed \"s| $$srcdirstrip/| |;\"' / .*\\//!s/ .*/ ./; s,\\( .*\\)/[^/]*$$,\\1,' | \\\n  $(AWK) 'BEGIN { files[\".\"] = \"\" } { files[$$2] = files[$$2] \" \" $$1; \\\n    if (++n[$$2] == $(am__install_max)) \\\n      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = \"\" } } \\\n    END { for (dir in files) print dir, files[dir] }'\nam__base_list = \\\n  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\\n/ /g' | \\\n  sed '$$!N;$$!N;$$!N;$$!N;s/\\n/ /g'\nam__uninstall_files_from_dir = { \\\n  test -z \"$$files\" \\\n    || { test ! -d \"$$dir\" && test ! -f \"$$dir\" && test ! -r \"$$dir\"; } \\\n    || { echo \" ( cd '$$dir' && rm -f\" $$files \")\"; \\\n         $(am__cd) \"$$dir\" && rm -f $$files; }; \\\n  }\nam__installdirs = \"$(DESTDIR)$(wmdir)\"\nDATA = $(nobase_dist_wm_DATA)\nam__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)\nDISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)\nACLOCAL = @ACLOCAL@\nAMTAR = @AMTAR@\nAM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@\nAUTOCONF = @AUTOCONF@\nAUTOHEADER = @AUTOHEADER@\nAUTOMAKE = @AUTOMAKE@\nAWK = @AWK@\nCYGPATH_W = @CYGPATH_W@\nDEFS = @DEFS@\nECHO_C = @ECHO_C@\nECHO_N = @ECHO_N@\nECHO_T = @ECHO_T@\nGUILE = @GUILE@\nGUILE_CONFIG = @GUILE_CONFIG@\nGUILE_EFFECTIVE_VERSION = @GUILE_EFFECTIVE_VERSION@\nGUILE_SITE = @GUILE_SITE@\nGUILE_TOOLS = @GUILE_TOOLS@\nINSTALL = @INSTALL@\nINSTALL_DATA = @INSTALL_DATA@\nINSTALL_PROGRAM = @INSTALL_PROGRAM@\nINSTALL_SCRIPT = @INSTALL_SCRIPT@\nINSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@\nLIBOBJS = @LIBOBJS@\nLIBS = @LIBS@\nLTLIBOBJS = @LTLIBOBJS@\nMAKEINFO = @MAKEINFO@\nMKDIR_P = @MKDIR_P@\nPACKAGE = @PACKAGE@\nPACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@\nPACKAGE_NAME = @PACKAGE_NAME@\nPACKAGE_STRING = @PACKAGE_STRING@\nPACKAGE_TARNAME = @PACKAGE_TARNAME@\nPACKAGE_URL = @PACKAGE_URL@\nPACKAGE_VERSION = @PACKAGE_VERSION@\nPATH_SEPARATOR = @PATH_SEPARATOR@\nPKG_CONFIG = @PKG_CONFIG@\nPKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@\nPKG_CONFIG_PATH = @PKG_CONFIG_PATH@\nSET_MAKE = @SET_MAKE@\nSHELL = @SHELL@\nSTRIP = @STRIP@\nVERSION = @VERSION@\nabs_builddir = @abs_builddir@\nabs_srcdir = @abs_srcdir@\nabs_top_builddir = @abs_top_builddir@\nabs_top_srcdir = @abs_top_srcdir@\nam__leading_dot = @am__leading_dot@\nam__tar = @am__tar@\nam__untar = @am__untar@\nbindir = @bindir@\nbuild_alias = @build_alias@\nbuilddir = @builddir@\ndatadir = @datadir@\ndatarootdir = @datarootdir@\ndocdir = @docdir@\ndvidir = @dvidir@\nexec_prefix = @exec_prefix@\nguilesitedir = @guilesitedir@\nhost_alias = @host_alias@\nhtmldir = @htmldir@\nincludedir = @includedir@\ninfodir = @infodir@\ninstall_sh = @install_sh@\nlibdir = @libdir@\nlibexecdir = @libexecdir@\nlocaledir = @localedir@\nlocalstatedir = @localstatedir@\nmandir = @mandir@\nmkdir_p = @mkdir_p@\noldincludedir = @oldincludedir@\npdfdir = @pdfdir@\nprefix = @prefix@\nprogram_transform_name = @program_transform_name@\npsdir = @psdir@\nsbindir = @sbindir@\nsharedstatedir = @sharedstatedir@\nsrcdir = @srcdir@\nsysconfdir = @sysconfdir@\ntarget_alias = @target_alias@\ntop_build_prefix = @top_build_prefix@\ntop_builddir = @top_builddir@\ntop_srcdir = @top_srcdir@\nwmdir = $(guilesitedir)\nnobase_dist_wm_DATA = \\\nguile-wm/color.scm                        \\\nguile-wm/focus.scm                        \\\nguile-wm/keystroke.scm                    \\\nguile-wm/reparent.scm                     \\\nguile-wm/text.scm                         \\\nguile-wm/text-edit.scm                    \\\nguile-wm/command.scm                      \\\nguile-wm/icccm.scm                        \\\nguile-wm/keysyms.scm                      \\\nguile-wm/shared.scm                       \\\nguile-wm/user.scm                         \\\nguile-wm/draw.scm                         \\\nguile-wm/keymap.scm                       \\\nguile-wm/log.scm                          \\\nguile-wm/redirect.scm                     \\\nguile-wm/module/cursor.scm                \\\nguile-wm/module/magnetic.scm              \\\nguile-wm/module/message.scm               \\\nguile-wm/module/repl.scm                  \\\nguile-wm/module/simple-reparent.scm       \\\nguile-wm/module/tiling.scm                \\\nguile-wm/module/window-cycle.scm          \\\nguile-wm/module/fullscreen.scm            \\\nguile-wm/module/minibuffer.scm            \\\nguile-wm/module/root-keymap.scm           \\\nguile-wm/module/time.scm                  \\\nguile-wm/module/window-menu.scm           \\\nguile-wm/module/menu.scm                  \\\nguile-wm/module/randr.scm                 \\\nguile-wm/module/simple-focus.scm          \\\nguile-wm/module/tinywm.scm                \\\nlanguage/command/spec.scm\n\nall: all-am\n\n.SUFFIXES:\n$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)\n\t@for dep in $?; do \\\n\t  case '$(am__configure_deps)' in \\\n\t    *$$dep*) \\\n\t      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \\\n\t        && { if test -f $@; then exit 0; else break; fi; }; \\\n\t      exit 1;; \\\n\t  esac; \\\n\tdone; \\\n\techo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/Makefile'; \\\n\t$(am__cd) $(top_srcdir) && \\\n\t  $(AUTOMAKE) --gnu module/Makefile\n.PRECIOUS: Makefile\nMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status\n\t@case '$?' in \\\n\t  *config.status*) \\\n\t    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \\\n\t  *) \\\n\t    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \\\n\t    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \\\n\tesac;\n\n$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)\n\tcd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh\n\n$(top_srcdir)/configure:  $(am__configure_deps)\n\tcd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh\n$(ACLOCAL_M4):  $(am__aclocal_m4_deps)\n\tcd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh\n$(am__aclocal_m4_deps):\ninstall-nobase_dist_wmDATA: $(nobase_dist_wm_DATA)\n\t@$(NORMAL_INSTALL)\n\t@list='$(nobase_dist_wm_DATA)'; test -n \"$(wmdir)\" || list=; \\\n\tif test -n \"$$list\"; then \\\n\t  echo \" $(MKDIR_P) '$(DESTDIR)$(wmdir)'\"; \\\n\t  $(MKDIR_P) \"$(DESTDIR)$(wmdir)\" || exit 1; \\\n\tfi; \\\n\t$(am__nobase_list) | while read dir files; do \\\n\t  xfiles=; for file in $$files; do \\\n\t    if test -f \"$$file\"; then xfiles=\"$$xfiles $$file\"; \\\n\t    else xfiles=\"$$xfiles $(srcdir)/$$file\"; fi; done; \\\n\t  test -z \"$$xfiles\" || { \\\n\t    test \"x$$dir\" = x. || { \\\n\t      echo \" $(MKDIR_P) '$(DESTDIR)$(wmdir)/$$dir'\"; \\\n\t      $(MKDIR_P) \"$(DESTDIR)$(wmdir)/$$dir\"; }; \\\n\t    echo \" $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(wmdir)/$$dir'\"; \\\n\t    $(INSTALL_DATA) $$xfiles \"$(DESTDIR)$(wmdir)/$$dir\" || exit $$?; }; \\\n\tdone\n\nuninstall-nobase_dist_wmDATA:\n\t@$(NORMAL_UNINSTALL)\n\t@list='$(nobase_dist_wm_DATA)'; test -n \"$(wmdir)\" || list=; \\\n\t$(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \\\n\tdir='$(DESTDIR)$(wmdir)'; $(am__uninstall_files_from_dir)\ntags TAGS:\n\nctags CTAGS:\n\ncscope cscopelist:\n\n\ndistdir: $(DISTFILES)\n\t@srcdirstrip=`echo \"$(srcdir)\" | sed 's/[].[^$$\\\\*]/\\\\\\\\&/g'`; \\\n\ttopsrcdirstrip=`echo \"$(top_srcdir)\" | sed 's/[].[^$$\\\\*]/\\\\\\\\&/g'`; \\\n\tlist='$(DISTFILES)'; \\\n\t  dist_files=`for file in $$list; do echo $$file; done | \\\n\t  sed -e \"s|^$$srcdirstrip/||;t\" \\\n\t      -e \"s|^$$topsrcdirstrip/|$(top_builddir)/|;t\"`; \\\n\tcase $$dist_files in \\\n\t  */*) $(MKDIR_P) `echo \"$$dist_files\" | \\\n\t\t\t   sed '/\\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \\\n\t\t\t   sort -u` ;; \\\n\tesac; \\\n\tfor file in $$dist_files; do \\\n\t  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \\\n\t  if test -d $$d/$$file; then \\\n\t    dir=`echo \"/$$file\" | sed -e 's,/[^/]*$$,,'`; \\\n\t    if test -d \"$(distdir)/$$file\"; then \\\n\t      find \"$(distdir)/$$file\" -type d ! -perm -700 -exec chmod u+rwx {} \\;; \\\n\t    fi; \\\n\t    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \\\n\t      cp -fpR $(srcdir)/$$file \"$(distdir)$$dir\" || exit 1; \\\n\t      find \"$(distdir)/$$file\" -type d ! -perm -700 -exec chmod u+rwx {} \\;; \\\n\t    fi; \\\n\t    cp -fpR $$d/$$file \"$(distdir)$$dir\" || exit 1; \\\n\t  else \\\n\t    test -f \"$(distdir)/$$file\" \\\n\t    || cp -p $$d/$$file \"$(distdir)/$$file\" \\\n\t    || exit 1; \\\n\t  fi; \\\n\tdone\ncheck-am: all-am\ncheck: check-am\nall-am: Makefile $(DATA)\ninstalldirs:\n\tfor dir in \"$(DESTDIR)$(wmdir)\"; do \\\n\t  test -z \"$$dir\" || $(MKDIR_P) \"$$dir\"; \\\n\tdone\ninstall: install-am\ninstall-exec: install-exec-am\ninstall-data: install-data-am\nuninstall: uninstall-am\n\ninstall-am: all-am\n\t@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am\n\ninstallcheck: installcheck-am\ninstall-strip:\n\tif test -z '$(STRIP)'; then \\\n\t  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" \\\n\t    install_sh_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" INSTALL_STRIP_FLAG=-s \\\n\t      install; \\\n\telse \\\n\t  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" \\\n\t    install_sh_PROGRAM=\"$(INSTALL_STRIP_PROGRAM)\" INSTALL_STRIP_FLAG=-s \\\n\t    \"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'\" install; \\\n\tfi\nmostlyclean-generic:\n\nclean-generic:\n\ndistclean-generic:\n\t-test -z \"$(CONFIG_CLEAN_FILES)\" || rm -f $(CONFIG_CLEAN_FILES)\n\t-test . = \"$(srcdir)\" || test -z \"$(CONFIG_CLEAN_VPATH_FILES)\" || rm -f $(CONFIG_CLEAN_VPATH_FILES)\n\nmaintainer-clean-generic:\n\t@echo \"This command is intended for maintainers to use\"\n\t@echo \"it deletes files that may require special tools to rebuild.\"\nclean: clean-am\n\nclean-am: clean-generic mostlyclean-am\n\ndistclean: distclean-am\n\t-rm -f Makefile\ndistclean-am: clean-am distclean-generic\n\ndvi: dvi-am\n\ndvi-am:\n\nhtml: html-am\n\nhtml-am:\n\ninfo: info-am\n\ninfo-am:\n\ninstall-data-am: install-nobase_dist_wmDATA\n\ninstall-dvi: install-dvi-am\n\ninstall-dvi-am:\n\ninstall-exec-am:\n\ninstall-html: install-html-am\n\ninstall-html-am:\n\ninstall-info: install-info-am\n\ninstall-info-am:\n\ninstall-man:\n\ninstall-pdf: install-pdf-am\n\ninstall-pdf-am:\n\ninstall-ps: install-ps-am\n\ninstall-ps-am:\n\ninstallcheck-am:\n\nmaintainer-clean: maintainer-clean-am\n\t-rm -f Makefile\nmaintainer-clean-am: distclean-am maintainer-clean-generic\n\nmostlyclean: mostlyclean-am\n\nmostlyclean-am: mostlyclean-generic\n\npdf: pdf-am\n\npdf-am:\n\nps: ps-am\n\nps-am:\n\nuninstall-am: uninstall-nobase_dist_wmDATA\n\n.MAKE: install-am install-strip\n\n.PHONY: all all-am check check-am clean clean-generic cscopelist-am \\\n\tctags-am distclean distclean-generic distdir dvi dvi-am html \\\n\thtml-am info info-am install install-am install-data \\\n\tinstall-data-am install-dvi install-dvi-am install-exec \\\n\tinstall-exec-am install-html install-html-am install-info \\\n\tinstall-info-am install-man install-nobase_dist_wmDATA \\\n\tinstall-pdf install-pdf-am install-ps install-ps-am \\\n\tinstall-strip installcheck installcheck-am installdirs \\\n\tmaintainer-clean maintainer-clean-generic mostlyclean \\\n\tmostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \\\n\tuninstall-am uninstall-nobase_dist_wmDATA\n\n\n# Tell versions [3.59,3.63) of GNU make to not export all variables.\n# Otherwise a system limit (for SysV at least) may be exceeded.\n.NOEXPORT:\n"
  },
  {
    "path": "module/guile-wm/color.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm color)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (guile-wm shared))\n\n(define colormap-colors (make-hash-table))\n\n(define-public (pixel-for-color cmap color)\n  (define str (string-downcase\n               (string-join\n                (string-split\n                 (symbol->string color) (char-set #\\-)) \" \")))\n  (define (alloc-color ht)\n    (define reply (reply-for alloc-named-color cmap str))\n    (hashq-set! ht color (xref reply 'pixel)))\n  (define colors\n    (or (hashv-ref colormap-colors (xid->integer cmap))\n        (hashv-set! colormap-colors (xid->integer cmap) (make-hash-table))))\n  (or (hashq-ref colors color)\n      (hashv-set! colors color (alloc-color colors))))\n\n"
  },
  {
    "path": "module/guile-wm/command.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm command)\n  #:use-module (ice-9 popen)\n  #:use-module (ice-9 rdelim)\n  #:use-module (ice-9 threads)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm keymap)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm text)\n  #:use-module (language command spec)\n  #:use-module (language scheme spec)\n  #:use-module (system base compile)\n  #:replace (quit)\n  #:export (define-command shell-command bind-key-commands run-command\n             bind-key-command!))\n\n(define-once documentation (make-hash-table))\n\n(define* (bind-key-command! keymap key str #:optional arg-missing)\n  (bind-key! keymap key\n             (lambda () (if arg-missing\n                            (run-command str arg-missing)\n                            (run-command str)))))\n\n(define-syntax bind-key-commands\n  (syntax-rules ()\n    ((_ keymap (key command) ...)\n     (begin\n       (bind-key-command! keymap (quasiquote key) command) ...))\n    ((_ keymap arg-missing (key command) ...)\n     (begin\n       (bind-key-command! keymap (quasiquote key) command arg-missing) ...))))\n\n(define-syntax define-command\n  (syntax-rules ()\n    ((_ (name (arg type) ...) stmt ...)\n     (begin\n       (define! 'name\n         (let ((proc (lambda (arg ...) stmt ...)))\n           (hashq-set! commands (quote name) `(,(cons 'arg type) ...))\n           proc))\n       (hashq-set!\n        documentation (quote name) (procedure-documentation name))\n       (export name)))\n    ((_ (name arg type) stmt ...)\n     (begin\n       (define! 'name\n         (let ((proc (lambda arg stmt ...)))\n           (hashq-set! commands (quote name) (cons 'arg type))\n           proc))\n       (hashq-set!\n        documentation (quote name) (procedure-documentation name))\n       (export name)))))\n\n(define (arg-missing-default type)\n  (error \"guile-wm: Cannot request missing argument of type \" type))\n\n(define* (run-command cmd #:optional (arg-missing-proc arg-missing-default))\n  (catch #t\n    (lambda ()\n      (log! (format #f \"User command: ~a\" (unescape-text cmd)))\n      (with-input-from-string (format #f \"(~a)\" (unescape-text cmd))\n        (lambda ()\n          (parameterize ((arg-missing arg-missing-proc))\n            (read-and-compile\n             (current-input-port)\n             #:from command\n             #:to 'value\n             #:env (current-module))))))\n    (lambda args\n      (log! (format #f \"Error in command: ~a ~a\" cmd args)))\n    (lambda args\n      (backtrace))))\n\n(define-command (quit)\n  \"Quit the window manager and close the connection to the X\nserver. Replaces the core binding of the same name.\"\n  (when (and (current-xcb-connection) (xcb-connected? (current-xcb-connection)))\n    (log! (format #f \"Quitting Guile-WM\"))\n    (xcb-disconnect! (current-xcb-connection))))\n\n(define-command (shell-command commands #:string)\n  \"Concatenate COMMANDS into a single string and execute the result in\na detached process.\"\n  (close-port (open-pipe (string-join commands) OPEN_READ)))\n\n(define-command (shell-command-output cmd #:string)\n  \"Concatenate COMMANDS into a single string and execute the result\nin a process; wait for the command to terminate and return a string\ncontaining its output.\"\n  (let* ((port (open-input-pipe (string-join cmd)))\n         (str (read-delimited \"\" port)))\n    (close-pipe port)\n    str))\n\n(define-command (wm-eval (exp #:string))\n\"Evaluate S-expression EXP in the window manager's current\nenvironment.\"\n  (catch #t\n    (lambda ()\n      (with-input-from-string exp\n        (lambda () (read-and-compile\n                    (current-input-port)\n                    #:from scheme\n                    #:to 'value\n                    #:env (current-module)))))\n    (lambda args\n      (log! (format #f \"Error in evaluated expression: ~a ~a\" exp args)))\n    (lambda args\n      (backtrace))))\n\n(define-public (command-documentation command)\n  (hashq-ref documentation command))\n"
  },
  {
    "path": "module/guile-wm/draw.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm draw)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (guile-wm color)\n  #:use-module (guile-wm focus)\n  #:use-module (guile-wm icccm)\n  #:use-module (guile-wm shared)\n  #:export (with-gc with-font with-pixmap basic-window-create\n                    fixed-window-create))\n\n(define-syntax-rule (with-gc (gc drawable prop ...) stmt stmt* ...)\n  (let* ((gc (make-new-xid xgcontext)))\n    (dynamic-wind\n      (lambda () (create-gc gc drawable prop ...))\n      (lambda () stmt stmt* ...)\n      (lambda () (free-gc gc)))))\n\n(define-syntax-rule (with-font (name font) stmt stmt* ...)\n  (let ((font (make-new-xid xfont)))\n    (dynamic-wind\n      (lambda () (open-font font name))\n      (lambda () stmt stmt* ...)\n      (lambda () (close-font font)))))\n\n;; Don't use dynamic-wind here, since pixmaps reference volatile state\n(define-syntax-rule (with-pixmap (pixmap win color width height) stmt stmt* ...)\n  (let* ((pixmap (make-new-xid xpixmap))\n         (cmap (xref (current-screen) 'default-colormap))\n         (pixel (pixel-for-color cmap color)))\n    (define (action) stmt stmt* ...)\n    (create-pixmap 24 pixmap win width height)\n    (with-gc (gc pixmap #:foreground pixel)\n      (poly-fill-rectangle pixmap gc `#(,(make-xrectangle 0 0 width height))))\n    (action)\n    (free-pixmap pixmap)))\n\n(define basic-events\n  '(key-press structure-notify exposure))\n\n(define* (basic-window-create x y width height border\n                              #:optional (events basic-events))\n  \"Create a window with dimensions (X, Y), size (WIDTH, HEIGHT) and\nborder width BORDER. Takes an optional event mask, which by default\nconsists of key-press, structure-notify, and exposure.\"\n  (define window (make-new-xid xwindow))\n  (create-window\n   24 window (current-root) x y width height border 'copy-from-parent 0\n   #:back-pixel (xref (current-screen) 'black-pixel)\n   #:bit-gravity 'north-west #:event-mask events #:override-redirect #t)\n  window)\n\n(define (fixed-window-atom)\n  (xref (reply-for intern-atom #f \"_GUILE_WM_FIXED\") 'atom))\n\n(define* (fixed-window-create x y width height border\n                              #:optional (events basic-events)\n                              #:key (focused? #t))\n  \"Create a window that will always remain on top as long as it is\nmapped. Takes the same arguments as `basic-window-create', with the\naddition of keyword FOCUSED?, which defaults to true. When it is true,\nthe window will also keep the focus.\"\n  (define window\n    (basic-window-create\n     x y width height border\n     (cons 'visibility-change events)))\n  (create-listener (stop!)\n    ((map-notify-event map-notify #:window window)\n     (when focused?\n       (grab-keyboard #f window xcb-current-time 'async 'async)))\n    ((unmap-notify-event unmap-notify #:window window)\n     (when focused?\n       (ungrab-keyboard xcb-current-time)))\n    ((visibility-notify-event visibility #:window window)\n     (when (not (eq? (xref visibility 'state) 'unobscured))\n       (configure-window (xref visibility 'window) #:stack-mode 'above))))\n  (let ((fixed-atom (fixed-window-atom)))\n   (change-property 'replace window fixed-atom\n                    (pre-defined-atom 'integer) 8 #(1 0 0 0)))\n  window)\n\n(define-public (fixed-window? window)\n  (xid=\n   (xref (get-window-property window (fixed-window-atom)) 'type)\n   (pre-defined-atom 'integer)))\n"
  },
  {
    "path": "module/guile-wm/focus.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm focus)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb xml)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm reparent)\n  #:use-module (guile-wm log))\n\n(define-public current-focus #f)\n\n(define-public (set-focus new-focus)\n  (with-replies ((input-focus get-input-focus))\n    (define old-focus (xref input-focus 'focus))\n    (run-wm-hook focus-change old-focus new-focus)\n    (set-input-focus 'pointer-root new-focus 0)\n    (set! current-focus new-focus)\n    (configure-window (window-parent new-focus) #:stack-mode 'above)))\n\n(define-public focus-change (make-wm-hook 2))\n"
  },
  {
    "path": "module/guile-wm/icccm.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm icccm)\n  #:use-module (ice-9 binary-ports)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml struct)\n  #:use-module (xcb xml type)\n  #:use-module (xcb xml xproto)\n  #:use-module (guile-wm shared))\n\n(define max-length (- (expt 2 32) 1))\n(define-public (pre-defined-atom sym) (make-xid (xenum-ref atom sym) xatom))\n\n(define wm-name-atom (pre-defined-atom 'wm-name))\n\n(define-public (request-window-property win atom)\n  (delay-reply get-property #f win atom (pre-defined-atom 'any) 0 max-length))\n\n(define-public (get-window-property win atom)\n  (solicit (request-window-property win atom)))\n\n(define-public (window-property-value get-property-reply)\n  (xref-string get-property-reply 'value))\n\n(define-public (window-property-type get-property-reply)\n  (xref get-property-reply 'type))\n\n(define (force-requests reqs)\n  (define (get-result req) (solicit req))\n  (map get-result reqs))\n\n(define-public (window-attributes wins)\n  (define (make-request win) (delay-reply get-window-attributes win))\n  (force-requests (map make-request wins)))\n\n(define-public (window-names wins)\n  (define (make-request win) (request-window-property win wm-name-atom))\n  (map window-property-value (force-requests (map make-request wins))))\n\n(define-public (window-name win)\n  (window-property-value (get-window-property win wm-name-atom)))\n\n(define-public (top-level-windows)\n  (define query (reply-for query-tree (current-root)))\n  (define wins (vector->list (xref query 'children)))\n  (define attribute-alist (map cons wins (window-attributes wins)))\n  (define (is-top-level? attr-pair) \n    (and (eq? (xref (cdr attr-pair) 'map-state) 'viewable)\n         (not (xref (cdr attr-pair) 'override-redirect))))\n  (map car (filter is-top-level? attribute-alist)))\n\n(define-public (top-level-window? win)\n  (let lp ((wins (top-level-windows)))\n    (cond ((null? wins) #f)\n          ((xid= (car wins) win) #t)\n          (else (lp (cdr wins))))))\n\n(define-xcb-struct wm-size-hints\n  (make-wm-size-hints\n   flags min-width min-height max-width max-height\n   width-inc height-inc min-aspect-numerator\n   min-aspect-denominator max-aspect-numerator\n   max-aspect-denominator base-width base-height\n   win-gravity)\n  wm-size-hints? wm-size-hints-type #f 72\n  (flags CARD32)\n  (*pad* 16)\n  (min-width INT32)\n  (min-height INT32)\n  (max-width INT32)\n  (max-height INT32)\n  (width-inc INT32)\n  (height-inc INT32)\n  (min-aspect-numerator INT32)\n  (min-aspect-denominator INT32)\n  (max-aspect-numerator INT32)\n  (max-aspect-denominator INT32)\n  (base-width INT32)\n  (base-height INT32)\n  (win-gravity INT32))\n\n(define-xcb-struct wm-hints\n  (make-wm-hints\n   flags input initial-state icon-pixmap icon-x icon-y icon-mask window-group)\n  wm-hints? wm-hints-type #f 36\n  (flags CARD32)\n  (input CARD32)\n  (initial-state CARD32)\n  (icon-pixmap xpixmap)\n  (icon-window xwindow)\n  (icon-x INT32)\n  (icon-y INT32)\n  (icon-mask xpixmap)\n  (window-group xwindow))\n\n(define-xcb-struct wm-state\n  (make-wm-state state icon)\n  wm-state? wm-state-type #f 8\n  (state CARD32)\n  (icon xwindow))\n\n(define-public (window-struct-property win struct atom)\n  (define property (get-window-property win atom))\n  (define bv\n    (if (xid= (xref property 'type) (pre-defined-atom 'none)) #f\n        (list->u8vector (vector->list (xref property 'value)))))\n  (if (not bv) #f\n      (xcb-struct-unpack\n       struct\n       (open-bytevector-input-port\n        bv))))\n\n(define-public window-state-withdrawn 0)\n(define-public window-state-normal 1)\n(define-public window-state-iconic 3)\n\n(define-public (window-wm-hints win)\n  (window-struct-property win wm-hints (pre-defined-atom 'wm-hints)))\n\n(define wm-state-atom\n  (let ((a #f))\n    (lambda ()\n      (cond (a a)\n            (else (set! a (xref (reply-for intern-atom #f \"WM_STATE\") 'atom))\n                  a)))))\n\n(define-public (window-state win)\n  (window-struct-property win wm-state (wm-state-atom)))\n\n(define-public (set-window-state! win state)\n  (define new-win-wm-state (or (window-state win) (make-wm-state 0 0)))\n  (xset! new-win-wm-state 'state state)\n  (let ((property-atom (wm-state-atom)))\n   (change-property\n    'replace win property-atom property-atom 8\n    (list->vector\n     (u8vector->list (xcb-struct-pack-to-bytevector new-win-wm-state))))))\n\n(define-public (window-size-hints win)\n  (window-struct-property\n   win wm-size-hints (pre-defined-atom 'wm-normal-hints)))\n"
  },
  {
    "path": "module/guile-wm/keymap.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm keymap)\n  #:use-module (srfi srfi-9)\n  #:export (define-keymap create-keymap define-keymap-once\n             create-prompt-keymap define-prompt-keymap))\n\n(define-record-type keymap\n  (make-keymap-inner mappings default)\n  keymap?\n  (mappings mappings)\n  (default default set-default!))\n\n(define-public (keymap-ignore key . args) (apply values args))\n\n(define* (make-keymap #:optional default)\n  (make-keymap-inner (make-hash-table) default))\n\n(define-public (keymap-with-default keymap default)\n  (make-keymap-inner (mappings keymap) default))\n\n(define-public (bind-key! keymap key proc-or-keymap)\n  (if (not (or (procedure? proc-or-keymap) (keymap? proc-or-keymap)))\n      (error \"keymap: Attempt to bind to a non-procedure/keymap\")\n      (hashq-set!\n       (mappings keymap) key\n       (if (procedure? proc-or-keymap)\n           (lambda (get-key . args) (apply proc-or-keymap args))\n           proc-or-keymap))))\n\n(define-public (bind-intermediate-key! keymap key proc)\n  (if (not (procedure? proc))\n      (error \"keymap: Attempt to bind to a non-procedure\")\n      (hashq-set! (mappings keymap) key proc)))\n\n(define-public (unbind-key! keymap key)\n  (hashq-remove! (mappings keymap) key))\n\n(define-syntax define-keymap-once\n  (syntax-rules ()\n    ((_ name mapping ...)\n     (define-once name (create-keymap mapping ...)))))\n\n(define-syntax define-keymap\n  (syntax-rules ()\n    ((_ name mapping ...)\n     (define name (create-keymap mapping ...)))))\n\n(define-syntax create-keymap\n  (syntax-rules ()\n    ((_ mapping ...)\n     (let ((km (make-keymap)))\n       (make-mapping km mapping) ... km))))\n\n(define-syntax make-mapping\n  (syntax-rules (=> ==>)\n    ((_ km ((k ==> args ...) stmt ...))\n     (bind-intermediate-key! km (quasiquote k) (lambda (args ...) stmt ...)))\n    ((_ km ((k args ...) stmt ...))\n     (bind-key! km (quasiquote k) (lambda (args ...) stmt ...)))\n    ((_ km (k => proc))\n     (bind-key! km (quasiquote k) (lambda args (apply proc args))))\n    ((_ km k ==> proc)\n     (bind-intermediate-key! km (quasiquote k) proc))))\n\n(define-public (keymap-lookup keymap key-provider . args)\n  (let* ((key (key-provider))\n         (val (hashq-ref (mappings keymap) key)))\n    (if val\n        (lambda () (apply val key-provider args))\n        (lambda () (apply (default keymap) key args)))))\n\n(define-public (do-keymap keymap key-provider . args)\n  ((apply keymap-lookup keymap key-provider args)))\n\n(define-public (cancel-keymap state . args) (apply values 'cancel args))\n(define-public (confirm-keymap state . args) (apply values 'confirm args))\n(define-public (continue-keymap state . args) (apply values 'continue args))\n(define-public (do-prompt-keymap\n         keymap get-key on-continue on-confirm on-cancel . args)\n  (apply on-continue args)\n  (let lp ((state 'continue) (args args))\n    (call-with-values (apply keymap-lookup keymap get-key state args)\n       (lambda (new-state . new-args)\n         (case new-state\n          ((continue) (apply on-continue new-args) (lp new-state new-args))\n          ((cancel) (apply on-cancel new-args))\n          ((confirm) (apply on-confirm new-args)))))))\n\n(define-syntax create-prompt-keymap\n  (syntax-rules ()\n    ((_ mapping ...)\n     (let ((km (make-keymap)))\n       (make-prompt-mapping km mapping) ...\n       (bind-key! km 'escape cancel-keymap)\n       (bind-key! km 'C-g cancel-keymap)\n       (bind-key! km 'return confirm-keymap)\n       km))))\n\n(define-syntax define-prompt-keymap\n  (syntax-rules ()\n    ((_ name mapping ...)\n     (define name (create-prompt-keymap mapping ...)))))\n\n(define-syntax make-prompt-mapping\n  (syntax-rules (=> ==>)\n    ((_ km ((k ==> args ...) stmt ...))\n     (make-mapping km ((k ==> args ...) stmt ...)))\n    ((_ km ((k args ...) stmt ...))\n     (bind-key! km (quasiquote k)\n                (lambda (state args ...)\n                  (call-with-values (lambda () stmt ...)\n                    (lambda vals\n                      (apply continue-keymap state vals))))))\n    ((_ km (k => proc))\n     (bind-key! km (quasiquote k)\n                (lambda (state . args)\n                  (call-with-values\n                      (lambda () (apply proc args))\n                    (lambda vals (apply continue-keymap state vals))))))\n    ((_ km k ==> proc)\n     (make-mapping km k ==> proc))))\n\n(define-public (prompt-keymap-with-default keymap default)\n  (make-keymap-inner\n   (mappings keymap)\n   (lambda (key state . args)\n     (call-with-values (lambda () (apply default key args))\n       (lambda vals (apply continue-keymap state vals))))))\n"
  },
  {
    "path": "module/guile-wm/keystroke.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm keystroke)\n  #:use-module (ice-9 receive)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml xproto)\n  #:use-module (guile-wm keysyms)\n  #:use-module (guile-wm log))\n\n(define modifier-keys\n  '(left-control right-control left-shift\n                 left-meta right-meta\n                 right-shift left-super right-super menu))\n\n(define-public (keystroke-listen! win)\n  \"Returns a procedure that will solicit a keypress with WIN focused\nand return the associated key symbol. The returned procedure takes the\nsame arguments as `solicit'. TAG is a unique name for the listener, as\ndescribed in `create-tagged-listener'.\"\n  (receive (stop! reset!)\n   (create-tagged-listener win\n       (stop! reset!\n              (define keysym-table (make-keysym-table))\n              (define modifier-table (make-modifier-table))\n              (define num-lock-modifier\n                (get-num-lock-modifier keysym-table modifier-table)))\n     ((key-press-event key-press #:event win)\n      (define sym \n        (key->symbol modifier-table keysym-table (xref key-press 'detail)\n                     (xref key-press 'state) num-lock-modifier))\n      (if (not (memq sym modifier-keys)) (notify win sym)))\n     ((destroy-notify-event destroy-notify #:event win) (unsolicit win) (stop!))\n     ((unmap-notify-event notify #:window win) (stop!))\n     ((mapping-notify-event mapping) (reset!)))\n   (case-lambda\n     (() (solicit win))\n     ((proc) \n      (if (not proc) (stop!))\n      (solicit win proc)))))\n\n"
  },
  {
    "path": "module/guile-wm/keysyms.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm keysyms)\n  #:use-module (srfi srfi-1)\n  #:use-module (ice-9 regex)\n  #:use-module (ice-9 receive)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml xproto))\n\n(define (populate-hash! hsh alist)\n  (for-each\n   (lambda (keysym-name)\n     (define k (car keysym-name))\n     (if (number? k)\n         (hashv-set! hsh k (cdr keysym-name))\n         (hashq-set! hsh k (cdr keysym-name))))\n   alist))\n\n(define-public (sym->printable sym)\n  (define str (symbol->string sym))\n  (if (= (string-length str) 1)\n      (substring str 0 1)\n      (case sym\n        ((space) \" \")((bang) \"!\")((double-quote) \"\\\"\")((hash) \"#\")((dollar) \"$\")\n        ((percent) \"%\")((ampersand) \"&\")((single-quote) \"'\")((left-paren) \"(\")\n        ((right-paren) \")\")((asterisk) \"*\")((plus) \"+\")((comma) \",\")((dash) \"-\")\n        ((period) \".\")((slash) \"/\")((zero) \"0\")((one) \"1\")((two) \"2\")\n        ((three) \"3\")((four) \"4\")((five) \"5\")((six) \"6\")((seven) \"7\")\n        ((eight) \"8\")((nine) \"9\")((colon) \":\")((semicolon) \";\")\n        ((greater-than) \">\")((equal) \"=\")((less-than) \"<\")((question) \"?\")\n        ((at-sign) \"@\")((left-bracket) \"[\")((backslash) \"\\\\\")\n        ((right-bracket) \"]\")((carat) \"^\")((underscore) \"_\")((backtick) \"`\")\n        ((left-brace) \"{\")((pipe) \"|\")((right-brace) \"}\")((tilda) \"~\")\n        (else #f))))\n\n(define human-friendly-latin1-names (make-hash-table))\n(define human-friendly-latin1-names-rev (make-hash-table))\n\n(define human-friendly-latin1-alist\n  '((#x20 . space)\n    (#x21 . bang)\n    (#x22 . double-quote)\n    (#x23 . hash)\n    (#x24 . dollar)\n    (#x25 . percent)\n    (#x26 . ampersand)\n    (#x27 . single-quote)\n    (#x28 . left-paren)\n    (#x29 . right-paren)\n    (#x2A . asterisk)\n    (#x2B . plus)\n    (#x2C . comma)\n    (#x2D . dash)\n    (#x2E . period)\n    (#x2F . slash)\n    (#x30 . zero)\n    (#x31 . one)\n    (#x32 . two)\n    (#x33 . three)\n    (#x34 . four)\n    (#x35 . five)\n    (#x36 . six)\n    (#x37 . seven)\n    (#x38 . eight)\n    (#x39 . nine)\n    (#x3A . colon)\n    (#x3B . semicolon)\n    (#x3C . less-than)\n    (#x3D . equal)\n    (#x3E . greater-than)\n    (#x3F . question)\n    (#x40 . at-sign)\n    (#x5B . left-bracket)\n    (#x5C . backslash)\n    (#x5D . right-bracket)\n    (#x5E . carat)\n    (#x5F . underscore)\n    (#x60 . backtick)\n    (#x7B . left-brace)\n    (#x7C . pipe)\n    (#x7D . right-brace)\n    (#x7E . tilda)\n    (#x7F . delete)))\n\n(populate-hash! human-friendly-latin1-names human-friendly-latin1-alist)\n(populate-hash!\n human-friendly-latin1-names-rev\n (hash-map->list (lambda (k v) (cons v k)) human-friendly-latin1-names))\n\n(define keysym-lookup-table (make-hash-table))\n(define keysym-lookup-table-rev (make-hash-table))\n\n(define keysym-lookup-alist\n  '((#xFF08 . backspace)\n    (#xFF09 . tab)\n    (#xFF0D . return)\n    (#xFF0A . linefeed)\n    (#xFF13 . pause)\n    (#xFF14 . scroll-lock)\n    (#xFF1B . escape)\n    (#xFF50 . home)\n    (#xFF51 . left)\n    (#xFF52 . up)\n    (#xFF53 . right)\n    (#xFF54 . down)\n    (#xFF55 . page-up)\n    (#xFF56 . page-down)\n    (#xFF57 . end)\n    (#xFF61 . print)\n    (#xFF63 . insert)\n    (#xFF67 . menu)\n    (#xFF9F . delete)\n    (#xFF7F . num-lock)\n    (#xFF80 . space)\n    (#xFF89 . tab)\n    (#xFF8D . enter)\n    (#xFF9C . end)\n    (#xFFBE . F1)\n    (#xFFBF . F2)\n    (#xFFC0 . F3)\n    (#xFFC1 . F4)\n    (#xFFC2 . F5)\n    (#xFFC3 . F6)\n    (#xFFC4 . F7)\n    (#xFFC5 . F8)\n    (#xFFC6 . F9)\n    (#xFFC7 . F10)\n    (#xFFC8 . F11)\n    (#xFFC9 . F12)\n    (#xFFCA . F13)\n    (#xFFCB . F14)\n    (#xFFCC . F15)\n    (#xFFCD . F16)\n    (#xFFCE . F17)\n    (#xFFCF . F18)\n    (#xFFD0 . F19)\n    (#xFFD1 . F20)\n    (#xFFD2 . F21)\n    (#xFFD3 . F22)\n    (#xFFD4 . F23)\n    (#xFFD5 . F24)\n    (#xFFD6 . F25)\n    (#xFFD7 . F26)\n    (#xFFD8 . F27)\n    (#xFFD9 . F28)\n    (#xFFDA . F29)\n    (#xFFDB . F30)\n    (#xFFDC . F31)\n    (#xFFDD . F32)\n    (#xFFDE . F33)\n    (#xFFDF . F34)\n    (#xFFE1 . left-shift)\n    (#xFFE2 . right-shift)\n    (#xFFE3 . left-control)\n    (#xFFE4 . right-control)\n    (#xFFE5 . caps-lock)\n    (#xFFE6 . shift-lock)\n    (#xFFE7 . left-meta)\n    (#xFFE8 . right-meta)\n    (#xFFEB . left-super)\n    (#xFFEC . right-super)\n    (#xFFFF . delete)))\n\n(populate-hash! keysym-lookup-table keysym-lookup-alist)\n(populate-hash!\n keysym-lookup-table-rev\n (hash-map->list (lambda (k v) (cons v k)) keysym-lookup-table))\n\n(define-public (make-keysym-table)\n  (define connection-setup (xcb-connection-setup (current-xcb-connection)))\n  (define min-keycode (xref connection-setup 'min-keycode))\n  (define max-keycode (xref connection-setup 'max-keycode))\n  (define count (+ (- max-keycode min-keycode) 1))\n  (solicit\n   (with-replies ((keymap-reply get-keyboard-mapping min-keycode count))\n     (define keysym-table (make-hash-table))\n     (define keymaps-per-entry (xref keymap-reply 'keysyms-per-keycode))\n     (define keymap (xref keymap-reply 'keysyms))\n     (let keycode-map ((n min-keycode))\n       (define keysyms\n         (let group-keysyms ((i 0) (keysyms-for-keycode '()))\n           (define new-keysym\n             (vector-ref keymap (+ i (* keymaps-per-entry (- n min-keycode)))))\n           (define group (cons new-keysym keysyms-for-keycode))\n           (if (< i (- keymaps-per-entry 1))\n               (group-keysyms (+ i 1) group) group)))\n       (hashv-set! keysym-table n (reverse keysyms))\n       (if (= n max-keycode) keysym-table (keycode-map (+ n 1)))))))\n\n(define-public (make-modifier-table)\n  (solicit\n   (with-replies ((mod-reply get-modifier-mapping))\n     (define modifier-table (make-hash-table))\n     (define keycodes-per-entry (xref mod-reply 'keycodes-per-modifier))\n     (define modmap (xref mod-reply 'keycodes))\n     (let modmap-map ((n 0))\n       (define modifiers\n         (let group-keycodes ((i 0) (keycodes-for-modifier '()))\n           (define new-keycode\n             (vector-ref modmap (+ i (* keycodes-per-entry n))))\n           (define group (cons new-keycode keycodes-for-modifier))\n           (if (< i (- keycodes-per-entry))\n               (group-keycodes (+ i 1) group) group)))\n       (hashq-set! modifier-table\n                   (xenum-key-ref key-but-mask (expt 2 n))\n                   (reverse modifiers))\n       (if (= n 7) modifier-table (modmap-map (+ n 1)))))))\n\n(define (keysym->symbol keysym)\n  (cond\n   ((not keysym) #f)\n   ((= 0 keysym) #f) ;; NoSymbol\n   ((or\n     (and (>= keysym #x20) (<= keysym #x7E))\n     (and (>= keysym #xA0) (<= keysym #xFF))) ;; Latin1\n    (or\n     (hashv-ref human-friendly-latin1-names keysym)\n     (string->symbol (string (integer->char keysym)))))\n   ((and (>= keysym #x1000100) (<= keysym #x110FFFF)) ;; Unicode\n    (string->symbol (string (integer->char (- keysym #x1000000)))))\n   (else (hashv-ref keysym-lookup-table keysym))))\n\n(define (symbol->keysym sym)\n  (define str (symbol->string sym))\n  (define ch (string-ref str 0))\n  (define int (char->integer ch))\n  (cond\n   ((not sym) 0)\n   ((= (string-length str) 1)\n    (if (or (and (>= int #x20) (<= int #x7E))\n            (and (>= int #xA0) (<= int #xFF)))\n        (char->integer (string-ref str 0)) ;; Latin1 letter\n        (+ #x1000000 (char->integer (string-ref str 0))))) ;; Unicode letter\n   ((hashq-ref human-friendly-latin1-names-rev sym) => identity) ;; Latin1 number/symbol\n   (else (hashq-ref keysym-lookup-table-rev sym)))) ;; Other keys\n\n(define (get-lock-type modifier-table keysym-table)\n  (define lock-mapping (hashq-ref modifier-table 'lock))\n  (if (null? lock-mapping)\n      #f\n      (let search-keycodes ((keycodes lock-mapping))\n        (or\n         (let search-keysyms ((keysyms (hashq-ref keysym-table (car keycodes))))\n           (cond\n            ((not keysyms) #f)\n            ((eq? (car keysyms) #xFFE5) 'caps-lock)\n            ((eq? (car keysyms) #xFFE6) 'shift-lock)\n            (else (search-keysyms (cdr keysyms)))))\n         (if (null? (cdr keycodes))\n             'no-lock (search-keycodes (cdr keycodes)))))))\n\n(define (keysym-has-case? keysym case-proc)\n  (define (convert)\n    (define str (symbol->string (keysym->symbol keysym)))\n    (and (= (string-length str) 1)\n         (case-proc (string-ref str 0))))\n  (if (> keysym 0) (convert) #f))\n\n(define (to-case keysym proc)\n  (define str (symbol->string (keysym->symbol keysym)))\n  (char->integer (proc (string-ref str 0))))\n\n(define (keypad-sym? keysym)\n  (or (and (>= keysym #xFF80) (<= keysym #xFFBD))\n      (and (>= keysym #x11000000) (<= keysym #x1100FFFF))))\n\n(define-public (get-num-lock-modifier modifier-table keysym-table)\n  (let look-in-modifiers ((modifiers (hash-map->list cons modifier-table)))\n    (define modifier (caar modifiers))\n    (cond\n     ((let look-in-keycodes ((keycodes (cdar modifiers)))\n        (cond\n         ((null? keycodes) #f)\n         ((= 0 (car keycodes)) #f)\n         ((let look-in-keysyms\n              ((keysyms (hashv-ref keysym-table (car keycodes))))\n            (cond ((not keysyms) #f)\n                  ((null? keysyms) #f)\n                  ((= (car keysyms) #xFF7F) modifier)\n                  (else (look-in-keysyms (cdr keysyms))))) => const)\n         (else (look-in-keycodes (cdr keycodes))))) => const)\n     ((null? (cdr modifiers)) #f)\n     (else (look-in-modifiers (cdr modifiers))))))\n\n(define-public\n  (key->symbol modifier-table keysym-table keycode modifiers num-lock-modifier)\n  (define shift? (memq 'shift modifiers))\n  (define lock? (memq 'lock modifiers))\n  (define num-lock? (memq num-lock-modifier modifiers))\n  (define lock-type (get-lock-type modifier-table keysym-table))\n  (define (pick-keysym keysyms)\n   (cond\n    ((and num-lock? (keypad-sym? (cadr keysyms)))\n     (if (or shift? (and lock? (eq? lock-type 'shift-lock)))\n         (car keysyms) (cadr keysyms)))\n    ((and (not shift?) (not lock?)) (car keysyms))\n    ((and (not shift?) lock? (eq? lock-type 'caps-lock))\n     (if (keysym-has-case? (car keysyms) char-lower-case?)\n         (to-case (car keysyms) char-upcase) (car keysyms)))\n    ((and shift? lock? (eq? lock-type 'caps-lock))\n     (if (keysym-has-case? (cadr keysyms) char-upper-case?)\n         (to-case (cadr keysyms) char-downcase) (cadr keysyms)))\n    ((or shift? (and lock? (eq? lock-type 'shift-lock))) (cadr keysyms))))\n  (define (lookup-symbol)\n    (define keysyms (hashv-ref keysym-table keycode))\n    (let keysym-match ((keysyms keysyms))\n      (if (null? keysyms) keycode\n          (or (keysym->symbol (pick-keysym keysyms))\n              (keysym-match (cdr keysyms))))))\n  (define connection-setup (xcb-connection-setup (current-xcb-connection)))\n  (cond\n   ((= (hash-count (const #t) keysym-table) 0)\n    (warn \"keysym table is empty\"))\n   ((or (< keycode (xref connection-setup 'min-keycode))\n        (> keycode (xref connection-setup 'max-keycode)))\n    (error \"keycode out of range\" keycode))\n   (else (with-modifiers (lookup-symbol) modifiers))))\n\n(define (keysyms->keycodes keysym-table)\n  (define keycodes (make-hash-table))\n  (define (register-keysym code syms)\n    (define (add-code codes) (cons code codes))\n    (for-each \n     (lambda (sym)\n       (hashv-set! \n        keycodes sym\n        (or (and=> (hashv-ref keycodes sym) add-code)\n            (list code))))\n     (take syms 2)))\n  (hash-for-each register-keysym keysym-table)\n  keycodes)\n\n(define-public (symbol->key keysym-table sym)\n  (define str (symbol->string sym))\n  (define keycodes (keysyms->keycodes keysym-table))\n  (receive (remainder mods)\n      (let process-mods ((str-left str) (mods '()))\n        (define match (string-match \"([MC][2345]?-)(.+)\" str-left))\n        (define (add-mod) \n          (process-mods\n           (match:substring match 2)\n           (cons\n            (case (string->symbol (match:substring match 1))\n              ((M-) '#{1}#)\n              ((M2-) '#{2}#)\n              ((M3-) '#{3}#)\n              ((M4-) '#{4}#)\n              ((M5-) '#{5}#)\n              ((C-) 'control)\n              (else => (lambda (m) (error \"Unrecognized key prefix\" m))))\n            mods)))\n        (if match (add-mod) (values str-left mods)))\n    (values (hashv-ref keycodes (symbol->keysym (string->symbol remainder)))\n            mods)))\n\n(define (with-modifiers sym modifiers)\n  (define modifier-prefixes\n    '((mod5 . M5-) (mod4 . M4-)\n      (mod3 . M3-) (mod2 . M2-)\n      (mod1 . M-)  (control . C-)))\n  (define (addmod mod s)\n    (if (memq (car mod) modifiers)\n        (symbol-append (cdr mod) s) s))\n  (fold addmod sym modifier-prefixes))\n"
  },
  {
    "path": "module/guile-wm/log.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm log)\n  #:use-module (ice-9 format)\n  #:use-module (xcb event-loop))\n\n(define-public (log! message)\n  (let ((tm (localtime (current-time))))\n    (format #t \"~2,'0d:~2,'0d:~2,'0d  ~a\\n\"\n            (tm:hour tm) (tm:min tm) (tm:sec tm) message)))\n\n(define port #f)\n\n(define-public (open-log logfile)\n  (set! port (open-file logfile \"w0\"))\n  (current-output-port port)\n  (current-error-port port))\n\n(define-public (close-log)\n  (if port (close-port port)))\n"
  },
  {
    "path": "module/guile-wm/module/cursor.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module cursor)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm command)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto))\n\n(define-public x-cursors\n  '((x-cursor . 0)\n    (arrow . 2)\n    (based-arrow-down . 4)\n    (based-arrow-up . 6)\n    (boat . 8)\n    (bogosity . 10)\n    (bottom-left-corner . 12)\n    (bottom-right-corner . 14)\n    (bottom-side . 16)\n    (bottom-tee . 18)\n    (box-spiral . 20)\n    (center-ptr . 22)\n    (circle . 24)\n    (clock . 26)\n    (coffee-mug . 28)\n    (cross . 30)\n    (cross-reverse . 32)\n    (crosshair . 34)\n    (diamond-cross . 36)\n    (dot . 38)\n    (dotbox . 40)\n    (double-arrow . 42)\n    (draft-large . 44)\n    (draft-small . 46)\n    (draped-box . 48)\n    (exchange . 50)\n    (fleur . 52)\n    (gobbler . 54)\n    (gumby . 56)\n    (hand1 . 58)\n    (hand2 . 60)\n    (heart . 62)\n    (icon . 64)\n    (iron-cross . 66)\n    (left-ptr . 68)\n    (left-side . 70)\n    (left-tee . 72)\n    (leftbutton . 74)\n    (ll-angle . 76)\n    (lr-angle . 78)\n    (man . 80)\n    (middlebutton . 82)\n    (mouse . 84)\n    (pencil . 86)\n    (pirate . 88)\n    (plus . 90)\n    (question-arrow . 92)\n    (right-ptr . 94)\n    (right-side . 96)\n    (right-tee . 98)\n    (rightbutton . 100)\n    (rtl-logo . 102)\n    (sailboat . 104)\n    (sb-down-arrow . 106)\n    (sb-h-double-arrow . 108)\n    (sb-left-arrow . 110)\n    (sb-right-arrow . 112)\n    (sb-up-arrow . 114)\n    (sb-v-double-arrow . 116)\n    (shuttle . 118)\n    (sizing . 120)\n    (spider . 122)\n    (spraycan . 124)\n    (star . 126)\n    (target . 128)\n    (tcross . 130)\n    (top-left-arrow . 132)\n    (top-left-corner . 134)\n    (top-right-corner . 136)\n    (top-side . 138)\n    (top-tee . 140)\n    (trek . 142)\n    (ul-angle . 144)\n    (umbrella . 146)\n    (ur-angle . 148)\n    (watch . 150)\n    (xterm . 152)))\n\n(define-public (make-cursor glyph)\n  (define cursor (make-new-xid xcursor))\n  (define glyph-num (assq-ref x-cursors glyph))\n  (with-font (\"cursor\" font)\n    (create-glyph-cursor\n     cursor font font glyph-num (+ 1 glyph-num) 0 0 0 #xFFFF #xFFFF #xFFFF))\n  cursor)\n\n(define-command (set-cursor! (cursor #:symbol))\n\"Set the cursor to the X11 cursor glyph associated with the symbol\nCURSOR in `x-cursors'.\"\n  (change-window-attributes (current-root) #:cursor (make-cursor cursor)))\n"
  },
  {
    "path": "module/guile-wm/module/fullscreen.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module fullscreen)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm module randr)\n  #:use-module (guile-wm reparent))\n\n(define (get-current-window)\n  (define current-window\n    (let ((focus-info (reply-for get-input-focus)))\n      (if (memv (xid->integer (xref focus-info 'focus)) \n                (xenum-values input-focus))\n          (let ((query-pointer (reply-for query-pointer (current-root))))\n            (xref query-pointer 'child))\n          (xref focus-info 'focus))))\n  (if (= (xid->integer current-window) 0) #f current-window))\n\n(define (get-matching-display-bounds win-x win-y)\n  (let find-dimens ((possible (get-output-dimensions)))\n    (if (null? possible)\n        (values #f #f #f #f)\n        (let ((x (assq-ref (car possible) 'x))\n              (y (assq-ref (car possible) 'y))\n              (height (assq-ref (car possible) 'height))\n              (width (assq-ref (car possible) 'width)))\n          (if (and (>= win-x x) (>= win-y y)\n                   (< win-x (+ x width)) (< win-y (+ y height)))\n              (values width height x y)\n              (find-dimens (cdr possible)))))))\n\n(define-command (fullscreen)\n\"Resize the focused window to take up the whole screen (or output, if\nrandr is enabled).\"\n  (define (fullscreen-it win)\n    (with-replies ((geom get-geometry win))\n      (define border (* 2 (xref geom 'border-width)))\n      (call-with-values\n          (lambda () (get-matching-display-bounds \n                      (xref geom 'x) (xref geom 'y)))\n        (lambda (width height x y)\n          (if width (configure-window win\n                      #:x x #:y y\n                      #:height (- height border) \n                      #:width (- width border)))))))\n  (and=> (and (get-current-window) (window-parent (get-current-window)))\n         fullscreen-it))\n"
  },
  {
    "path": "module/guile-wm/module/help.scm",
    "content": "(define-module (guile-wm module help)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm shared)\n  #:use-module (language command spec))\n\n(use-wm-modules message menu)\n\n(define (format-type type)\n  (case type\n    ((#:string) \"string\")\n    ((#:symbol) \"symbol\")\n    ((#:number) \"number\")))\n\n(define (format-arg arg)\n  (format #f \"(^(color cyan)~a^(color white): ^(color salmon)~a^(color white)) \"\n          (car arg) (format-type (cdr arg))))\n\n(define (format-args args)\n  (if (list? args)\n      (apply string-append (map format-arg args))\n      (format #f \"~a ...\" (format-arg args))))\n\n(define (command-description c)\n  (define summary (command-summary c))\n  (format #f \"~a\\n~a\" summary (command-documentation c)))\n\n(define (command-summary c)\n  (format #f \"^(color wheat)~a^(color white) ~a\" \n          (symbol->string c)\n          (format-args (hashq-ref commands c))))\n\n(define-command (help)\n  \"List all the commands and show documentation for the one selected\nby the user\"\n  (menu \"Select a command:\"\n        (map (lambda (c)\n               (cons (symbol->string c)\n                     (command-description c)))\n             (hash-map->list (lambda (k v) k) commands))\n        (lambda (doc)\n          (if doc (sticky-message doc) (message \"Not documented\")))))\n\n(define-command (document (cmd #:symbol))\n  \"Display arguments, their types, and the docstring for command CMD\"\n  (sticky-message (command-description cmd)))\n\n"
  },
  {
    "path": "module/guile-wm/module/magnetic.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module magnetic)\n  #:use-module (guile-wm shared)\n  #:use-module (srfi srfi-2)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb event-loop))\n\n(use-wm-modules tinywm tiling)\n\n(define (fit-to-bounds wind)\n  (and-let* ((tile (tile-for win)))\n    (move-tile tile tile)))\n\n(define (snap-to-tile win)\n  (with-replies ((geom get-geometry win))\n    (and-let* ((new-tile (tile-at (xref geom 'x) (xref geom 'y)))\n               ((tile-for win)))\n      (if (not (xid= blank-x-window win))\n          (move-tile selected-tile new-tile)))))\n\n(define (start-magnetic!)\n  (add-wm-hook! tinywm-drag-end-hook snap-to-tile)\n  (add-wm-hook! tinywm-resize-end-hook fit-to-bounds))\n\n(define (stop-magnetic!)\n  (remove-wm-hook! tinywm-drag-end-hook snap-to-tile)\n  (remove-wm-hook! tinywm-resize-end-hook fit-to-bounds))\n\n(add-wm-hook! stop-tiling-hook stop-magnetic!)\n(add-wm-hook! start-tiling-hook start-magnetic!)\n"
  },
  {
    "path": "module/guile-wm/module/menu.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module menu)\n  #:use-module (guile-wm keymap)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm keystroke)\n  #:use-module (guile-wm module root-keymap)\n  #:use-module (guile-wm text)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm draw)\n  #:use-module (ice-9 curried-definitions)\n  #:use-module (ice-9 vlist)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml xproto)\n  #:export (menu menu-keymap (font-string . menu-font)))\n\n(use-wm-modules message)\n\n(define font-string \"fixed\")\n\n(define-public (menu-point-down row-count row)\n  (values row-count (min (+ row 1) (- row-count 1))))\n(define-public (menu-point-up row-count row)\n  (values row-count (max 0 (- row 1))))\n(define-public (menu-point-circulate row-count row)\n  (values row-count (if (= (+ row 1) row-count) 0 (+ row 1))))\n\n(define-prompt-keymap menu-keymap\n  (C-n         => menu-point-down)\n  (down        => menu-point-down)\n  (tab         => menu-point-circulate)\n  (C-p         => menu-point-up)\n  (up          => menu-point-up))\n\n(define-once menu-window #f)\n\n(define (prepare-text lines row)\n  (define with-highlight\n    (vlist-append\n     (vlist-take lines row)\n     (vlist-cons\n      (string-append \"^(invert)\" (vlist-ref lines row) \"^(invert)\")\n      (vlist-drop lines (+ row 1)))))\n  (string-join (vlist->list with-highlight) \"\\n\"))\n\n(define* (menu prompt choice-alist action #:optional default)\n  (define (continue-menu row-count row)\n    (define text (vlist-cons prompt choice-vlist))\n    (put-text (prepare-text text (+ 1 row))\n              menu-window 'white 'black font-string))\n  (define (confirm-menu row-count row)\n    (unmap-window menu-window)\n    (action (cdr (list-ref choice-alist row))))\n  (define (cancel-menu row-count row)\n    (unmap-window menu-window)\n    (if default (action default)))\n  (define choice-vlist (list->vlist (map car choice-alist)))\n  (unmap-window message-window)\n  (configure-window menu-window #:stack-mode 'above)\n  (map-window menu-window)\n  (with-root-keymap-disabled\n   (do-prompt-keymap\n    (prompt-keymap-with-default\n     menu-keymap (lambda (key row-num row) (values row-num row)))\n    (keystroke-listen! menu-window)\n    continue-menu confirm-menu cancel-menu\n    (vlist-length choice-vlist) 0)))\n\n(wm-init\n (lambda () (set! menu-window (fixed-window-create 0 0 200 20 0))))\n"
  },
  {
    "path": "module/guile-wm/module/message.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module message)\n  #:use-module (guile-wm text)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm shared)\n  #:use-module (ice-9 threads)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb event-loop)\n  #:export ((font-string . message-font) message-window))\n\n(define font-string \"fixed\")\n\n(define-public message-default-timeout 8)\n(define hide-message-thread #f)\n\n(define (show-message msg)\n  (define screen (current-screen))\n  (map-window message-window)\n  (put-text msg message-window 'white 'black font-string)\n  (configure-window message-window #:stack-mode 'above)\n  (if hide-message-thread (cancel-thread hide-message-thread)))\n\n(define-command (message msg #:string)\n  \"Display MSG in the upper right hand corner of the screen. It will\ndisappear after eight seconds.\"\n  (message-with-timeout (string-join msg) message-default-timeout))\n\n(define-command (message-with-timeout (msg #:string) (timeout #:number))\n  \"Display MSG in the upper right hand corner of the screen for\nTIMEOUT seconds.\"\n  (show-message msg)\n  (set!\n   hide-message-thread\n   (make-thread (lambda () (sleep timeout) (hide-message)))))\n\n(define-command (sticky-message msg #:string)\n  \"Display MSG in the upper right hand corner of the screen until the\nmessage window is hidden or a new message is displayed\"\n  (show-message (string-join msg)))\n\n(define-command (hide-message)\n  \"Hide the message window\"\n  (unmap-window message-window)\n  (if hide-message-thread (cancel-thread hide-message-thread))\n  (set! hide-message-thread #f))\n\n(define-once message-window #f)\n\n(wm-init\n (lambda () (set! message-window (fixed-window-create 0 0 200 20 0 #:focused? #f))))\n"
  },
  {
    "path": "module/guile-wm/module/minibuffer.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module minibuffer)\n  #:use-module (guile-wm keymap)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm text)\n  #:use-module (guile-wm keystroke)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm keysyms)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm module root-keymap)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm text-edit)\n  #:use-module (ice-9 curried-definitions)\n  #:use-module (ice-9 vlist)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml xproto)\n  #:export (minibuffer minibuffer-keymap (font-string . minibuffer-font)))\n\n(use-wm-modules message)\n\n(define font-string \"fixed\")\n\n(define-prompt-keymap minibuffer-keymap\n  (left        => point-left)\n  (C-b         => point-left)\n  (right       => point-right)\n  (C-f         => point-right)\n  (C-e         => point-end)\n  (C-a         => point-start)\n  (M-f         => point-forwards-word)\n  (M-b         => point-backwards-word)\n  (C-d         => delete-forwards)\n  (backspace   => delete-backwards)\n  (M-backspace => delete-backwards-word)\n  (M-d         => delete-forwards-word)\n  (C-n         => point-down)\n  (down        => point-down)\n  (C-p         => point-up)\n  (up          => point-up)\n  (C-j         => insert-newline)\n  (C-k         => kill-to-end-of-line))\n\n(define (prepare-text unescaped-lines point)\n  (define row (cdr point))\n  (define (escape-line line) (string-join (string-split line #\\^) \"^^\"))\n  (define lines (vlist-map escape-line unescaped-lines))\n  (define point-line (vlist-ref lines row))\n  (define col (car point))\n  (define escaped-col\n    (+ (let look-for-carat ((n 0) (carats 0) \n                            (str (vlist-ref unescaped-lines row)))\n         (cond\n          ((= n col) carats)\n          ((char=? (string-ref str n) #\\^)\n           (look-for-carat (+ n 1) (+ carats 1) str))\n          (else (look-for-carat (+ n 1) carats str))))\n       col))\n  (define (with-invert n)\n    (string-append\n     (substring point-line 0 escaped-col)\n     (format #f \"^(invert)~a^(invert)\"\n             (substring point-line escaped-col (+ escaped-col n)))\n     (substring point-line (+ escaped-col n))))\n  (define line-with-point\n    (cond\n     ((= escaped-col (string-length point-line))\n      (string-append point-line \"^(invert) ^(invert)\"))\n     ((char=? (string-ref point-line escaped-col) #\\^) (with-invert 2))\n     (else (with-invert 1))))\n  (string-join\n   (vlist->list\n    (vlist-append (vlist-take lines row)\n                  (vlist-cons line-with-point vlist-null)\n                  (vlist-drop lines (+ row 1))))\n   \"\\n\"))\n\n(define* (minibuffer prompt #:optional action)\n  (define (put text point)\n    (put-text\n     (prepare-text text point) minibuffer-window 'white 'black font-string))\n  (define (continue-minibuffer data)\n    (let ((x (car (data-point data))) (y (cdr (data-point data)))\n          (first-line (string-append prompt (vlist-head (data-text data)))))\n      (put (vlist-cons first-line (vlist-tail (data-text data)))\n           (cons (if (= y 0) (+ x (string-length prompt)) x) y))))\n  (define (confirm-minibuffer data)\n    (define str (string-join (vlist->list (data-text data)) \"\\n\"))\n    (unmap-window minibuffer-window)\n    (if action (action str) str))\n  (define (cancel-minibuffer data)\n    (unmap-window minibuffer-window)\n    (message \"Minibuffer cancelled\") *unspecified*)\n  (hide-message)\n  (configure-window minibuffer-window #:stack-mode 'above #:height 10 #:width 10)\n  (map-window minibuffer-window)\n  (with-root-keymap-disabled\n   (do-prompt-keymap\n    (prompt-keymap-with-default\n     minibuffer-keymap\n     (lambda (key data)\n       (or (and=> (sym->printable key) (lambda (p) (point-insert data p)))\n           data)))\n    (keystroke-listen! minibuffer-window)\n    continue-minibuffer confirm-minibuffer cancel-minibuffer\n    (empty-text-edit-data))))\n\n(define-public (prompt-for-additional-arg arg-name type)\n  (minibuffer (format #f \"~a [~a]: \" arg-name (keyword->symbol type))))\n\n(define-command (prompt-for-eval)\n  \"Prompt for a Guile scheme expression, evaluate it, and display the\nresult.\"\n  (minibuffer \"eval: \" (lambda (cmd) (message (format #f \"~a\" (wm-eval cmd))))))\n\n(define-command (prompt-for-command)\n  \"Prompt for a Guile-WM command and run it.\"\n  (define cmd (minibuffer \"command: \"))\n  (if (not (unspecified? cmd)) (run-command cmd prompt-for-additional-arg)))\n\n(define-command (prompt-for-shell-command)\n  \"Prompt for a shell command and run it.\"\n  (minibuffer \"/usr/bin/sh -c: \" shell-command))\n\n(define-once minibuffer-window #f)\n\n(wm-init\n (lambda () (set! minibuffer-window (fixed-window-create 0 0 200 20 0))))\n"
  },
  {
    "path": "module/guile-wm/module/randr.scm",
    "content": ";; This file is part of Guile WM\n\n;;    Guile WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module randr)\n  #:use-module (srfi srfi-1)\n  #:use-module (ice-9 format) \n  #:use-module (ice-9 receive) \n  #:use-module (ice-9 curried-definitions) \n  #:use-module (xcb xml) \n  #:use-module (xcb event-loop) \n  #:use-module (xcb xml xproto)\n  #:use-module (xcb xml ext randr)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm log)\n  #:export (screen-info screen-change-hook))\n\n;; Handling modes\n\n(define ((mode-res= info1) info2)\n  (and\n   (= (xref info1 'width) (xref info2 'width))\n   (= (xref info1 'height) (xref info2 'height))))\n\n(define (mode-refresh mode)\n  (define (get n) (xref mode n))\n  (define vtotal\n    (cond\n     ((memq 'double-scan (get 'mode-flags)) (* (get 'vtotal) 2))\n     ((memq 'interlace (get 'mode-flags)) (/ (get 'vtotal) 2))\n     (else (get 'vtotal))))\n  (exact->inexact\n   (if (logand (get 'htotal) vtotal) \n       (/ (get 'dot-clock) (* (get 'htotal) vtotal))\n       0)))\n\n(define (sort-rotations current-rotations)\n  (define rotation-names (xenum-keys rotation))\n  (sort current-rotations\n        (lambda (rot1 rot2) \n          (> (length (memq rot1 rotation-names))\n             (length (memq rot2 rotation-names))))))\n\n(define rotation-names\n  '((rotate-0 . \"normal\")\n    (reflect-x . \"x axis\")\n    (reflect-y . \"y axis\")\n    (rotate-90 . \"right\")\n    (rotate-270 . \"left\")\n    (rotate-180 . \"inverted\")))\n\n(define-command (set-resolution! (output #:string) \n                                 (width #:number)\n                                 (height #:number))\n  \"Set the resolution of randr output OUTPUT to (WIDTH, HEIGHT).\"\n  (resolution output width height))\n\n(define-command (set-offset! (output #:string) (x #:number) (y #:number))\n  \"Set the offset of randr output OUTPUT to (X, Y).\"\n  (offset output x y))\n\n(define-command (disable-screen! (output #:string))\n  \"Disable randr output OUTPUT.\"\n  (disable output))\n\n(define-command (rotate-screen! (output #:string) (rotation #:symbol))\n  \"Set the rotation of randr output OUTPUT to ROTATION, which\ncan be any one of the following symbols:\n\n`rotate-0, `reflect-x', `reflect-y', `rotate-90',\n`rotate-270', or `rotate-180'.\"\n  (rotate output rotation))\n\n(define (mode-pair mode-info) (cons (xref mode-info 'id) mode-info))\n\n(define (xid-lookup info-alist xid) (assv-ref info-alist (xid->integer xid)))\n\n(define (get-current-mode output-info)\n  (define crtc-info (xid-lookup (crtc-infos) (xref output-info 'crtc)))\n  (if (get-crtc-info-reply? crtc-info) \n      (xid-lookup (mode-infos) (xref crtc-info 'mode)) \n      #f))\n\n(define (info-lookup info-alist info xid-type)\n  (define (swap p) (cons (cdr p) (car p)))\n  (define (=>xid n) (make-xid n xid-type))\n  (and=> (assq-ref (map swap info-alist) info) =>xid))\n\n(define (get-infos request xids)\n  (define solicit-cdr (lambda (p) (cons (car p) (solicit (cdr p)))))\n  (define (make-request xid)\n    (cons (xid->integer xid) (delay-reply request xid xcb-current-time)))\n  (map solicit-cdr (map make-request (vector->list xids))))\n\n(define (get-mode-infos) \n  (map mode-pair (vector->list (xref (screen-resources) 'modes))))\n\n(define (get-mode-by-resolution width height output-info)\n  (define (match mode) \n    (and (= (xref mode 'width) width)\n         (= (xref mode 'height) height)\n         (memv (xref mode 'id)\n               (map xid->integer \n                    (vector->list (xref output-info 'modes))))))\n  (find match (map cdr (mode-infos))))\n\n(define (get-output-info-by-name str)\n  (define (oi= oi) (string= (xref-string oi 'name) str))\n  (find oi= (map cdr (output-infos))))\n\n(define (get-crtc-for-output output-info)\n  (define (crtc-lookup xid) (xid-lookup (crtc-infos) xid))\n  (define (first-available-crtc crtcs)\n    (define (available? crtc) (= (vector-length (xref crtc 'outputs)) 0))\n    (find available? crtcs))\n  (or (xid-lookup (crtc-infos) (xref output-info 'crtc))\n      (first-available-crtc\n       (map crtc-lookup (vector->list (xref output-info 'crtcs))))))\n\n(define (get-crtc-xid crtc-info) (info-lookup (crtc-infos) crtc-info xcrtc))\n\n(define (crtc-dimens ci)\n  (define (get p) (xref ci p))\n  (if (or (not ci) (bad-crtc-error? ci)) \n      '((x . 0) (y . 0) (height . 0) (width . 0))\n      `((x . ,(get 'x)) (y . ,(get 'y))\n        (height . ,(get 'height)) (width . ,(get 'width)))))\n\n(define-public (get-output-dimensions)\n  (define (get-crtc-info oi) (xid-lookup (crtc-infos) (xref oi 'crtc)))\n  (map (lambda (oi) (crtc-dimens (get-crtc-info oi))) (map cdr (output-infos))))\n\n(define (get-screen-size dimens)\n  (let current ((width 0) (height 0) (dimens dimens))\n    (if (null? dimens) (cons width height)\n        (let ((dimen (car dimens)))\n          (current\n           (max (+ (assoc-ref dimen 'width) (assoc-ref dimen 'x)) width)\n           (max (+ (assoc-ref dimen 'height) (assoc-ref dimen 'y)) height)\n           (cdr dimens))))))\n\n(define (crtc-modify! ci-entry transform)\n  (define result (transform (cdr ci-entry) (make-xid (car ci-entry) xcrtc)))\n  (if (set-crtc-config-reply? result)\n      (case (xref result 'status)\n        ((success) result)\n        ((invalid-time) (error \"Invalid time provided in call \\\nto SetCrtcConfig\"))\n        ((failed) (error \"Call to SetCrtcConfig failed\")))\n      result))\n\n(define (dimensions-too-small? dimensions)\n  (define current-dimensions (screen-dimensions))\n  (or (< (car dimensions) (car current-dimensions))\n      (< (cdr dimensions) (cdr current-dimensions))))\n\n(define-public (screen-dimensions) \n  (if (screen-resources) \n      (get-screen-size (get-output-dimensions))\n      #f))\n\n(define (randr-update! change-xids)\n  (define screen (current-screen))\n  (define root (current-root))\n  (define ((if-changed proc) entry) \n    (if (hashv-ref change-xids (car entry)) (proc entry)))\n  (define (update-screen-size! dimens)\n    (set-screen-size root (car dimens) (cdr dimens)\n                     (xref screen 'width-in-millimeters)\n                     (xref screen 'height-in-millimeters)))    \n  (define (update-crtc! ci-entry)\n    (define (update ci xid)\n      (reply-for set-crtc-config\n                 xid\n                 (xref ci 'timestamp) (xref (screen-resources) 'timestamp)\n                 (xref ci 'x) (xref ci 'y) (xref ci 'mode)\n                 (xref ci 'rotation) (xref ci 'outputs)))\n    (define new-screen-size (get-screen-size (get-output-dimensions)))\n    (if (dimensions-too-small? new-screen-size)\n        (disable-crtc! ci-entry))\n    (update-screen-size! new-screen-size)\n    (crtc-modify! ci-entry update))\n  (grab-server)\n  (for-each (if-changed update-crtc!) (crtc-infos))\n  (ungrab-server))\n\n(define (disable-crtc! ci-entry)\n  (define (disable ci xid)\n    (reply-for set-crtc-config\n               xid xcb-current-time xcb-current-time\n               (xref ci 'x) (xref ci 'y) (xcb-none xmode) \n               (xref ci 'rotation) #()))\n  (crtc-modify! ci-entry disable))\n\n(define (randr-print)\n  (define (format-screen-info)\n    (define screen-sizes (xref (screen-info) 'sizes))\n    (define size-range (reply-for get-screen-size-range (current-root)))\n    (define current-size \n      (get-screen-size (get-output-dimensions)))\n\n    (let ((get (lambda (n) (xref size-range n))))\n      (format #f \"Screen ~a: minimum ~a x ~a, current ~a x ~a, maximum ~a x ~a\"\n              (string-take-right\n               (xcb-connection-display (current-xcb-connection)) 1)\n              (get 'min-width) (get 'min-height)\n              (car current-size) (cdr current-size)\n              (get 'max-width) (get 'max-height))))\n\n  (define (format-connected-output-info output-info)\n    (define output-name (xref-string output-info 'name))\n    (define crtc-info (get-crtc-for-output output-info))\n    (define rotations \n      (map (lambda (rotation) (assq-ref rotation-names rotation))\n           (sort-rotations (xref crtc-info 'rotations))))\n    (format #f \"~a connected ~ax~a+~a+~a ~a ~amm x ~amm\" \n            output-name \n            (xref crtc-info 'width) (xref crtc-info 'height) \n            (xref crtc-info 'x) (xref crtc-info 'y) \n            rotations\n            (xref output-info 'mm-width) (xref output-info 'mm-height)))\n\n  (define (format-disconnected-output-info output-info)\n    (define output-name (xref-string output-info 'name))\n    (format #f \"~a disconnected ~a\" output-name (map cdr rotation-names)))\n\n  (define (print-output-info output-info)\n    (define current-mode (get-current-mode output-info))\n    (define mode-xids (xref output-info 'modes))\n    (define (mode-match xid) (xid-lookup (mode-infos) xid))\n    (define (preferred-mode? mode-info) \n      (define num-preferred (xref output-info 'num-preferred))\n      (let get-preferred ((i 0))\n        (cond\n         ((= i num-preferred) #f)\n         ((= (xid->integer (vector-ref mode-xids i)) (xref mode-info 'id)) #t)\n         (else (get-preferred (+ i 1))))))\n    (define (print-modes mode-info-list)\n      (define info (car mode-info-list))\n      (define (print-refresh info) \n        (format #t \" ~6,1f~a~a\" (mode-refresh info)\n                (if (eq? info current-mode) \"*\" \" \")\n                (if (preferred-mode? info) \"+\" \" \")))\n      (receive (infos rest) (partition (mode-res= info) mode-info-list)\n        (format #t \"   ~12a\" \n                (format #f \"~ax~a\" (xref info 'width) (xref info 'height)))\n        (for-each print-refresh infos) (newline)\n        (if (not (null? rest)) (print-modes rest))))   \n    (format #t \"~a\\n\"\n            (case (xref output-info 'connection) \n              ((connected) (format-connected-output-info output-info))\n              (else (format-disconnected-output-info output-info))))\n    (if (> (vector-length mode-xids) 0) \n        (print-modes (map mode-match (vector->list mode-xids)))))\n  (format #t \"~a\\n\" (format-screen-info))\n  (for-each print-output-info (map cdr (output-infos))))\n\n(define (call-if-crtc-present crtc-infos output-infos output-name proc)\n  (define (with-output output-info)\n    ((and=> (get-crtc-for-output output-info) proc) output-info))\n  (and=> (get-output-info-by-name output-name) with-output))\n\n(define (rotate output-name rotation)\n  (define change-xids (make-hash-table))\n  (define (mark-xid! xid) (hashv-set! change-xids (xid->integer xid) #t))\n  (define ((do-it crtc-info) display-info)\n    (xset! crtc-info 'rotation rotation)\n    (mark-xid! (get-crtc-xid crtc-info)))\n  (call-if-crtc-present (crtc-infos) (output-infos) output-name do-it)\n  (randr-update! change-xids))\n\n(define (disable output-name) \n  (define change-xids (make-hash-table))\n  (define (mark-xid! xid) (hashv-set! change-xids (xid->integer xid) #t))\n  (define ((do-it crtc-info) display-info)\n    (xset! crtc-info 'mode (xcb-none xmode))\n    (xset! crtc-info 'outputs #())\n    (mark-xid! (get-crtc-xid crtc-info)))\n  (call-if-crtc-present (crtc-infos) (output-infos) output-name do-it)\n  (randr-update! change-xids))\n\n(define (offset output-name x y)\n  (define change-xids (make-hash-table))\n  (define (mark-xid! xid) (hashv-set! change-xids (xid->integer xid) #t))\n  (define ((do-it crtc-info) output-info)\n    (define crtc-xid (info-lookup (crtc-infos) crtc-info xcrtc))\n    (xset! crtc-info 'x x)\n    (xset! crtc-info 'y y)\n    (mark-xid! (get-crtc-xid crtc-info)))\n  (call-if-crtc-present (crtc-infos) (output-infos) output-name do-it)\n  (randr-update! change-xids))\n\n(define (resolution output-name width height)\n  (define change-xids (make-hash-table))\n  (define (mark-xid! xid) (hashv-set! change-xids (xid->integer xid) #t))\n  (define ((do-it crtc-info) output-info)\n    (define output-xid (info-lookup (output-infos) output-info xoutput))\n    (define new-mode (get-mode-by-resolution width height output-info))\n    (xset! crtc-info 'mode (make-xid (xref new-mode 'id) xmode))\n    (xset! crtc-info 'height (xref new-mode 'height))\n    (xset! crtc-info 'width (xref new-mode 'width))\n    (if (= (vector-length (xref crtc-info 'outputs)) 0)\n        (xset! crtc-info 'outputs (vector output-xid)))\n    (mark-xid! (get-crtc-xid crtc-info)))\n  (call-if-crtc-present (crtc-infos) (output-infos) output-name do-it)\n  (randr-update! change-xids))\n\n(define-once current-screen-dimensions (make-parameter #f))\n(define-once screen-resources (make-parameter #f))\n(define-once crtc-infos (make-parameter #f))\n(define-once output-infos (make-parameter #f))\n(define-once mode-infos (make-parameter #f))\n(define-once screen-info (make-parameter #f))\n(define-once screen-change-hook (make-wm-hook))\n\n(define (setup-randr change)\n  (screen-resources (reply-for get-screen-resources (current-root)))\n  (let ((outputs (xref (screen-resources) 'outputs))\n        (crtcs (xref (screen-resources) 'crtcs)))\n    (screen-info (reply-for get-screen-info (current-root)))\n    (output-infos (get-infos get-output-info outputs))\n    (crtc-infos (get-infos get-crtc-info crtcs))\n    (mode-infos (get-mode-infos))\n    (run-wm-hook screen-change-hook)))\n\n(wm-init\n (lambda ()\n   (when (solicit (delay-enable-extension 'randr))\n     (select-input (current-root) '(crtc-change screen-change output-change))\n     (listen! screen-change-notify-event 'screen-change-notify setup-randr)\n     (setup-randr #t))))\n"
  },
  {
    "path": "module/guile-wm/module/repl.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module repl)\n  #:use-module (xcb event-loop)\n  #:use-module (guile-wm shared)\n  #:use-module (ice-9 threads)\n  #:use-module (guile-wm log)\n  #:use-module (system repl server)\n  #:use-module (system repl command)\n  #:use-module (system repl common)\n  #:use-module (xcb xml)\n  #:export (start-wm-repl))\n\n(define main-thread (current-thread))\n\n(define (post-to-main-thread thunk)\n  (define not-done (make-tag 'not-done))\n  (define repl-results not-done)\n  (define repl-thread (current-thread))\n  (define output-port (current-output-port))\n  (define input-port (current-input-port))\n  (define error-port (current-error-port))\n  (define bt #f)\n  (define (post) \n    (parameterize ((current-output-port output-port)\n                   (current-input-port input-port)\n                   (current-error-port error-port))\n      (call-with-values\n          thunk\n        (lambda results\n          (system-async-mark \n           (lambda () (set! repl-results results))\n           repl-thread)))))\n  (define (err key . args)    \n    (system-async-mark\n     (lambda ()\n       (format #t \"Posted function raised error ~a with args ~a\\n\" key args)\n       (display bt)\n       (set! repl-results (list *unspecified*)))\n     repl-thread))\n  (define (before-err key . args)\n    (set! bt\n      (with-output-to-string\n        (lambda () (backtrace)))))\n  (system-async-mark\n   (lambda ()\n     (post-to-event-loop (lambda () (catch #t post err before-err))))\n   main-thread)\n  (while (eq? repl-results not-done) (yield))\n  repl-results)\n\n(define-meta-command \n  ((post guile-wm) repl expr . args)\n  \"post EXPRESSION\nPost an expression to the event loop\"\n  (for-each (lambda (v) (repl-print repl v))\n            (post-to-main-thread (eval `(lambda () ,expr) (current-module)))))\n\n(define* (start-wm-repl #:optional (sock (make-tcp-server-socket)))\n  (define xcb-conn (current-xcb-connection))\n  (make-thread\n   (lambda () \n     (parameterize ((current-xcb-connection xcb-conn))\n       (run-server sock)))))\n"
  },
  {
    "path": "module/guile-wm/module/root-keymap.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module root-keymap)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb event-loop)\n  #:use-module (guile-wm keymap)\n  #:use-module (guile-wm keysyms)\n  #:use-module (guile-wm keystroke)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm shared)\n  #:use-module (ice-9 format)\n  #:use-module (srfi srfi-11)\n  #:export (root-keymap keymap-cursor with-root-keymap-disabled))\n\n(use-wm-modules message cursor)\n\n(define-once root-key-val 'C-t)\n(define (root-key-ref) root-key-val)\n(define (root-key-set! k)\n  (let lp ((attempts 0))\n    (define keysyms (make-keysym-table))\n    (let-values (((old-codes old-mods) (symbol->key keysyms root-key-val))\n                 ((new-codes new-mods) (symbol->key keysyms k)))\n      (if old-codes (ungrab-key (car old-codes) target-win old-mods))\n      (if (not new-codes)\n          (if (< attempts 4)\n              (lp (+ attempts 1))\n              (error \"Key not defined\" k))\n          (begin (grab-key #t target-win new-mods (car new-codes) 'async 'async)\n                 (set! root-key-val k))))))\n\n(define-public root-key (make-procedure-with-setter root-key-ref root-key-set!))\n\n(define-command (bind-root-key! (key #:symbol) (str #:string))\n  \"Bind KEY to command string STR in the root keymap.\"\n  (bind-key-command! root-keymap key str))\n\n(define-command (unbind-root-key! (key #:symbol))\n  \"Remove the binding for KEY in the root keymap.\"\n  (unbind-key! root-keymap key))\n\n(define (run-keymap get)\n  (define (default d) (message (format #f \"Unknown key: ~a\" d)))\n  (define keymap (keymap-with-default root-keymap default))\n  (do-keymap keymap get))\n\n(define-keymap-once root-keymap)\n(define-once target-win #f)\n\n(define-once keymap-cursor-val #f)\n(define root-keymap-enabled? (make-parameter #t))\n\n(define-syntax with-root-keymap-disabled\n  (syntax-rules ()\n    \"Evaluate statements STMT ... and return the value of the last one\nwith the root keymap disabled. Use this macro to disable the root\nkeymap while minibuffers, menus, and so on are active.\"\n    ((_ stmt ...)\n     (begin\n       (root-keymap-enabled? #f)\n       (let ((result ((lambda () stmt ...))))\n         (root-keymap-enabled? #t)\n         result)))))\n\n(define (get-next-key get-now get-later)\n  (define (process-root-key key)\n    (if (and (eq? key (root-key)) (root-keymap-enabled?))\n        (run-keymap get-now))\n    (get-later process-root-key))\n  (get-later process-root-key))\n\n(define-command (set-root-key! (key #:symbol))\n  \"Set the root key to KEY.\"\n  (set! (root-key) key))\n\n(define-public keymap-cursor\n  (make-procedure-with-setter\n   (lambda () keymap-cursor-val)\n   (lambda (sym) (set! keymap-cursor-val (make-cursor sym)))))\n\n(wm-init\n (lambda ()\n   (set! target-win (current-root))\n   (set! (root-key) root-key-val)\n   (let* ((key-listener (keystroke-listen! target-win))\n          (get-key-now\n           (lambda ()\n             (grab-pointer #t target-win '() 'async 'async (xcb-none xwindow)\n                           (or keymap-cursor-val (xcb-none xcursor)) 0)\n             (grab-keyboard #f target-win 0 'async 'async)\n             (let ((key (key-listener)))\n               (ungrab-pointer 0)\n               (ungrab-keyboard 0)\n               key)))\n          (get-key-later (lambda (proc) (key-listener proc))))\n     (get-next-key get-key-now get-key-later))))\n"
  },
  {
    "path": "module/guile-wm/module/simple-focus.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module simple-focus)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm icccm)\n  #:use-module (guile-wm color)\n  #:use-module (guile-wm focus)\n  #:use-module (guile-wm reparent))\n\n(define simple-focus-color-val 'white)\n(define simple-unfocus-color-val 'black)\n\n(define (is-window? win)\n  (not (memv (xid->integer win) (xenum-values input-focus))))\n\n(define-public simple-focus-color\n  (make-procedure-with-setter\n   (lambda () simple-focus-color-val)\n   (lambda (new-color)\n     (set! simple-focus-color-val new-color)\n     (with-replies ((input-focus get-input-focus))\n       (define old-focus (xref input-focus 'focus))\n       (if (is-window? old-focus)\n        (run-wm-hook focus-change old-focus old-focus))))))\n\n(define-public simple-unfocus-color\n  (make-procedure-with-setter\n   (lambda () simple-unfocus-color-val)\n   (lambda (new-color) (set! simple-unfocus-color-val new-color))))\n\n(define (unfocus-window! win)\n  (define cmap (xref (current-screen) 'default-colormap))\n  (change-window-attributes (window-parent win)\n    #:border-pixel (pixel-for-color cmap simple-unfocus-color-val)))\n\n(define (simple-focus-change old new)\n  (define cmap (xref (current-screen) 'default-colormap))\n  (if (and old (or (reparented? old) (top-level-window? old)))\n      (unfocus-window! old))\n  (if (and current-focus (is-window? current-focus))\n      (unfocus-window! current-focus))\n  (change-window-attributes (window-parent new)\n    #:border-pixel (pixel-for-color cmap simple-focus-color-val))\n  (set! current-focus new))\n\n(wm-init\n (lambda ()\n   (add-wm-hook! focus-change simple-focus-change)))\n"
  },
  {
    "path": "module/guile-wm/module/simple-reparent.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module simple-reparent)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm focus)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm redirect)\n  #:use-module (guile-wm reparent)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto))\n\n(define-public (click-to-focus button-press)\n  (if (xref button-press 'child)\n      (set-focus (window-child (xref button-press 'child)))\n      (set-focus (window-child (xref button-press 'event))))\n  (allow-events 'replay-pointer (xref button-press 'time)))\n\n(wm-init\n (lambda () \n   (define (make-parent) (basic-window-create 0 0 1 1 2))\n   (begin-reparent-redirect! make-parent 0 0 #t #f)\n   (listen! button-press-event 'click-to-focus click-to-focus)))\n"
  },
  {
    "path": "module/guile-wm/module/tiling.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module tiling)\n  #:use-module (guile-wm module randr)\n  #:use-module (guile-wm module window-menu)\n  #:use-module (guile-wm reparent)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm icccm)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm redirect)\n  #:use-module (guile-wm focus)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm color)\n  #:use-module (ice-9 q)\n  #:use-module (srfi srfi-1)\n  #:use-module (srfi srfi-2)\n  #:use-module (srfi srfi-9)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module ((xcb xml xproto)\n                #:select (unmap-window map-window get-geometry configure-window\n                                       destroy-window\n                                       destroy-notify-event allow-events\n                                       change-window-attributes\n                                       button-press-event unmap-notify-event\n                                       get-window-attributes))\n  #:export (blank-x-window selected-tile start-tiling-hook stop-tiling-hook))\n\n;;; Commentary:\n;; This is a tiling window manager for guile-wm. It provides support\n;; for dividing the screen up into virtual tiles and displaying X\n;; windows inside of them. Tiles can be split, resized, and deleted.\n\n\n;; Frames correspond to randr outputs or the whole screen if randr is\n;; not in use. They can't be modified directly by the user\n\n(define-record-type frame\n  (make-frame x y height width content)\n  frame?\n  (x frame-x)\n  (y frame-y)\n  (height frame-height)\n  (width frame-width)\n  (content frame-content set-frame-content!))\n\n;; Splits contain two elements, oriented either horizontally or\n;; vertically. Those elements can be tiles or more splits\n\n(define-record-type split\n  (make-split height width orientation element1 element2)\n  split?\n  (height split-height set-split-height!)\n  (width split-width set-split-width!)\n  (orientation split-orientation)\n  (element1 split-element1 set-split-element1!)\n  (element2 split-element2 set-split-element2!)\n  (container split-container set-split-container!))\n\n;; Tiles store x windows. They can store an actual reparented window,\n;; the blank window that shows when an empty tile is selected, or\n;; they can just be empty.\n(define-record-type tile\n  (make-tile height width)\n  tile?\n  (height tile-height set-tile-height!)\n  (width tile-width set-tile-width!)\n  (window tile-window set-tile-window!)\n  (container tile-container set-tile-container!))\n\n;; This is the queue of windows that aren't visible\n(define-once hidden-x-windows (make-q))\n;; This is the transparent x window that gets displayed when an empty\n;; tile is selected\n(define-once blank-x-window #f)\n;; This is the tile that's currently selected\n(define-once selected-tile #f)\n;; This is the master list of frames\n(define-once frame-list #f)\n\n(define-once stop-tiling-hook (make-wm-hook))\n(define-once start-tiling-hook (make-wm-hook))\n\n;; Helper procedures for managing tiles and splits\n\n(define (container-of el)\n  (if (split? el)\n      (split-container el)\n      (tile-container el)))\n\n(define (frame-of el)\n  (if (frame? el) el (frame-of (container-of el))))\n\n(define (other-element split el)\n  (if (eq? el (split-element1 split))\n      (split-element2 split)\n      (split-element1 split)))\n\n(define (tile-empty? tile) (not (tile-window tile)))\n\n(define (width-of el)\n  (cond\n   ((split? el) (split-width el))\n   ((tile? el) (tile-width el))\n   (else (frame-width el))))\n\n(define (height-of el)\n  (cond\n   ((split? el) (split-height el))\n   ((tile? el) (tile-height el))\n   (else (frame-height el))))\n\n;; Tile and split locations are calculated dynamically. This is way\n;; easier than storing them and trying to keep them consistent\n\n(define (calculate-x el)\n  (if (frame? el) (frame-x el)\n      (let ((container (container-of el)))\n        (if (and (split? container)\n                 (eq? (split-orientation container) 'horizontal)\n                 (eq? el (split-element2 container)))\n            (+ (calculate-x container)\n               (width-of (split-element1 container)))\n            (calculate-x container)))))\n\n(define (calculate-y el)\n  (if (frame? el) (frame-y el)\n      (let ((container (container-of el)))\n      (if (and (split? container)\n               (eq? (split-orientation container) 'vertical)\n               (eq? el (split-element2 container)))\n          (+ (calculate-y container)\n             (height-of (split-element1 container)))\n          (calculate-y container)))))\n\n(define (coords-in? el x y)\n  (let* ((left (calculate-x el))\n         (top (calculate-y el))\n         (right (+ left (width-of el)))\n         (bottom (+ top (height-of el))))\n    (and (>= x left)\n         (< x right)\n         (>= y top)\n         (< y bottom))))\n\n(define (frame-at x y)\n  (let lp ((frames frame-list))\n    (cond\n     ((null? frames) #f)\n     ((coords-in? (car frames) x y) (car frames))\n     (else (lp (cdr frames))))))\n\n(define-public (tile-at x y)\n  (and-let* ((frame (frame-at x y)))\n    (if (tile? (frame-content frame)) (frame-content frame)\n        (let lp ((split (frame-content frame)))\n          (let ((el (if (coords-in? (split-element1 split) x y)\n                        (split-element1 split) (split-element2 split))))\n            (if (split? el) (lp el) el))))))\n\n(define-public (tile-for x-window)\n  (let lp-frame ((frames frame-list))\n    (if (null? frames) #f\n        (let lp-win ((el (car frames)))\n          (cond ((frame? el) (or (lp-win (frame-content el))\n                                 (lp-frame (cdr frames))))\n                ((split? el) (or (lp-win (split-element1 el))\n                                 (lp-win (split-element2 el))))\n                ((tile? el) (if (and (tile-window el)\n                                     (xid= (tile-window el) x-window))\n                                el #f)))))))\n\n;; Location of tiles relative to one another\n;; TODO: Remove the assumption that tiles are all contiguous\n\n(define (tile-below tile)\n  (tile-at\n   (+ (calculate-x tile) (floor (/ 2 (tile-width tile))))\n   (+ (calculate-y tile) (tile-height tile) 1)))\n\n(define (tile-above tile)\n  (tile-at\n   (+ (calculate-x tile) (floor (/ 2 (tile-width tile))))\n   (- (calculate-y tile) 1)))\n\n(define (tile-to-right tile)\n  (tile-at\n   (+ (calculate-x tile) (tile-width tile) 1)\n   (+ (calculate-y tile) (floor (/ 2 (tile-height tile))))))\n\n(define (tile-to-left tile)\n  (tile-at\n   (- (calculate-x tile) 1)\n   (+ (calculate-y tile) (floor (/ 2 (tile-height tile))))))\n\n;; Splitting tiles\n\n(define (split-tile tile tile1 tile2 new-split)\n  (if (frame? (tile-container tile))\n      (set-frame-content! (tile-container tile) new-split)\n      (if (eq? (split-element1 (tile-container tile)) tile)\n          (set-split-element1! (tile-container tile) new-split)\n          (set-split-element2! (tile-container tile) new-split)))\n  (set-tile-container! tile1 new-split)\n  (set-tile-container! tile2 new-split)\n  (set-split-container! new-split (tile-container tile))\n  (place-window! (tile-window tile) tile1)\n  (if (eq? tile selected-tile) (select-tile tile1))\n  (pop-and-unhide-x-window! tile2))\n\n(define (split-tile-horizontal! tile)\n  (let* ((tile1 (make-tile (tile-height tile)\n                           (ceiling (/ (tile-width tile) 2))))\n         (tile2 (make-tile (tile-height tile)\n                             (floor (/ (tile-width tile) 2))))\n         (new-split (make-split (tile-height tile) (tile-width tile)\n                                'horizontal tile1 tile2)))\n    (split-tile tile tile1 tile2 new-split)))\n\n(define (split-tile-vertical! tile)\n  (let* ((tile1 (make-tile (ceiling (/ (tile-height tile) 2))\n                           (tile-width tile)))\n         (tile2 (make-tile (floor (/ (tile-height tile) 2))\n                           (tile-width tile)))\n         (new-split (make-split (tile-height tile) (tile-width tile)\n                                'vertical tile1 tile2)))\n    (split-tile tile tile1 tile2 new-split)))\n\n(define-public (move-tile old new)\n  (cond\n   ((eq? old new) (fit-x-window! (tile-window new) new))\n   (else\n    (place-window! (tile-window old) new #t)\n    (set-tile-window! old #f)\n    (pop-and-unhide-x-window! old))))\n\n(define (for-each-tile proc el)\n  (let lp ((content el))\n    (cond\n     ((frame? content) (lp (frame-content content)))\n     ((split? content)\n      (lp (split-element1 content))\n      (lp (split-element2 content)))\n     (else (proc content)))))\n\n;; Putting x windows into tiles\n\n(define* (place-window! x-window tile #:optional select?)\n  (if x-window (discard-hidden-x-window! x-window))\n  (hide-tile-window! tile)\n  (set-tile-window! tile x-window)\n  (if x-window (fit-x-window! x-window tile))\n  (if select? (select-tile tile)))\n\n(define (place-windows!)\n  (if (reparented-windows)\n   (map\n    (lambda (win)\n      (define parent (window-parent win))\n      (with-replies ((geom get-geometry parent))\n        (define x (xref geom 'x))\n        (define y (xref geom 'y))\n        (place-window! parent (tile-at x y) #t)))\n    (reparented-windows))))\n\n(define (fit-x-window! x-window tile)\n  (define geom (reply-for get-geometry x-window))\n  (define hints (window-size-hints x-window))\n  (define target-height (- (tile-height tile) (* (xref geom 'border-width) 2)))\n  (define target-width (- (tile-width tile) (* (xref geom 'border-width) 2)))\n  (define (calculate-height)\n    (define height-inc (xref hints 'height-inc))\n    (if (= height-inc 0) target-height\n        (* height-inc (quotient target-height height-inc))))\n  (define (calculate-width)\n    (define width-inc (xref hints 'width-inc))\n    (if (= width-inc 0) target-width\n        (* width-inc (quotient target-width width-inc))))\n  (define height (if hints (calculate-height) target-height))\n  (define width (if hints (calculate-width) target-width))\n  (unmap-window x-window)\n  (configure-window x-window\n    #:x (calculate-x tile) #:y (calculate-y tile))\n  (configure-window x-window #:height height #:width width)\n  (map-window x-window))\n\n;; Resizing tiles\n\n(define (set-size-of! el dir val)\n  ((cond ((tile? el)\n          (if (equal? dir 'vertical) set-tile-height! set-tile-width!))\n         ((split? el)\n          (if (equal? dir 'vertical) set-split-height! set-split-width!)))\n   el val))\n\n(define (get-size-of el dir)\n  ((cond ((tile? el)\n          (if (equal? dir 'vertical) tile-height tile-width))\n         ((split? el)\n          (if (equal? dir 'vertical) split-height split-width)))\n   el))\n\n(define (resize! el amount dir op)\n  (cond\n   ((tile? el) (resize-tile! el amount dir op))\n   (else (resize-split! el amount dir op))))\n\n(define (resize-tile! tile amount dir op)\n  (set-size-of! tile dir (op (get-size-of tile dir) amount)))\n\n(define (resize-split! split amount dir op)\n  (set-size-of! split dir (op (get-size-of split dir) amount))\n  (cond\n   ((eq? (split-orientation split) op)\n    (resize! (split-element1 split) (floor (/ amount 2)) dir op)\n    (resize! (split-element2 split) (ceiling (/ amount 2)) dir op))\n   (else\n    (resize! (split-element1 split) amount dir op)\n    (resize! (split-element2 split) amount dir op))))\n\n(define (resize-tile-in-context! tile dir op)\n  (let lp ((container (tile-container tile)) (el tile) (resized? #f))\n    (cond\n     ((frame? container)\n      (for-each-tile\n       (lambda (tile)\n         (if (tile-window tile)\n             (fit-x-window! (tile-window tile) tile)))\n       container))\n     ((and (not resized?)\n           (eq? (split-orientation container) dir)\n           (> (if (eq? op +)\n                  (- (get-size-of container dir) (get-size-of el dir))\n                  (get-size-of el dir))\n              50))\n      (resize! el 40 dir op)\n      (resize! (other-element container el) 40 dir (if (eq? op +) - +))\n      (lp (container-of container) container #t))\n     (else (lp (container-of container) container resized?)))))\n\n;; Managing hidden x windows\n\n(define (most-recent-x-window)\n  (if (q-empty? hidden-x-windows) #f (last (car hidden-x-windows))))\n\n(define (hide-tile-window! tile)\n  (and-let* ((x-window (tile-window tile)))\n    (set-window-state! (window-child x-window) window-state-iconic)\n    (if (not (memq x-window (car hidden-x-windows)))\n        (enq! hidden-x-windows x-window))\n    (set-tile-window! tile #f)\n    (unmap-window x-window)))\n\n(define (pop-and-unhide-x-window! tile)\n  (when (not (q-empty? hidden-x-windows))\n    (place-window! (deq! hidden-x-windows) tile)))\n\n(define (discard-hidden-x-window! x-window)\n  (define new-q-list\n    (reverse\n     (let lp ((in (car hidden-x-windows)) (out '()))\n       (cond\n        ((null? in) out)\n        ((xid= (car in) x-window) (lp (cdr in) out))\n        (else (lp (cdr in) (cons (car in) out)))))))\n  (set! hidden-x-windows\n        (if (null? new-q-list)\n            (make-q)\n            (cons new-q-list (last-pair new-q-list)))))\n\n(define (select-tile tile)\n  (if (tile-empty? tile)\n      (fit-x-window! blank-x-window tile)\n      (unmap-window blank-x-window))\n  (set-focus (window-child (or (tile-window tile) blank-x-window)))\n  (set! selected-tile tile))\n\n;; Make this module the window manager\n\n(define (tiling-click-to-focus button-press)\n  (and-let* ((win (tile-at\n                   (xref button-press 'root-x)\n                   (xref button-press 'root-y))))\n    (select-tile win))\n  (allow-events 'replay-pointer (xref button-press 'time)))\n\n(define (non-tiling-click-to-focus button-press)\n  (define win (xref button-press 'event))\n  (configure-window (window-parent win) #:stack-mode 'above)\n  (set-focus win)\n  (allow-events 'replay-pointer (xref button-press 'time)))\n\n(define (tiling-unmap event parent)\n  (discard-hidden-x-window! parent)\n  (and-let* ((tile (tile-for parent)))\n    (set-tile-window! tile #f)\n    (and-let* ((recent (most-recent-x-window)))\n      (place-window! recent tile))\n    (if (eq? tile selected-tile) (select-tile tile))))\n\n(define (tiling-reparent child parent) (place-window! parent selected-tile #t))\n\n(define (make-parent) (basic-window-create 0 0 1 1 2))\n\n(define-command (start-tiling!)\n  (set! frame-list (detect-frames))\n  (set! blank-x-window (basic-window-create 0 0 200 20 2))\n  (set! selected-tile (frame-content (car frame-list)))\n  (with-replies ((attributes get-window-attributes (current-root)))\n    (change-window-attributes (current-root)\n      #:event-mask (cons 'button-press (xref attributes 'your-event-mask)))\n    (change-window-attributes (current-root)\n      #:event-mask (cons 'button-press (xref attributes 'your-event-mask)))\n    (unlisten! button-press-event 'click-to-focus)\n    (listen! button-press-event 'click-to-focus tiling-click-to-focus)\n    (change-window-attributes blank-x-window #:back-pixmap 'parent-relative)\n    (place-windows!)\n    (add-wm-hook! screen-change-hook reset-frames)\n    (add-wm-hook! menu-select-window-hook tiling-menu-select-window)\n    (add-wm-hook! unmap-notify-hook tiling-unmap)\n    (add-wm-hook! after-reparent-hook tiling-reparent)\n    (run-wm-hook start-tiling-hook)))\n\n(define-command (stop-tiling!)\n  (remove-wm-hook! after-reparent-hook tiling-reparent)\n  (remove-wm-hook! unmap-notify-hook tiling-unmap)\n  (remove-wm-hook! menu-select-window-hook tiling-menu-select-window)\n  (set! selected-tile #f)\n  (destroy-window blank-x-window)\n  (set! blank-x-window #f)\n  (set! frame-list #f)\n  (with-replies ((attributes get-window-attributes (current-root)))\n    (change-window-attributes (current-root)\n      #:event-mask (delq 'button-press (xref attributes 'your-event-mask)))\n    (change-window-attributes (current-root)\n      #:event-mask (delq 'button-press (xref attributes 'your-event-mask)))\n    (unlisten! button-press-event 'click-to-focus)\n    (listen! button-press-event 'click-to-focus non-tiling-click-to-focus)\n    (run-wm-hook stop-tiling-hook)))\n\n(wm-init\n (lambda ()\n   (start-tiling!)\n   (begin-reparent-redirect! make-parent 0 0 #f #f)))\n\n;; This does the initial work of detecting the frames\n\n(define (detect-frames)\n  (if (screen-dimensions)\n      (map\n       (lambda (dims)\n         (define win (make-tile\n                      (assq-ref dims 'height)\n                      (assq-ref dims 'width)))\n         (define frame (make-frame\n                        (assq-ref dims 'x) (assq-ref dims 'y)\n                        (assq-ref dims 'height) (assq-ref dims 'width)\n                        win))\n         (set-tile-container! win frame)\n         frame)\n       (get-output-dimensions))\n      (list\n       (let* ((height (xref (current-screen) 'height-in-pixels))\n              (width (xref (current-screen) 'width-in-pixels))\n              (win (make-tile height width))\n              (frame (make-frame\n                      0 0\n                      (xref (current-screen) 'height-in-pixels)\n                      (xref (current-screen) 'width-in-pixels)\n                      win)))\n         (set-tile-container! win frame)\n         frame))))\n\n;; This gets called after the display configuration changes. The\n;; contents of an old frame will get moved to the first new frame that\n;; meets the following criteria:\n\n;; 1) It has the same position and size as the old frame\n\n;; 2) It has not already been mapped to a different old frame.\n\n;; If no such frame is found, the frame's windows just get stuck in\n;; the hidden window queue.\n(define (reset-frames)\n  (define (find-matching-frame old-frame unused-new-frames)\n    (let lp ((unused unused-new-frames))\n      (cond\n       ((null? unused)\n        (for-each-tile hide-tile-window! old-frame)\n        unused-new-frames)\n       ((frames-match? old-frame (car unused))\n        (let ((new-frame (car unused))\n              (content (frame-content old-frame)))\n          (set-frame-content! new-frame content)\n          (if (split? content)\n              (set-split-container! content new-frame)\n              (set-tile-container! content new-frame))\n          (delq new-frame unused-new-frames)))\n       (else (lp (cdr unused))))))\n  (define (frames-match? frame1 frame2)\n    (and (= (frame-x frame1) (frame-x frame2))\n         (= (frame-y frame1) (frame-y frame2))\n         (= (frame-height frame1) (frame-height frame2))\n         (= (frame-width frame1) (frame-width frame2))))\n\n  (and-let* ((frame-list) (new-frames (detect-frames)))\n    (fold find-matching-frame new-frames frame-list)\n    (set! frame-list new-frames)\n    (set! selected-tile (frame-content (car frame-list)))))\n\n(define (tiling-menu-select-window x-window)\n  (define parent (window-parent x-window))\n  (or (and=> (tile-for parent) select-tile)\n      (place-window! parent selected-tile #t)))\n\n;; Command API. It uses \"window\" instead of tile because people care\n;; about their X windows, not the tile abstraction used internally\n\n(define-command (horizontal-split)\n  \"Split the selected tile in half horizontally. The left new tile\nwill be selected and store the contents of the original tile.\"\n  (split-tile-horizontal! selected-tile))\n\n(define-command (vertical-split)\n  \"Split the selected tile in half vertically. The top new tile will\nbe selected and store the contents of the original tile.\"\n  (split-tile-vertical! selected-tile))\n\n(define-command (select-down)\n  \"Select the tile below the currently selected tile, if one exists\"\n  (and=> (tile-below selected-tile) select-tile))\n\n(define-command (select-up)\n  \"Select the tile above the currently selected tile, if one exists\"\n  (and=> (tile-above selected-tile) select-tile))\n\n(define-command (select-left)\n  \"Select the tile to the left of the currently selected tile, if one\nexists\"\n  (and=> (tile-to-left selected-tile) select-tile))\n\n(define-command (select-right)\n  \"Select the tile to the right of the currently selected tile, if one\nexists\"\n  (and=> (tile-to-right selected-tile) select-tile))\n\n(define-command (move-right)\n  \"Move the contents of the selected tile to the tile to the right, if\none exists, and select it\"\n  (and-let* ((new-tile (tile-to-right selected-tile)))\n    (move-tile selected-tile new-tile)))\n\n(define-command (move-left)\n  \"Move the contents of the selected tile to the tile to the left, if\none exists, and select it\"\n  (and-let* ((new-tile (tile-to-left selected-tile)))\n    (move-tile selected-tile new-tile)))\n\n(define-command (move-up)\n  \"Move the contents of the selected tile to the tile above, if one\nexists, and select it\"\n  (and-let* ((new-tile (tile-above selected-tile)))\n    (move-tile selected-tile new-tile)))\n\n(define-command (move-down)\n  \"Move the contents of the selected tile to the tile below, if one\nexists, and select it\"\n  (and-let* ((new-tile (tile-below selected-tile)))\n    (move-tile selected-tile new-tile)))\n\n(define-command (grow-window-vertical)\n  \"Increase the the height of the selected tile\"\n  (resize-tile-in-context! selected-tile 'vertical +))\n\n(define-command (grow-window-horizontal)\n  \"Increase the the width of the selected tile\"\n  (resize-tile-in-context! selected-tile 'horizontal +))\n\n(define-command (shrink-window-vertical)\n  \"Decrease the the height of the selected tile\"\n  (resize-tile-in-context! selected-tile 'vertical -))\n\n(define-command (shrink-window-horizontal)\n  \"Decrease the the width of the selected tile\"\n  (resize-tile-in-context! selected-tile 'horizontal -))\n\n(define-command (clear-frame)\n  \"Delete all the tiles in the current frame and replace them with one\ntile holding the window that was in the selected tile\"\n  (let* ((selected-window (tile-window selected-tile))\n         (current-frame (frame-of selected-tile))\n         (new-tile (make-tile\n                    (frame-height current-frame)\n                    (frame-width current-frame))))\n    (for-each-tile hide-tile-window! current-frame)\n    (set-frame-content! current-frame new-tile)\n    (set-tile-container! new-tile current-frame)\n    (place-window! selected-window new-tile #t)))\n\n(define-command (reveal-window)\n  \"Place the next hidden window in the queue into the current tile\"\n  (pop-and-unhide-x-window! selected-tile)\n  (select-tile selected-tile))\n\n(define-command (restore-window)\n  \"Place the most recently hidden window into the current tile\"\n  (and-let* ((recent (most-recent-x-window)))\n    (place-window! recent selected-tile #t)))\n\n(define-command (delete-split)\n  \"Delete the tile that is split with the selected one and replace\nthem both with one tile containing the selected tile's contents\"\n  (define container (tile-container selected-tile))\n  (if (frame? container) #f\n      (let ((selected-window (tile-window selected-tile))\n            (new-tile\n             (make-tile (split-height container) (split-width container)))\n            (super (container-of container)))\n        (for-each-tile hide-tile-window! container)\n        (cond ((split? super)\n               (if (eq? (split-element1 super) container)\n                   (set-split-element1! super new-tile)\n                   (set-split-element2! super new-tile)))\n              (else (set-frame-content! super new-tile)))\n        (set-tile-container! new-tile super)\n        (place-window! selected-window new-tile #t))))\n\n(define-command (delete-tile)\n  \"Delete the currently selected tile and replace the containing split\nwith the other tile's contents.\"\n  (let* ((split (tile-container selected-tile))\n         (super (container-of split))\n         (window (tile-window\n                  (if (split? split)\n                      (other-element split selected-tile)\n                      selected-tile)))\n         (tile (make-tile (height-of super) (width-of super))))\n    (for-each-tile hide-tile-window! split)\n    (cond\n     ((and (split? super) (eq? (split-element1 super) split))\n      (set-split-element1! super tile))\n     ((and (split? super) (eq? (split-element2 super) split))\n      (set-split-element2! super tile))\n     (else\n      (set-frame-content! super tile)))\n    (set-tile-container! tile super)\n    (place-window! window tile #t)))\n"
  },
  {
    "path": "module/guile-wm/module/time.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module time)\n  #:use-module (ice-9 format)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm shared))\n\n(use-wm-modules message)\n\n(define month-alist\n  '((0 . Jan)\n    (1 . Feb)\n    (2 . Mar)\n    (3 . Apr)\n    (4 . May)\n    (5 . Jun)\n    (6 . Jul)\n    (7 . Aug)\n    (8 . Sep)\n    (9 . Oct)\n    (10 . Nov)\n    (11 . Dec)))\n\n(define-command (show-time)\n  \"Display a message with the current date and time\"\n  (define tm (localtime (current-time)))\n  (message (format #f \"~2,,,'0@a:~2,,,'0@a:~2,,,'0@a ~a ~a ~a\" \n                   (tm:hour tm)\n                   (tm:min tm)\n                   (tm:sec tm)\n                   (tm:mday tm)\n                   (assv-ref month-alist (tm:mon tm))\n                   (+ (tm:year tm) 1900))))\n\n"
  },
  {
    "path": "module/guile-wm/module/tinywm.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module tinywm)\n  #:use-module (ice-9 receive)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm focus)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm reparent)\n  #:use-module (guile-wm module randr)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml))\n\n(define action (make-parameter 'none))\n(define win (make-parameter #f))\n(define screen-height (make-parameter #f))\n(define screen-width (make-parameter #f))\n(define stop-proc #f)\n\n(define-public tinywm-drag-end-hook (make-wm-hook 1))\n(define-public tinywm-resize-end-hook (make-wm-hook 1))\n\n(define (on-motion-notify motion-notify)\n  (with-replies ((point query-pointer (current-root)) (geom get-geometry (win)))\n    (define (box p g s) (if (> (+ p g) s) (- s g) p))\n    (if (eq? (action) 'move)\n        (configure-window (window-parent (win))\n          #:x (box (xref point 'root-x) (xref geom 'width) (screen-width))\n          #:y (box (xref point 'root-y) (xref geom 'height) (screen-height)))\n        (configure-window (window-parent (win))\n          #:width (max 1 (- (xref point 'root-x) (xref geom 'x)))\n          #:height (max 1 (- (xref point 'root-y) (xref geom 'y)))))))\n\n(define (on-button-release button-release)\n  (ungrab-pointer xcb-current-time)\n  (if (eq? (action 'move))\n      (run-wm-hook tinywm-drag-end-hook (win))\n      (run-wm-hook tinywm-resize-end-hook (win))))\n\n(define (on-window-click window button-press)\n  (define (start-action)\n    (define dimens \n      (or (screen-dimensions) ;; Use randr screen dimensions where possible\n          (cons (xref (current-screen) 'width-in-pixels)\n                (xref (current-screen) 'height-in-pixels))))\n    (screen-width (car dimens))\n    (screen-height (cdr dimens))\n    (configure-window (window-parent window) #:stack-mode 'above)\n    (set-focus window)\n    (with-replies ((geom get-geometry window))\n      (cond\n       ((= (xref button-press 'detail) 1)\n        (action 'move)\n        (warp-pointer (xcb-none xwindow) window 0 0 0 0 1 1))\n       (else\n        (action 'resize)\n        (warp-pointer (xcb-none xwindow) window 0 0 0 0 \n                      (xref geom 'width) (xref geom 'height))))\n      (grab-pointer \n       #f (current-root)\n       '(button-release button-motion pointer-motion-hint)\n       'async 'async (current-root) (xcb-none xcursor) xcb-current-time)))\n  (if (equal? (xref button-press 'state) '(mod1)) (start-action)))\n\n(define (on-button-press button-press)\n  (win (xref button-press 'child))\n\n  ;; Don't try to move/resize the root window.\n  (unless (or (= (xid->integer (win)) 0) (fixed-window? (win)))\n    (on-window-click (win) button-press)))\n\n(define-command (start-tinywm!)\n  (receive (stop! reset!)\n      (create-listener ()\n        ((motion-notify-event #:event (current-root))  => on-motion-notify)\n        ((button-release-event #:event (current-root)) => on-button-release)\n        ((button-press-event #:event (current-root))   => on-button-press))\n    (set! stop-proc stop!))\n\n  (grab-button #f (current-root) '(button-press button-release) 'async 'async\n               (current-root) (xcb-none xcursor) '#{1}# '(#{1}#))\n  (grab-button #f (current-root) '(button-press button-release) 'async 'async\n               (current-root) (xcb-none xcursor) '#{3}# '(#{1}#)))\n\n(define-command (stop-tinywm!)\n  (if stop-proc (stop-proc))\n  (set! stop-proc #f)\n  (ungrab-button '#{1}# (current-root) '(#{1}#))\n  (ungrab-button '#{3}# (current-root) '(#{1}#)))\n\n(wm-init start-tinywm!)\n"
  },
  {
    "path": "module/guile-wm/module/window-cycle.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module window-cycle)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (guile-wm icccm)\n  #:use-module (guile-wm reparent)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm focus))\n\n(define (pick-next-matching-window start all pred)\n  (let pick ((to-test (cdr start)))\n    (cond\n     ((null? to-test) (pick all))\n     ((eq? to-test start) #f)\n     ((pred (car to-test)) (car to-test))\n     (else (pick (cdr to-test))))))\n\n(define (basic-window-cycle pred)\n  (define windows (or (reparented-windows) (top-level-windows)))\n  (with-replies ((focus get-input-focus))\n    (define old (xref focus 'focus))\n    (if (not (null? windows))\n        (if (not (memv (xid->integer old) (xenum-values input-focus)))\n            (and=> (let find-focus ((w windows))\n                     (cond\n                      ((null? w) #f)\n                      ((xid= (window-parent (car w)) old)\n                       (pick-next-matching-window w windows  pred))\n                      (else (find-focus (cdr w)))))\n                   set-focus)\n            (set-focus (car windows))))))\n\n(define-command (window-cycle)\n  \"Bring the bottom-most X window to the front and give it the input\nfocus.\"\n  (basic-window-cycle (lambda (win) #t)))\n\n(define-command (visible-window-cycle)\n  \"Bring the bottom-most visible X window to the front and give it the\ninput focus. Requires window reparenting to work properly.\"\n  (basic-window-cycle\n   (lambda (win) (not (window-obscured? win)))))\n"
  },
  {
    "path": "module/guile-wm/module/window-menu.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm module window-menu)\n  #:use-module (guile-wm icccm)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm focus)\n  #:use-module (guile-wm reparent)\n  #:use-module (guile-wm shared)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb event-loop))\n\n(use-wm-modules menu)\n\n(define-public menu-select-window-hook (make-wm-hook 1))\n\n(define-command (select-window)\n  (define windows (or (reparented-windows) (top-level-windows)))\n  (define choices (map cons (window-names windows) windows))\n  (define (focus-window win)\n    (cond\n     ((wm-hook-empty? menu-select-window-hook)\n      (configure-window (window-parent win) #:stack-mode 'above)\n      (set-focus win))\n     (else (run-wm-hook menu-select-window-hook win))))\n  (define focused-window (xref (reply-for get-input-focus) 'focus))\n  (if (not (null? choices))\n   (menu \"Select a window:\" choices focus-window)))\n"
  },
  {
    "path": "module/guile-wm/redirect.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm redirect)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm log))\n\n(define redirect-tag (make-tag 'redirect))\n\n(define (root-only request) (xid= (current-root) (xref request 'parent)))\n\n(define-public (begin-redirect! on-map on-configure on-circulate)\n  (listen! map-request-event redirect-tag on-map root-only)\n  (listen! configure-request-event redirect-tag on-configure root-only)\n  (listen! circulate-request-event redirect-tag on-circulate root-only)\n  (with-replies ((attributes get-window-attributes (current-root)))\n    (define old-events (xref attributes 'your-event-mask))\n    (if (not (memq 'substructure-redirect old-events))\n        (let ((new-events (cons 'substructure-redirect old-events)))\n          (change-window-attributes (current-root) #:event-mask new-events)))))\n\n(define-public (end-redirect!)\n  (unlisten! map-request-event redirect-tag)\n  (unlisten! configure-request-event redirect-tag)\n  (unlisten! circulate-request-event redirect-tag)\n  (with-replies ((attributes get-window-attributes (current-root)))\n    (define old-events (xref attributes 'your-event-mask))\n    (if (memq 'substructure-redirect old-events)\n     (let ((new-events (delq 'substructure-redirect old-events)))\n       (change-window-attributes (current-root) #:event-mask new-events)))))\n"
  },
  {
    "path": "module/guile-wm/reparent.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm reparent)\n  #:use-module (srfi srfi-1)\n  #:use-module (ice-9 curried-definitions)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb event-loop)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm focus)\n  #:use-module (guile-wm icccm)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm redirect))\n\n;; Call with: unmap-notify event, parent window\n(define-public unmap-notify-hook (make-wm-hook 2))\n;; Call with: child window, parent window\n(define-public after-reparent-hook (make-wm-hook 2))\n;; Call with: configure-request event\n(define-public configure-request-hook (make-wm-hook 1))\n;; Call with: circulate-request event\n(define-public circulate-request-hook (make-wm-hook 1))\n\n(define reparents (make-hash-table))\n(define obscured (make-hash-table))\n\n(define-public (reparented-windows)\n  (define reparented\n    (hash-map->list (lambda (k v) (make-xid k xwindow)) reparents))\n  (if (null? reparented) #f reparented))\n\n(define-public (window-obscured? win)\n  (hashv-ref obscured (xid->integer win)))\n\n(define-public (window-child win)\n  (define (xwcons k v) (cons (xid->integer v) (make-xid k xwindow)))\n  (or (assv-ref (hash-map->list xwcons reparents) (xid->integer win)) win))\n\n(define-public (window-parent win)\n  (or (hashv-ref reparents (xid->integer win)) win))\n\n(define-public (reparented? win)\n  (not (not (hashv-ref reparents (xid->integer win)))))\n\n(define (wm-reparent-window child parent x y)\n  (hashv-set! reparents (xid->integer child) parent)\n  (with-replies ((geom get-geometry child))\n    (define child-border (* 2 (xref geom 'border-width)))\n    (configure-window parent\n      #:x (xref geom 'x) #:y (xref geom 'y)\n      #:width (+ child-border (xref geom 'width))\n      #:height (+ child-border (xref geom 'height)))\n    (change-window-attributes parent\n      #:event-mask '(button-press substructure-redirect substructure-notify\n                                  structure-notify visibility-change))\n    (reparent-window child parent x y)\n    (change-window-attributes child #:event-mask '(structure-notify))\n    (map-window child)\n    (create-listener (stop!)\n      ((visibility-notify-event visibility #:window parent)\n       (if (eq? (xref visibility 'state) 'fully-obscured)\n           (hashv-set! obscured (xid->integer child) #t)\n           (hashv-remove! obscured (xid->integer child))))\n      ((unmap-notify-event unmap-notify #:window child)\n       (when (not (or (= (xref unmap-notify 'sequence-number) 0)\n                      (xid= (xref unmap-notify 'window)\n                            (xref unmap-notify 'event))))\n         (if (and current-focus (xid= child current-focus)) (set! current-focus #f))\n         (if (wm-hook-empty? unmap-notify-hook)\n             (unmap-window parent)\n             (run-wm-hook unmap-notify-hook unmap-notify parent))))\n      ((destroy-notify-event destroy-notify #:window child)\n       (hashv-remove! reparents (xid->integer child))\n       (destroy-window parent)\n       (stop!))\n      ((configure-notify-event configure #:window parent)\n       (configure-window child\n         #:height (max (- (xref configure 'height) y) 0)\n         #:width (max (- (xref configure 'width) x) 0))))))\n\n(define ((on-map create-parent child-x child-y) map-request)\n  (define child (xref map-request 'window))\n  (when (not (hashv-ref reparents (xid->integer child)))\n    (let ((new-parent (create-parent)))\n      (grab-button #f new-parent '(button-press) 'sync 'async\n                   (xcb-none xwindow) (xcb-none xcursor) '#{1}# '())\n      (wm-reparent-window child new-parent child-x child-y)\n      (cond\n       ((wm-hook-empty? after-reparent-hook)\n        (map-window new-parent)\n        (set-window-state! child window-state-normal)\n        (set-focus child))\n       (else (run-wm-hook after-reparent-hook child new-parent))))))\n\n(define (disallow-configure configure-request)\n  (run-wm-hook configure-request-hook configure-request))\n\n(define (allow-configure configure-request)\n  (define value-mask (xref configure-request 'value-mask))\n  (define win (xref configure-request 'window))\n  (define (get-prop prop)\n    (define val (xref configure-request prop))\n    (cons (symbol->keyword prop)\n          (case prop\n            ((sibling) (xid->integer val))\n            ((stack-mode) (xenum-ref stack-mode val))\n            (else val))))\n  (run-wm-hook configure-request-hook configure-request)\n  (apply configure-window win\n         (let flatten ((i (map get-prop value-mask)) (o '()))\n           (if (null? i) o (flatten (cdr i) `(,(caar i) ,(cdar i) ,@o))))))\n\n(define (disallow-circulate circulate-request)\n  (run-wm-hook circulate-request-hook circulate-request))\n\n(define (allow-circulate circulate-request)\n  (define win (xref circulate-request 'window))\n  (define dir (case (xref circulate-request 'place)\n                ((on-bottom) 'below)\n                ((on-top) 'above)))\n  (run-wm-hook circulate-request-hook circulate-request)\n  (configure-window (window-parent win) #:stack-mode dir))\n\n(define-public (begin-reparent-redirect!\n                create-parent child-x child-y\n                allow-configure? allow-circulate?)\n  (hash-clear! reparents)\n  (end-redirect!)\n  (begin-redirect!\n   (on-map create-parent child-x child-y)\n   (if allow-configure? allow-configure disallow-configure)\n   (if allow-circulate? allow-circulate disallow-circulate)))\n\n(define-public (end-reparent-redirect!)\n  (end-redirect!)\n  (set! reparents #f))\n"
  },
  {
    "path": "module/guile-wm/shared.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm shared)\n  #:use-module (srfi srfi-9)\n  #:use-module (srfi srfi-9 gnu)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (guile-wm log)\n  #:export (use-wm-modules)\n  #:replace (with-input-from-string make-wm-hook))\n\n(define-record-type wm-hook\n  (make-wm-hook-inner arity procs)\n  wm-hook?\n  (arity wm-hook-arity)\n  (procs wm-hook-procs set-wm-hook-procs!))\n\n(set-record-type-printer!\n wm-hook\n (lambda (r port)\n   (format port \"#<wm-hook ~a\" (wm-hook-arity r))\n   (for-each\n    (lambda (proc)\n      (if (procedure-name proc) (format port \" ~a\" (procedure-name proc)) \" ?\"))\n    (wm-hook-procs r))\n   (format port \">\")))\n\n(define-public (wm-hook-empty? hook)\n  (null? (wm-hook-procs hook)))\n\n(define* (make-wm-hook #:optional (arity 0))\n  (make-wm-hook-inner arity '()))\n\n(define-public (add-wm-hook! hook proc)\n  (if (not (= (car (procedure-minimum-arity proc)) (wm-hook-arity hook)))\n      (error \"wm-hook: proc and hook's arity do not match\"))\n  (if (not (memq proc (wm-hook-procs hook)))\n      (set-wm-hook-procs! hook (cons proc (wm-hook-procs hook))))\n  *unspecified*)\n\n(define-public (remove-wm-hook! hook proc)\n  (set-wm-hook-procs! hook (delq proc (wm-hook-procs hook)))\n  *unspecified*)\n\n(define-public (reset-wm-hook! hook)\n  (set-wm-hook-procs! hook '())\n  *unspecified*)\n\n(define-public (run-wm-hook hook . args)\n  (if (not (= (length args) (wm-hook-arity hook)))\n      (error \"wm-hook: Wrong length argument list\"))\n  (for-each (lambda (proc) (apply proc args)) (wm-hook-procs hook)))\n\n(define-public current-root (make-parameter #f))\n(define-public current-screen (make-parameter #f))\n\n(define module-init-thunks (make-hash-table))\n\n(define-public (wm-init t)\n  \"Register the current module so that it can be initialized once the\nwindow manager is running. THUNK will be executed after\n`current-xcb-connection' is set to the window manager's X connection.\"\n  (log! (format #f \"Defining wm init proc for ~a\" (current-module)))\n  (module-define! (current-module) '%guile-wm-init-proc t))\n\n(define-syntax use-wm-modules\n  (syntax-rules ()\n    ((_ m ...)\n     (begin\n       (let ((int (resolve-interface (if (list? 'm) 'm '(guile-wm module m))))\n             (mod (resolve-module (if (list? 'm) 'm '(guile-wm module m)))))\n         (module-use! (current-module) int)\n         (when (module-defined? mod '%guile-wm-init-proc)\n           (hashq-set!\n            module-init-thunks\n            mod\n            (module-ref mod '%guile-wm-init-proc)))) ...))))\n\n(define-public (init-guile-wm-modules!)\n  \"Call all of the initialization thunks for registered window manager\nmodules.\"\n  (for-each\n   (lambda (kv)\n     (log! (format #f \"Initializing module: ~a\" (module-name (car kv))))\n     ((cdr kv)))\n   (hash-map->list cons module-init-thunks)))\n\n;; This procedure is redefined so that we can rewind delimited\n;; continuations through it\n\n(define (with-input-from-string string thunk)\n  (parameterize ((current-input-port (open-input-string string)))\n    (thunk)))\n\n"
  },
  {
    "path": "module/guile-wm/text-edit.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm text-edit)\n  #:use-module (ice-9 regex)\n  #:use-module (ice-9 vlist)\n  #:use-module (srfi srfi-9)\n  #:use-module (srfi srfi-9 gnu)\n  #:export (make-text-edit-data\n            data-text\n            data-point\n            define-text-modifier))\n\n(define-immutable-record-type text-edit-data\n  (make-text-edit-data point text)\n  minibuffer-data?\n  (point data-point set-data-point)\n  (text data-text set-data-text))\n\n(define-public (empty-text-edit-data)\n  (make-text-edit-data (cons 0 0) (vlist-cons \"\" vlist-null)))\n\n(define (constrain start end n)\n  (cond ((< n start) start)\n        ((> n end) end)\n        (else n)))\n\n(define (move-n lines x y n)\n  (define (move-right x y n)\n    (define line (vlist-ref lines y))\n    (define len (string-length line))\n    (define x+n (+ x n))\n    (cond\n     ((= (+ y 1) (vlist-length lines)) (cons (min len x+n) y)) ;; On the last line\n     ((<= x+n len) (cons x+n y)) ;; Fits in the line\n     (else (move-right 0 (+ y 1) (- n (- len (- x 1))))))) ;; Move to the next line\n  (define (move-left x y n)\n    (define line (vlist-ref lines y))\n    (define x-n (- x n))\n    (cond\n     ((= y 0) (cons (max 0 x-n) y)) ;; On the first line\n     ((>= x-n 0) (cons x-n y)) ;; Fits in the line\n     (else ;; Move to the previous line\n      (move-left (+ 1 (string-length (vlist-ref lines (- y 1)))) (- y 1) (- n x)))))\n  (if (>= n 0) (move-right x y n) (move-left x y (- n))))\n\n(define-syntax define-text-modifier\n  (syntax-rules ()\n    ((_ (name text point-x point-y other ...) stmt ...)\n     (define-public (name data other ...)\n       (call-with-values\n           (lambda ()\n             (let* ((text (data-text data))\n                    (point-x (car (data-point data)))\n                    (point-y (cdr (data-point data))))\n               stmt ...))\n         (lambda (text point-x point-y)\n           (set-data-point (set-data-text data text)\n                           (cons point-x point-y))))))))\n\n(define (insert-text text str x y)\n  (define line (vlist-ref text y))\n  (string-append\n   (substring line 0 x)\n   str (if (= x (string-length line)) \"\" (substring line x))))\n\n(define (kill-newline text y)\n  (if (= y (- (vlist-length text) 1))\n      text\n      (vlist-append \n       (vlist-take text y)\n       (vlist-cons\n        (string-append (vlist-ref text y) (vlist-ref text (+ 1 y)))\n        (if (< y (- (vlist-length text) 2))\n            (vlist-drop text (+ 2 y)) vlist-null)))))\n  \n(define* (kill-inline text y start-x #:optional end-x)\n  (define line (vlist-ref text y))\n  (replace-line \n   text y\n   (string-append \n    (substring line 0 start-x)\n    (if end-x (substring line end-x) \"\"))))\n\n(define (kill-text text first-start first-end)\n  (let kill ((text text) (start first-start) (end first-end))\n   (define start-y (cdr start))\n   (define end-y (cdr end))\n   (define lines-left (- end-y start-y))\n   (cond ((= lines-left 0) \n          (kill-inline \n           text start-y (car start) \n           (if (eq? first-end end) (car end) (+ (car start) (car end)))))\n         (else (kill \n                (kill-newline (kill-inline text start-y (car start)) start-y)\n                start (cons (car end) (- end-y 1)))))))\n\n(define (kill-line text y)\n  (vlist-append (vlist-take text y) (vlist-drop text (+ y 1))))\n\n(define (forward-word text x y)\n  (define line (vlist-ref text y))\n  (define at-end? (= x (string-length line)))\n  (define (try-next)\n    (if (= y (- (vlist-length text) 1))\n        (cons (string-length line) y) (forward-word text 0 (+ y 1))))\n  (define (look)\n    (define match (string-match \"\\\\W\" (substring line (+ x 1))))\n    (cond (match (cons (+ x (match:start match) 1) y))\n          (at-end? (try-next))\n          (else (cons (string-length line) y))))\n  (if at-end? (try-next) (look)))\n\n(define (back-word text x y)\n  (define line (vlist-ref text y))\n  (define at-start? (= x 0))\n  (define (try-previous)\n    (if (= y 0) (cons 0 y)\n        (back-word text (string-length (vlist-ref text (- y 1))) (- y 1))))\n  (define (look)\n   (define match\n     (string-match \".*(\\\\W)\\\\w+\" (substring line 0 (- x 1))))\n   (cond (match (cons (+ 1 (match:start match 1)) y))\n         (at-start? (try-previous))\n         (else (cons 0 y))))\n  (if at-start? (try-previous) (look)))\n\n(define (replace-line text y new-line)\n  (vlist-append (vlist-take text y)\n                (vlist-cons new-line \n                            (vlist-drop text (+ 1 y)))))\n\n(define (add-newline text x y)\n  (define line (vlist-ref text y))\n  (vlist-append\n   (vlist-take text y)\n   (vlist-cons\n    (string-take line x)\n    (vlist-cons\n     (string-drop line x)\n     (vlist-drop text (+ y 1))))))\n\n(define-text-modifier (point-start text x y) (values text 0 y))\n(define-text-modifier (point-end text x y)\n  (values text (string-length (vlist-ref text y)) y))\n(define-text-modifier (point-left text x y)\n  (define new-point (move-n text x y -1))\n  (values text (car new-point) (cdr new-point)))\n(define-text-modifier (point-right text x y)\n  (define new-point (move-n text x y 1))\n  (values text (car new-point) (cdr new-point)))\n(define-text-modifier (point-insert text x y str)\n  (values (replace-line text y (insert-text text str x y))\n          (+ x (string-length str)) y))\n(define-text-modifier (delete-backwards text x y)\n  (define new-point (move-n text x y -1))\n  (values (kill-text text new-point (cons x y)) \n          (car new-point) (cdr new-point)))\n(define-text-modifier (delete-forwards text x y)\n  (values (kill-text text (cons x y) (move-n text x y 1)) x y))\n(define-text-modifier (kill-to-end-of-line text x y)\n  (define line (vlist-ref text y))\n  (if (= x (string-length line)) \n      (if (< y (- (vlist-length text) 1))\n          (values (kill-line text (+ y 1)) x y)\n          (values text x y))\n      (values (kill-inline text y x) x y)))\n(define-text-modifier (insert-newline text x y)\n  (values (add-newline text x y) 0 (+ y 1)))\n(define-text-modifier (point-forwards-word text x y)\n  (define new-point (forward-word text x y))\n  (values text (car new-point) (cdr new-point)))\n(define-text-modifier (point-backwards-word text x y)\n  (define new-point (back-word text x y))\n  (values text (car new-point) (cdr new-point)))\n(define-text-modifier (delete-forwards-word text x y)\n  (define new-point (forward-word text x y))\n  (values (kill-text text (cons x y) new-point) x y))\n(define-text-modifier (delete-backwards-word text x y)\n  (define new-point (back-word text x y))\n  (values \n   (kill-text text new-point (cons x y)) (car new-point) (cdr new-point)))\n(define-text-modifier (point-up text x y)\n  (define n (- y 1))\n  (if (>= n 0)\n      (values text (constrain 0 (string-length (vlist-ref text n)) x) n)\n      (values text x y)))\n(define-text-modifier (point-down text x y)\n  (define n (+ y 1))\n  (if (< n (vlist-length text))\n      (values text (constrain 0 (string-length (vlist-ref text n)) x) n)\n      (values text x y)))\n"
  },
  {
    "path": "module/guile-wm/text.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm text)\n  #:use-module (ice-9 receive)\n  #:use-module (ice-9 match)\n  #:use-module (ice-9 rdelim)\n  #:use-module (ice-9 q)\n  #:use-module (guile-wm draw)\n  #:use-module (guile-wm color)\n  #:use-module (guile-wm shared)\n  #:use-module (flow event-loop)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb xml)\n  #:use-module (xcb event-loop)\n  #:export (show-lines))\n\n(define escapes \"\\n^\")\n\n(define (read-escaped-text)\n  (define port (current-input-port))\n  (define text (read-delimited escapes port 'peek))\n  (define exp\n   (cond\n    ((eof-object? text) text)\n    ((= (string-length text) 0)\n     (case (read-char port)\n       ((#\\newline) '(start-new-line))\n       ((#\\^)\n        (if (char=? #\\^ (peek-char port))\n            `(output-text ,(string (read-char port)))\n            (read port)))))\n    (else `(output-text ,text))))\n  exp)\n\n(define (measure-text text font-string)\n  (define (overall-width extents) (xref extents 'overall-width))\n  (define font-info (with-font (font-string font) (reply-for query-font font)))\n  (define ascent (xref font-info 'font-ascent))\n  (define descent (xref font-info 'font-descent))\n  (define height (+ ascent descent 2))\n  (define cookies\n   (with-input-from-string text\n     (lambda ()\n       (let measure ((row-extent-requests '()) (extent-requests '()))\n         (match (read-escaped-text)\n           ((? eof-object?)\n            (reverse (cons (reverse row-extent-requests) extent-requests)))\n           (('color co1 co2) (measure row-extent-requests extent-requests))\n           (('color co) (measure row-extent-requests extent-requests))\n           (('invert) (measure row-extent-requests extent-requests))\n           (('start-new-line)\n            (measure '() (cons (reverse row-extent-requests) extent-requests)))\n           (('output-text m)\n            (with-font (font-string font)\n              (let ((cookie (delay-reply query-text-extents font m)))\n                (measure (cons cookie row-extent-requests) extent-requests)))))))))\n  (define (text-coords widths y)\n    (let lp ((widths widths) (coords '()) (x 2))\n      (cond\n       ((null? widths) (reverse coords))\n       (else (lp (cdr widths)\n                 (cons (cons x y) coords)\n                 (+ x (car widths)))))))\n  (define all-widths\n    (map (lambda (row)\n           (if (not (null? row))\n               (map overall-width (solicit (notify-map row))) '())) cookies))\n  (values\n   (+ 4 (apply max (map (lambda (row) (apply + row)) all-widths)))\n   (* (length all-widths) height)\n   (apply\n    append\n    (let lp ((all-widths all-widths) (coords '()) (y ascent))\n      (cond\n       ((null? all-widths) (reverse coords))\n       (else (lp (cdr all-widths)\n                 (cons (text-coords (car all-widths) y) coords)\n                 (+ y height))))))))\n\n(define-public (unescape-text text)\n  (with-input-from-string text\n    (lambda ()\n      (let unescape ((unescaped \"\"))\n        (match (read-escaped-text)\n          ((? eof-object?) unescaped)\n          (('color co1 co2) (unescape unescaped))\n          (('color co) (unescape unescaped))\n          (('invert) (unescape unescaped))\n          (('start-new-line) (unescape (string-append unescaped \"\\n\")))\n          (('output-text m) (unescape (string-append unescaped m))))))))\n\n(define (display-text text dimens target font-name fg bg)\n  (define cmap (xref (current-screen) 'default-colormap))\n  (define (->pixel sym) (pixel-for-color cmap sym))\n  (with-input-from-string text\n    (lambda ()\n      (let disp ((dimens dimens) (fg (->pixel fg)) (bg (->pixel bg))\n                 (inverted? #f))\n        (define escaped (read-escaped-text))\n        (match escaped\n          ((? eof-object?) #t)\n          (('color nfg nbg) (disp dimens (->pixel nfg) (->pixel nbg) inverted?))\n          (('color nfg) (disp dimens (->pixel nfg) bg inverted?))\n          (('invert) (disp dimens fg bg (not inverted?)))\n          (('start-new-line) (disp dimens fg bg inverted?))\n          (('output-text m)\n           (with-font (font-name font)\n             (with-gc (gc target\n                          #:foreground (if inverted? bg fg)\n                          #:background (if inverted? fg bg)\n                          #:font font)\n               (image-text16 target gc (caar dimens) (cdar dimens) m)))\n           (disp (cdr dimens) fg bg inverted?)))))))\n\n(define-public (put-text text win fg bg font-string)\n  (receive (width height positions) (measure-text text font-string)\n    (define (draw!)\n      (with-pixmap (pixmap win bg width height)\n        (display-text text positions pixmap font-string fg bg)\n        (with-gc (gc pixmap) (copy-area pixmap win gc 0 0 0 0 width height))))\n   (configure-window win #:width width #:height height)\n   (create-tagged-listener win (stop!)\n     ((expose-event ex #:window win #:count 0) (draw!))\n     ((unmap-notify-event un #:event win) (stop!)))\n   (draw!)))\n"
  },
  {
    "path": "module/guile-wm/user.scm",
    "content": ";; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n(define-module (guile-wm user)\n  #:use-module (guile-wm command)\n  #:use-module (guile-wm log)\n  #:use-module (guile-wm shared)\n  #:use-module (guile-wm keymap)\n  #:use-module (guile-wm redirect)\n  #:use-module (xcb event-loop)\n  #:use-module (xcb xml)\n  #:use-module (xcb xml xproto)\n  #:use-module (xcb xml connection))\n"
  },
  {
    "path": "module/language/command/spec.scm",
    "content": "(define-module (language command spec)\n  #:use-module (ice-9 rdelim)\n  #:use-module (system base language)\n  #:use-module (guile-wm shared)\n  #:export (command))\n\n(define-public commands (make-hash-table))\n\n(define-public (get-command key)\n  (hashq-ref commands key))\n\n(define-public arg-missing (make-parameter #f))\n\n(define (string-convert arg type)\n  (case type\n    ((#:number) (string->number arg))\n    ((#:symbol) (string->symbol arg))\n    ((#:string) arg)))\n\n(define (number-convert arg type)\n  (case type\n    ((#:number) arg)\n    ((#:symbol) (string->symbol (number->string arg)))\n    ((#:string) (number->string arg))))\n\n(define (symbol-convert arg type)\n  (case type\n    ((#:number) (string->number (symbol->string arg)))\n    ((#:symbol) arg)\n    ((#:string) (symbol->string arg))))\n\n(define (type-convert arg type)\n  (cond\n   ((string? arg) (string-convert arg type))\n   ((symbol? arg) (symbol-convert arg type))\n   ((number? arg) (number-convert arg type))))\n\n(define* (produce-args args types #:optional (converted '()))\n  (cond\n   ((null? types) (map (lambda (c) `(quote ,c)) (reverse converted)))\n   ((null? args)\n    (let ((val ((arg-missing) (caar types) (cdar types))))\n      (if (unspecified? val)\n          (list val)\n          (produce-args\n           '() (cdr types) (cons (type-convert val (cdar types)) converted)))))\n   (else\n    (produce-args\n     (cdr args) (cdr types)\n     (cons (type-convert (car args) (cdar types))\n           converted)))))\n\n(define (compile-scheme exp env opts)\n  (let* ((command (get-command (car exp)))\n         (typed-exp\n          (if (list? command)\n              `(,(car exp) ,@(produce-args (cdr exp) command))\n              `(,(car exp) ,@(map (lambda (arg) (type-convert arg (cdr command)))\n                                  (cdr exp))))))\n    (if (and (> (length typed-exp) 1) (unspecified? (cadr typed-exp)))\n        (values '*unspecified* env env)\n        (values typed-exp env env))))\n\n(define-language command\n  #:title \"command\"\n  #:reader (lambda (p e) (read p))\n  #:compilers `((scheme . ,compile-scheme))\n  #:printer write)\n"
  },
  {
    "path": "wm-init-sample.scm",
    "content": ";; -*- scheme -*-\n\n;; This file is part of Guile-WM.\n\n;;    Guile-WM is free software: you can redistribute it and/or modify\n;;    it under the terms of the GNU General Public License as published by\n;;    the Free Software Foundation, either version 3 of the License, or\n;;    (at your option) any later version.\n\n;;    Guile-WM is distributed in the hope that it will be useful,\n;;    but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n;;    GNU General Public License for more details.\n\n;;    You should have received a copy of the GNU General Public License\n;;    along with Guile-WM.  If not, see <http://www.gnu.org/licenses/>.\n\n;;; Sample user init file for Guile-WM\n\n;; You can include built-in modules using this shorthand syntax. Each\n;; line that contains a comment and the prefix \"wm-modules:\" will be\n;; read as a list of modules to load from (guile-wm module ...)\n\n;; wm-modules: cursor root-keymap\n;; wm-modules: minibuffer repl randr fullscreen \n;; wm-modules: menu message window-menu time simple-reparent\n;; wm-modules: simple-focus window-cycle tinywm\n\n;; Command helpers\n(define-command (emacs) (shell-command \"emacsclient -c\"))\n(define-command (conkeror) (shell-command \"conkeror\"))\n\n;; Multi-monitor setup.\n(set-resolution! \"VGA-0\" 1680 1050)\n(set-resolution! \"DVI-0\" 1920 1200)\n(set-offset! \"DVI-0\" 1680 0)\n\n;; Root key binding (I use xmodmap to map super key to F20. Maybe that\n;; should be built into this as well.)\n\n;;  Default root key is C-t\n(set! (root-key) 'F20)\n\n;; simple-focus simply draws a thin border around the focused window\n\n;; Color of window border when focused/unfocused\n(set! (simple-focus-color) 'light-steel-blue)\n(set! (simple-unfocus-color) 'black)\n\n;; Set the cursor and the keymap cursor\n(set-cursor! 'x-cursor)\n(set! (keymap-cursor) 'draped-box)\n\n;; Set fonts\n(let ((proggy \"-*-proggyclean-*-*-*-*-*-*-*-*-*-70-*-*\"))\n  (set! minibuffer-font proggy)\n  (set! menu-font proggy)\n  (set! message-font proggy))\n\n;; Start repl server on the default port\n(start-wm-repl)\n\n;; Root keymap\n(bind-key-commands root-keymap prompt-for-additional-arg\n  (semicolon \"prompt-for-command\")\n  (colon \"prompt-for-eval\")\n  (bang \"prompt-for-shell-command\")\n  (C-q \"quit\")\n  (f \"conkeror\")\n  (F \"fullscreen\")\n  (e \"emacs\")\n  (w \"select-window\")\n  (T \"show-time\")\n  (n \"window-cycle\")\n  (tab \"visible-window-cycle\")\n  (c \"shell-command xterm -e telnet localhost 37146\")\n  (t \"shell-command xterm\"))\n\n;; Startup programs\n(shell-command \"emacs --daemon\")\n(shell-command (format #f \"xterm -e 'tail /tmp/guile-wm.log -f'\"))\n"
  }
]