diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-05 17:07:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-05 17:07:45 +0000 |
commit | 455f76be8969b17d671f95d6a640c42395fb678a (patch) | |
tree | 5ee2fa8f2e1f09cb58214ba125458f8600ab0f86 /Master/texmf-dist/source/latex | |
parent | 4eaa282a54305411f6cd6401919ce5b19b87e32d (diff) |
thailatex 0.4.3, replacing our thaifonts package (28jul09)
git-svn-id: svn://tug.org/texlive/trunk@15132 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
55 files changed, 14428 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/thailatex/AUTHORS b/Master/texmf-dist/source/latex/thailatex/AUTHORS new file mode 100644 index 00000000000..b9d5022b39c --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/AUTHORS @@ -0,0 +1,7 @@ +Original author: +- Surapant Meknavin <surapan@siamguru.com> + +Current Maintainers: +- Theppitak Karoonboonyanan <thep@linux.thai.net> +- Chanop Silpa-Anan <chanop@debian.org> +- Poonlap Veerathanabutr <poonlap@linux.thai.net> diff --git a/Master/texmf-dist/source/latex/thailatex/COPYING b/Master/texmf-dist/source/latex/thailatex/COPYING new file mode 100644 index 00000000000..90e5e3ab797 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/COPYING @@ -0,0 +1,416 @@ +The LaTeX Project Public License +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- + +LPPL Version 1.3c 2006-05-20 + +Copyright 1999 2002-2006 LaTeX3 Project + Everyone is allowed to distribute verbatim copies of this + license document, but modification of it is not allowed. + + +PREAMBLE +======== + +The LaTeX Project Public License (LPPL) is the primary license under +which the the LaTeX kernel and the base LaTeX packages are distributed. + +You may use this license for any work of which you hold the copyright +and which you wish to distribute. This license may be particularly +suitable if your work is TeX-related (such as a LaTeX package), but +it is written in such a way that you can use it even if your work is +unrelated to TeX. + +The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE', +below, gives instructions, examples, and recommendations for authors +who are considering distributing their works under this license. + +This license gives conditions under which a work may be distributed +and modified, as well as conditions under which modified versions of +that work may be distributed. + +We, the LaTeX3 Project, believe that the conditions below give you +the freedom to make and distribute modified versions of your work +that conform with whatever technical specifications you wish while +maintaining the availability, integrity, and reliability of +that work. If you do not see how to achieve your goal while +meeting these conditions, then read the document `cfgguide.tex' +and `modguide.tex' in the base LaTeX distribution for suggestions. + + +DEFINITIONS +=========== + +In this license document the following terms are used: + + `Work' + Any work being distributed under this License. + + `Derived Work' + Any work that under any applicable law is derived from the Work. + + `Modification' + Any procedure that produces a Derived Work under any applicable + law -- for example, the production of a file containing an + original file associated with the Work or a significant portion of + such a file, either verbatim or with modifications and/or + translated into another language. + + `Modify' + To apply any procedure that produces a Derived Work under any + applicable law. + + `Distribution' + Making copies of the Work available from one person to another, in + whole or in part. Distribution includes (but is not limited to) + making any electronic components of the Work accessible by + file transfer protocols such as FTP or HTTP or by shared file + systems such as Sun's Network File System (NFS). + + `Compiled Work' + A version of the Work that has been processed into a form where it + is directly usable on a computer system. This processing may + include using installation facilities provided by the Work, + transformations of the Work, copying of components of the Work, or + other activities. Note that modification of any installation + facilities provided by the Work constitutes modification of the Work. + + `Current Maintainer' + A person or persons nominated as such within the Work. If there is + no such explicit nomination then it is the `Copyright Holder' under + any applicable law. + + `Base Interpreter' + A program or process that is normally needed for running or + interpreting a part or the whole of the Work. + + A Base Interpreter may depend on external components but these + are not considered part of the Base Interpreter provided that each + external component clearly identifies itself whenever it is used + interactively. Unless explicitly specified when applying the + license to the Work, the only applicable Base Interpreter is a + `LaTeX-Format' or in the case of files belonging to the + `LaTeX-format' a program implementing the `TeX language'. + + + +CONDITIONS ON DISTRIBUTION AND MODIFICATION +=========================================== + +1. Activities other than distribution and/or modification of the Work +are not covered by this license; they are outside its scope. In +particular, the act of running the Work is not restricted and no +requirements are made concerning any offers of support for the Work. + +2. You may distribute a complete, unmodified copy of the Work as you +received it. Distribution of only part of the Work is considered +modification of the Work, and no right to distribute such a Derived +Work may be assumed under the terms of this clause. + +3. You may distribute a Compiled Work that has been generated from a +complete, unmodified copy of the Work as distributed under Clause 2 +above, as long as that Compiled Work is distributed in such a way that +the recipients may install the Compiled Work on their system exactly +as it would have been installed if they generated a Compiled Work +directly from the Work. + +4. If you are the Current Maintainer of the Work, you may, without +restriction, modify the Work, thus creating a Derived Work. You may +also distribute the Derived Work without restriction, including +Compiled Works generated from the Derived Work. Derived Works +distributed in this manner by the Current Maintainer are considered to +be updated versions of the Work. + +5. If you are not the Current Maintainer of the Work, you may modify +your copy of the Work, thus creating a Derived Work based on the Work, +and compile this Derived Work, thus creating a Compiled Work based on +the Derived Work. + +6. If you are not the Current Maintainer of the Work, you may +distribute a Derived Work provided the following conditions are met +for every component of the Work unless that component clearly states +in the copyright notice that it is exempt from that condition. Only +the Current Maintainer is allowed to add such statements of exemption +to a component of the Work. + + a. If a component of this Derived Work can be a direct replacement + for a component of the Work when that component is used with the + Base Interpreter, then, wherever this component of the Work + identifies itself to the user when used interactively with that + Base Interpreter, the replacement component of this Derived Work + clearly and unambiguously identifies itself as a modified version + of this component to the user when used interactively with that + Base Interpreter. + + b. Every component of the Derived Work contains prominent notices + detailing the nature of the changes to that component, or a + prominent reference to another file that is distributed as part + of the Derived Work and that contains a complete and accurate log + of the changes. + + c. No information in the Derived Work implies that any persons, + including (but not limited to) the authors of the original version + of the Work, provide any support, including (but not limited to) + the reporting and handling of errors, to recipients of the + Derived Work unless those persons have stated explicitly that + they do provide such support for the Derived Work. + + d. You distribute at least one of the following with the Derived Work: + + 1. A complete, unmodified copy of the Work; + if your distribution of a modified component is made by + offering access to copy the modified component from a + designated place, then offering equivalent access to copy + the Work from the same or some similar place meets this + condition, even though third parties are not compelled to + copy the Work along with the modified component; + + 2. Information that is sufficient to obtain a complete, + unmodified copy of the Work. + +7. If you are not the Current Maintainer of the Work, you may +distribute a Compiled Work generated from a Derived Work, as long as +the Derived Work is distributed to all recipients of the Compiled +Work, and as long as the conditions of Clause 6, above, are met with +regard to the Derived Work. + +8. The conditions above are not intended to prohibit, and hence do not +apply to, the modification, by any method, of any component so that it +becomes identical to an updated version of that component of the Work as +it is distributed by the Current Maintainer under Clause 4, above. + +9. Distribution of the Work or any Derived Work in an alternative +format, where the Work or that Derived Work (in whole or in part) is +then produced by applying some process to that format, does not relax or +nullify any sections of this license as they pertain to the results of +applying that process. + +10. a. A Derived Work may be distributed under a different license + provided that license itself honors the conditions listed in + Clause 6 above, in regard to the Work, though it does not have + to honor the rest of the conditions in this license. + + b. If a Derived Work is distributed under a different license, that + Derived Work must provide sufficient documentation as part of + itself to allow each recipient of that Derived Work to honor the + restrictions in Clause 6 above, concerning changes from the Work. + +11. This license places no restrictions on works that are unrelated to +the Work, nor does this license place any restrictions on aggregating +such works with the Work by any means. + +12. Nothing in this license is intended to, or may be used to, prevent +complete compliance by all parties with all applicable laws. + + +NO WARRANTY +=========== + +There is no warranty for the Work. Except when otherwise stated in +writing, the Copyright Holder provides the Work `as is', without +warranty of any kind, either expressed or implied, including, but not +limited to, the implied warranties of merchantability and fitness for a +particular purpose. The entire risk as to the quality and performance +of the Work is with you. Should the Work prove defective, you assume +the cost of all necessary servicing, repair, or correction. + +In no event unless required by applicable law or agreed to in writing +will The Copyright Holder, or any author named in the components of the +Work, or any other party who may distribute and/or modify the Work as +permitted above, be liable to you for damages, including any general, +special, incidental or consequential damages arising out of any use of +the Work or out of inability to use the Work (including, but not limited +to, loss of data, data being rendered inaccurate, or losses sustained by +anyone as a result of any failure of the Work to operate with any other +programs), even if the Copyright Holder or said author or said other +party has been advised of the possibility of such damages. + + +MAINTENANCE OF THE WORK +======================= + +The Work has the status `author-maintained' if the Copyright Holder +explicitly and prominently states near the primary copyright notice in +the Work that the Work can only be maintained by the Copyright Holder +or simply that it is `author-maintained'. + +The Work has the status `maintained' if there is a Current Maintainer +who has indicated in the Work that they are willing to receive error +reports for the Work (for example, by supplying a valid e-mail +address). It is not required for the Current Maintainer to acknowledge +or act upon these error reports. + +The Work changes from status `maintained' to `unmaintained' if there +is no Current Maintainer, or the person stated to be Current +Maintainer of the work cannot be reached through the indicated means +of communication for a period of six months, and there are no other +significant signs of active maintenance. + +You can become the Current Maintainer of the Work by agreement with +any existing Current Maintainer to take over this role. + +If the Work is unmaintained, you can become the Current Maintainer of +the Work through the following steps: + + 1. Make a reasonable attempt to trace the Current Maintainer (and + the Copyright Holder, if the two differ) through the means of + an Internet or similar search. + + 2. If this search is successful, then enquire whether the Work + is still maintained. + + a. If it is being maintained, then ask the Current Maintainer + to update their communication data within one month. + + b. If the search is unsuccessful or no action to resume active + maintenance is taken by the Current Maintainer, then announce + within the pertinent community your intention to take over + maintenance. (If the Work is a LaTeX work, this could be + done, for example, by posting to comp.text.tex.) + + 3a. If the Current Maintainer is reachable and agrees to pass + maintenance of the Work to you, then this takes effect + immediately upon announcement. + + b. If the Current Maintainer is not reachable and the Copyright + Holder agrees that maintenance of the Work be passed to you, + then this takes effect immediately upon announcement. + + 4. If you make an `intention announcement' as described in 2b. above + and after three months your intention is challenged neither by + the Current Maintainer nor by the Copyright Holder nor by other + people, then you may arrange for the Work to be changed so as + to name you as the (new) Current Maintainer. + + 5. If the previously unreachable Current Maintainer becomes + reachable once more within three months of a change completed + under the terms of 3b) or 4), then that Current Maintainer must + become or remain the Current Maintainer upon request provided + they then update their communication data within one month. + +A change in the Current Maintainer does not, of itself, alter the fact +that the Work is distributed under the LPPL license. + +If you become the Current Maintainer of the Work, you should +immediately provide, within the Work, a prominent and unambiguous +statement of your status as Current Maintainer. You should also +announce your new status to the same pertinent community as +in 2b) above. + + +WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE +====================================================== + +This section contains important instructions, examples, and +recommendations for authors who are considering distributing their +works under this license. These authors are addressed as `you' in +this section. + +Choosing This License or Another License +---------------------------------------- + +If for any part of your work you want or need to use *distribution* +conditions that differ significantly from those in this license, then +do not refer to this license anywhere in your work but, instead, +distribute your work under a different license. You may use the text +of this license as a model for your own license, but your license +should not refer to the LPPL or otherwise give the impression that +your work is distributed under the LPPL. + +The document `modguide.tex' in the base LaTeX distribution explains +the motivation behind the conditions of this license. It explains, +for example, why distributing LaTeX under the GNU General Public +License (GPL) was considered inappropriate. Even if your work is +unrelated to LaTeX, the discussion in `modguide.tex' may still be +relevant, and authors intending to distribute their works under any +license are encouraged to read it. + +A Recommendation on Modification Without Distribution +----------------------------------------------------- + +It is wise never to modify a component of the Work, even for your own +personal use, without also meeting the above conditions for +distributing the modified component. While you might intend that such +modifications will never be distributed, often this will happen by +accident -- you may forget that you have modified that component; or +it may not occur to you when allowing others to access the modified +version that you are thus distributing it and violating the conditions +of this license in ways that could have legal implications and, worse, +cause problems for the community. It is therefore usually in your +best interest to keep your copy of the Work identical with the public +one. Many works provide ways to control the behavior of that work +without altering any of its licensed components. + +How to Use This License +----------------------- + +To use this license, place in each of the components of your work both +an explicit copyright notice including your name and the year the work +was authored and/or last substantially modified. Include also a +statement that the distribution and/or modification of that +component is constrained by the conditions in this license. + +Here is an example of such a notice and statement: + + %% pig.dtx + %% Copyright 2005 M. Y. Name + % + % This work may be distributed and/or modified under the + % conditions of the LaTeX Project Public License, either version 1.3 + % of this license or (at your option) any later version. + % The latest version of this license is in + % http://www.latex-project.org/lppl.txt + % and version 1.3 or later is part of all distributions of LaTeX + % version 2005/12/01 or later. + % + % This work has the LPPL maintenance status `maintained'. + % + % The Current Maintainer of this work is M. Y. Name. + % + % This work consists of the files pig.dtx and pig.ins + % and the derived file pig.sty. + +Given such a notice and statement in a file, the conditions +given in this license document would apply, with the `Work' referring +to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being +generated from `pig.dtx' using `pig.ins'), the `Base Interpreter' +referring to any `LaTeX-Format', and both `Copyright Holder' and +`Current Maintainer' referring to the person `M. Y. Name'. + +If you do not want the Maintenance section of LPPL to apply to your +Work, change `maintained' above into `author-maintained'. +However, we recommend that you use `maintained', as the Maintenance +section was added in order to ensure that your Work remains useful to +the community even when you can no longer maintain and support it +yourself. + +Derived Works That Are Not Replacements +--------------------------------------- + +Several clauses of the LPPL specify means to provide reliability and +stability for the user community. They therefore concern themselves +with the case that a Derived Work is intended to be used as a +(compatible or incompatible) replacement of the original Work. If +this is not the case (e.g., if a few lines of code are reused for a +completely different task), then clauses 6b and 6d shall not apply. + + +Important Recommendations +------------------------- + + Defining What Constitutes the Work + + The LPPL requires that distributions of the Work contain all the + files of the Work. It is therefore important that you provide a + way for the licensee to determine which files constitute the Work. + This could, for example, be achieved by explicitly listing all the + files of the Work near the copyright notice of each file or by + using a line such as: + + % This work consists of all files listed in manifest.txt. + + in that place. In the absence of an unequivocal list it might be + impossible for the licensee to determine what is considered by you + to comprise the Work and, in such a case, the licensee would be + entitled to make reasonable conjectures as to which files comprise + the Work. + diff --git a/Master/texmf-dist/source/latex/thailatex/COPYING.fonts b/Master/texmf-dist/source/latex/thailatex/COPYING.fonts new file mode 100644 index 00000000000..f061342a226 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/COPYING.fonts @@ -0,0 +1,163 @@ +The fonts in fonts/ directory are taken from thaifonts-scalable project +(http://linux.thai.net/projects/thaifonts_scalable), a collection of +Thai fonts available in free licenses. + +From thaifonts-scalable COPYING file: + +This package collects Thai scalable fonts available in free licenses, and +maintains and distributes them under GNU General Public License with +original authors' permissions. + +Some fonts cannot be GPL, because they are based on fonts with different +licenses. See the list of such fonts at the end of this file. + +Copyright: + + - Kinnari: + + Copyright (C) 1999 Db Type. All Rights Reserved. + Copyright (C) 2007 National Electronics and Computer Technology Center. + All Rights Reserved. + + - Garuda: + + Generated by NECTEC for Public Domain. + Modified under GNU General Public License by TLWG. + + - Norasi: + + Copyright (C) 1999, The National Font Project (v.beta). + Yannis Haralambous, Virach Sornlertlamvanich and Anutara Tantraporn. + All rights reserved. + Modified under GNU General Public License, with creators' permission, + by Thai Linux Working Group (TLWG). + + - Loma: + + Copyright (C) 2003, NECTEC. All rights reserved. + + - TlwgMono: + + Copyright (C) 2003 Poonlap Veerathanabutr <poonlap@linux.thai.net> + + - Tlwg Typewriter: + + Copyright (C) 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net> + + - Tlwg Typist: + + Tlwg Typist, based on Poonlap Veerathanabutr's Tlwg Typewriter. + + Copyright (C) 2005-2006 Theppitak Karoonboonyanan. Tlwg Typewriter, + Free Thai Pseudo Monospace outline font. + + Copyright (C) 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net> + + - Purisa: + + Copyright (C) 2003, 2004 Poonlap Veerathanabutr + <poonlap@linux.thai.net>, GPL license + + - Sawasdee: + + Copyright (C) 2007 Pol Udomwittayanukul <webnaipol@gmail.com>. + All rights reserved. + + - Umpush: + + Copyright (C) 2003 NECTEC. All rights reserved. + Copyright (c) 2007 Widhaya Trisarnwadhana <widhaya3@gmail.com>. + All rights reserved. + +License: + + This font is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + This font is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this font; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + As a special exception, if you create a document which uses this font, + and embed this font or unaltered portions of this font into the + document, this font does not by itself cause the resulting document + to be covered by the GNU General Public License. This exception does + not however invalidate any other reasons why the document might be + covered by the GNU General Public License. If you modify this font, + you may extend this exception to your version of the font, but you + are not obligated to do so. If you do not wish to do so, delete this + exception statement from your version. + +See included GPL file for the GNU General Public License (GPL) terms. + + +* Non-GPL Fonts: + +- Waree: + +Copyright: + + Copyright (C) 2003 by Bitstream, Inc. All Rights Reserved. + TLWG changes are in public domain. + + Bitstream Vera is a trademark of Bitstream, Inc. + +License: + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute + the Font Software, including without limitation the rights to use, + copy, merge, publish, distribute, and/or sell copies of the Font + Software, and to permit persons to whom the Font Software is furnished + to do so, subject to the following conditions: + + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the + Fonts, only if the fonts are renamed to names not containing either + the words "Bitstream" or the word "Vera". + + This License becomes null and void to the extent applicable to Fonts + or Font Software that has been modified and is distributed under the + "Bitstream Vera" names. + + The Font Software may be sold as part of a larger software package + but no copy of one or more of the Font Software typefaces may be sold + by itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, + OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT + SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font + Software without prior written authorization from the Gnome Foundation + or Bitstream Inc., respectively. For further information, contact: + fonts at gnome dot org. + + +The current maintainers of thaifonts-scalable are: +- Theppitak Karoonboonyanan <thep@linux.thai.net> +- Chanop Silpa-Anan <chanop@debian.org> +- Poonlap Veerathanabutr <poonlap@linux.thai.net> +- Vee Satayamas <vee@linux.thai.net> + diff --git a/Master/texmf-dist/source/latex/thailatex/ChangeLog b/Master/texmf-dist/source/latex/thailatex/ChangeLog new file mode 100644 index 00000000000..3d5709f2dfa --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/ChangeLog @@ -0,0 +1,1026 @@ +2009-08-15 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + === Version 0.4.4 === + +2009-08-15 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * ChangeLog: Convert to UTF-8. + +2009-08-14 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, scripts/Makefile.am, + scripts/sync-babel.in -> scripts/sync-babel: + Search for babel.sty with kpsewhich, instead of hard coding its + location. + + * scripts/Makefile.am, -scripts/patch-babel: + Drop unused script. + +2009-08-14 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * Makefile.am: Add dist-ctan target for preparing CTAN uploads. + +2009-08-13 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/ttypist*.{afm,pfb}: Update ttypist font to version + 001.017: 2009-08-13, from thaifonts-scalable trunk. + +2009-07-30 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * scripts/tlatex: Detect UTF-8 source and call swath with -u option. + +2009-07-30 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * scripts/sync-thailatex.in: + - Ignore commented lines in "UPDMAP --listmaps" output, so that + thai.map is not wrongly detected as enabled when it's actually + disabled. Thanks zodmaner for the suggestion. + - Split out the map enabling check as a function. + +2009-07-29 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: + - Drop supports for old updmap, and stop with error if updmap is not + found at usual location. + - Drop checking of old TDS, as it's not supported any more. + +2009-07-29 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: Drop supports for old tetex directories. + +2009-07-29 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * scripts/sync-thailatex.in: + - Drop supports for old tetex directories. + - Update mapfile path according to the new TDS. + - Reorder so that TEXHASH is called before UPDMAP. + - Refactor the code into do_install() and do_uninstall(). + +2009-07-29 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: Also check for, and prefer, mktexlsr for TEXHASH. + +2009-07-29 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: Add missing semi-colon in last commit. + +2009-07-29 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: Post-release version suffix added. + + * configure.in: Drop the broken UPDMAP_FB fallback. It doesn't work + when used with command-line arguments. + + * fonts/Makefile.am: Reorder so that TEXHASH is called before UPDMAP + on install/uninstall hooks. + +2009-07-28 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + === Version 0.4.3 === + +2009-07-28 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * doc/utf-example.tex: Add comments. Drop unneeded thswitch usage. + +2009-07-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * doc/Makefile.am, +doc/utf-example.tex, +doc/test-utf.sh: + Add UTF-8 example and test. + +2009-07-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.dtx: + - Reorder the change logs in chronological order. + - Adjust documentation to cover UTF-8 support. + - Make `ttypist' the default typewriter font instead of `ttype'. + - Drop the obsolete `\thai' command. + - Revise some wordings, fix typos. + - Wrap long Thai definitions within 80 columns. + - Update copyright year, and bump version to 1.2. + +2009-07-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: Use make pattern subst to generate lists of + generated files instead of sed in $(shell). + +2009-07-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * doc/teststd.tex: Add test messages for Purisa oblique, bold, and + bold oblique. + +2009-07-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + Add UTF-8 support. + + * babel/lthenc.def: Add symbol definitions for UCS character names, + according to uni-14.def for Thai range. + * babel/thai.dtx: Replace Thai TIS-620 characters with symbolic + definitions, for encoding independence. + +2009-07-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: post-release version suffix added. + + * fonts/*.{afm,pfb}: Update fonts from thaifonts-scalable 0.4.13. + * babel/ltnpurisa.fd, fonts/Makefile.am, +fonts/purisa_b[o].{afm,pfb}, + +fonts/purisa_o.{afm,pfb}: Add variation faces for Purisa font. + +2008-01-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + === Version 0.4.2 === + +2008-01-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.dtx: Correct bracing in changelog entry, eliminating + junks in generated documentation. + +2008-01-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + === Version 0.4.1 === + +2008-01-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: Use ',' as delimiter instead of '/' in sed + scripts for generating file lists, as '/' confused automake when used + in EXTRA_DIST and thus broke 'make dist'. + +2008-01-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: Warn about swath or cttex only when both are missing. + +2008-01-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + Werner's afm2tfm trick solves the "PO PLA + SARA UU + MAI EK" case + well. But the separation of LIGTABLE construction results in a single + full set of ligatures, including ff, fi, fl, ffi and ffl, which was + available only in some fonts. One solution to this is to selectively + merge LIGTABLE. Another is to add those ligatures in all fonts. + And I choose the latter. + + * fonts/garuda*.{afm,pfb}: + * fonts/loma*.{afm,pfb}: + * fonts/purisa.{afm,pfb}: + * fonts/sawasdee*.{afm,pfb}: + * fonts/ttype*.{afm,pfb}: + * fonts/ttypist*.{afm,pfb}: + * fonts/umpush*.{afm,pfb}: + * fonts/waree*.{afm,pfb}: Update fonts from thaifonts-scalable CVS + snapshot, with f* ligatures either added or renamed from uniXXX forms + to Adobe Glyph Names. + +2008-01-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: Mention texlive instead of tetex. + * TODO: Remove finished issues: .dtx and Werner Lemberg's ligatures. + * README: Update URL of the project page. + +2008-01-25 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/Makefile.am, fonts/Makefile.am, emacs/Makefile.am: + Refer to texmfdir and emacsdir with Makefile variables, rather than + autoconf substitutions. + +2008-01-25 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: Use ${datarootdir} instead of ${datadir} for default + texmfdir and emacsdir, eliminating undefined referals to ${datarootdir} + in the generated script/sync-thailatex. + + * configure.in, Makefile.am, babel/Makefile.am, doc/Makefile.am: + Remove --with-docdir configure option, which may confuse users with + autoconf's --docdir. In Makefiles, just use autoconf's docdir rather + than trying to derive pkgdocdir, as autoconf already appends + ${PACKAGE} to docdir for us. + +2008-01-24 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * COPYING.fonts: Update copyright info from thaifonts-scalable 0.4.9, + plus minor changes from its CVS snapshot. Update URL for + thaifonts-scalable project page. + * +GPL: Added, as referred to from COPYING.fonts. + +2008-01-22 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: Check for sed with AC_PROG_SED instead of manual + AC_CHECK_PROGS. Also check for awk, as required by the added code. + + * fonts/Makefile.am, fonts/lthuni.enc, +fonts/thailigs.enc, + +fonts/thai-dummy.afm: Support the case of "PO PLA + SARA UU + MAI EK", + with the afm2tfm trick proposed by Werner Lemberg in "Thai fonts", + TUGboat Volume 21 (2000), No. 2: + - Split lthuni.enc into lthuni.enc + thailigs.enc, with LIGKERN + rules moved to thailigs.enc + - Add .left variants for below-base signs at character 0x01, 0x02, + 0x03, with *.left names in thailigs.enc, and with real glyph names + without .left extensions in lthuni.enc. + - Add separate LIGKERN rules for below-base signs when placed under + base characters with long-shooting ascender. + - Do the trick by generating thailigs.vpl from thailigs.enc + + thai-dummy.afm and merge the resulting LIGTABLE into ligature-less + VPL's generated from fonts' AFM + lthuni.enc. + - The LIGTABLE in thailigs.vpl will process the below-base marks + under those long-descender chars by placing glyphs 0x01, 0x02, + 0x03, as referred to by *.left names in LIGKERN rules, for them. + But the character map part in fonts' VPL will map these glyphs to + usual names for the marks, due to what described in lthuni.enc. + - As a result, the below-base marks have two variants for LIGKERN, + which both referring to the same glyphs. + - See the TUGboat article for more details. + http://www.tug.org/TUGboat/Articles/tb21-2/tb67lemb.pdf + + * fonts/lthuni.enc, fonts/thailigs.enc: Adjust the LTHEncoding: + - Remove compwordmark (0x17). + - Rename perthousandzero to perthousand (0x18). + - Rename visualspace to space (0x20). + - Remove duplicated hyphen at 0x7f. + - Remove duplicated nonbreakingspace at 0xdb. + - Rename ThaiWordBreak to zerowidthspace at 0xdc. + + * doc/teststd.tex: Add test samples for "PO PLA + SARA UU + MAI EK". + +2008-01-22 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/kinnari.{afm,pfb}, fonts/kinnari_o.{afm,pfb}: Get new version + from thaifonts-scalable CVS snapshot, correcting SARA AM width. + + * fonts/kinnari_i.{afm,pfb}: Get new version from thaifonts-scalable + CVS snapshot, with improved hinting for SARA AA and references usage + for SARA AM. + +2008-01-21 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/ttypist_b.{afm,pfb}: Get new version from thaifonts-scalable + CVS snapshot, in which missing values in OtherBlues are added, to fix + Postscript stack error in PS file generated by dvips. + +2008-01-21 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * doc/teststd.tex: Add sample text for Kinnari, Waree, Umpush and + Sawasdee. Rearrange National Fonts in order. + +2008-01-21 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/Makefile.am: Add a missing backspace at end of line in + previous commit. lthsawasdee.fd was not included due to this error. + +2008-01-21 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/garuda*.{afm,pfb}, fonts/norasi*.{afm,pfb}, + fonts/loma*.{afm,pfb}: Update fonts from thaifonts-scalable 0.4.9. + + * fonts/Makefile.am, fonts/kinnari*.{afm,pfb}, + +fonts/waree*.{afm,pfb}, +fonts/umpush*.{afm,pfb}, + +fonts/sawasdee*.{afm,pfb}: Add Kinnari back to the distribution. + Add new fonts: Waree, Umpush and Sawasdee from t-s 0.4.9. + + * fonts/Makefile.am: Rewrite variables using sed substitution instead + of exhaustive lists. + + * babel/Makefile.am, +babel/lthwaree.fd, +babel/lthumpush.fd, + +babel/lthsawasdee.fd: Add Kinnari back to the distribution. + Add font descriptors for new fonts: Waree, Umpush and Sawasdee. + +2007-02-07 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/garuda*.{afm,pfb}: Get new Garuda fonts from + thaifonts-scalable CVS snapshot, where duplicated encodings are + removed. This fixes ligkern bug for endash, emdash, as reported by + Pasu Boonvisut <bpasu@intania85.org>. + +2006-11-08 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS, HISTORY: + === Version 0.4.0 === + +2006-11-08 Theppitak Karoonboonyanan <thep@linux.thai.net> + + Relicensing to LPPL. + + * AUTHORS: Clarify original author and current maintainers. + * COPYING, -LICENSE: Replace with LPPL Version 1.3c. + * +COPYING.fonts: Clarify fonts copyright and license info, as declared + in thaifonts-scalable package. + * +HISTORY: Add relicensing history. + * Makefile.am: Include new files in EXTRA_DIST. Remove removed file. + * configure.in: Update AC_INIT, as the referred file is now removed. + * babel/lth{garuda,norasi,loma,ttype,ttypist,purisa}.fd, + * babel/lthenc.def: Clarify files as part of thailatex package. + * babel/thai.dtx, babel/thswitch.sty: Update copyright info. + + Minor clean-up. + + * babel/Makefile.am: Clean latex-generated files. + +2006-10-23 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/*.{afm,pfb}: Update fonts from thaifonts-scalable 0.4.5. + + * fonts/Makefile.am, +fonts/ttypist*.{afm,pfb}: + * babel/Makefile.am, +babel/lthttypist.fd: + Add ttypist (Tlwg Typist) font from thaifonts-scalable 0.4.5. + + * doc/teststd.tex: Add ttypist sample text. + + * {fonts,doc}/Makefile.am: Use CLEANFILES instead of *clean-local + target. Also correctly clean files previously cleaned with distclean. + + * fonts/Makefile.am: Call texhash after updmap. + + * configure.in: When checking for new TDS, check for non-existence of + old TDS instead of existence of the new. + +2006-10-21 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, babel/Makefile.am, + babel/thai.{dtx,ins}.in -> babel/thai.{dtx,ins}: Replace weird hack + for non-source-dir build by creating symlinks to source dir instead + of using AC_OUTPUT trick. + +2006-07-09 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.dtx.in: Removed unnecessary workarounds for inhibition + of capitalization of headers, as the catcodes already do the job. + Also removed the mysterious redefinitions of figure and table counters. + +2006-07-05 Theppitak Karoonboonyanan <thep@linux.thai.net> + + Created `thai.dtx' for documenting and generating `thai.ldf'. + + * configure.in, babel/Makefile.am, +babel/thai.{dtx,ins}.in, + -babel/thai.ldf: Replaced `thai.ldf' with `thai.dtx'. Added + `thai.ins' and rules for docstripping `thai.dtx' into `thai.ldf'. + Also added rules for generating `thai.pdf' documentation from + `thai.dtx'. + +2006-03-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + === Version 0.3.7 === + +2006-03-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + Fixed many package building issues. + + * configure.in, Makefile.am, -debian/Makefile.am: Removed debian + directory from source distribution, as well as the autogen.sh extra + file. + + * configure.in: Tried to fall back to updmap as well, even if + updmap-sys is available, to pass "make distcheck" as non-root user. + + * fonts/Makefile.am: Called @TEXHASH@ only if $(DESTDIR) is null. + +2006-03-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + === Version 0.3.6 === + +2006-03-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/{purisa,ttype*}.{afm,pfb}: Updated fonts from + thaifonts-scalable CVS which fixed error with dvips. + +2006-03-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: Fixed typo in tfm_DATA which caused raw TFM's to + be missed from installation. + + * doc/teststd.tex: Replaced the references to old 'pmono' font with + 'ttype'. + +2006-03-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + Added Loma font. + + * fonts/Makefile.am, +fonts/loma*.{afm,pfb}: Added Loma font and + metrics. + + * babel/Makefile.am, +babel/lthloma.fd: Added Loma font description. + + * doc/teststd.tex: Added test message for Loma. + +2006-03-25 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/*.{afm,pfb}: Updated fonts from thaifonts-scalable 0.4.4. + +2006-02-19 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, fonts/Makefile.am: Checked for new TeX Directory + Structure (http://tug.org/tds/) and install files in new locations + if possible. + +2006-02-19 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: Preferred updmap-sys to updmap if present. + Change inspired by Debian NMU patch. + +2005-10-09 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: + Formatted configure options help strings with AC_HELP_STRING(). + +2005-07-03 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/{garuda*,norasi*,ttype*}.{afm,pfb}: + Update fonts from thaifonts-scalable 0.4.3.1. + + * configure.in, NEWS: + Version 0.3.5.1. + +2005-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am, babel/Makefile.am: + Drop dbtt and kinnari fonts, as they have been dropped in the new + thaifonts-scalable release due to the unclear licenses. + + * doc/teststd.tex: + Remove test samples for dbtt and kinnari as well. + + * doc/Makefile.am: + Include check scripts in the EXTRA_DIST as well. + + * configure.in, NEWS: + Version 0.3.5. + +2005-06-07 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/*.{afm,pfb}: + Update fonts from thaifonts-scalable CVS. + +2005-04-05 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: + Add missing entries (kinnari_{i,bi}.afm) in EXTRA_DIST. + (bug noticed by "ball" in LTN forum). + +2005-03-29 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: + Disable thai.map (quickly) before enabling it upon installation, to + ensure that updmap --enable command is always effective. + (http://vuthi.blogspot.com/2005/03/thai-latex-mac-os-x.html) + +2005-01-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * doc/Makefile.am, +doc/test-orchid.sh, +doc/test-teststd.sh: + Add "make check" targets by testing building orchid and teststd + docs. + +2005-01-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * doc/Makefile.am: + Use abstract make rules so that all docs are covered at once. + +2005-01-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * doc/teststd.tex: + Add slant shape samples for Norasi and Kinnari. Fix the Thai name + of National Font project. + +2005-01-24 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/lthnorasi.fd: + Actually point bold-italic shape to italic font file instead of + slant. + +2005-01-24 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/lthkinnari.fd, fonts/Makefile.am, + +fonts/kinnari_{i,bi}.{afm,pfb}: + Add italic shape for Kinnari medium and bold face series. Fonts + taken from thaifonts-scalable CVS snapshot. + +2005-01-15 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/norasi*.{afm,pfa}: + Update fixes in Copyright field from thaifonts-scalable CVS. + (Bug reported by K.Boonlert in thai-latex-user-group mailint list). + +2004-12-05 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + Version 0.3.4. + +2004-11-15 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/*.{afm,pfb}: + Updated fonts from thaifonts-scalable CVS snapshot, with glyph + variants for marks back again. + (Bug reported by Poonlap Veerathanabutr.) + + * fonts/pmono*.{afm,pfb} -> fonts/ttype*.{afm,pfb}, fonts/Makefile.am, + babel/lthpmono.fd -> babel/lthttype.fd, babel/Makefile.am, + babel/thai.ldf: + Replace 'pmono' (PseudoMono) with 'ttype' (TlwgTypewriter), + according to recent renaming in thaifonts-scalable. + +2004-09-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, NEWS: + Version 0.3.3. + +2004-09-20 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/*.{afm,pfb}: + Updated fonts from thaifonts-scalable 0.4.2. + + * babel/*.fd: + Remove the scaling factor from font descriptions, as glyphs are + already scaled up in thaifonts-scalable. + +2004-06-14 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/lthenc.def: + Guard against recursive assignments of \ltxTeX and \ltxLaTeX + (Reported by donzakh) + +2004-04-08 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.ldf: + Borrow code from previous encoding fix to inhibit + capitalizing chapters & sections in book headers. + (proposed by P'Joy) + +2004-04-02 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * TODO: + Add more TODO proposed by Poonlap. + +2004-03-25 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * +TODO: + Add TODO, as proposed by Chanop. + + * NEWS, configure.in: + Version 0.3.2 + +2004-03-18 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.ldf: + Move \frontmatter and \mainmatter redefinition back under + thainumber option (wrongly moved along with previous appendix fix) + (bug reported by P'Joy) + +2004-03-10 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * NEWS, configure.in: + Version 0.3.1 + +2004-03-06 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.ldf: + Use `garuda' instead of `dbtt' as default sffamily for Thai. + +2004-03-04 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.ldf, babel/thswitch.sty: + Use `pmono' as default ttfamily for Thai. + +2004-03-03 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/{kinnari,garuda,dbtt}.{pfb,afm}: + Update fonts from thaifonts-scalable cvs. + + * fonts/dbtt*.{pfb,afm}: + Yet another update from thaifonts-scalable cvs (regarding hints). + +2004-02-28 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.ldf: + Always use Thai alphabets in appendix + (As suggested by K. chakkree01) + +2004-02-18 Poonlap Veerathanabutr <poonlap@linux.thai.net> + + * fonts/purisa.{pfb,afm}: + Replaced with fixed version. + +2004-02-14 Poonlap Veerathanabutr <poonlap@linux.thai.net> + + * doc/teststd.tex: + Fixed Deer book to Dear book. + + * fonts/purisa.{pfb,afm}: + Replaced with new version. + +2004-02-06 Poonlap Veerathanabutr <poonlap@linux.thai.net> + + * doc/teststd.tex: + Rewrite teststd.tex including new fonts. + + * fonts/purisa.{pfb,afm}, fonts/pmono*.{pfb,afm}, + fonts/kinnari*.{pfb,afm}, fonts/Makefile.am: + Add new fonts and modify Makefile.am. + + * babel/lthpurisa.fd, babel/lthpmono.fd, babel/lthkinnari.fd: + Add new font definition files. + +2004-02-03 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * README: + Add link to project page. (Thanks to Vee Satayamas) + + * AUTHORS: + Fix my e-mail address. Add Chanop and Poonlap. + +2004-02-02 Poonlap Veerathanabutr <poonlap@linux.thai.net> + + * babel.thai.ldf: + Fixed \lccode and \uccode. + +2003-12-21 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * scripts/sync-thailatex.in, scripts/sync-babel.in, + thailatex.spec.in: + Use argumentless style of sync scripts for RPM. + +2003-12-05 Chanop Silpa-Anan <chanop@debian.org> + + * fonts/lthuni.enc, fonts/norasi.{afm,pfb}, fonts/Makefile.am: + Update norasi to the latest CVS from thaifonts-scalable; also + add the italic variant. + +2003-11-22 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/{garuda,dbtt}*.{afm,pfb}: + Use updated fonts from thaifonts-scalable cvs snapshot. + +2003-10-25 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: + Add missing *.afm to EXTRA_DIST, as reported by Vee Satayamas. + +2003-09-21 Chanop Silpa-Anan <chanop@debian.org> + + * fonts/lthuni.enc: + Fix aposthophe problem. + Use unicode variant name. + Add f-ligatures and some puctuations at T1 locations. + + * fonts/*.{afm,pfb}: + Use updated fonts with new unicode variant name. + +2003-08-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: + Insert texhash calling before updmap, so thai.map is known by + updmap in brand new installation. + + * Makefile.am: + Remove texhash calling after install/uninstall, as it's already + called by updmap. + +2003-08-11 Chanop Silpa-Anan <chanop@debian.org> + + * babel/lthdbtt.fd: + Fix typo. + + * babel/{lthdbtt,lthgaruda,lthnorasi}.fd: + Use silent substitutions; there is no need to warn the users + for the default Thai fonts. + +2003-08-10 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/thai.ldf: + Fix translation of \prefacename. + Redefine \frontmatter and \mainmatter for book class + so thainumber option applies to the page numbering styles. + [Experimental] Add initialization of Thai character codes + to fix the \MakeUppercase and \MakeLowercase problem. + Also comment out the old workarounds. + +2003-06-08 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: + Fix lthuni.enc symlink creation. Its existence should be checked + aginst itself, rather than the pfb file. + Add creation of *.afm symlinks to the build tree. + + * configure.in: + Move default docdir to DATADIR/doc instead of PREFIX/doc. + +2003-06-04 Chanop Silpa-Anan <chanop@debian.org> + * fonts/norasi*.{pfb,afm}: + Update using new Type1 font from thaifonts-scalable project. + + * fonts/lthuni.enc: + Fix sara aam ligatures, however, these ligatures are not probably + going to be used in regular text. + + * babel/lthenc.def: + Add \text{fongman,yamakkan,angkhankhu,khomut}. + +2003-06-02 Chanop Silpa-Anan <chanop@debian.org> + * fonts/*.{pfb,afm}: + Update using new Type1 font from thaifonts-scalable project. + + * babel/lth{norasi,garuda,dbtt}.fd: + Fix .fd to reflect chages to use oblique naming. + + * babel/thai.ldf: + Use garuda as a default sans, dbtt is still slightly buggy. + +2003-04-21 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/lthenc.def: + Add special shape declarations e.g. \textquoteleft. + + * fonts/lthuni.enc: + Add default ligkern set normally built-in in afm2tfm. + +2003-04-18 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: + Version 0.3.0 + +2003-04-18 Chanop Silpa-Anan <chanop@debian.org> + * debian/changelog: + Version 0.2.99.3 + +2003-04-17 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * emacs/Makefile.am: + Check $(DESTDIR) before patching emacs site-start.el. + + * configure.in: + Version 0.2.99.3 + +2003-04-16 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in, fonts/Makefile.am, scripts/sync-thailatex.in: + Add updmap usage back again, with checking for updmap version + before applying appropriate method. + +2003-04-15 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am, scripts/sync-thailatex.in, configure.in: + Undo updmap usage, to support tetex-1. + Get back to patching dvips/config/config.ps and + pdftex/config/pdftex.cfg instead. + +2003-04-02 Chanop Silpa-Anan <chanop@debian.org> + + * debian/*: + Prepare for 0.3 release. Would only work with current sid. + + * fonts/Makefile.am: + Remove deletion of lthuni.enc in distclean target. + +2003-03-11 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: + Version 0.2.99.2 + +2003-03-06 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * scripts/sync-thailatex.in: + Rewrite to accept install/uninstall arg. + + * +scripts/sync-babel.in, scripts/Makefile.am, configure.in, + scripts/sync-thailatex.in: + Split babel patching into separate script (for use in rpm only). + + * thailatex.spec.in: + Use the separate sync-* scripts instead. + Add %preun script for unregistering thailatex at last uninstallation. + +2003-03-05 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: + Fix AC_PATH_PROG finding for updmap (bug reported by Vee Sattayamas) + +2003-03-04 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * thailatex.spec.in: + Add tetex-dvips to Requires: (as suggested by Vee Sattayamas) + +2003-03-03 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * fonts/Makefile.am: + Add DISTCLEANFILES to clear up generated files + Remove old instructions in comments + +2003-03-02 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: + Version 0.2.99.1 + +2003-02-26 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * scripts/sync-thailatex -> scripts/sync-thailatex.in, + scripts/Makefile.am, configure.in: + Use configured values for path names in the script + + * scripts/sync-thailatex.in: + Use updmap instead of patching individual config files + + * configure.in, Makefile.am, scripts/sync-thailatex.in: + Detect installed texhash and use it + + * babel/thai.ldf: + Add missing subsubsection renumbering for thainum option, + as well as paragraph, subparagraph and part + (reported by Poonlap Veerathanabutr) + +2003-02-25 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * configure.in: + Fix AC_PATH_PROG so $PATH is also tried when looking for updmap + (as suggested by Vee Sattayamas) + + * fonts/Makefile.am: + Use updmap options instead of directly patching updmap.cfg + +2003-02-12 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * babel/lthgaruda.fd: + Fix garuda bx series name, which still appeared as norasi + + * fonts/lthuni.enc: + Fix wrong encoding (Poonlap Veerathanabutr) + +2003-01-28 Theppitak Karoonboonyanan <thep@linux.thai.net> + * thailatex.spec.in: + Apply Poonlap Veerathanabutr's patch which fixes problematic + comment + * configure.in, fonts/Makefile.am: + Check & use updmap script from appropriate location + * configure.in: + Version 0.2.99.0 + +2003-10-27 Theppitak Karoonboonyanan <thep@linux.thai.net> + * emacs/Makefile.am: + Use install-data-hook and uninstall-hook instead of + install-data-local and uninstall-local, respectively, so that the + $(emacslispdir) is created before doing anything with site-start.el + (bug reported by Vee Sattayamas) + +2003-01-11 Theppitak Karoonboonyanan <thep@linux.thai.net> + * babel/lthnorasi.fd: + Fix typo in norasi-normal name. + * fonts/Makefile.am: + Use updmap to generate font maps instead of modifying + individual maps. + * +doc/teststd.tex, doc/Makefile.am: + Add Garuda example doc (Poonlap Veerathanabutr). + * fonts/Makefile.am: + Fix *.pfb and lthuni.enc symlinks creation bug in case of + building directly in the source tree. + +2003-01-10 Theppitak Karoonboonyanan <thep@linux.thai.net> + * -fonts/type1/*, -fonts/afm/*: + Remove subdirs. + * +fonts/dbtt*.pfb, +fonts/garuda*.pfb, +fonts/norasi*.pfb: + Add new fonts whose glyphs are renamed using uni<CODE> format by + Poonlap Veerathanabutr. (place for .pfb moved from fonts/type1 + subdir to here) + * -dvips/*: + Remove subdir. + * +fonts/lthuni.enc: + Add uni<CODE>-based encoding. (place for .enc moved from dvips + subdir to here) + * fonts/Makefile.am: + Rewrite Makefile.am using abstract rules. + Incorporate rules from dvips/Makefile.am. + * configure.in: + Remove fonts/type1/Makefile, fonts/afm/Makefile and dvips/Makefile + generation. + Add check for ps2afm program. + * Makefile.am: + Remove dvips in SUBDIRS. + * babel/lthdbttx.fd -> babel/lthdbtt.fd, thai.ldf: + Rename the font name (Poonlap Veerathanabutr) + * babel/lthdbtt.fd, babel/lthnorasi.fd, +babel/lthgaruda.fd: + Merge Poonlap's changes to the font descriptions. + Add font description for Garuda. + * babel/Makefile.am: + Update babel file list. + +2003-01-09 Theppitak Karoonboonyanan <thep@linux.thai.net> + * Makefile.am: + Use install-data-hook instead of install-data-local + and uninstall-hook instead of uninstall-local for proper + operation sequence. + * configure.in: + Version 0.2.6. + +2002-08-05 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * thailatex.spec.in: + Add BuildRequires. Add %clean script. Clear RPM build dir + before installing. + +2002-07-23 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * fonts/afm/dbttb.afm, fonts/afm/dbtti.afm, fonts/dbttbi.afm: + Fix glyph name for Yo Ying, which was taken as softhyphen + and thus had no width. + +2002-01-16 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * babel/thai.ldf: + Fix extra spaces appearing in \seleclanguage{thai}, as + suggested by C. Visavakul. + Add extra space to \wbr in case of over-condensed text, + as suggested by C. Visavakul. + * configure.in: + Version 0.2.5. + +2002-01-08 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * Makefile.am, babel/Makefile.am doc/Makefile.am, dvips/Makefile.am, + emacs/Makefile.am, fonts/Makefile.am: + Use automake DATA targets. + * -dvips/addpsfont.sh, -dvips/rmpsfont.sh, dvips/Makefile.am: + Use thai.map and patch dvips local config file instead of + directly patching base psfonts.map. + * dvips/Makefile.am: + Add patch for pdftex. + * -emacs/addmacro.sh, -emacs/rmmacro.sh, emacs/Makefile.am: + Move the macro patching scripts into Makefile. + * thailatex.spec.in: + Update %post and %postun according to new installing method. + * thailatex.spec.in: + Fix upgrading bug using %triggerpostun to repeat %post after + %postun of older package undid it. (%post is still needed + in case of installation from scratch, not upgrading.) + Change %postun to %preun, to guarantee it's run before + newer package's %triggerpostun in upgrading. + * thailatex.spec.in: + Incorporate babel.sty patching. + * +scripts/sync-thailatex, scripts/Makefile.am, thailatex.spec.in: + Split scriptlets into sync-thailatex separate script, to resolve + old chaotic upgrading scheme. + Add %triggerin to get synchronized with tetex. + * configure.in: + Version 0.2.4. + +2001-12-06 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * babel/thai.ldf: add missing consonants in \thaialpha according + to Thai law convention. + +2001-12-06 Chanop Silpa-Anan <chanop@debian.org> + * babel/thai.ldf: fix table of contents rubbish header for + class book. + * babel/thai.ldf: add thai alphabet counter. default appendix + counter to thaialphabet when thainumer option is given. + +2001-12-05 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * thailatex.spec.in: use manifest + * thailatex.spec.in: add post and postun scripts for patching + dvips and emacs files. + * dvips/addpsfont.sh, dvips/rmpsfont.sh: reduce sed script. + * Makefile.am, thailatex.spec.in: add texhash after installation + * configure.in: Version 0.2.3 + +2001-12-04 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * babel/thai.ldf: fix thai numbering for cases of styles other + than book, where \thechapter is not defined. + * babel/thai.ldf: remove thaitoday option. + * doc/orchid.tex: use thainumber option to demo thai numbering. + * babel/thai.ldf: use \ifcase instead of nested \if in \thaitranslate. + * babel/thai.ldf: fix wrong encoding in heading for book + style (as suggested by Chanop). + +2001-12-04 Chanop Silpa-Anan <chanop@debian.org> + * add support for using Thai numbering in page, section, + date, and etc. + * Thank to K.ขà¸à¸¡ + +2001-02-23 Chanop Silpa-Anan <chanop@debian.org> + * move patch-babel script from babel to scripts dir + * add tlatex scipt for compiling Thai document to scripts dir + +2001-02-10 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * make RPM spec use temporary build root instead of the real + file system; make configure script generate auto-versioned RPM spec + * fix some Makefile.am for consistency with the helper shell scripts + and make it be able to configure and build from a separate directory + +2001-02-10 Chanop Silpa-Anan <chanop@debian.org> + * add patch-babel script for patching babel.sty such that + thai language document can be passed from + \documenticlass[thai]{class} to babel + (exported latex from LyX has this behavior) + +2000-11-29 Chanop Silpa-Anan <chanop@debian.org> + * rewrite Makefiles using GNU autoconf/automake tools + so that packaging for debian and other is easier :) + +2000-08-16 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * incorporate fixed "norasi" "Bluevalues" parameter to fix + Acrobat Distiller rejection, by Anutara Tantraporn + +2000-05-25 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + * rearrange package and create Makefiles + * encoding changed from TIS to LTH, according to TeX convention + * add "norasi" bold and bold-italic font; correct TeXTIS.enc + * make "norasi" be Thai roman font, "dbttx" Thai sans serif + * correct some Thai translations + * release version 0.2 + +1999-06-21 Surapant Meknavin <surapan@nectec.or.th> + * create the original Thai LaTeX extension based on babel package + * two fonts are available : dbtt (n,bx,i,bi) and nf3x (n,i) + * release version 0.1 + diff --git a/Master/texmf-dist/source/latex/thailatex/HISTORY b/Master/texmf-dist/source/latex/thailatex/HISTORY new file mode 100644 index 00000000000..5bf9c0ca936 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/HISTORY @@ -0,0 +1,122 @@ +MAINTAINERSHIP + +thailatex was originally created by Surapan Meknavin in 1999, as a project +under the National Electronics and Computer Technology Center (NECTEC). +Granted by its license terms, it has been later imported to a public CVS and +maintained by Thai Linux Working Group (TLWG) community since version 0.2 +in 2000. + +RELICENSING + +Before version 0.4.0, thailatex was released under non-commercial license: + +---8<--- + This package, "Thai Extension for LaTeX", is copyright (C) 1999 National + Electronics and Computer Technology Center (NECTEC), Thailand. All rights + reserved. + + Redistribution and use in source and binary forms, with or without + modification are permitted provided that the following conditions + are met: + + 1. Redistributions of the program must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. No charge more than random data distribution cost is associated with + the redistributions. + + 3. The origin of this software must not be misinterpreted; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. + + 4. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OF THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + Surapant Meknavin, + National Electronics and Computer Technology Center (NECTEC), Thailand. + surapan@nectec.or.th +---8<--- + +The particular term has been found to break Debian Free Software Guidelines +(DFSG), as well as Open Source Definitions, by limiting the users' rights +to use the software in commercial cases: + + 2. No charge more than random data distribution cost is associated with + the redistributions. + +Therefore, a proposed idea is to relicense it to The LaTeX Project Public +License (LPPL), to conform to DFSG and OSD, as well as to be compatible to +other parts of Babel package, the target of the project. + +Although most of its maintainership over 6 years is done by TLWG members, +that is done under the license terms granted by NECTEC, the copyright holder. + +Hence, the original author and copyright holder have been contacted for a +grant to relicense it to The LaTeX Project Public License (LPPL). + +The original author's response is positive: + +---8<--- + From: "Surapan Meknavin" <surapan@siamguru.com> + To: "Theppitak Karoonboonyanan" <thep@linux.thai.net> + Cc: "Kamthorn Krairaksa" <kamthorn.krairaksa@nectec.or.th> + Subject: Re: thailatex license + Date: Fri, 20 Oct 2006 14:32:49 +0700 + + Dear Thep, + + Assuming that LPPL does not conflict with DFSG, I agree that the thailatex + package should be licensed under LPPL. I don't think there should be any + problem to remove the term you mentioned to make it free, as no one involved + in the package wants to make any money out of this since the beginning and + the term may be just there because we didn't aware of it. However, because + NECTEC is the entity who is taking care of thailatex package K. Kamthorn may + be the right person to help realize this. + + Best, + Surapan +---8<--- + +And the response from NECTEC is: + +---8<--- + + From: "pansak siriruchatapong" <srpansak@truemail.co.th> + To: <Thep@linux.thai.net> + Cc: "'Kamthorn Krairaksa'" <kamthorn.krairaksa@nectec.or.th>, + "pansak siriruchatapong" <pansak.siriruchatapong@nnet.nectec.or.th> + Subject: relicense thailatex + Date: Tue, 7 Nov 2006 21:18:52 +0700 + + Dear Theppitak + + Subject: Thai LaTeX Relicensing + + The thailatex package owned by NECTEC is currently distributed under + non-commercial license, which is found to break open source definitions. + To make it true open source according to NECTEC's original intention, + and to be compatible with upstream source into which it is aimed to + merge, NECTEC agrees to change the license terms to the LaTeX Project + Public License (LPPL), and hereby assigns Mr. Theppitak Karoonboonyanan + from Thai Linux Working Group (TLWG) to proceed the relicensing, and to + maintain the project as the Current Maintainer, as specified in the + license. + + Dr.Pansak Siriruchatapong + + Director of National Electronics and Computer Technology Center (NECTEC) + +---8<--- + +Therefore, thailatex is licensed under the LaTeX Project Public License +(LPPL) since version 0.4.0. + diff --git a/Master/texmf-dist/source/latex/thailatex/INSTALL b/Master/texmf-dist/source/latex/thailatex/INSTALL new file mode 100644 index 00000000000..b42a17ac464 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/INSTALL @@ -0,0 +1,182 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. diff --git a/Master/texmf-dist/source/latex/thailatex/Makefile.am b/Master/texmf-dist/source/latex/thailatex/Makefile.am new file mode 100644 index 00000000000..f71e871aaaf --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/Makefile.am @@ -0,0 +1,39 @@ +EXTRA_DIST = HISTORY COPYING.fonts thailatex.spec.in +SUBDIRS = babel emacs fonts scripts doc + +DISTCLEANFILES = thailatex.spec + +doc_DATA = README + +#install-data-hook: +# @TEXHASH@ + +#uninstall-hook: +# @TEXHASH@ + +tdsdist = $(PACKAGE)-$(VERSION).tds.tar.gz +ctandist = $(PACKAGE)-$(VERSION).ctan.tar.gz + +tdsdistdir = $(PACKAGE)-$(VERSION)-tds + +dist-tds: + rm -rf $(tdsdistdir) + mkdir $(tdsdistdir) + confdir=`cd $(top_srcdir) && pwd` \ + && cd $(tdsdistdir) \ + && $$confdir/configure --prefix=/usr \ + --with-texmfdir=/ --docdir=/doc/latex/$(PACKAGE) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=`pwd`/inst install \ + && rm -rf inst/usr + cd $(tdsdistdir)/inst \ + && tar cf - * | gzip -9 -c > ../../$(tdsdist) + rm -rf $(tdsdistdir) + +dist-ctan: dist-tds distdir + tar xzOf $(tdsdist) doc/latex/thailatex/thai.pdf \ + > $(distdir)/doc/thai.pdf + tar cf - $(tdsdist) $(distdir) | gzip -9 -c > $(ctandist) + $(am__remove_distdir) + +.PHONY: dist-ctan dist-tds diff --git a/Master/texmf-dist/source/latex/thailatex/Makefile.in b/Master/texmf-dist/source/latex/thailatex/Makefile.in new file mode 100644 index 00000000000..b0458a2d242 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/Makefile.in @@ -0,0 +1,741 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/thailatex.spec.in \ + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ + TODO install-sh missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = thailatex.spec +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(docdir)" +DATA = $(doc_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir dist dist-all distcheck +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d "$(distdir)" \ + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr "$(distdir)"; }; } +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AFM2TFM = @AFM2TFM@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CTTEX = @CTTEX@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DVIPS = @DVIPS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LATEX = @LATEX@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PF2AFM = @PF2AFM@ +PS2PDF = @PS2PDF@ +RMDIR = @RMDIR@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SWATH = @SWATH@ +TEXHASH = @TEXHASH@ +UPDMAP = @UPDMAP@ +VERSION = @VERSION@ +VPTOVF = @VPTOVF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +emacsdir = @emacsdir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +texmfdir = @texmfdir@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +EXTRA_DIST = HISTORY COPYING.fonts thailatex.spec.in +SUBDIRS = babel emacs fonts scripts doc +DISTCLEANFILES = thailatex.spec +doc_DATA = README + +#install-data-hook: +# @TEXHASH@ + +#uninstall-hook: +# @TEXHASH@ +tdsdist = $(PACKAGE)-$(VERSION).tds.tar.gz +ctandist = $(PACKAGE)-$(VERSION).ctan.tar.gz +tdsdistdir = $(PACKAGE)-$(VERSION)-tds +all: all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): +thailatex.spec: $(top_builddir)/config.status $(srcdir)/thailatex.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) + test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ + done + +uninstall-docDATA: + @$(NORMAL_UNINSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(docdir)" && rm -f $$files + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @$(am__cd) '$(distuninstallcheck_dir)' \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(docdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-docDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-docDATA + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ + install-am install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ + dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ + distclean distclean-generic distclean-tags distcleancheck \ + distdir distuninstallcheck dvi dvi-am html html-am info \ + info-am install install-am install-data install-data-am \ + install-docDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ + uninstall-docDATA + + +dist-tds: + rm -rf $(tdsdistdir) + mkdir $(tdsdistdir) + confdir=`cd $(top_srcdir) && pwd` \ + && cd $(tdsdistdir) \ + && $$confdir/configure --prefix=/usr \ + --with-texmfdir=/ --docdir=/doc/latex/$(PACKAGE) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=`pwd`/inst install \ + && rm -rf inst/usr + cd $(tdsdistdir)/inst \ + && tar cf - * | gzip -9 -c > ../../$(tdsdist) + rm -rf $(tdsdistdir) + +dist-ctan: dist-tds distdir + tar xzOf $(tdsdist) doc/latex/thailatex/thai.pdf \ + > $(distdir)/doc/thai.pdf + tar cf - $(tdsdist) $(distdir) | gzip -9 -c > $(ctandist) + $(am__remove_distdir) + +.PHONY: dist-ctan dist-tds + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Master/texmf-dist/source/latex/thailatex/NEWS b/Master/texmf-dist/source/latex/thailatex/NEWS new file mode 100644 index 00000000000..fa565e32763 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/NEWS @@ -0,0 +1,98 @@ +0.4.4 (2009-08-15) +===== +- Fix installation problems in Makefiles and related scripts. +- Drop support for old teTeX versions, for simplicity. +- Update ttypist font from thaifonts-scalable trunk, with manually adjusted + bold glyphs. +- Support automated tarball preparation for CTAN upload. + +0.4.3 (2009-07-28) +===== +- Update fonts from thaifonts-scalable 0.4.13, changes include: + + thicker bold faces for ttpyist + + variation faces for purisa +- Default monospace font is now ttypist. +- Drop the obsolete '\thai' command. +- UTF-8 support. + +0.4.2 (2008-01-27) +===== +- Correct changelog entry in thai.dtx, removing junks in generated document. + +0.4.1 (2008-01-27) +===== +- Update fonts from thaifonts-scalable 0.4.9, plus some changes from CVS. +- Reintroduced font: kinnari, with resolved licensing issue. +- New fonts: sawasdee, umpush, waree. +- Handle the case of tone marks over long-ascender base characters with + below-base vowel combined, e.g. "PO PLA + SARA UU + MAI EK", using + Werner Lemberg's method as published in TUGboat Volume 21 (2000), No. 2. + +0.4.0 (2006-11-08) +===== +- Relicensed to LPPL, with permission from NECTEC, the copyright holder. +- Create `thai.dtx' for documenting and generating `thai.ldf'. +- Clean up some unneeded macros. +- Update fonts from thaifonts-scalable 0.4.5. +- Add ttypist (TLWG Typist) font. + +0.3.7 (2006-03-27) +===== +- Fix many package buidling issues. + +0.3.6 (2006-03-27) +===== +- Merge fix from Debian NMU, to prefer updmap-sys to updmap if present. +- Support new TeX Directory Structure (http://tug.org/tds/). +- Update fonts from thaifonts-scalable 0.4.4, plus some fixes in 2006-03-26 + CVS snapshot for error with dvips. +- Add Loma font. + +0.3.5.1 (2005-07-03) +======= +- Update fonts from thaifonts-scalable 0.4.3.1, which actually updates + version info in Type1 fonts. + +0.3.5 (2005-06-10) +===== +- Dropped dbtt and kinnari in accordance with the new thaifonts-scalable + release, due to the unclear license. +- Updated scalable fonts from thaifonts-scalable 0.4.3. +- Fixed bug in malformed Postscript fonts which makes latex files fail to + compile. + +0.3.4 (2004-12-05) +===== +- Fix missing glyphs in fonts. (reported by Poonlap Veerathanabutr) +- 'pmono' font now renamed as 'ttype'. + +0.3.3 (2004-09-27) +===== +- Do not capitalize chapters & sections in book headers. + (proposed by P'Joy) +- Guard against recursive assignments of \ltxTeX and \ltxLaTeX + (reported by donzakh) +- Updated scaled fonts from thaifonts-scalable 0.4.2. + +0.3.2 (2004-03-25) +===== +- Fix page numbering bug in \frontmatter and \mainmatter redefinition + due to wrong appendix fix in previous version. [thep] + (noticed by P'Joy) + +0.3.1 (2004-03-10) +===== +- New fonts: kinnari, pmono, purisa. [poonlap] +- Updated fonts from thaifonts-scalable project. [chanop,thep] +- Thai sfdefault is now garuda. Thai ttdefault is now pmono. +- Introduce Thai TeX character codes, so some problems caused by Latin + case conversion, e.g. appendix title, are fixed. [thep,poonlap] +- Proper Thai page number styles in different parts of book class. [thep] +- Appendixes are now always run with Thai alphabets, with or without + `thainumber' option. [suggested by K. Chakkree] +- Better RPM build script. [thep, by report from Suppachoke Santiwichaya] +- Other bug fixes and improvements. [everybody] + + +*** Please see ChangeLog for versions before 0.3.1 *** + diff --git a/Master/texmf-dist/source/latex/thailatex/README b/Master/texmf-dist/source/latex/thailatex/README new file mode 100644 index 00000000000..b1a477bf11e --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/README @@ -0,0 +1,30 @@ +%% This file is a part of thailatex package ver 0.2.2-pre4 + +thailatex is a Thai package which enables typesetting Thai with LaTeX's +standard document classes. It is meant to become a part of "babel", +a multilingual package for LaTeX which supports a lot of non-American +languages. + +Usage +In LaTeX2e, you can tell LaTeX that the document would be written in +Thai by adding 2 lines in the preamble as follows: + +\usepackage[thai]{babel} +\usepackage{thswitch} + +An example of using thailatex can be found in the file 'orchid.tex'. + +If you patch babel.sty with the script patch-babel located in babel +directory distributed with the source. You may use babel as follows: + +\document[thai]{article} + +\usepackage{babel} +\usepackage{thswitch} + +Note that option [thai] will be passed to babel after it is patched. +You may have to repatch babel.sty again if you reinstall LaTeX. + +For more information, please visit: + http://linux.thai.net/projects/thailatex + diff --git a/Master/texmf-dist/source/latex/thailatex/TODO b/Master/texmf-dist/source/latex/thailatex/TODO new file mode 100644 index 00000000000..3d007c9a778 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/TODO @@ -0,0 +1,9 @@ +- Karl Berry's font naming scheme +- use fontinst +- kerning +- tutorial doc + +WISHLIST +- hyphenation? +- macro for multi-pass wordseg? + diff --git a/Master/texmf-dist/source/latex/thailatex/aclocal.m4 b/Master/texmf-dist/source/latex/thailatex/aclocal.m4 new file mode 100644 index 00000000000..99803da4056 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/aclocal.m4 @@ -0,0 +1,601 @@ +# generated automatically by aclocal 1.11 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, +[m4_warning([this file was generated for autoconf 2.64. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.11' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.11], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.11])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 16 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.62])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl +]) + +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 6 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_MKDIR_P +# --------------- +# Check for `mkdir -p'. +AC_DEFUN([AM_PROG_MKDIR_P], +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 5 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar <conftest.tar]) + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + diff --git a/Master/texmf-dist/source/latex/thailatex/babel/Makefile.am b/Master/texmf-dist/source/latex/thailatex/babel/Makefile.am new file mode 100644 index 00000000000..8aa92d3523a --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/Makefile.am @@ -0,0 +1,34 @@ +BABEL_COMMON = thai.sty thswitch.sty lthenc.def \ + lthkinnari.fd lthgaruda.fd lthnorasi.fd \ + lthttype.fd lthttypist.fd \ + lthpurisa.fd lthloma.fd \ + lthwaree.fd lthumpush.fd \ + lthsawasdee.fd + +BABEL_SRC = thai.dtx thai.ins $(BABEL_COMMON) +BABEL_INS = thai.ldf $(BABEL_COMMON) +BABEL_DOCS = thai.pdf + +EXTRA_DIST = $(BABEL_SRC) +CLEANFILES = thai.log thai.aux thai.ldf thai.pdf + +babeldir = $(texmfdir)/tex/generic/babel +babel_DATA = $(BABEL_INS) + +doc_DATA = $(BABEL_DOCS) + +thai.ldf: thai.ins thai.dtx + if [ ! -f thai.ins ]; then \ + $(LN_S) $(srcdir)/thai.ins thai.ins; \ + fi + if [ ! -f thai.dtx ]; then \ + $(LN_S) $(srcdir)/thai.dtx thai.dtx; \ + fi + latex thai.ins + +thai.pdf: thai.dtx + if [ ! -f thai.dtx ]; then \ + $(LN_S) $(srcdir)/thai.dtx thai.dtx; \ + fi + pdflatex thai.dtx + diff --git a/Master/texmf-dist/source/latex/thailatex/babel/Makefile.in b/Master/texmf-dist/source/latex/thailatex/babel/Makefile.in new file mode 100644 index 00000000000..94ebdb2a49d --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/Makefile.in @@ -0,0 +1,413 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = babel +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(babeldir)" "$(DESTDIR)$(docdir)" +DATA = $(babel_DATA) $(doc_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AFM2TFM = @AFM2TFM@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CTTEX = @CTTEX@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DVIPS = @DVIPS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LATEX = @LATEX@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PF2AFM = @PF2AFM@ +PS2PDF = @PS2PDF@ +RMDIR = @RMDIR@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SWATH = @SWATH@ +TEXHASH = @TEXHASH@ +UPDMAP = @UPDMAP@ +VERSION = @VERSION@ +VPTOVF = @VPTOVF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +emacsdir = @emacsdir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +texmfdir = @texmfdir@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +BABEL_COMMON = thai.sty thswitch.sty lthenc.def \ + lthkinnari.fd lthgaruda.fd lthnorasi.fd \ + lthttype.fd lthttypist.fd \ + lthpurisa.fd lthloma.fd \ + lthwaree.fd lthumpush.fd \ + lthsawasdee.fd + +BABEL_SRC = thai.dtx thai.ins $(BABEL_COMMON) +BABEL_INS = thai.ldf $(BABEL_COMMON) +BABEL_DOCS = thai.pdf +EXTRA_DIST = $(BABEL_SRC) +CLEANFILES = thai.log thai.aux thai.ldf thai.pdf +babeldir = $(texmfdir)/tex/generic/babel +babel_DATA = $(BABEL_INS) +doc_DATA = $(BABEL_DOCS) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu babel/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu babel/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-babelDATA: $(babel_DATA) + @$(NORMAL_INSTALL) + test -z "$(babeldir)" || $(MKDIR_P) "$(DESTDIR)$(babeldir)" + @list='$(babel_DATA)'; test -n "$(babeldir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(babeldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(babeldir)" || exit $$?; \ + done + +uninstall-babelDATA: + @$(NORMAL_UNINSTALL) + @list='$(babel_DATA)'; test -n "$(babeldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(babeldir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(babeldir)" && rm -f $$files +install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) + test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ + done + +uninstall-docDATA: + @$(NORMAL_UNINSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(docdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(babeldir)" "$(DESTDIR)$(docdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-babelDATA install-docDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-babelDATA uninstall-docDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-babelDATA install-data \ + install-data-am install-docDATA install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-babelDATA \ + uninstall-docDATA + + +thai.ldf: thai.ins thai.dtx + if [ ! -f thai.ins ]; then \ + $(LN_S) $(srcdir)/thai.ins thai.ins; \ + fi + if [ ! -f thai.dtx ]; then \ + $(LN_S) $(srcdir)/thai.dtx thai.dtx; \ + fi + latex thai.ins + +thai.pdf: thai.dtx + if [ ! -f thai.dtx ]; then \ + $(LN_S) $(srcdir)/thai.dtx thai.dtx; \ + fi + pdflatex thai.dtx + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthenc.def b/Master/texmf-dist/source/latex/thailatex/babel/lthenc.def new file mode 100644 index 00000000000..c29d3a25228 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthenc.def @@ -0,0 +1,130 @@ +%% This file is part of the thailatex package +%% Created by Surapant Meknavin: surapan@nectec.or.th +%% 2004/06/14 Theppitak Karoonboonyanan <thep@linux.thai.net> +%% - guard against recursive assignments of \ltxTeX and \ltxLaTeX +%% (Reported by donzakh) +%% 2002/04/21 Theppitak Karoonboonyanan <thep@linux.thai.net> +%% - add special shape declarations e.g. \textquoteleft +%% 2000/05/10 Theppitak Karoonboonyanan <thep@links.nectec.or.th> +%% - encoding changed from TIS to LTH, according to TeX convention + +\ProvidesFile{LTHenc.def} + [2000/05/10 v1.1 + Thai Encoding] +\DeclareFontEncoding{LTH}{}{} +\DeclareFontSubstitution{LTH}{norasi}{m}{n} +\DeclareErrorFont{LTH}{norasi}{m}{n}{10} +\ifx\ltxTeX\undefined\let\ltxTeX\TeX\fi +\DeclareTextCommandDefault{\TeX}{\textlatin{\ltxTeX}} +\ifx\ltxLaTeX\undefined\let\ltxLaTeX\LaTeX\fi +\DeclareTextCommandDefault{\LaTeX}{\textlatin{\ltxLaTeX}} +\ProvideTextCommand{\copyright}{LTH}{% + \textcircled{\textlatin{c}}} +\ProvideTextCommand{\textregistered}{LTH}{% + \textcircled{\textlatin{\textsc r}}} +\ProvideTextCommand{\textrademark}{LTH}{% + \textsuperscript{\textlatin{TM}}} +\ProvideTextCommand{\SS}{LTH}{% + \textlatin{SS}} +\DeclareTextSymbol{\textquoteleft}{LTH}{145} +\DeclareTextSymbol{\textquoteright}{LTH}{146} +\DeclareTextSymbol{\textquotedblleft}{LTH}{147} +\DeclareTextSymbol{\textquotedblright}{LTH}{148} +\DeclareTextSymbol{\textbullet}{LTH}{149} +\DeclareTextSymbol{\textendash}{LTH}{150} +\DeclareTextSymbol{\textemdash}{LTH}{151} +\DeclareTextSymbol{\textyamakkan}{LTH}{238} +\DeclareTextSymbol{\textfongmun}{LTH}{239} +\DeclareTextSymbol{\textangkhankhu}{LTH}{250} +\DeclareTextSymbol{\textkhomut}{LTH}{251} +% UCS support +\DeclareTextSymbol{\thaiKoKai}{LTH}{161} +\DeclareTextSymbol{\thaiKhoKhai}{LTH}{162} +\DeclareTextSymbol{\thaiKhoKhuat}{LTH}{163} +\DeclareTextSymbol{\thaiKhoKhwai}{LTH}{164} +\DeclareTextSymbol{\thaiKhoKhon}{LTH}{165} +\DeclareTextSymbol{\thaiKhoRakhang}{LTH}{166} +\DeclareTextSymbol{\thaiNgoNgu}{LTH}{167} +\DeclareTextSymbol{\thaiChoChan}{LTH}{168} +\DeclareTextSymbol{\thaiChoChing}{LTH}{169} +\DeclareTextSymbol{\thaiChoChang}{LTH}{170} +\DeclareTextSymbol{\thaiSoSo}{LTH}{171} +\DeclareTextSymbol{\thaiChoChoe}{LTH}{172} +\DeclareTextSymbol{\thaiYoYing}{LTH}{173} +\DeclareTextSymbol{\thaiDoChada}{LTH}{174} +\DeclareTextSymbol{\thaiToPatak}{LTH}{175} +\DeclareTextSymbol{\thaiThoThan}{LTH}{176} +\DeclareTextSymbol{\thaiThoNangmontho}{LTH}{177} +\DeclareTextSymbol{\thaiThoPhuthao}{LTH}{178} +\DeclareTextSymbol{\thaiNoNen}{LTH}{179} +\DeclareTextSymbol{\thaiDoDek}{LTH}{180} +\DeclareTextSymbol{\thaiToTao}{LTH}{181} +\DeclareTextSymbol{\thaiThoThung}{LTH}{182} +\DeclareTextSymbol{\thaiThoThahan}{LTH}{183} +\DeclareTextSymbol{\thaiThoThong}{LTH}{184} +\DeclareTextSymbol{\thaiNoNu}{LTH}{185} +\DeclareTextSymbol{\thaiBoBaimai}{LTH}{186} +\DeclareTextSymbol{\thaiPoPla}{LTH}{187} +\DeclareTextSymbol{\thaiPhoPhung}{LTH}{188} +\DeclareTextSymbol{\thaiFoFa}{LTH}{189} +\DeclareTextSymbol{\thaiPhoPhan}{LTH}{190} +\DeclareTextSymbol{\thaiFoFan}{LTH}{191} +\DeclareTextSymbol{\thaiPhoSamphao}{LTH}{192} +\DeclareTextSymbol{\thaiMoMa}{LTH}{193} +\DeclareTextSymbol{\thaiYoYak}{LTH}{194} +\DeclareTextSymbol{\thaiRoRua}{LTH}{195} +\DeclareTextSymbol{\thaiRu}{LTH}{196} +\DeclareTextSymbol{\thaiLoLing}{LTH}{197} +\DeclareTextSymbol{\thaiLu}{LTH}{198} +\DeclareTextSymbol{\thaiWoWaen}{LTH}{199} +\DeclareTextSymbol{\thaiSoSala}{LTH}{200} +\DeclareTextSymbol{\thaiSoRusi}{LTH}{201} +\DeclareTextSymbol{\thaiSoSua}{LTH}{202} +\DeclareTextSymbol{\thaiHoHip}{LTH}{203} +\DeclareTextSymbol{\thaiLoChula}{LTH}{204} +\DeclareTextSymbol{\thaiOAng}{LTH}{205} +\DeclareTextSymbol{\thaiHoNokhuk}{LTH}{206} +\DeclareTextSymbol{\thaiPaiyannoi}{LTH}{207} +\DeclareTextSymbol{\thaiSaraA}{LTH}{208} +\DeclareTextSymbol{\thaiMaiHanakat}{LTH}{209} +\DeclareTextSymbol{\thaiSaraAa}{LTH}{210} +\DeclareTextSymbol{\thaiSaraAm}{LTH}{211} +\DeclareTextSymbol{\thaiSaraI}{LTH}{212} +\DeclareTextSymbol{\thaiSaraIi}{LTH}{213} +\DeclareTextSymbol{\thaiSaraUe}{LTH}{214} +\DeclareTextSymbol{\thaiSaraUee}{LTH}{215} +\DeclareTextSymbol{\thaiSaraU}{LTH}{216} +\DeclareTextSymbol{\thaiSaraUu}{LTH}{217} +\DeclareTextSymbol{\thaiPhinthu}{LTH}{218} +\DeclareTextSymbol{\textbaht}{LTH}{223} +\DeclareTextSymbol{\thaiSaraE}{LTH}{224} +\DeclareTextSymbol{\thaiSaraAe}{LTH}{225} +\DeclareTextSymbol{\thaiSaraO}{LTH}{226} +\DeclareTextSymbol{\thaiSaraAiMaimuan}{LTH}{227} +\DeclareTextSymbol{\thaiSaraAiMaimalai}{LTH}{228} +\DeclareTextSymbol{\thaiLakkhangyao}{LTH}{229} +\DeclareTextSymbol{\thaiMaiyamok}{LTH}{230} +\DeclareTextSymbol{\thaiMaitaikhu}{LTH}{231} +\DeclareTextSymbol{\thaiMaiEk}{LTH}{232} +\DeclareTextSymbol{\thaiMaiTho}{LTH}{233} +\DeclareTextSymbol{\thaiMaiTri}{LTH}{234} +\DeclareTextSymbol{\thaiMaiChattawa}{LTH}{235} +\DeclareTextSymbol{\thaiThanthakhat}{LTH}{236} +\DeclareTextSymbol{\thaiNikhahit}{LTH}{237} +\DeclareTextSymbol{\thaiYamakkan}{LTH}{238} +\DeclareTextSymbol{\thaiFongman}{LTH}{239} +\DeclareTextSymbol{\thaizero}{LTH}{240} +\DeclareTextSymbol{\thaione}{LTH}{241} +\DeclareTextSymbol{\thaitwo}{LTH}{242} +\DeclareTextSymbol{\thaithree}{LTH}{243} +\DeclareTextSymbol{\thaifour}{LTH}{244} +\DeclareTextSymbol{\thaifive}{LTH}{245} +\DeclareTextSymbol{\thaisix}{LTH}{246} +\DeclareTextSymbol{\thaiseven}{LTH}{247} +\DeclareTextSymbol{\thaieight}{LTH}{248} +\DeclareTextSymbol{\thainine}{LTH}{249} +\DeclareTextSymbol{\thaiAngkhankhu}{LTH}{250} +\DeclareTextSymbol{\thaiKhomut}{LTH}{251} +\endinput +%% +%% End of file `LTHenc.def'. diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthgaruda.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthgaruda.fd new file mode 100644 index 00000000000..454b92abbde --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthgaruda.fd @@ -0,0 +1,34 @@ +% lthgaruda.fd +% +% This file is part of the thailatex package +% Created by Surapant Meknavin: surapan@nectec.or.th +% 2003/06/02 Chanop Silpa-Anan <chanop@debian.org> +% - update using basic slant font +% 2002/12/30 Poonlap Veerathanabutr <poonlap@linux.thai.net> +% - adapted from lthnorasi.fd for Garuda font. +% 2000/05/09 Theppitak Karoonboonyanan <thep@links.nectec.or.th> +% - font name changed from "nf3x" to "norasi", with bold series added +% - encoding changed from TIS to LTH, according TeX convention + +\ProvidesFile{lthgaruda.fd}[2002/12/30 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{garuda}{} +\DeclareFontShape{LTH}{garuda}{m}{n}{<->s * garuda}{} +\DeclareFontShape{LTH}{garuda}{m}{sl}{<->s * garuda_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{garuda}{b}{n}{<->s * garuda_b}{} +\DeclareFontShape{LTH}{garuda}{b}{sl}{<->s * garuda_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{garuda}{m}{it}{<->ssub * garuda/m/sl}{} +\DeclareFontShape{LTH}{garuda}{b}{it}{<->ssub * garuda/b/sl}{} + +\DeclareFontShape{LTH}{garuda}{bx}{n}{<->ssub * garuda/b/n}{} +\DeclareFontShape{LTH}{garuda}{bx}{sl}{<->ssub * garuda/b/sl}{} +\DeclareFontShape{LTH}{garuda}{bx}{it}{<->ssub * garuda/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthkinnari.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthkinnari.fd new file mode 100644 index 00000000000..3a226ebc8dd --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthkinnari.fd @@ -0,0 +1,29 @@ +% lthkinnari.fd +% +% This file is part of the thailatex package +% 2005/01/24 Theppitak Karoonboonyanan <thep@linux.thai.net> +% - italic shape added for medium and bold face series +% 2004/02/05 Poonlap Veerathanabutr <poonlap@linux.thai.net> +% - first release (based on lthgaruda.fd) + +\ProvidesFile{lthkinnari.fd}[2004/02/05 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{kinnari}{} +\DeclareFontShape{LTH}{kinnari}{m}{n}{<->s * kinnari}{} +\DeclareFontShape{LTH}{kinnari}{m}{it}{<->s * kinnari_i}{} +\DeclareFontShape{LTH}{kinnari}{m}{sl}{<->s * kinnari_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{kinnari}{b}{n}{<->s * kinnari_b}{} +\DeclareFontShape{LTH}{kinnari}{b}{it}{<->s * kinnari_bi}{} +\DeclareFontShape{LTH}{kinnari}{b}{sl}{<->s * kinnari_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{kinnari}{bx}{n}{<->ssub * kinnari/b/n}{} +\DeclareFontShape{LTH}{kinnari}{bx}{sl}{<->ssub * kinnari/b/sl}{} +\DeclareFontShape{LTH}{kinnari}{bx}{it}{<->ssub * kinnari/b/it}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthloma.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthloma.fd new file mode 100644 index 00000000000..b4e096e30ac --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthloma.fd @@ -0,0 +1,28 @@ +% lthloma.fd +% +% This file is part of the thailatex package +% 2006/03/26 Theppitak Karoonboonyanan <thep@linux.thai.net> +% - first version based on lthloma.fd + +\ProvidesFile{lthloma.fd}[2006/03/26 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{loma}{} +\DeclareFontShape{LTH}{loma}{m}{n}{<->s * loma}{} +\DeclareFontShape{LTH}{loma}{m}{sl}{<->s * loma_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{loma}{b}{n}{<->s * loma_b}{} +\DeclareFontShape{LTH}{loma}{b}{sl}{<->s * loma_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{loma}{m}{it}{<->ssub * loma/m/sl}{} +\DeclareFontShape{LTH}{loma}{b}{it}{<->ssub * loma/b/sl}{} + +\DeclareFontShape{LTH}{loma}{bx}{n}{<->ssub * loma/b/n}{} +\DeclareFontShape{LTH}{loma}{bx}{sl}{<->ssub * loma/b/sl}{} +\DeclareFontShape{LTH}{loma}{bx}{it}{<->ssub * loma/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthnorasi.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthnorasi.fd new file mode 100644 index 00000000000..cd0e3d1f458 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthnorasi.fd @@ -0,0 +1,31 @@ +% lthnorasi.fd +% +% This file is part of the thailatex package +% Created by Surapant Meknavin: surapan@nectec.or.th +% 2003/06/02 Chanop Silpa-Anan <chanop@debian.org> +% - update using basic slant font +% 2000/05/09 Theppitak Karoonboonyanan <thep@links.nectec.or.th> +% - font name changed from "nf3x" to "norasi", with bold series added +% - encoding changed from TIS to LTH, according TeX convention + +\ProvidesFile{lthnorasi.fd}[2000/05/09 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{norasi}{} +\DeclareFontShape{LTH}{norasi}{m}{n}{<->s * norasi}{} +\DeclareFontShape{LTH}{norasi}{m}{it}{<->s * norasi_i}{} +\DeclareFontShape{LTH}{norasi}{m}{sl}{<->s * norasi_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{norasi}{b}{n}{<->s * norasi_b}{} +\DeclareFontShape{LTH}{norasi}{b}{it}{<->s * norasi_bi}{} +\DeclareFontShape{LTH}{norasi}{b}{sl}{<->s * norasi_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{norasi}{bx}{n}{<->ssub * norasi/b/n}{} +\DeclareFontShape{LTH}{norasi}{bx}{sl}{<->ssub * norasi/b/sl}{} +\DeclareFontShape{LTH}{norasi}{bx}{it}{<->ssub * norasi/b/it}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthpurisa.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthpurisa.fd new file mode 100644 index 00000000000..67a44419dde --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthpurisa.fd @@ -0,0 +1,28 @@ +% lthpurisa.fd +% +% This file is part of the thailatex package +% 2004/02/05 Poonlap Veerathanabutr <poonlap@linux.thai.net> +% - first release (based on lthgaruda.fd) + +\ProvidesFile{lthpurisa.fd}[2004/02/05 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{purisa}{} +\DeclareFontShape{LTH}{purisa}{m}{n}{<->s * purisa}{} +\DeclareFontShape{LTH}{purisa}{m}{sl}{<->s * purisa_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{purisa}{b}{n}{<->s * purisa_b}{} +\DeclareFontShape{LTH}{purisa}{b}{sl}{<->s * purisa_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{purisa}{m}{it}{<->ssub * purisa/m/sl}{} +\DeclareFontShape{LTH}{purisa}{b}{it}{<->ssub * purisa/b/sl}{} + +\DeclareFontShape{LTH}{purisa}{bx}{n}{<->ssub * purisa/b/n}{} +\DeclareFontShape{LTH}{purisa}{bx}{sl}{<->ssub * purisa/b/sl}{} +\DeclareFontShape{LTH}{purisa}{bx}{it}{<->ssub * purisa/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthsawasdee.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthsawasdee.fd new file mode 100644 index 00000000000..07a9b6cea78 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthsawasdee.fd @@ -0,0 +1,28 @@ +% lthsawasdee.fd +% +% This file is part of the thailatex package +% 2008/01/21 Theppitak Karoonboonyanan <thep@linux.thai.net> +% - first version + +\ProvidesFile{lthsawasdee.fd}[2008/01/21 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{sawasdee}{} +\DeclareFontShape{LTH}{sawasdee}{m}{n}{<->s * sawasdee}{} +\DeclareFontShape{LTH}{sawasdee}{m}{sl}{<->s * sawasdee_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{sawasdee}{b}{n}{<->s * sawasdee_b}{} +\DeclareFontShape{LTH}{sawasdee}{b}{sl}{<->s * sawasdee_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{sawasdee}{m}{it}{<->ssub * sawasdee/m/sl}{} +\DeclareFontShape{LTH}{sawasdee}{b}{it}{<->ssub * sawasdee/b/sl}{} + +\DeclareFontShape{LTH}{sawasdee}{bx}{n}{<->ssub * sawasdee/b/n}{} +\DeclareFontShape{LTH}{sawasdee}{bx}{sl}{<->ssub * sawasdee/b/sl}{} +\DeclareFontShape{LTH}{sawasdee}{bx}{it}{<->ssub * sawasdee/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthttype.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthttype.fd new file mode 100644 index 00000000000..fde53fcb434 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthttype.fd @@ -0,0 +1,31 @@ +% lthttype.fd +% +% This file is part of the thailatex package +% 2004/11/15 Theppitak Karoonboonyanan <thep@linux.thai.net> +% - pmono is now ttype (TlwgTypewriter) +% 2004/02/05 Poonlap Veerathanabutr <poonlap@linux.thai.net> +% - first release (based on lthgaruda.fd) +% - pmono is PseudoMono (TlwgMono) font + +\ProvidesFile{lthttype.fd}[2004/02/05 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{ttype}{} +\DeclareFontShape{LTH}{ttype}{m}{n}{<->s * ttype}{} +\DeclareFontShape{LTH}{ttype}{m}{sl}{<->s * ttype_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{ttype}{b}{n}{<->s * ttype_b}{} +\DeclareFontShape{LTH}{ttype}{b}{sl}{<->s * ttype_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{ttype}{m}{it}{<->ssub * ttype/m/sl}{} +\DeclareFontShape{LTH}{ttype}{b}{it}{<->ssub * ttype/b/sl}{} + +\DeclareFontShape{LTH}{ttype}{bx}{n}{<->ssub * ttype/b/n}{} +\DeclareFontShape{LTH}{ttype}{bx}{sl}{<->ssub * ttype/b/sl}{} +\DeclareFontShape{LTH}{ttype}{bx}{it}{<->ssub * ttype/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthttypist.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthttypist.fd new file mode 100644 index 00000000000..4d0012d8ebc --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthttypist.fd @@ -0,0 +1,28 @@ +% lthttypist.fd +% +% This file is part of the thailatex package +% 2006/10/23 Theppitak Karoonboonyanan <thep@linux.thai.net> +% - first release (based on lthttypist.fd) + +\ProvidesFile{lthttypist.fd}[2004/02/05 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{ttypist}{} +\DeclareFontShape{LTH}{ttypist}{m}{n}{<->s * ttypist}{} +\DeclareFontShape{LTH}{ttypist}{m}{sl}{<->s * ttypist_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{ttypist}{b}{n}{<->s * ttypist_b}{} +\DeclareFontShape{LTH}{ttypist}{b}{sl}{<->s * ttypist_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{ttypist}{m}{it}{<->ssub * ttypist/m/sl}{} +\DeclareFontShape{LTH}{ttypist}{b}{it}{<->ssub * ttypist/b/sl}{} + +\DeclareFontShape{LTH}{ttypist}{bx}{n}{<->ssub * ttypist/b/n}{} +\DeclareFontShape{LTH}{ttypist}{bx}{sl}{<->ssub * ttypist/b/sl}{} +\DeclareFontShape{LTH}{ttypist}{bx}{it}{<->ssub * ttypist/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthumpush.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthumpush.fd new file mode 100644 index 00000000000..80e2626b37c --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthumpush.fd @@ -0,0 +1,28 @@ +% lthumpush.fd +% +% This file is part of the thailatex package +% 2008/01/21 Theppitak Karoonboonyanan <thep@linux.thai.net> +% - first version + +\ProvidesFile{lthumpush.fd}[2008/01/21 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{umpush}{} +\DeclareFontShape{LTH}{umpush}{m}{n}{<->s * umpush}{} +\DeclareFontShape{LTH}{umpush}{m}{sl}{<->s * umpush_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{umpush}{b}{n}{<->s * umpush_b}{} +\DeclareFontShape{LTH}{umpush}{b}{sl}{<->s * umpush_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{umpush}{m}{it}{<->ssub * umpush/m/sl}{} +\DeclareFontShape{LTH}{umpush}{b}{it}{<->ssub * umpush/b/sl}{} + +\DeclareFontShape{LTH}{umpush}{bx}{n}{<->ssub * umpush/b/n}{} +\DeclareFontShape{LTH}{umpush}{bx}{sl}{<->ssub * umpush/b/sl}{} +\DeclareFontShape{LTH}{umpush}{bx}{it}{<->ssub * umpush/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/lthwaree.fd b/Master/texmf-dist/source/latex/thailatex/babel/lthwaree.fd new file mode 100644 index 00000000000..9cadaaa8468 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/lthwaree.fd @@ -0,0 +1,28 @@ +% lthwaree.fd +% +% This file is part of the thailatex package +% 2008/01/21 Theppitak Karoonboonyanan <thep@linux.thai.net> +% - first version + +\ProvidesFile{lthwaree.fd}[2008/01/21 v1.0 Thai font definitions] + +% Primary declarations +\DeclareFontFamily{LTH}{waree}{} +\DeclareFontShape{LTH}{waree}{m}{n}{<->s * waree}{} +\DeclareFontShape{LTH}{waree}{m}{sl}{<->s * waree_o}{} +%%%%%%% bold series +\DeclareFontShape{LTH}{waree}{b}{n}{<->s * waree_b}{} +\DeclareFontShape{LTH}{waree}{b}{sl}{<->s * waree_bo}{} + +% Substitutions +\DeclareFontShape{LTH}{waree}{m}{it}{<->ssub * waree/m/sl}{} +\DeclareFontShape{LTH}{waree}{b}{it}{<->ssub * waree/b/sl}{} + +\DeclareFontShape{LTH}{waree}{bx}{n}{<->ssub * waree/b/n}{} +\DeclareFontShape{LTH}{waree}{bx}{sl}{<->ssub * waree/b/sl}{} +\DeclareFontShape{LTH}{waree}{bx}{it}{<->ssub * waree/b/sl}{} +\endinput + +% +% EOF +% diff --git a/Master/texmf-dist/source/latex/thailatex/babel/thai.dtx b/Master/texmf-dist/source/latex/thailatex/babel/thai.dtx new file mode 100644 index 00000000000..00defe494c8 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/thai.dtx @@ -0,0 +1,742 @@ +% \iffalse meta-comment +% +% Copyright (C) 1999 National Electronics and Computer Technology Center +% (NECTEC), Thailand. All rights reserved. +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work is Theppitak Karoonboonyanan. +% +% This work consists of the files thai.dtx and thai.ins +% and the derived file thai.ldf. +% +% \fi +% \CheckSum{272} +% \iffalse +% Tell the \LaTeX\ system who we are and write an entry on the +% transcript. +%<*dtx> +\ProvidesFile{thai.dtx} +%</dtx> +%<code>\ProvidesLanguage{thai} +%\fi +%\ProvidesFile{thai.dtx} + [2009/07/27 v1.2 Thai support from the babel system] +%\iffalse +%% File `thai.dtx' +%% Thai Language Definition File +%% Copyright (C) 1999 - 2009 +%% by Surapant Meknavin, +%% Theppitak Karoonboonyanan (thep at linux.thai.net), +%% Chanop Silpa-Anan (chanop at debian.org), +%% Poonlap Veerathanabutr (poonlap at linux.thai.net) +%% Thai Linux Working Group +%% http://linux.thai.net/ +%% +%% Please report errors to: Theppitak Karoonboonyanan +%% (thep at linux.thai.net) +%% +%% This file is part of the babel system, it provides the source +%% code for the Thai language definition file. The original version +%% was written by Surapant Meknavin. +%% +%% It is currently maintained by Theppitak Karoonboonyanan +%% (thep at linux.thai.net), Chanop Silpa-Anan (chanop at debian.org) +%% and Poonlap Veerathanabutr (poonlap at linux.thai.net). +% +%<*filedriver> +\documentclass{ltxdoc} +\newcommand*\TeXhax{\TeX hax} +\newcommand*\babel{\textsf{babel}} +\newcommand*\langvar{$\langle \it lang \rangle$} +\newcommand*\note[1]{} +\newcommand*\Lopt[1]{\textsf{#1}} +\newcommand*\file[1]{\texttt{#1}} +\begin{document} + \DocInput{thai.dtx} +\end{document} +%</filedriver> +%\fi +% \GetFileInfo{thai.dtx} +% +% \changes{thai-1.0d}{2000/05/09}{Theppitak Karoonboonyanan: +% Encoding changed from TIS to LTH, according to TeX convention. +% Let `norasi' be Thai roman font, `dbttx' Thai sans serif. +% Correct some Thai translations.} +% \changes{thai-1.0d}{2001/12/04}{Theppitak Karoonboonyanan: +% Add checks for \cs{thechapter} existence before redefining +% digits as Thai. +% Move thaitoday definitions into thainumber and remove +% thainumber option. +% Use \cs{ifcase} instead of nested \cs{if} in \cs{thaitranslate}. +% Fix wrong encoding in heading for book style (as suggested by Chanop).} +% \changes{thai-1.0d}{2001/12/04}{Chanop Silpa-Anan: +% Add thainumber and thaitoday option} +% \changes{thai-1.0d}{2002/01/16}{Theppitak Karoonboonyanan: +% Fix extra spaces appearing in \cs{selectlanguage\{thai\}} +% (as suggested by C. Visavakul)} +% \changes{thai-1.0d}{2003/01/07}{Poonlap Veerathanabutr: +% Change `dbttx' to `dbtt'} +% \changes{thai-1.0d}{2003/02/26}{Theppitak Karoonboonyanan: +% Run Thai number in part, subsubsection, paragraph, +% subparagraph also} +% \changes{thai-1.0d}{2003/06/02}{Chanop Silpa-Anan: +% Use `garuda' for default Thai sans serif since +% `dbtt' is still slightly buggy} +% \changes{thai-1.0d}{2003/08/10}{Theppitak Karoonboonyanan: +% Fix translation of \cs{prefacename}. +% Redefine \cs{frontmatter} and \cs{mainmatter} for book class +% so thainumber option applies to the page numbering styles. +% (Experimental:) Add initialization of Thai character codes +% to fix the \cs{MakeUppercase} and \cs{MakeLowercase} problem +% also comment out the old workarounds.} +% \changes{thai-1.0d}{2004/02/02}{Poonlap Veerathanabutr: +% Fix \cs{lccode} and \cs{uccode}} +% \changes{thai-1.0d}{2004/02/28}{Theppitak Karoonboonyanan: +% Always use Thai alphabets for appendix (as suggested by K. chakkree01)} +% \changes{thai-1.0d}{2004/03/04}{Theppitak Karoonboonyanan: +% Use `pmono' as default Thai ttfamily} +% \changes{thai-1.0d}{2004/03/06}{Theppitak Karoonboonyanan: +% Use `garuda' instead of `dbtt' as default Thai sffamily} +% \changes{thai-1.0d}{2004/03/18}{Theppitak Karoonboonyanan: +% Move \cs{frontmatter} and \cs{mainmatter} redefinition back under +% `thainumber' option (wrongly moved along with previous +% appendix fix)} +% \changes{thai-1.0d}{2004/04/08}{Theppitak Karoonboonyanan: +% Borrow code from previous encoding fix to inhibit capitalizing +% chapters \& sections in book headers. (proposed by P'Joy)} +% \changes{thai-1.0d}{2004/11/15}{Theppitak Karoonboonyanan: +% `pmono' is now `ttype'} +% \changes{thai-1.1}{2006/07/05}{Theppitak Karoonboonyanan: +% Create `thai.dtx' for documenting and generating `thai.ldf'. +% Remove unnecessary workarounds for inhibition of capitalization +% of headers, as the catcodes already do the job. +% Also remove the mysterious redefinitions of figure and table counters.} +% \changes{thai-1.2}{2009/07/27}{Theppitak Karoonboonyanan: +% Re-encode Thai messages with unicode symbolic names, instead of explicit +% TIS-620 bytes. Adjust documentation to cover UTF-8 support. Make +% \cs{ttypist} the default typewriter font instead of \cs{ttype}. +% Drop the obsolete \cs{\backslash{}thai} command.} +% +% \section{The Thai language} +% +% The file \file{\filename}\footnote{The file described in this section has +% version number \fileversion\ and was last revised on \filedate. Contributions +% were made by Theppitak Karoonboonyanan (\texttt{thep@linux.thai.net}).} +% defines language-specific macros for Thai language. +% +% Thai documents to be supported by this language definition can be encoded +% in TIS-620 (or ISO/IEC 8859-11) or UTF-8 (with the aids of \texttt{inputenc} +% package). +% +% Thai is written continuously without word delimitors. The word boundary +% analysis is considered too complicated for rule-based approaches. +% Most good quality word analysis tools available employ special matching +% algorithms against pre-defined dictionaries. Some even use contextual +% analysis for ambiguous cases based on statistics. Therefore, no good +% hyphenation pattern is found to be comparable with those tools yet. +% +% \DescribeMacro{\wbr} +% What the Thai language definition provides here for the word boundary +% problem is the |\wbr| command for separating words. It occupies no +% space but aids the \TeX\ typesetter in wrapping lines at proper positions, +% meanwhile leaves some room for distributing little spaces between words +% in case of narrow columns. +% +% Some preprocessing tools that analyze word boundaries and insert the |\wbr| +% commands are available, for example +% \begin{itemize} +% \item \emph{cttex} by Vuthichai Ampornaramveth +% \item \emph{swath} by Phaisarn Charoenpornsawat, now maintained by Thai +% Linux Working Group, downloadable from:\\ +% \texttt{ftp://linux.thai.net/pub/thailinux/software/swath} +% \end{itemize} +% +% Some certain Thai documents use Thai digits instead of Arabic. +% And Thai alphabetic numbering is also commonly used for appendices. +% This file provides a number of numbering styles that can apply +% to \LaTeX\ |\pagenumbering| command: +% +% \begin{itemize} +% \item |\thainum| for plain Thai digits +% \item |\thaibracenum| for Thai digits in parentheses +% \item |\thaialph| for Thai alphabetic numbering, using a reduced set +% (with three alphabets skipped: Kho Khuat, Kho Khon and Kho Rakhang) +% \item |\thaiAlph| for Thai alphabetic numbering, using the full set +% (with full alphabet set, plus two semi-vowels, Ru and Lu, in the +% order defined in Thai official dictionary) +% \end{itemize} +% +% \DescribeEnv{thainumber} +% The above numbering styles can be automatically chosen with the +% \Lopt{thainumber} option. When supplying this option to the \babel{} +% package, Thai numberings will be applied to pages, sections, enumerations, +% dates, etc. +% +% \StopEventually{} +% +% \subsection{Thai language definition} +% +% The macro |\LdfInit| takes care of preventing that this file is +% loaded more than once, checking the category code of the +% \texttt{@} sign, etc. +% \begin{macrocode} +%<*code> +\LdfInit\CurrentOption{captions\CurrentOption} +% \end{macrocode} +% +% When this file is read as an option, i.e. by the |\usepackage{babel}| +% command, \texttt{thai} will be an `unknown' language in which +% case we have to make it known. So we check for the existence of +% |\l@thai| to see whether we have to do something here. +% +% \begin{macrocode} +\ifx\l@thai\@undefined + \@nopatterns{thai} + \adddialect\l@thai0\fi +% \end{macrocode} +% +% \subsubsection{Thai character encoding} +% +% In this language definition, we support TIS-620, the national standard +% 8-bit character encoding, and Unicode by means of \texttt{inputenc} +% package. +% +% The encoding has been described in terms of TIS-620 as \texttt{LTH} in +% the \file{lthenc.def} file. So, we require it. +% +% \begin{macrocode} +\InputIfFileExists{lthenc.def}{% + \message{Loading the definitions for the Thai font encoding}}{% + \errhelp{I can't find the lthenc.def file for the Thai fonts}% + \errmessage{Since I do not know what the LTH encoding means^^J + I can't typeset Thai.^^J + I stop here, while you get a suitable lthenc.def file}\@@end + } +% \end{macrocode} +% +% Then, we define default fonts for the document. \texttt{norasi} and +% \texttt{garuda} are Serif and San Serif fonts from the National Fonts +% Project, initiated by NECTEC. \texttt{ttypist} is a typewriter font +% created by Theppitak Karoonboonyanan from Thai Linux Working Group. +% All fonts are available in free license. +% +% \begin{macrocode} +\def\thairmdefault{norasi} +\def\thaisfdefault{garuda} +\def\thaittdefault{ttypist} +\def\englishrmdefault{cmr} +\def\englishsfdefault{cmss} +\def\englishttdefault{cmtt} +% \end{macrocode} +% +% The next step consists of defining commands to switch to the +% Thai language. The reason for this is that a user might want +% to switch back and forth between languages. +% +% \begin{macro}{\thaitext} +% We define |\thaitext| as a declarative switch to Thai font encoding. +% \begin{macrocode} +\DeclareRobustCommand{\thaitext}{% + \fontencoding{LTH}\fontfamily{\thairmdefault}\selectfont% + \def\rmdefault{\thairmdefault}% + \def\sfdefault{\thaisfdefault}% + \def\ttdefault{\thaittdefault}% + \def\encodingdefault{LTH}} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\textthai} +% This command takes an argument which is then typeset using Thai font +% encoding. +% \begin{macrocode} +\DeclareRobustCommand{\textthai}[1]{{\thaitext #1}} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Hyphenation} +% +% We define |\thaihyphenmins| macro for hyphenation parameters. This is +% one of the five macros required by \babel{}. +% +% \begin{macro}{\thaihyphenmins} +% This macro is used to store the correct values of the hyphenation +% parameters |\lefthyphenmin| and |\righthyphenmin|. They are set to 11. +% \changes{thai-1.1}{2006/07/02}{Theppitak Karoonboonyanan: +% Now use \cs{providehyphenmins} to provide a default value} +% \begin{macrocode} +\providehyphenmins{thai}{11} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Captions translation} +% +% We define |\captionsthai| macro for translations of strings. This is +% one of the five macros required by \babel{}. +% +% \begin{macro}{\captionsthai} +% The macro |\captionsthai| defines all strings used in the four +% standard documentclasses provided with \LaTeX. +% \begin{macrocode} +\addto\captionsthai{% + \def\prefacename{\thaiKhoKhwai\thaiSaraAm\thaiNoNu\thaiSaraAm}% + \def\refname{\thaiHoHip\thaiNoNu\thaiMaiHanakat\thaiNgoNgu% + \thaiSoSua\thaiSaraUee\thaiOAng% + \thaiOAng\thaiMaiTho\thaiSaraAa\thaiNgoNgu% + \thaiOAng\thaiSaraI\thaiNgoNgu}% + \def\abstractname{\thaiBoBaimai\thaiThoThahan% + \thaiKhoKhwai\thaiMaiHanakat\thaiDoDek% + \thaiYoYak\thaiMaiEk\thaiOAng}% + \def\bibname{\thaiBoBaimai\thaiRoRua\thaiRoRua\thaiNoNen\thaiSaraAa% + \thaiNoNu\thaiSaraU\thaiKoKai\thaiRoRua\thaiMoMa}% + \def\chaptername{\thaiBoBaimai\thaiThoThahan% + \thaiThoThahan\thaiSaraIi\thaiMaiEk}% + \def\appendixname{\thaiPhoSamphao\thaiSaraAa\thaiKhoKhwai% + \thaiPhoPhung\thaiNoNu\thaiWoWaen\thaiKoKai}% + \def\contentsname{\thaiSoSua\thaiSaraAa\thaiRoRua% + \thaiBoBaimai\thaiMaiHanakat\thaiYoYing}% + \def\listfigurename{\thaiSoSua\thaiSaraAa\thaiRoRua% + \thaiBoBaimai\thaiMaiHanakat\thaiYoYing% + \thaiRoRua\thaiSaraUu\thaiPoPla}% + \def\listtablename{\thaiSoSua\thaiSaraAa\thaiRoRua% + \thaiBoBaimai\thaiMaiHanakat\thaiYoYing% + \thaiToTao\thaiSaraAa\thaiRoRua\thaiSaraAa\thaiNgoNgu}% + \def\indexname{\thaiDoDek\thaiRoRua\thaiRoRua\thaiChoChang% + \thaiNoNu\thaiSaraIi}% + \def\figurename{\thaiRoRua\thaiSaraUu\thaiPoPla% + \thaiThoThahan\thaiSaraIi\thaiMaiEk}% + \def\tablename{\thaiToTao\thaiSaraAa\thaiRoRua\thaiSaraAa\thaiNgoNgu% + \thaiThoThahan\thaiSaraIi\thaiMaiEk}% + \def\partname{\thaiPhoSamphao\thaiSaraAa\thaiKhoKhwai}% + \def\enclname{\thaiSoSua\thaiSaraI\thaiMaiEk\thaiNgoNgu% + \thaiThoThahan\thaiSaraIi\thaiMaiEk% + \thaiSaraAe\thaiNoNu\thaiBoBaimai% + \thaiMoMa\thaiSaraAa% + \thaiDoDek\thaiMaiTho\thaiWoWaen\thaiYoYak}% + \def\ccname{\thaiSoSua\thaiSaraAm\thaiSaraE\thaiNoNu\thaiSaraAa% + \thaiThoThung\thaiSaraUe\thaiNgoNgu}% + \def\headtoname{\thaiSaraE\thaiRoRua\thaiSaraIi\thaiYoYak\thaiNoNu}% + \def\pagename{\thaiHoHip\thaiNoNu\thaiMaiTho\thaiSaraAa}% + \def\seename{\thaiDoDek\thaiSaraUu}% + \def\alsoname{\thaiDoDek\thaiSaraUu% + \thaiSaraE\thaiPhoPhan\thaiSaraI\thaiMaiEk\thaiMoMa% + \thaiSaraE\thaiToTao\thaiSaraI\thaiMoMa}% + \def\proofname{\thaiPhoPhan\thaiSaraI% + \thaiSoSua\thaiSaraUu\thaiChoChan\thaiNoNu\thaiThanthakhat}% + } +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Date} +% +% Here we define |\datethai| macro for Thai date format. This is +% one of the five macros required by \babel{}. +% +% First, let's define the months in Thai. +% +% \begin{macrocode} +\def\th@month{% + \ifcase\month\or + \thaiMoMa\thaiKoKai\thaiRoRua\thaiSaraAa\thaiKhoKhwai\thaiMoMa \or + \thaiKoKai\thaiSaraU\thaiMoMa\thaiPhoSamphao\thaiSaraAa% + \thaiPhoPhan\thaiMaiHanakat\thaiNoNu\thaiThoThong\thaiThanthakhat \or + \thaiMoMa\thaiSaraIi\thaiNoNu\thaiSaraAa\thaiKhoKhwai\thaiMoMa \or + \thaiSaraE\thaiMoMa\thaiSoRusi\thaiSaraAa\thaiYoYak\thaiNoNu \or + \thaiPhoPhan\thaiRu\thaiSoRusi\thaiPhoSamphao\thaiSaraAa% + \thaiKhoKhwai\thaiMoMa \or + \thaiMoMa\thaiSaraI\thaiThoThung\thaiSaraU\thaiNoNu\thaiSaraAa% + \thaiYoYak\thaiNoNu \or + \thaiKoKai\thaiRoRua\thaiKoKai\thaiDoChada\thaiSaraAa% + \thaiKhoKhwai\thaiMoMa \or + \thaiSoSua\thaiSaraI\thaiNgoNgu\thaiHoHip\thaiSaraAa% + \thaiKhoKhwai\thaiMoMa \or + \thaiKoKai\thaiMaiHanakat\thaiNoNu\thaiYoYak\thaiSaraAa% + \thaiYoYak\thaiNoNu \or + \thaiToTao\thaiSaraU\thaiLoLing\thaiSaraAa\thaiKhoKhwai\thaiMoMa \or + \thaiPhoPhan\thaiRu\thaiSoSala\thaiChoChan\thaiSaraI\thaiKoKai\thaiSaraAa% + \thaiYoYak\thaiNoNu \or + \thaiThoThong\thaiMaiHanakat\thaiNoNu\thaiWoWaen\thaiSaraAa% + \thaiKhoKhwai\thaiMoMa + \fi} +% \end{macrocode} +% +% Thai official calendar uses Buddhist Era, the era whose start is marked +% by Buddha's entry into Parinirvana. In original form, it is a lunar +% calendar. But in Thai contemporary calendar, it is synchronized to +% Gregorian calendar, with offset of 543 years back. +% +% \begin{macrocode} +\newcount\th@year +\th@year=\year +\advance\th@year by 543 +% \end{macrocode} +% +% Then, we come to the |\datethai| macro. +% +% \begin{macro}{\datethai} +% Thai date format is in the day-month-year order, using Buddhist Era. +% \begin{macrocode} +\def\datethai{% + \def\today{\number\day \space \th@month\space % + \thaiPhoPhan.\thaiSoSala.~\number\th@year}} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Extra definitions for language switching} +% +% Then, the last two macros required by \babel{} are |\extrasthai| and +% |\noextrasthai| containing extra definitions needed for Thai language +% upon switching to and out of it, respectively. +% +% \begin{macrocode} +\addto\extrasthai{\thaitext} +\addto\noextrasthai{\latintext} +% \end{macrocode} +% +% \subsection{Word break support} +% +% As Thai script is written continuously without word delimitors, we define +% |\wbr| command to mark word boundaries without taking space, so that +% \TeX typesetter can wrap Thai lines at proper positions. +% +% \begin{macrocode} +\def\wbr{\hskip0pt plus0.6pt\relax} +\renewcommand{\baselinestretch}{1.2} +% \end{macrocode} +% +% \subsection{Thai numbering support} +% +% This section provides Thai numbering styles as described at the beginning +% of this document: |\thainum|, |\thaibracenum|, |\thaialph| and |\thaiAlph|. +% +% First, we define a macro for translating decimal digits into Thai digits. +% +% \begin{macro}{\thaitranslate} +% The |\thaitranslate| macro determines decimal digits in the argument and +% convert them to Thai digit one by one, until the `|@|' terminator is found. +% \begin{macrocode} +\def\thaitranslate#1{\ifx @#1% + \else\ifcase#1 + \thaizero \or \thaione \or \thaitwo \or \thaithree \or \thaifour \or + \thaifive \or \thaisix \or \thaiseven \or \thaieight \or \thainine + \else\fi + \expandafter\thaitranslate + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\thainum} +% The |\thainum| macro is to be used as a numbering style in \LaTeX\ +% |\pagenumbering| command. +% +% It takes a counter name and converts its value into Thai digits. +% In details, it prepends the counter name with `|c@|' to access the counter +% value, then calls |\@thainum| to convert it into Thai digits. +% +% The |\@thainum| macro converts a number into Thai digits. It expands the +% argument into a number, terminates it with `|@|', and calls +% |\thaitranslate| to convert it into Thai digits. +% +% \begin{macrocode} +\def\@thainum#1{\expandafter\thaitranslate\number#1@} +\def\thainum#1{\expandafter\@thainum\csname c@#1\endcsname} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\thaibracenum} +% Similar to |\thainum|, the |\thaibracenum| macro is to be used as a +% numbering style in \LaTeX\ |\pagenumbering| command. +% +% It provides Thai digits numbering, surrounded by parentheses. +% +% \begin{macrocode} +\def\@thaibracenum#1{(\expandafter\thaitranslate\number#1@)} +\def\thaibracenum#1{\expandafter\@thaibracenum\csname c@#1\endcsname} +% \end{macrocode} +% \end{macro} +% +% Now come to Thai alphabetic numbering, beginning with the reduced set. +% +% \begin{macro}{\thaialph} +% The |\thaialph| macro is to be used as a numbering style in \LaTeX\ +% |\pagenumbering| command. +% +% It converts a number not greater than 41 into Thai alphabet in the +% corresponding order in the reduced set. In this set, 3 characters +% are skipped: Kho Khuat, Kho Khon and Kho Rakhang. +% +% \begin{macrocode} +\def\thaialph#1{\expandafter\@thaialph\csname c@#1\endcsname} +\def\@thaialph#1{% + \ifcase#1\or \thaiKoKai\or \thaiKhoKhai\or \thaiKhoKhwai\or \thaiNgoNgu\or + \thaiChoChan\or \thaiChoChing\or \thaiChoChang\or \thaiSoSo\or + \thaiChoChoe\or \thaiYoYing\or \thaiDoChada\or \thaiToPatak\or + \thaiThoThan\or \thaiThoNangmontho\or \thaiThoPhuthao\or \thaiNoNen\or + \thaiDoDek\or \thaiToTao\or \thaiThoThung\or \thaiThoThahan\or + \thaiThoThong\or \thaiNoNu\or \thaiBoBaimai\or \thaiPoPla\or + \thaiPhoPhung\or \thaiFoFa\or \thaiPhoPhan\or \thaiFoFan\or + \thaiPhoSamphao\or \thaiMoMa\or \thaiYoYak\or \thaiRoRua\or + \thaiLoLing\or \thaiWoWaen\or \thaiSoSala\or \thaiSoRusi\or + \thaiSoSua\or \thaiHoHip\or \thaiLoChula\or \thaiOAng\or + \thaiHoNokhuk\else\@ctrerr\fi} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\thaiAlph} +% Similar to |\thaialph|, the |\thaiAlph| macro provides Thai alphabetic +% numbering with full alphabet set in the order defined in Thai official +% dictionary. So, it supports up to 44 entries. +% +% \begin{macrocode} +\def\thaiAlph#1{\expandafter\@thaiAlph\csname c@#1\endcsname} +\def\@thaiAlph#1{% + \ifcase#1\or \thaiKoKai\or \thaiKhoKhai\or \thaiKhoKhuat\or \thaiKhoKhwai\or + \thaiKhoKhon\or \thaiKhoRakhang\or \thaiNgoNgu\or \thaiChoChan\or + \thaiChoChing\or \thaiChoChang\or \thaiSoSo\or \thaiChoChoe\or + \thaiYoYing\or \thaiDoChada\or \thaiToPatak\or \thaiThoThan\or + \thaiThoNangmontho\or \thaiThoPhuthao\or \thaiNoNen\or \thaiDoDek\or + \thaiToTao\or \thaiThoThung\or \thaiThoThahan\or \thaiThoThong\or + \thaiNoNu\or \thaiBoBaimai\or \thaiPoPla\or \thaiPhoPhung\or + \thaiFoFa\or \thaiPhoPhan\or \thaiFoFan\or \thaiPhoSamphao\or + \thaiMoMa\or \thaiYoYak\or \thaiRoRua\or \thaiLoLing\or + \thaiWoWaen\or \thaiSoSala\or \thaiSoRusi\or \thaiSoSua\or + \thaiHoHip\or \thaiLoChula\or \thaiOAng\or \thaiHoNokhuk\else\@ctrerr\fi} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\Lopt{thainumber} option} +% +% Not all Thai documents use Thai digits. So, we support this as an +% option. If \Lopt{thainumber} option is supplied in the |\usepackage| +% command, all numbering will use Thai digits. +% +% \begin{macrocode} +\DeclareOption{thainumber}{ +% \end{macrocode} +% +% We need to use the `|@|' character in macro implementations. So, make it +% a normal charactor. +% +% \begin{macrocode} +\catcode`\@=11 +% \end{macrocode} +% +% Then, set default page numbering to |thainum|, and redefine counters +% to |thainum|. +% +% \begin{macrocode} +\pagenumbering{thainum} +\renewcommand\theenumi{\@thainum\c@enumi} +\renewcommand\theenumii{\@thaialph\c@enumii} +%\renewcommand\theenumiii{\@roman\c@enumiii} +%\renewcommand\theenumiv{\@Alph\c@enumiv} +\@ifundefined{thechapter}% + {\renewcommand\thesection{\@thainum\c@section}% + \renewcommand\thesubsection{\thesection.\@thainum\c@subsection}% + \renewcommand\thesubsubsection{\thesubsection.\@thainum\c@subsubsection}% + \renewcommand\theparagraph {\thesubsubsection.\@thainum\c@paragraph}% + \renewcommand\thesubparagraph {\theparagraph.\@thainum\c@subparagraph}% + \renewcommand\theequation{\@thainum\c@equation}% + \renewcommand\thetable{\@thainum\c@table}% + \renewcommand\thefigure{\@thainum\c@figure}}% + {\renewcommand\thepart{\@thainum\c@part}% + \renewcommand\thechapter{\@thainum\c@chapter}% + \renewcommand\thesection{\thechapter.\@thainum\c@section}% + \renewcommand\thesubsection{\thesection.\@thainum\c@subsection}% + \renewcommand\thesubsubsection{\thesubsection.\@thainum\c@subsubsection}% + \renewcommand\theparagraph {\thesubsubsection.\@thainum\c@paragraph}% + \renewcommand\thesubparagraph {\theparagraph.\@thainum\c@subparagraph}% + \renewcommand\theequation% + {\ifnum \c@chapter>\z@ \thechapter.\fi \@thainum\c@equation}% + \renewcommand \thetable% + {\ifnum \c@chapter>\z@ \thechapter.\fi \@thainum\c@table}% + \renewcommand \thefigure% + {\ifnum \c@chapter>\z@ \thechapter.\fi \@thainum\c@figure}} +\renewcommand\thefootnote{\@thainum\c@footnote} +% \end{macrocode} +% +% For theorems, we support all custom theorem counters at once by +% redefining |\@thmcounter| macro. +% +% \begin{macrocode} +\def\@thmcounter#1{\noexpand\thainum{#1}} +% \end{macrocode} +% +% In book class, page numberings for frontmatter and mainmatter are +% different. So, redefine them. +% +% \begin{macrocode} +\@ifclassloaded{book}{% + % redefine page numbering for frontmatter and mainmatter + \def\ps@headnum{\let\@mkboth\@gobbletwo + \def\@oddhead{\reset@font\hfil\thepage\hfil}\let\@oddfoot\@empty + \let\@evenhead\@oddhead\let\@evenfoot\@empty} + \let\@ltxfrontmatter\frontmatter + \renewcommand\frontmatter{\@ltxfrontmatter\pagestyle{headnum}\pagenumbering{thaibracenum}} + \let\@ltxmainmatter\mainmatter + \renewcommand\mainmatter{\@ltxmainmatter\pagestyle{headings}\pagenumbering{thainum}} +}{} +% \end{macrocode} +% +% Redefine Thai date using Thai digits. +% +% \begin{macrocode} +\def\datethai{% + \def\today{\@thainum\day \space \th@month\space \thaiPhoPhan.\thaiSoSala.~\@thainum\th@year}} +% \end{macrocode} +% +% And finish declaration of \Lopt{thainumber} option +% +% \begin{macrocode} +\relax +} +% \end{macrocode} +% +% Always use thaialph as counter for appendix +% +% \begin{macrocode} +\@ifclassloaded{book}{% +\renewcommand\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \gdef\thechapter{\@thaialph\c@chapter}} +}{} +\@ifclassloaded{report}{% +\renewcommand\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \gdef\thechapter{\@thaialph\c@chapter}} +}{} +\@ifclassloaded{article}{% +\renewcommand\appendix{\par + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \gdef\thesection{\@thaialph\c@section}} +}{} +% \end{macrocode} +% +% \subsection{Miscelleneous} +% +% Initialize character codes for Thai +% +% \begin{macrocode} +\catcode`\^^a1=11 \lccode`\^^a1=`\^^a1 \uccode`\^^a1=`\^^a1 +\catcode`\^^a2=11 \lccode`\^^a2=`\^^a2 \uccode`\^^a2=`\^^a2 +\catcode`\^^a3=11 \lccode`\^^a3=`\^^a3 \uccode`\^^a3=`\^^a3 +\catcode`\^^a4=11 \lccode`\^^a4=`\^^a4 \uccode`\^^a4=`\^^a4 +\catcode`\^^a5=11 \lccode`\^^a5=`\^^a5 \uccode`\^^a5=`\^^a5 +\catcode`\^^a6=11 \lccode`\^^a6=`\^^a6 \uccode`\^^a6=`\^^a6 +\catcode`\^^a7=11 \lccode`\^^a7=`\^^a7 \uccode`\^^a7=`\^^a7 +\catcode`\^^a8=11 \lccode`\^^a8=`\^^a8 \uccode`\^^a8=`\^^a8 +\catcode`\^^a9=11 \lccode`\^^a9=`\^^a9 \uccode`\^^a9=`\^^a9 +\catcode`\^^aa=11 \lccode`\^^aa=`\^^aa \uccode`\^^aa=`\^^aa +\catcode`\^^ab=11 \lccode`\^^ab=`\^^ab \uccode`\^^ab=`\^^ab +\catcode`\^^ac=11 \lccode`\^^ac=`\^^ac \uccode`\^^ac=`\^^ac +\catcode`\^^ad=11 \lccode`\^^ad=`\^^ad \uccode`\^^ad=`\^^ad +\catcode`\^^ae=11 \lccode`\^^ae=`\^^ae \uccode`\^^ae=`\^^ae +\catcode`\^^af=11 \lccode`\^^af=`\^^af \uccode`\^^af=`\^^af +\catcode`\^^b0=11 \lccode`\^^b0=`\^^b0 \uccode`\^^b0=`\^^b0 +\catcode`\^^b1=11 \lccode`\^^b1=`\^^b1 \uccode`\^^b1=`\^^b1 +\catcode`\^^b2=11 \lccode`\^^b2=`\^^b2 \uccode`\^^b2=`\^^b2 +\catcode`\^^b3=11 \lccode`\^^b3=`\^^b3 \uccode`\^^b3=`\^^b3 +\catcode`\^^b4=11 \lccode`\^^b4=`\^^b4 \uccode`\^^b4=`\^^b4 +\catcode`\^^b5=11 \lccode`\^^b5=`\^^b5 \uccode`\^^b5=`\^^b5 +\catcode`\^^b6=11 \lccode`\^^b6=`\^^b6 \uccode`\^^b6=`\^^b6 +\catcode`\^^b7=11 \lccode`\^^b7=`\^^b7 \uccode`\^^b7=`\^^b7 +\catcode`\^^b8=11 \lccode`\^^b8=`\^^b8 \uccode`\^^b8=`\^^b8 +\catcode`\^^b9=11 \lccode`\^^b9=`\^^b9 \uccode`\^^b9=`\^^b9 +\catcode`\^^ba=11 \lccode`\^^ba=`\^^ba \uccode`\^^ba=`\^^ba +\catcode`\^^bb=11 \lccode`\^^bb=`\^^bb \uccode`\^^bb=`\^^bb +\catcode`\^^bc=11 \lccode`\^^bc=`\^^bc \uccode`\^^bc=`\^^bc +\catcode`\^^bd=11 \lccode`\^^bd=`\^^bd \uccode`\^^bd=`\^^bd +\catcode`\^^be=11 \lccode`\^^be=`\^^be \uccode`\^^be=`\^^be +\catcode`\^^bf=11 \lccode`\^^bf=`\^^bf \uccode`\^^bf=`\^^bf +\catcode`\^^c0=11 \lccode`\^^c0=`\^^c0 \uccode`\^^c0=`\^^c0 +\catcode`\^^c1=11 \lccode`\^^c1=`\^^c1 \uccode`\^^c1=`\^^c1 +\catcode`\^^c2=11 \lccode`\^^c2=`\^^c2 \uccode`\^^c2=`\^^c2 +\catcode`\^^c3=11 \lccode`\^^c3=`\^^c3 \uccode`\^^c3=`\^^c3 +\catcode`\^^c4=11 \lccode`\^^c4=`\^^c4 \uccode`\^^c4=`\^^c4 +\catcode`\^^c5=11 \lccode`\^^c5=`\^^c5 \uccode`\^^c5=`\^^c5 +\catcode`\^^c6=11 \lccode`\^^c6=`\^^c6 \uccode`\^^c6=`\^^c6 +\catcode`\^^c7=11 \lccode`\^^c7=`\^^c7 \uccode`\^^c7=`\^^c7 +\catcode`\^^c8=11 \lccode`\^^c8=`\^^c8 \uccode`\^^c8=`\^^c8 +\catcode`\^^c9=11 \lccode`\^^c9=`\^^c9 \uccode`\^^c9=`\^^c9 +\catcode`\^^ca=11 \lccode`\^^ca=`\^^ca \uccode`\^^ca=`\^^ca +\catcode`\^^cb=11 \lccode`\^^cb=`\^^cb \uccode`\^^cb=`\^^cb +\catcode`\^^cc=11 \lccode`\^^cc=`\^^cc \uccode`\^^cc=`\^^cc +\catcode`\^^cd=11 \lccode`\^^cd=`\^^cd \uccode`\^^cd=`\^^cd +\catcode`\^^ce=11 \lccode`\^^ce=`\^^ce \uccode`\^^ce=`\^^ce +\catcode`\^^cf=11 \lccode`\^^cf=`\^^cf \uccode`\^^cf=`\^^cf +\catcode`\^^d0=11 \lccode`\^^d0=`\^^d0 \uccode`\^^d0=`\^^d0 +\catcode`\^^d1=11 \lccode`\^^d1=`\^^d1 \uccode`\^^d1=`\^^d1 +\catcode`\^^d2=11 \lccode`\^^d2=`\^^d2 \uccode`\^^d2=`\^^d2 +\catcode`\^^d3=11 \lccode`\^^d3=`\^^d3 \uccode`\^^d3=`\^^d3 +\catcode`\^^d4=11 \lccode`\^^d4=`\^^d4 \uccode`\^^d4=`\^^d4 +\catcode`\^^d5=11 \lccode`\^^d5=`\^^d5 \uccode`\^^d5=`\^^d5 +\catcode`\^^d6=11 \lccode`\^^d6=`\^^d6 \uccode`\^^d6=`\^^d6 +\catcode`\^^d7=11 \lccode`\^^d7=`\^^d7 \uccode`\^^d7=`\^^d7 +\catcode`\^^d8=11 \lccode`\^^d8=`\^^d8 \uccode`\^^d8=`\^^d8 +\catcode`\^^d9=11 \lccode`\^^d9=`\^^d9 \uccode`\^^d9=`\^^d9 +\catcode`\^^da=11 \lccode`\^^da=`\^^da \uccode`\^^da=`\^^da +\catcode`\^^df=12 \lccode`\^^df=`\^^df \uccode`\^^df=`\^^df +\catcode`\^^e0=11 \lccode`\^^e0=`\^^e0 \uccode`\^^e0=`\^^e0 +\catcode`\^^e1=11 \lccode`\^^e1=`\^^e1 \uccode`\^^e1=`\^^e1 +\catcode`\^^e2=11 \lccode`\^^e2=`\^^e2 \uccode`\^^e2=`\^^e2 +\catcode`\^^e3=11 \lccode`\^^e3=`\^^e3 \uccode`\^^e3=`\^^e3 +\catcode`\^^e4=11 \lccode`\^^e4=`\^^e4 \uccode`\^^e4=`\^^e4 +\catcode`\^^e5=11 \lccode`\^^e5=`\^^e5 \uccode`\^^e5=`\^^e5 +\catcode`\^^e6=11 \lccode`\^^e6=`\^^e6 \uccode`\^^e6=`\^^e6 +\catcode`\^^e7=11 \lccode`\^^e7=`\^^e7 \uccode`\^^e7=`\^^e7 +\catcode`\^^e8=11 \lccode`\^^e8=`\^^e8 \uccode`\^^e8=`\^^e8 +\catcode`\^^e9=11 \lccode`\^^e9=`\^^e9 \uccode`\^^e9=`\^^e9 +\catcode`\^^ea=11 \lccode`\^^ea=`\^^ea \uccode`\^^ea=`\^^ea +\catcode`\^^eb=11 \lccode`\^^eb=`\^^eb \uccode`\^^eb=`\^^eb +\catcode`\^^ec=11 \lccode`\^^ec=`\^^ec \uccode`\^^ec=`\^^ec +\catcode`\^^ed=11 \lccode`\^^ed=`\^^ed \uccode`\^^ed=`\^^ed +\catcode`\^^ee=11 \lccode`\^^ee=`\^^ee \uccode`\^^ee=`\^^ee +\catcode`\^^ef=12 \lccode`\^^ef=`\^^ef \uccode`\^^ef=`\^^ef +\catcode`\^^f0=12 \lccode`\^^f0=`\^^f0 \uccode`\^^f0=`\^^f0 +\catcode`\^^f1=12 \lccode`\^^f1=`\^^f1 \uccode`\^^f1=`\^^f1 +\catcode`\^^f2=12 \lccode`\^^f2=`\^^f2 \uccode`\^^f2=`\^^f2 +\catcode`\^^f3=12 \lccode`\^^f3=`\^^f3 \uccode`\^^f3=`\^^f3 +\catcode`\^^f4=12 \lccode`\^^f4=`\^^f4 \uccode`\^^f4=`\^^f4 +\catcode`\^^f5=12 \lccode`\^^f5=`\^^f5 \uccode`\^^f5=`\^^f5 +\catcode`\^^f6=12 \lccode`\^^f6=`\^^f6 \uccode`\^^f6=`\^^f6 +\catcode`\^^f7=12 \lccode`\^^f7=`\^^f7 \uccode`\^^f7=`\^^f7 +\catcode`\^^f8=12 \lccode`\^^f8=`\^^f8 \uccode`\^^f8=`\^^f8 +\catcode`\^^f9=12 \lccode`\^^f9=`\^^f9 \uccode`\^^f9=`\^^f9 +\catcode`\^^fa=12 \lccode`\^^fa=`\^^fa \uccode`\^^fa=`\^^fa +\catcode`\^^fb=12 \lccode`\^^fb=`\^^fb \uccode`\^^fb=`\^^fb +\ldf@finish{\CurrentOption} +%</code> +% \end{macrocode} +% +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput diff --git a/Master/texmf-dist/source/latex/thailatex/babel/thai.ins b/Master/texmf-dist/source/latex/thailatex/babel/thai.ins new file mode 100644 index 00000000000..a7dc43dde57 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/thai.ins @@ -0,0 +1,148 @@ +%% +%% This file will generate fast loadable files and documentation +%% driver files from the doc files in this package when run through +%% LaTeX or TeX. +%% +%% Copyright 1989-2005 Johannes L. Braams and any individual authors +%% listed elsewhere in this file. All rights reserved. +%% +%% This file is part of the Babel system. +%% -------------------------------------- +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% The list of all files belonging to the LaTeX base distribution is +%% given in the file `manifest.bbl. See also `legal.bbl' for additional +%% information. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% +%% --------------- start of docstrip commands ------------------ +%% +\def\filedate{1999/04/11} +\def\batchfile{thai.ins} +\input docstrip.tex + +{\ifx\generate\undefined +\Msg{**********************************************} +\Msg{*} +\Msg{* This installation requires docstrip} +\Msg{* version 2.3c or later.} +\Msg{*} +\Msg{* An older version of docstrip has been input} +\Msg{*} +\Msg{**********************************************} +\errhelp{Move or rename old docstrip.tex.} +\errmessage{Old docstrip in input path} +\batchmode +\csname @@end\endcsname +\fi} + +\declarepreamble\mainpreamble +This is a generated file. + +Copyright 1989-2005 Johannes L. Braams and any individual authors +listed elsewhere in this file. All rights reserved. + +This file was generated from file(s) of the Babel system. +--------------------------------------------------------- + +It may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3 +of this license or (at your option) any later version. +The latest version of this license is in + http://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of LaTeX +version 2003/12/01 or later. + +This work has the LPPL maintenance status "maintained". + +The Current Maintainer of this work is Johannes Braams. + +This file may only be distributed together with a copy of the Babel +system. You may however distribute the Babel system without +such generated files. + +The list of all files belonging to the Babel distribution is +given in the file `manifest.bbl'. See also `legal.bbl for additional +information. + +The list of derived (unpacked) files belonging to the distribution +and covered by LPPL is defined by the unpacking scripts (with +extension .ins) which are part of the distribution. +\endpreamble + +\declarepreamble\fdpreamble +This is a generated file. + +Copyright 1989-2005 Johannes L. Braams and any individual authors +listed elsewhere in this file. All rights reserved. + +This file was generated from file(s) of the Babel system. +--------------------------------------------------------- + +It may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3 +of this license or (at your option) any later version. +The latest version of this license is in + http://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of LaTeX +version 2003/12/01 or later. + +This work has the LPPL maintenance status "maintained". + +The Current Maintainer of this work is Johannes Braams. + +This file may only be distributed together with a copy of the Babel +system. You may however distribute the Babel system without +such generated files. + +The list of all files belonging to the Babel distribution is +given in the file `manifest.bbl'. See also `legal.bbl for additional +information. + +In particular, permission is granted to customize the declarations in +this file to serve the needs of your installation. + +However, NO PERMISSION is granted to distribute a modified version +of this file under its original name. + +\endpreamble + +\keepsilent + +\usedir{tex/generic/babel} + +\usepreamble\mainpreamble +\generate{\file{thai.ldf}{\from{thai.dtx}{code}} + } +\usepreamble\fdpreamble + +\ifToplevel{ +\Msg{***********************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* files into a directory searched by TeX:} +\Msg{*} +\Msg{* \space\space All *.def, *.fd, *.ldf, *.sty} +\Msg{*} +\Msg{* To produce the documentation run the files ending with} +\Msg{* '.dtx' and `.fdd' through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing} +\Msg{***********************************************************} +} + +\endinput diff --git a/Master/texmf-dist/source/latex/thailatex/babel/thai.sty b/Master/texmf-dist/source/latex/thailatex/babel/thai.sty new file mode 100644 index 00000000000..f90f5395939 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/thai.sty @@ -0,0 +1,17 @@ +%% +%% This is file `thai.sty', +%% by Surapant Meknavin: surapan@nectec.or.th +%% +\ifx\LdfInit\@undefined + \def\LdfInit{% + \chardef\atcatcode=\catcode`\@ + \catcode`\@=11\relax + \input babel.def\relax + \catcode`\@=\atcatcode \let\atcatcode\relax + \LdfInit} +\fi +\input thai.ldf\relax +%% +\endinput +%% +%% End of file `thai.sty'. diff --git a/Master/texmf-dist/source/latex/thailatex/babel/thswitch.sty b/Master/texmf-dist/source/latex/thailatex/babel/thswitch.sty new file mode 100644 index 00000000000..0c69d604167 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/babel/thswitch.sty @@ -0,0 +1,14 @@ +%% This file is part of the thailatex package +%% Created by Surapant Meknavin: surapan@nectec.or.th +%% 21 June 1999 +%% 2004/03/04 Theppitak Karoonboonyanan <thep@linux.thai.net> +%% - add \ttdefault +%% 2000/05/10 Theppitak Karoonboonyanan <thep@links.nectec.or.th> +%% - add \sfdefault +\DeclareRobustCommand{\latintext}{% + \fontencoding{\latinencoding}\fontfamily{\englishrmdefault}\selectfont + \def\rmdefault{\englishrmdefault}% + \def\sfdefault{\englishsfdefault}% + \def\ttdefault{\englishttdefault}% + \def\encodingdefault{\latinencoding}} + diff --git a/Master/texmf-dist/source/latex/thailatex/configure b/Master/texmf-dist/source/latex/thailatex/configure new file mode 100644 index 00000000000..6100e46e9bc --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/configure @@ -0,0 +1,4000 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.64. +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software +# Foundation, Inc. +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 7<&0 </dev/null 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME= +PACKAGE_TARNAME= +PACKAGE_VERSION= +PACKAGE_STRING= +PACKAGE_BUGREPORT= +PACKAGE_URL= + +ac_unique_file="babel/thai.dtx" +ac_subst_vars='LTLIBOBJS +LIBOBJS +emacsdir +TEXHASH +UPDMAP +texmfdir +CTTEX +SWATH +PS2PDF +VPTOVF +AFM2TFM +PF2AFM +DVIPS +LATEX +RMDIR +SED +LN_S +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +with_texmfdir +with_emacsdir +' + ac_precious_vars='build_alias +host_alias +target_alias' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information." + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures this package to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names +_ACEOF +fi + +if test -n "$ac_init_help"; then + + cat <<\_ACEOF + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-texmfdir=DIR texmf directory in DIR [PREFIX/share/texmf] + --with-emacsdir=DIR emacs directory in DIR [PREFIX/share/emacs] + +Report bugs to the package provider. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +configure +generated by GNU Autoconf 2.64 + +Copyright (C) 2009 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by $as_me, which was +generated by GNU Autoconf 2.64. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + ac_site_file1=$CONFIG_SITE +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +am__api_version='1.11' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + for ac_t in install-sh install.sh shtool; do + if test -f "$ac_dir/$ac_t"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/$ac_t -c" + break 2 + fi + done +done +if test -z "$ac_aux_dir"; then + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if test "${ac_cv_path_mkdir+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + test -d ./--version && rmdir ./--version + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE=thailatex + VERSION=0.4.4 + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if test "${ac_cv_path_SED+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +for ac_prog in rmdir +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_RMDIR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RMDIR"; then + ac_cv_prog_RMDIR="$RMDIR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RMDIR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RMDIR=$ac_cv_prog_RMDIR +if test -n "$RMDIR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RMDIR" >&5 +$as_echo "$RMDIR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$RMDIR" && break +done +test -n "$RMDIR" || RMDIR="no" + + +for ac_prog in latex +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_LATEX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LATEX"; then + ac_cv_prog_LATEX="$LATEX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LATEX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LATEX=$ac_cv_prog_LATEX +if test -n "$LATEX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5 +$as_echo "$LATEX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$LATEX" && break +done +test -n "$LATEX" || LATEX="no" + +if test "x$LATEX" = "xno" ; then + as_fn_error "You need latex (from texlive distribution)" "$LINENO" 5 +fi +for ac_prog in dvips +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_DVIPS+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DVIPS"; then + ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DVIPS="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DVIPS=$ac_cv_prog_DVIPS +if test -n "$DVIPS"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5 +$as_echo "$DVIPS" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DVIPS" && break +done +test -n "$DVIPS" || DVIPS="no" + +if test "x$DVIPS" = "xno" ; then + as_fn_error "You need dvips (from texlive distribution)" "$LINENO" 5 +fi +for ac_prog in pf2afm +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_PF2AFM+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$PF2AFM"; then + ac_cv_prog_PF2AFM="$PF2AFM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_PF2AFM="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +PF2AFM=$ac_cv_prog_PF2AFM +if test -n "$PF2AFM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PF2AFM" >&5 +$as_echo "$PF2AFM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$PF2AFM" && break +done +test -n "$PF2AFM" || PF2AFM="no" + +if test "x$PF2AFM" = "xno" ; then + as_fn_error "You need pf2afm (from ghostscript distribution)" "$LINENO" 5 +fi +for ac_prog in afm2tfm +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AFM2TFM+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AFM2TFM"; then + ac_cv_prog_AFM2TFM="$AFM2TFM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AFM2TFM="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AFM2TFM=$ac_cv_prog_AFM2TFM +if test -n "$AFM2TFM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFM2TFM" >&5 +$as_echo "$AFM2TFM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AFM2TFM" && break +done +test -n "$AFM2TFM" || AFM2TFM="no" + +if test "x$AFM2TFM" = "xno" ; then + as_fn_error "You need afm2tfm (from texlive distribution)" "$LINENO" 5 +fi +for ac_prog in vptovf +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_VPTOVF+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$VPTOVF"; then + ac_cv_prog_VPTOVF="$VPTOVF" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_VPTOVF="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +VPTOVF=$ac_cv_prog_VPTOVF +if test -n "$VPTOVF"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VPTOVF" >&5 +$as_echo "$VPTOVF" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$VPTOVF" && break +done +test -n "$VPTOVF" || VPTOVF="no" + +if test "x$VPTOVF" = "xno" ; then + as_fn_error "You need vptovf (from texlive distribution)" "$LINENO" 5 +fi +for ac_prog in ps2pdf +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_PS2PDF+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$PS2PDF"; then + ac_cv_prog_PS2PDF="$PS2PDF" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_PS2PDF="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +PS2PDF=$ac_cv_prog_PS2PDF +if test -n "$PS2PDF"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5 +$as_echo "$PS2PDF" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$PS2PDF" && break +done +test -n "$PS2PDF" || PS2PDF="no" + +if test "x$PS2PDF" = "xno" ; then + as_fn_error "You need ps2pdf (from ghostscipt distribution)" "$LINENO" 5 +fi +for ac_prog in swath +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_SWATH+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$SWATH"; then + ac_cv_prog_SWATH="$SWATH" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_SWATH="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +SWATH=$ac_cv_prog_SWATH +if test -n "$SWATH"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWATH" >&5 +$as_echo "$SWATH" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$SWATH" && break +done +test -n "$SWATH" || SWATH="no" + +for ac_prog in cttex +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CTTEX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CTTEX"; then + ac_cv_prog_CTTEX="$CTTEX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CTTEX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CTTEX=$ac_cv_prog_CTTEX +if test -n "$CTTEX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTTEX" >&5 +$as_echo "$CTTEX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CTTEX" && break +done +test -n "$CTTEX" || CTTEX="no" + +if test "x$SWATH" = "xno" && test "x$CTTEX" = "xno" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may need either swath or cttex (from corresponding package)" >&5 +$as_echo "$as_me: WARNING: You may need either swath or cttex (from corresponding package)" >&2;} +fi + + +# Check whether --with-texmfdir was given. +if test "${with_texmfdir+set}" = set; then : + withval=$with_texmfdir; texmfdir="$withval" +else + texmfdir=${datarootdir}/texmf +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-texmfdir" >&5 +$as_echo_n "checking --with-texmfdir... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$texmfdir\"" >&5 +$as_echo "\"$texmfdir\"" >&6; } + + +for ac_prog in updmap-sys updmap +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_UPDMAP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $UPDMAP in + [\\/]* | ?:[\\/]*) + ac_cv_path_UPDMAP="$UPDMAP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_UPDMAP="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +UPDMAP=$ac_cv_path_UPDMAP +if test -n "$UPDMAP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDMAP" >&5 +$as_echo "$UPDMAP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$UPDMAP" && break +done +test -n "$UPDMAP" || UPDMAP="no" + +if test "x$UPDMAP" = "xno" ; then + as_fn_error "You need updmap-sys or updmap (from texlive distribution)" "$LINENO" 5 +fi + +# Extract the first word of "mktexlsr texhash", so it can be a program name with args. +set dummy mktexlsr texhash; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_TEXHASH+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $TEXHASH in + [\\/]* | ?:[\\/]*) + ac_cv_path_TEXHASH="$TEXHASH" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_TEXHASH="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_TEXHASH" && ac_cv_path_TEXHASH="no" + ;; +esac +fi +TEXHASH=$ac_cv_path_TEXHASH +if test -n "$TEXHASH"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXHASH" >&5 +$as_echo "$TEXHASH" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test "x$TEXHASH" = "xno" ; then + as_fn_error "You need mktexlsr or texhash (from texlive distribution)" "$LINENO" 5 +fi + + +# Check whether --with-emacsdir was given. +if test "${with_emacsdir+set}" = set; then : + withval=$with_emacsdir; emacsdir="$withval" +else + emacsdir=${datarootdir}/emacs +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-emacsdir" >&5 +$as_echo_n "checking --with-emacsdir... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$emacsdir\"" >&5 +$as_echo "\"$emacsdir\"" >&6; } + + +ac_config_files="$ac_config_files Makefile babel/Makefile emacs/Makefile fonts/Makefile scripts/Makefile scripts/sync-thailatex doc/Makefile thailatex.spec" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Transform confdefs.h into DEFS. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +# +# If the first sed substitution is executed (which looks for macros that +# take arguments), then branch to the quote section. Otherwise, +# look for a macro that doesn't take arguments. +ac_script=' +:mline +/\\$/{ + N + s,\\\n,, + b mline +} +t clear +:clear +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g +t quote +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g +t quote +b any +:quote +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g +s/\[/\\&/g +s/\]/\\&/g +s/\$/$$/g +H +:any +${ + g + s/^\n// + s/\n/ /g + p +} +' +DEFS=`sed -n "$ac_script" confdefs.h` + + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + + +: ${CONFIG_STATUS=./config.status} +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by $as_me, which was +generated by GNU Autoconf 2.64. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + +Configuration files: +$config_files + +Report bugs to the package provider." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_version="\\ +config.status +configured by $0, generated by GNU Autoconf 2.64, + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h | --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "babel/Makefile") CONFIG_FILES="$CONFIG_FILES babel/Makefile" ;; + "emacs/Makefile") CONFIG_FILES="$CONFIG_FILES emacs/Makefile" ;; + "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;; + "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; + "scripts/sync-thailatex") CONFIG_FILES="$CONFIG_FILES scripts/sync-thailatex" ;; + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "thailatex.spec") CONFIG_FILES="$CONFIG_FILES thailatex.spec" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\).*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\).*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' <conf$$subs.awk | sed ' +/^[^""]/{ + N + s/\n// +} +' >>$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + + +eval set X " :F $CONFIG_FILES " +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + ;; + + + + esac + +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit $? +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + diff --git a/Master/texmf-dist/source/latex/thailatex/configure.in b/Master/texmf-dist/source/latex/thailatex/configure.in new file mode 100644 index 00000000000..22ab68fcd04 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/configure.in @@ -0,0 +1,76 @@ +AC_INIT(babel/thai.dtx) +AM_INIT_AUTOMAKE(thailatex, 0.4.4) + +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_AWK +AC_PROG_SED +AC_CHECK_PROGS(RMDIR,rmdir,no) + +AC_CHECK_PROGS(LATEX,latex,no) +if test "x$LATEX" = "xno" ; then + AC_MSG_ERROR([You need latex (from texlive distribution)]) +fi +AC_CHECK_PROGS(DVIPS,dvips,no) +if test "x$DVIPS" = "xno" ; then + AC_MSG_ERROR([You need dvips (from texlive distribution)]) +fi +AC_CHECK_PROGS(PF2AFM,pf2afm,no) +if test "x$PF2AFM" = "xno" ; then + AC_MSG_ERROR([You need pf2afm (from ghostscript distribution)]) +fi +AC_CHECK_PROGS(AFM2TFM,afm2tfm,no) +if test "x$AFM2TFM" = "xno" ; then + AC_MSG_ERROR([You need afm2tfm (from texlive distribution)]) +fi +AC_CHECK_PROGS(VPTOVF,vptovf,no) +if test "x$VPTOVF" = "xno" ; then + AC_MSG_ERROR([You need vptovf (from texlive distribution)]) +fi +AC_CHECK_PROGS(PS2PDF,ps2pdf,no) +if test "x$PS2PDF" = "xno" ; then + AC_MSG_ERROR([You need ps2pdf (from ghostscipt distribution)]) +fi +AC_CHECK_PROGS(SWATH,swath,no) +AC_CHECK_PROGS(CTTEX,cttex,no) +if test "x$SWATH" = "xno" && test "x$CTTEX" = "xno" ; then + AC_MSG_WARN([You may need either swath or cttex (from corresponding package)]) +fi + +AC_ARG_WITH(texmfdir, + [AC_HELP_STRING([--with-texmfdir=DIR], + [texmf directory in DIR [PREFIX/share/texmf]])], + [texmfdir="$withval"], [texmfdir=${datarootdir}/texmf]) +AC_MSG_CHECKING(--with-texmfdir) +AC_MSG_RESULT("$texmfdir") +AC_SUBST(texmfdir) + +dnl updmappath=`eval echo $PATH:$texmfdir/dvips/config` +dnl AC_PATH_PROG(UPDMAP,updmap,no,$updmappath) +AC_PATH_PROGS(UPDMAP,[updmap-sys updmap],no) +if test "x$UPDMAP" = "xno" ; then + AC_MSG_ERROR([You need updmap-sys or updmap (from texlive distribution)]) +fi + +AC_PATH_PROG(TEXHASH,[mktexlsr texhash],no) +if test "x$TEXHASH" = "xno" ; then + AC_MSG_ERROR([You need mktexlsr or texhash (from texlive distribution)]) +fi + +AC_ARG_WITH(emacsdir, + [AC_HELP_STRING([--with-emacsdir=DIR], + [emacs directory in DIR [PREFIX/share/emacs]])], + [emacsdir="$withval"], [emacsdir=${datarootdir}/emacs]) +AC_MSG_CHECKING(--with-emacsdir) +AC_MSG_RESULT("$emacsdir") +AC_SUBST(emacsdir) + +AC_OUTPUT(Makefile + babel/Makefile + emacs/Makefile + fonts/Makefile + scripts/Makefile + scripts/sync-thailatex + doc/Makefile + thailatex.spec) + diff --git a/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am new file mode 100644 index 00000000000..ca63fbaacce --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am @@ -0,0 +1,31 @@ +DOC_FILES = orchid.tex teststd.tex utf-example.tex + +examplesdir = $(docdir)/examples +examples_DATA = $(DOC_FILES) + +TESTS = test-orchid.sh test-teststd.sh test-utf.sh + +check_SCRIPTS = test-orchid.sh test-teststd.sh test-utf.sh + +EXTRA_DIST = $(DOC_FILES) $(check_SCRIPTS) + +CLEANFILES = *.log *.aux *.ttex *.dvi *.ps *.pdf + +SUFFIXES = .tex .dvi .ps .pdf + +.dvi.ps: + $(DVIPS) $< -o $@ + +.ps.pdf: + $(PS2PDF) $< + +.tex.dvi: + if (which $(SWATH) > /dev/null) ; then \ + $(SWATH) -f latex < $< > $@.ttex ; \ + elif (which $(CTTEX) > /dev/null) ; then \ + $(CTTEX) -W < $< > $@.ttex ; \ + fi + $(LATEX) $@.ttex + $(LATEX) $@.ttex + mv $@.dvi $@ + diff --git a/Master/texmf-dist/source/latex/thailatex/doc/Makefile.in b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.in new file mode 100644 index 00000000000..e9741f436d3 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.in @@ -0,0 +1,483 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = doc +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(examplesdir)" +DATA = $(examples_DATA) +am__tty_colors = \ +red=; grn=; lgn=; blu=; std= +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AFM2TFM = @AFM2TFM@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CTTEX = @CTTEX@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DVIPS = @DVIPS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LATEX = @LATEX@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PF2AFM = @PF2AFM@ +PS2PDF = @PS2PDF@ +RMDIR = @RMDIR@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SWATH = @SWATH@ +TEXHASH = @TEXHASH@ +UPDMAP = @UPDMAP@ +VERSION = @VERSION@ +VPTOVF = @VPTOVF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +emacsdir = @emacsdir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +texmfdir = @texmfdir@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +DOC_FILES = orchid.tex teststd.tex utf-example.tex +examplesdir = $(docdir)/examples +examples_DATA = $(DOC_FILES) +TESTS = test-orchid.sh test-teststd.sh test-utf.sh +check_SCRIPTS = test-orchid.sh test-teststd.sh test-utf.sh +EXTRA_DIST = $(DOC_FILES) $(check_SCRIPTS) +CLEANFILES = *.log *.aux *.ttex *.dvi *.ps *.pdf +SUFFIXES = .tex .dvi .ps .pdf +all: all-am + +.SUFFIXES: +.SUFFIXES: .tex .dvi .ps .pdf +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-examplesDATA: $(examples_DATA) + @$(NORMAL_INSTALL) + test -z "$(examplesdir)" || $(MKDIR_P) "$(DESTDIR)$(examplesdir)" + @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \ + done + +uninstall-examplesDATA: + @$(NORMAL_UNINSTALL) + @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(examplesdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(examplesdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + col=$$red; res=XPASS; \ + ;; \ + *) \ + col=$$grn; res=PASS; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ + col=$$lgn; res=XFAIL; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + col=$$red; res=FAIL; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + col=$$blu; res=SKIP; \ + fi; \ + echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ + All=""; \ + else \ + tests="tests"; \ + All="All "; \ + fi; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="$$All$$all $$tests passed"; \ + else \ + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all $$tests failed"; \ + else \ + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + if test "$$skip" -eq 1; then \ + skipped="($$skip test was not run)"; \ + else \ + skipped="($$skip tests were not run)"; \ + fi; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + if test "$$failed" -eq 0; then \ + echo "$$grn$$dashes"; \ + else \ + echo "$$red$$dashes"; \ + fi; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes$$std"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS) + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(examplesdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-examplesDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-examplesDATA + +.MAKE: check-am install-am install-strip + +.PHONY: all all-am check check-TESTS check-am clean clean-generic \ + distclean distclean-generic distdir dvi dvi-am html html-am \ + info info-am install install-am install-data install-data-am \ + install-dvi install-dvi-am install-examplesDATA install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-examplesDATA + + +.dvi.ps: + $(DVIPS) $< -o $@ + +.ps.pdf: + $(PS2PDF) $< + +.tex.dvi: + if (which $(SWATH) > /dev/null) ; then \ + $(SWATH) -f latex < $< > $@.ttex ; \ + elif (which $(CTTEX) > /dev/null) ; then \ + $(CTTEX) -W < $< > $@.ttex ; \ + fi + $(LATEX) $@.ttex + $(LATEX) $@.ttex + mv $@.dvi $@ + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Master/texmf-dist/source/latex/thailatex/doc/orchid.tex b/Master/texmf-dist/source/latex/thailatex/doc/orchid.tex new file mode 100644 index 00000000000..02a3c232a20 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/orchid.tex @@ -0,0 +1,549 @@ +\documentclass[letter]{article} + +\textwidth=16cm +\oddsidemargin=0cm +\evensidemargin=0cm +\topmargin=-2.5cm +\textheight=23cm + +\newsavebox{\savepar} +\newenvironment{boxit}{\begin{lrbox}{\savepar} + \begin{minipage}[b]{\textwidth}} + {\end{minipage}\end{lrbox}\fbox{\usebox{\savepar}}} + +\usepackage[thai,thainumber]{babel} +\usepackage{thswitch} + +\title{ + \textbf{·ÃѾÂÒ¡Ãà»Ô´·Ò§ÀÒÉÒÊÙè¤ÇÒÁÃèÇÁÁ×ͧ͢¡ÒÃÇÔ¨ÑÂáÅоѲ¹Ò}\\ + \textbf{The Open linguistic Resources CHanelled toward + InterDisciplinary research (ORCHID)} +} +\author{ + ´Ã.ÇÔÃѪ ÈÃàÅÔÈÅéÓÇÒ³Ôª\\ + ÈÙ¹Âìà·¤â¹âÅÂÕÍÔàÅç¡·Ã͹ԡÊìáÅФÍÁ¾ÔÇàµÍÃìáË觪ҵÔ\\ + ¡ÃзÃǧÇÔ·ÂÒÈÒʵÃì à·¤â¹âÅÂÕáÅÐÊÔè§áÇ´ÅéÍÁ\\ + {\latintext\ttfamily virach@links.nectec.or.th, http://www.links.nectec.or.th/virach/home.html} +} +\date{\today} + +\begin{document} + +\bibliographystyle{srt} + +\maketitle + +\section{º·¹Ó} + +\textbf{ORCHID} à»ç¹á¼¹§Ò¹à¾×èÍʹѺʹع¡ÒÃÃèÇÁ¡Ñ¹ÊÃéÒ§, ¡ÒÃÃèÇÁ¡Ñ¹ãªé, áÅСÒÃ% +ÃèÇÁ¡Ñ¹¾Ñ²¹Ò·ÃѾÂҡ÷ҧÀÒÉҢͧÀÒÉÒä·Â, º¹à¤Ã×Í¢èÒ World Wide Web. á¼¹§Ò¹¹ÕéÁÕ% +¨Ø´»ÃÐʧ¤ìËÅÑ¡ÍÂÙèÊͧ»ÃСÒä×Í \textbf{à¾×èÍá¡é»ÑËÒ¡Óᾧ·Ò§ÀÒÉÒ, áÅÐÃÑ¡ÉÒ% +äÇéà¾×èͤÇÒÁ¤§ÍÂÙè¢Í§ÀÒÉÒáÅÐÇѲ¹¸ÃÃÁä·Â.} + +àÃÒµÃÐ˹ѡ´Õ¶Ö§¤ÇÒÁÊӤѢͧÀÒÉÒ «Ö觹͡¨Ò¡¨Ðà»ç¹Ê×èÍÃÐËÇèÒ§¤¹¡Ñº¤¹áÅéÇ Âѧà»ç¹% +Ãٻ᷹¤ÇÒÁ¤Ô´ áÅÐà»ç¹à¤Ã×èͧÁ×Í㹡ÒÃãªé¤ÇÒÁ¤Ô´´éÇÂ. à¤Ã×Í¢èÒ¤ÍÁ¾ÔÇàµÍÃì% +㹻Ѩ¨ØºÑ¹·ÓãËé¢éÍÁÙÅ¢èÒÇÊÒÃá¾ÃèËÅÒÂä»ÍÂèÒ§ÃÇ´àÃçÇ. à¤Ã×èͧÁ×Í·Õèãªé㹡ÒÃáÊ´§¼Å% +áÅСÒÃàµÃÕÂÁ¢éÍÁÙÅ¢èÒÇÊÒùÑé¹ ¨Ö§à»ç¹ÊÔ觨Óà»ç¹. ´éÇÂà·¤â¹âÅÂÕ·Õè¡éÒÇ˹éÒä»% +ÍÂèÒ§ÃÇ´àÃçÇ, ¡Ò÷Õèà¾Õ§¨ÐÊÒÁÒöáÊ´§¼Åä´éËÃ×Í»é͹¢éÍÁÙÅä´éà·èÒ¹Ñé¹ äÁèà»ç¹·Õè% +à¾Õ§¾ÍÍÕ¡áÅéÇ. ¡ÒÃáÊ´§¼Å·ÕèÊǧÒÁ¶Ù¡µéͧµÒÁẺἹ ËÃ×Í¡ÒÃàµÃÕÂÁ¢éÍÁÙÅä´éÍÂèÒ§% +¶Ù¡µéͧ áÅÐÃÇ´àÃçǨ֧à»ç¹ÊÔ觷Õè¨Óà»ç¹·Õè¨Ðµéͧ¾Ñ²¹ÒãËé·Ñ¹µÒÁ¡ÒÃà»ÅÕè¹á»Å§¢Í§% +à·¤â¹âÅÂÕ. + +·ÃѾÂҡ÷ҧÀÒÉҹ͡¨Ò¡¨Ðà»ç¹áËÅ觢éÍÁÙÅ·ÕèÊÓ¤ÑáÅéÇ Âѧà»ç¹»Ñ¨¨Ñ·ÕèÊÓ¤ÑÍѹ˹Öè§% +ÊÓËÃѺ¡ÒÃÈÖ¡ÉÒ¸ÃÃÁªÒµÔ¢Í§ÀÒÉÒ «Öè§ÃÇÁ¶Ö§äÇÂҡóì, ¤ÓÈѾ·ì, áÅÐÅѡɳТͧÀÒÉÒ. +©Ð¹Ñé¹ \textit{¡ÒÃÃǺÃÇÁ¢éÍÁÙÅÍÂèÒ§ÁÕÃкº} ¨Ö§ÁÕ¤ÇÒÁÊÓ¤ÑÂÔè§. ¡ÒÃÈÖ¡ÉÒ¸ÃÃÁªÒµÔ% +¢Í§ÀÒÉÒä´é¡éÒÇ˹éÒä»ÁÒ¡¾ÃéÍÁæ ¡Ñº¡ÒþѲ¹Ò¢Í§Ãкº¤ÍÁ¾ÔÇàµÍÃìáÅÐÍÑÅ¡ÍÃÔ·ÖÁ㹡ÒÃ% +¤Ó¹Ç³. ¤ÇÒÁàÍ×éÍÍӹǢͧ෤â¹âÅÂÕ·Ò§¡ÒûÃÐÁÇżŷÓãËéàÃÒÊÒÁÒöÈÖ¡ÉÒÅѡɳТͧÀÒÉÒ% +ä´é¨Ò¡¢éÍÁÙÅ»ÃÔÁÒ³ÁÒ¡æ ä´éã¹àÇÅÒÍѹÃÇ´àÃçÇ. ¼Å·Õèä´é¤×ÍàÃÒÊÒÁÒöÊÃØ»¤ÇÒÁÃÙé·Ò§% +ÀÒÉÒ¨Ò¡¢éÍÁÙŨÃÔ§ä´éÍÂèÒ§áÁè¹ÂÓáÅФÃͺ¤ÅØÁ. «Ö觼Դ¨Ò¡àÁ×èÍã¹Í´Õµ·Õè¨Óà»ç¹µéͧ% +¾Ô¨ÒóҨҡ¤ÇÒÁÃÙé¢Í§µ¹àͧà»ç¹ËÅÑ¡, ÈÖ¡ÉÒä´éáµèã¹Ç§á¤ºæ áÅÐäÁèÊÒÁÒöµÃǨÊͺ% +¤ÇÒÁ¶Ù¡µéͧä´éÍÂèÒ§¤Ãͺ¤ÅØÁ. ©Ð¹Ñé¹ \textbf{\textit{¡ÒÃÃǺÃÇÁ¢éÍÁÙÅ·ÕèÁÕ»ÃÔÁÒ³% +ÁÒ¡¾ÍáÅзѹÊÁÑÂ}} ¨Ö§à»ç¹»Ñ¨¨ÑÂÊÓ¤ÑÍÕ¡ÍÂèҧ˹Öè§. + +¨Ò¡á¹Çâ¹éÁ¢Í§¡ÒþѲ¹Ò¢Í§à·¤â¹âÅÂÕÊÒÃʹà·È áÅÐà¾×èÍ¡ÒÃàµÃÕÂÁ¾ÃéÍÁà¾×èÍ¡ÒÃ% +ÇÔ¨ÑÂáÅоѲ¹Ò´Ñ§·Õè¡ÅèÒÇÁÒ¢éÒ§µé¹, ¼Ùéà¢Õ¹ä´é¤Ô´¶Ö§á¹Ç·Ò§Íѹ˹Öè§ã¹¡Ò÷Õè¨Ð% +Êè§àÊÃÔÁ¡ÒþѲ¹Òâ´ÂÍÒÈÑÂÁѹÊÁͧ¨Ò¡¼ÙéÃÙé¼èÒ¹à¤Ã×Í¢èÒ·Õè¡ÓÅѧá¾ÃèËÅÒÂÍÂÙèã¹·Ø¡% +Çѹ¹Õé. 㹺·¤ÇÒÁ¹Õé ¼Ùéà¢Õ¹¨Ö§ä´éàʹÍá¹Ç¤Ô´¢Í§á¼¹§Ò¹ \textbf{ORCHID (The Open +linguistic Resources CHanelled toward InterDisciplinary research)} ·Õèä´éÃÇÁ¡ÒÃ% +àµÃÕÂÁ¾ÃéÍÁ¢Í§¢éÍÁÙÅáÅСÒûÃÐÂØ¡µìãªé§Ò¹à¢éÒ´éÇ¡ѹ, à¾×èÍÃͧÃѺ¡ÒþѲ¹Ò¢Í§% +à·¤â¹âÅÂÕÊÒÃʹà·ÈÊÙè͹Ҥµ. + +\section{¢èÒÇÊÒú¹à¤Ã×Í¢èÒÂ} + +㹻Ѩ¨ØºÑ¹, ¢éÍÁÙÅ¢èÒÇÊÒÃÊÒÁÒöá¾ÃèËÅÒÂä»ä´éÍÂèÒ§ÃÇ´àÃçÇ. ·Ñ駹Õé¡çà¹×èͧÁÒ¨Ò¡% +ÊÒà˵طÕèÊÓ¤ÑÊͧ»ÃСÒä×Í ñ) ¤ÇÒÁá¾ÃèËÅÒ¢ͧÃкºà¤Ã×Í¢èÒ ·Õè·ÓãËéºØ¤¤Å·ÑèÇä»% +ÊÒÁÒöà¢éÒ¶Ö§Ãкºä´éâ´Â§èÒÂ, áÅÐ ò) ¡ÒþѲ¹Ò¢Í§à·¤â¹âÅÂÕµèÒ§æ ·Õèãªéº¹Ãкºà¤Ã×Í% +¢èÒ ´Ñ§àªè¹ Web browser, ÃкºÊ׺¤é¹¢éÍÁÙź¹Ãкºà¤Ã×Í¢èÒÂ, áÅÐÍ×è¹æ ÍÕ¡ÁÒ¡ÁÒÂ% +·Õè·ÓãËéÊÒÁÒöà¢éÒ¶Ö§¢éÍÁÙÅáÅТèÒÇÊÒÃä´éÍÂèÒ§áÁè¹ÂÓáÅÐÃÇ´àÃçÇ. HTML (HyperText +Markup Language)~\cite{html} ä´é¶Ù¡¡Ó˹´¢Öé¹ÁÒà¾×èÍãªé㹡ÒáӡѺ¢éͤÇÒÁ·Õè¨Ð% +Ê×èÍÊÒáѹº¹Ãкº WWW. HTML à»ç¹ÀÒÉÒ·Õèᵡᢹ§ÍÍ¡ÁÒ¨Ò¡µé¹µÓÃѺ¢Í§ÀÒÉÒà¾×èÍ¡ÒÃ% +¡Ó¡Ñº (markup language) ·ÕèÃÙé¨Ñ¡¡Ñ¹´Õ㹪×èͧ͢ SGML (Standard Generalized +Markup Language)~\cite{sgml}. ¡ÒÃãªéÀÒÉÒà¾×èÍ¡ÒáӡѺ¹Õé¨Ð·ÓãËé¢éͤÇÒÁ% +ÍÔàÅç¡·Ã͹ԡÊì (eletronic text) ÁÕÅѡɳоÔàÈÉ ¤×Í à»ç¹¢éͤÇÒÁ·ÕèäÁè¢Ö鹡ѺÃкº% +¨Ñ´¡Òà «Öè§ËÁÒ¤ÇÒÁÇèÒ·Ø¡Ãкº, ·Õèà¢éÒã¨ã¹Áҵðҹ¢Í§ÀÒÉÒà¾×èÍ¡ÒáӡѺ, ¨ÐÊÒÁÒö% +áÊ´§¼Å¢éÍÁÙÅä´éÍÂèÒ§àËÁÒÐÊÁ. ºÒ§ÃкºÍÒ¨¨Ð¢Ö鹺Ã÷ѴãËÁè ´Ñ§ã¹ÃÙ»·Õè~% +\ref{fig:htmlout1} ËÃ×ͺҧÃкºÍÒ¨¨ÐÂèÍ˹éÒ ´Ñ§ã¹ÃÙ»·Õè~\ref{fig:htmlout2} àÁ×èÍ% +ÁÕ¡ÒáӡѺÂèÍ˹éÒ ´Ñ§àªè¹ã¹ÃÙ»·Õè~\ref{fig:html}. áµèÅÐÃкºÍÒ¨¨ÐãªéµÑÇÍÑ¡Éâ¹Ò´% +µèÒ§æ ¡Ñ¹ã¹¡ÒÃáÊ´§¼ÅËÑÇ¢éÍã¹ÃдѺµèÒ§æ ¡Ñ¹´éÇ¡çä´é. + +\begin{figure}[htbp] + \begin{center} + \begin{boxit} + \begin{quote} +% \footnotesize + \scriptsize + \sffamily + +\hspace*{-3em} +{\LARGE \textbf{¢èÒÇÊÒú¹à¤Ã×Í¢èÒÂ}}\\ + +\hspace*{-3em} +㹻Ѩ¨ØºÑ¹, ¢éÍÁÙÅ¢èÒÇÊÒÃÊÒÁÒöá¾ÃèËÅÒÂä»ä´éÍÂèÒ§ÃÇ´àÃçÇ. ·Ñ駹Õé¡çà¹×èͧÁÒ¨Ò¡% +ÊÒà˵طÕèÊÓ¤ÑÊͧ»ÃСÒä×Í\\ + ñ. ¤ÇÒÁá¾ÃèËÅÒ¢ͧÃкºà¤Ã×Í¢èÒ ·Õè·ÓãËéºØ¤¤Å·ÑèÇä»ÊÒÁÒöà¢éÒ¶Ö§Ãкºä´éâ´Â§èÒÂ% +\\ + ò. ¾Ñ²¹Ò¡Òâͧ෤â¹âÅÂÕµèÒ§æ ·Õèãªéº¹Ãкºà¤Ã×Í¢èÒ ´Ñ§àªè¹ Web browser, Ãкº% +Ê׺¤é¹¢éÍÁÙź¹Ãкºà¤Ã×Í¢èÒÂ,\\ +\hspace*{1em} + áÅÐÍ×è¹æ ÍÕ¡ÁÒ¡ÁÒ ·Õè·ÓãËéÊÒÁÒöà¢éÒ¶Ö§¢éÍÁÙÅáÅТèÒÇÊÒÃä´éÍÂèÒ§áÁè¹ÂÓáÅÐ% +ÃÇ´àÃçÇ.\\ + + \end{quote} + \end{boxit} + \caption{µÑÇÍÂèÒ§¡ÒÃáÊ´§¼ÅẺ·Õè˹Öè§} + \label{fig:htmlout1} + \end{center} +\end{figure} + +\begin{figure}[htbp] + \begin{center} + \begin{boxit} + \begin{quote} + \scriptsize + \sffamily + +\hspace*{-3em} +{\LARGE \textbf{\underline{¢èÒÇÊÒú¹à¤Ã×Í¢èÒÂ}}}\\ + +%\hspace*{2em} +㹻Ѩ¨ØºÑ¹, ¢éÍÁÙÅ¢èÒÇÊÒÃÊÒÁÒöá¾ÃèËÅÒÂä»ä´éÍÂèÒ§ÃÇ´àÃçÇ. ·Ñ駹Õé¡çà¹×èͧÁÒ¨Ò¡% +ÊÒà˵طÕèÊÓ¤ÑÊͧ»ÃСÒä×Í\\ +%\hspace*{2em} + ¡. ¤ÇÒÁá¾ÃèËÅÒ¢ͧÃкºà¤Ã×Í¢èÒ ·Õè·ÓãËéºØ¤¤Å·ÑèÇä»ÊÒÁÒöà¢éÒ¶Ö§Ãкºä´éâ´Â§èÒÂ% +\\ +%\hspace*{2em} + ¢. ¾Ñ²¹Ò¡Òâͧ෤â¹âÅÂÕµèÒ§æ ·Õèãªéº¹Ãкºà¤Ã×Í¢èÒ ´Ñ§àªè¹ Web browser, Ãкº% +Ê׺¤é¹¢éÍÁÙź¹Ãкºà¤Ã×Í¢èÒÂ,\\ +\hspace*{1em} + áÅÐÍ×è¹æ ÍÕ¡ÁÒ¡ÁÒ ·Õè·ÓãËéÊÒÁÒöà¢éÒ¶Ö§¢éÍÁÙÅáÅТèÒÇÊÒÃä´éÍÂèÒ§áÁè¹ÂÓáÅÐ% +ÃÇ´àÃçÇ.\\ + + \end{quote} + \end{boxit} + \caption{µÑÇÍÂèÒ§¡ÒÃáÊ´§¼ÅẺ·ÕèÊͧ} + \label{fig:htmlout2} + \end{center} +\end{figure} + +\begin{figure}[htbp] + \begin{center} + \begin{boxit} + \scriptsize + + <html>\\ + <head>\\ + <title>\\ + ¢èÒÇÊÒú¹à¤Ã×Í¢èÒÂ\\ + </title>\\ + </head>\\ + + <body>\\ + <h1>\\ + ¢èÒÇÊÒú¹à¤Ã×Í¢èÒÂ\\ + </h1>\\ + + <p> 㹻Ѩ¨ØºÑ¹, ¢éÍÁÙÅ¢èÒÇÊÒÃÊÒÁÒöá¾ÃèËÅÒÂä»ä´éÍÂèÒ§ÃÇ´àÃçÇ. ·Ñ駹Õé¡ç% +à¹×èͧÁÒ¨Ò¡ÊÒà˵طÕèÊÓ¤ÑÊͧ»ÃСÒä×Í + + <ol>\\ + <li> ¤ÇÒÁá¾ÃèËÅÒ¢ͧÃкºà¤Ã×Í¢èÒ ·Õè·ÓãËéºØ¤¤Å·ÑèÇä»ÊÒÁÒöà¢éÒ¶Ö§Ãкºä´é% +â´Â§èÒÂ\\ + <li> ¾Ñ²¹Ò¡Òâͧ෤â¹âÅÂÕµèÒ§æ ·Õèãªéº¹Ãкºà¤Ã×Í¢èÒ ´Ñ§àªè¹ Web browser, +ÃкºÊ׺¤é¹¢éÍÁÙź¹Ãкºà¤Ã×Í¢èÒÂ, áÅÐÍ×è¹æ ÍÕ¡ÁÒ¡ÁÒ ·Õè·ÓãËéÊÒÁÒöà¢éÒ¶Ö§¢éÍÁÙÅ% +áÅТèÒÇÊÒÃä´éÍÂèÒ§áÁè¹ÂÓáÅÐÃÇ´àÃçÇ.\\ + </ol>\\ + + </body>\\ + </html>\\ + + \end{boxit} + \caption{¢éͤÇÒÁ·Õè¡Ó¡ÑºÊÓËÃѺ HTML} + \label{fig:html} + \end{center} +\end{figure} + +¤ÇÒÁ¤Ô´ã¹¡ÒÃãªéà¤Ã×èͧËÁÒÂÃèÇÁà¾×èÍ¡ÒáӡѺ (Generic Markup) ¹Ñé¹ à¡Ô´¢Öé¹ÁÒ¹Ò¹% +áÅéÇ, µÑé§áµè·Õè William Tunnicliffe ä´éàʹ͵èÍ·Õè»ÃЪØÁÊӹѡ¾ÔÁ¾ì¢Í§ÃÑ°ã¹% +᤹¹Ò´ÒàÁ×èÍà´×͹¡Ñ¹ÂÒ¹ òõñð~\cite{sgml:90}. àÁ×èÍà¢éÒ·ÈÇÃÃÉ·Õè ÷ð, ¡çàÃÔèÁÁÕ% +Ãкº·Õèãªéà¤Ã×èͧËÁÒÂÃèÇÁà¾×èÍ¡ÒáӡѺà¡Ô´¢Öé¹, áÅзÕèÃÙé¨Ñ¡¡Ñ¹á¾ÃèËÅÒ¡ç¤×Í +Scribe ¢Í§ Brian Reid, \TeX~\cite{knuth:94} ¢Í§ Knuth, \LaTeX~\cite{lamport:94} +«Öè§à»ç¹¡Òü¹Ç¡ªØ´¤ÓÊÑ觷Õèà¢Õ¹µÒÁÅѡɳТͧ Scribe â´Â¹ÔÂÒÁãËéà»ç¹ macro ¢Í§ +\TeX, áÅÐ nroff/troff «Öè§à»ç¹ÃØ蹶Ѵ¨Ò¡ RUNOFF ·Õè¹ÔÂÁãªé¡Ñ¹ÁÒ¡º¹Ãкº UNIX. + +\begin{figure}[htbp] + \begin{center} + \begin{boxit} + \begin{quote} + \scriptsize + +\hspace*{-3em} +$\backslash$section\{¢èÒÇÊÒú¹à¤Ã×Í¢èÒÂ\} + +\hspace*{-3em} +$\backslash$par 㹻Ѩ¨ØºÑ¹, ¢éÍÁÙÅ¢èÒÇÊÒÃÊÒÁÒöá¾ÃèËÅÒÂä»ä´éÍÂèÒ§ÃÇ´àÃçÇ. ·Ñé§% +¹Õé¡çà¹×èͧÁÒ¨Ò¡ÊÒà˵طÕèÊÓ¤ÑÊͧ»ÃСÒä×Í + +\hspace*{-3em} +$\backslash$begin\{itemize\}\\ +\hspace*{-3em} +$\backslash$item ¤ÇÒÁá¾ÃèËÅÒ¢ͧÃкºà¤Ã×Í¢èÒ ·Õè·ÓãËéºØ¤¤Å·ÑèÇä»ÊÒÁÒöà¢éÒ¶Ö§% +Ãкºä´éâ´Â§èÒÂ\\ +\hspace*{-3em} +$\backslash$item ¾Ñ²¹Ò¡Òâͧ෤â¹âÅÂÕµèÒ§æ ·Õèãªéº¹Ãкºà¤Ã×Í¢èÒ ´Ñ§àªè¹ Web +browser, ÃкºÊ׺¤é¹¢éÍÁÙź¹Ãкºà¤Ã×Í¢èÒÂ,\\ +\hspace*{-3em} +áÅÐÍ×è¹æ ÍÕ¡ÁÒ¡ÁÒ ·Õè·ÓãËéÊÒÁÒöà¢éÒ¶Ö§¢éÍÁÙÅáÅТèÒÇÊÒÃä´éÍÂèÒ§áÁè¹ÂÓáÅÐ% +ÃÇ´àÃçÇ.\\ +\hspace*{-3em} +$\backslash$end\{itemize\}\\ + + \end{quote} + \end{boxit} + \caption{¢éͤÇÒÁ·Õè¡Ó¡ÑºÊÓËÃѺ \TeX\ ËÃ×Í \LaTeX} + \label{fig:latex} + \end{center} +\end{figure} + + +\begin{figure}[ht] + \begin{center} + \begin{boxit} + \begin{quote} + \scriptsize + +\hspace*{-3em} +.TH PWD 1L "GNU Shell Utilities" "FSF" $\backslash$" -*- nroff -*-\\ +\hspace*{-3em} +.SH NAME\\ +\hspace*{-3em} +pwd $\backslash$- print name of current/working directory\\ +\hspace*{-3em} +.SH SYNOPSIS\\ +\hspace*{-3em} +.B pwd\\ +\hspace*{-3em} +.br\\ +\hspace*{-3em} +.B pwd\\ +\hspace*{-3em} +\{$\backslash$-$\backslash$-help,$\backslash$-$\backslash$-version\}\\ +\hspace*{-3em} +.SH DESCRIPTION\\ +\hspace*{-3em} +This manual page documents the GNU version of\\ +\hspace*{-3em} +.BR pwd .\\ +\hspace*{-3em} +.B pwd\\ +\hspace*{-3em} +prints the fully resolved name of the current directory. That is, all +components of the printed name will\\ +\hspace*{-3em} +be actual directory names $\backslash$-$\backslash$- none will be symbolic +links.\\ +\hspace*{-3em} +.PP\\ +\hspace*{-3em} +Note that most Unix shells provide a built-in\\ +\hspace*{-3em} +.B pwd\\ +\hspace*{-3em} +command with similar functionality so the unadorned, interactive\\ +\hspace*{-3em} +.B pwd\\ +\hspace*{-3em} +command will usually execute the built-in version and not this one.\\ +\hspace*{-3em} +.SS OPTIONS\\ +\hspace*{-3em} +.TP\\ +\hspace*{-3em} +.I "$\backslash$-$\backslash$-help"\\ +\hspace*{-3em} +Print a usage message on standard output and exit successfully.\\ +\hspace*{-3em} +.TP\\ +\hspace*{-3em} +.I "$\backslash$-$\backslash$-version"\\ +\hspace*{-3em} +Print version information on standard output then exit successfully.\\ + + \end{quote} + \end{boxit} + \caption{¢éͤÇÒÁ·Õè¡Ó¡ÑºÊÓËÃѺ nroff} + \label{fig:nroff} + \end{center} +\end{figure} + +´ÙàËÁ×͹ÇèÒ \LaTeX\ ¨Ð»ÃÐʺ¤ÇÒÁÊÓàÃç¨ã¹¡ÒÃá¡¢éÍÁÙÅ·ÕèºÍ¡â¤Ã§ÊÃéÒ§¢Í§º·¤ÇÒÁ% +ÍÍ¡¨Ò¡¢éÍÁÙÅ·Õèà»ç¹à¹×éͧ͢º·¤ÇÒÁ. áµèÍÂèÒ§äáçµÒÁÊÑÅѡɳì㹡ÒáӡѺ¢Í§ +\LaTeX\ ¡çÂѧà»ç¹ macro ·Õè»ÃСͺ´éǪش¢Í§¤ÓÊÑè§ «Ö觼ÙéãªéÊÒÁÒöàÅ×Í¡¡Ó¡Ñº´éÇÂ% +¤ÓÊÑè§ä´éâ´ÂµÃ§. àËÅèÒ¹Õéà»ç¹µÑÇ·Õè·ÓãËé \TeX\ ËÃ×Í \LaTeX\ ÁÕÊèǹ·Õè¨Ðµéͧ¢Öé¹% +ÍÂÙè¡ÑºÃкºÍÕ¡. + +ÀÒÉÒà¾×èÍ¡ÒáӡѺ·Õè¤Ò´ËÇѧ¡Ñ¹äÇé¹Ñé¹ ¨Ðà»ç¹µÑǡӡѺâ¤Ã§ÊÃéÒ§¢Í§¢éͤÇÒÁà¾×èÍãËé% +ÃкºÊÒÁÒö¨Ñ´¾ÔÁ¾ì ËÃ×Í áÊ´§¼Åä´éµÒÁÃٻẺ¢Í§µ¹àͧ â´ÂäÁèÁÕÊèǹ·Õèµéͧ¢Ö鹡Ѻ% +ÃкºÍÕ¡µèÍä». »Ñ¨¨ØºÑ¹¹ÕéÁÕ¡ÒáÓ˹´Áҵðҹ¢Í§ÀÒÉÒà¾×èÍ¡ÒáӡѺ¢Öé¹ÁÒãËÁè, àÃÕ¡% +ÇèÒ XML (eXtensible Markup Language)~\cite{xml} à¾×èÍãËéÊдǡµèÍ¡ÒÃãªéÁÒ¡¢Öé¹% +¡ÇèÒ SGML. XML à»ç¹ subset ¢Í§ SGML, à»ç¹ÀÒÉÒ·ÕèÍ͡ẺäÇéà¾×èÍãªé㹡ÒÃÊ×èÍÊÒú¹% +à¤Ã×Í¢èÒÂâ´Â੾ÒÐ. XML µèÒ§¨Ò¡ SGML µÃ§·ÕèÁÕ¡Òäӹ֧¶Ö§»ÑËÒµèÒ§æ «Öè§ÍÒ¨¨Ðà¡Ô´% +¢Öé¹ä´éã¹ÃÐËÇèÒ§¡ÒõԴµèͼèÒ¹à¤Ã×Í¢èÒÂ. XML ¨Ö§ÁÕ¤ÇÒÁÂ×´ËÂØè¹Áҡ㹡ÒáӡѺ áÅÐ% +¼ÙéãªéÊÒÁÒö¡Ó¡ÑºãËéÃǺÃÇÁ¢éͤÇÒÁËÃ×Í¢éÍÁÙŨҡ·ÕèµèÒ§æ ¾ÃéÍÁ·Ñ駺͡ÅѡɳТͧ¢éÍ% +¤ÇÒÁËÃ×Í¢éÍÁÙÅàËÅèÒ¹Ñé¹ä´é´éÇÂ. àËÅèÒ¹Õé·ÓãËé XML àËÁÒÐÊÓËÃѺ¡Òúѹ·Ö¡¢éÍÁÙÅ +à¹×èͧ¨Ò¡ÇèÒÁÕ¤ÇÒÁÂ×´ËÂØ蹾ͷÕè¨ÐÊÒÁÒö͸ԺÒÂâ¤Ã§ÊÃéÒ§·Ò§µÃáÈÒʵÃì (logical +structure) ¢Í§¢éͤÇÒÁµèÒ§æ ä´é, äÁèÇèÒ¨Ðà»ç¹áºº¿ÍÃìÁ (form), ºÑ¹·Ö¡ (memo), +¨´ËÁÒ (letter), ÃÒ§ҹ (report), ˹ѧÊ×Í (book), ÊÒÃҹءÃÁ (encyclopedia), +¾¨¹Ò¹Ø¡ÃÁ (dictionary) ËÃ×Í°Ò¹¢éÍÁÙÅ (database). + +¼Ùéà¢Õ¹¨Ö§¢ÍÊÃØ»äÇé㹵͹·éÒ¢ͧº·¹ÕéÇèÒ ã¹¡Òúѹ·Ö¡¢éÍÁÙŵèÍä»ã¹Í¹Ò¤µ¹Ñé¹, àÃÒ% +¨Óà»ç¹µéͧ¤Ó¹Ö§¶Ö§à§×è͹ä¢ã¹¡ÒÃãªé§Ò¹º¹à¤Ã×Í¢èÒ´éÇÂ. à¤Ã×Í¢èÒ·Õè¾Ù´¶Ö§µÃ§¹Õé¡ç% +à»ç¹à¤Ã×Í¢èÒÂÊÒ¡Å (Global Network; World Wide Web), äÁèä´é¨Ó¡Ñ´ÍÂÙèà¾Õ§à¤Ã×Í% +¢èÒ·éͧ¶Ôè¹ (Local Area Network) ÍÕ¡µèÍä»áÅéÇ. ¡ÒèѴà¡çº¢éÍÁÙÅ·ÕèàËÁÒÐÊÁ¹Ñ鹡ç% +¤ÇèеéͧÁÕà¹×éÍËҢͧ¢éͤÇÒÁ (plain text) áÅТéÍÁÙŢͧâ¤Ã§ÊÃéÒ§·Ò§µÃáÈÒʵÃì +(logical structure) ¡Ó¡ÑºäÇéà¾×èÍ·Õè¨ÐãËé¢éÍÁÙŹÑé¹æ à»ç¹ÍÔÊÃШҡÍØ»¡Ã³ì +(device) áÅÐÃкº (system). ¡ÒèѴà¡çº¢éÍÁÙÅã¹ÅѡɳйÕé¨ÐᵡµèÒ§¨Ò¡ÇÔ¸Õ¡ÒÃà¡çºáºº% +à¡èÒ ·ÕèäÁèä´éá¡¢éÍÁÙÅÊÓËÃѺºÍ¡ÅѡɳТͧ¡ÒèѴ¾ÔÁ¾ì ËÃ×ÍáÊ´§¼ÅÍÍ¡¨Ò¡¢éͤÇÒÁ, +´Ñ§àªè¹ä¿Åì¢éÍÁÙÅ·Õèãªéã¹ Wordprocessor ·ÑèÇä», nroff/troff, ËÃ×Í·Õèà»ç¹à¾Õ§ºÒ§% +Êèǹ ´Ñ§àªè¹ä¿Åì¢éÍÁÙÅ·Õèãªéã¹ \TeX\ ËÃ×Í \LaTeX\ µÒÁ·Õè¡ÅèÒÇäÇé¢éÒ§µé¹ +à»ç¹µé¹. ¡ÒÃà¡çº¢éÍÁÙÅ´éÇÂÇÔ¸ÕËÅѧ¹Õé¤è͹¢éÒ§µÃ§, ÊдǡµèÍ¡ÒÃá¡éä¢áÅÐáÊ´§¼Å. áµè% +à¹×èͧ¨Ò¡¢éͤÇÒÁ»ÃÐàÀ·¹Õé¨ÐÁÕáµè¢éÍÁÙÅ·Õèà¡ÕèÂǡѺÅѡɳТͧ¡ÒÃáÊ´§¼Åà·èÒ¹Ñé¹, +äÁèÁÕ¢éÍÁÙÅ·Õèà¡ÕèÂǡѺâ¤Ã§ÊÃéÒ§ ËÃ×Í¢éÍÁÙÅ·ÕèáÊ´§¤ÇÒÁÊÑÁ¾Ñ¹¸ìÀÒÂã¹¢éͤÇÒÁ ¨Ö§% +äÁèàËÁÒзÕè¨Ðãªé㹡ÒûÃÐÁÇżÅ. ¡ÒÃáÊ´§¼Å¹Ñ鹨еéͧ¢Öé¹ÍÂÙè¡ÑºÃкºà»ç¹ÊèǹãËè +áÅÐàÁ×èÍà¡Ô´¡ÒÃá¡é䢡ÒÃáÊ´§¼Å¼Ùéãªé¡ç¨Óà»ç¹·Õè¨Ðµéͧá¡éä¢ÃÒÂÅÐàÍÕ´·Ñé§ËÁ´ãËéÊÍ´% +¤Åéͧ¡Ñ¹. + +\section{¤ÇÒÁà»ç¹¨ÃÔ§¢Í§ÀÒÉÒ·ÕèÊзé͹¨Ò¡¢éÍÁÙŨÃÔ§} + +¡ÅèÒǡѹÇèÒã¹âÅ¡¹ÕéÁÕÀÒÉÒ·Õèãªé¡Ñ¹ÍÂÙèÁÒ¡¡ÇèÒ ó,õðð ÀÒÉÒ~\cite{enc-ling:88}, +ÀÒÉÒ·ÕèµÒÂä»áÅéÇ¡çÁÕÍÂÙèÁÒ¡. ``ÀÒÉÒà»ç¹'' à·èÒ¹Ñé¹·ÕèÂѧÁÕ¡ÒÃà»ÅÕè¹á»Å§ÍÂÙè. +ã¹·Õè¹Õé¼Ùéà¢Õ¹¨ÐäÁè¡ÅèÒǶ֧·ÄÉ®ÕËÃ×ÍäÇÂҡóì¢Í§ÀÒÉÒ, áµè¨ÐªÕéãËéàË繶֧¤ÇÒÁ% +ÊÓ¤Ñ㹡Ò÷Õè¨ÐµéͧÈÖ¡ÉÒÀÒÉÒ¨Ò¡·Õèãªé¡Ñ¹ÍÂÙè¨ÃÔ§. + +¢³Ð¹ÕéàÃÒÁÕ¾¨¹Ò¹Ø¡ÃÁãËéàÅ×Í¡ãªé¡Ñ¹ÍÂÙèÁÒ¡ÁÒÂ. ¡ÃйÑ鹡çµÒÁ¾¨¹Ò¹Ø¡ÃÁ·ÕèàÃÒÂÖ´¶×Í% +ãªé¡Ñ¹à»ç¹ËÅÑ¡ÍÂÙè㹵͹¹Õé¡ç¤×Í ¾¨¹Ò¹Ø¡ÃÁ©ºÑºÃÒªºÑ³±ÔµÂʶҹ. ÍÒ¨à»ç¹à¾ÃÒÐÇèÒà»ç¹% +¾¨¹Ò¹Ø¡ÃÁ·Õèä´éÃѺ¡ÒáÅÑ蹡ÃͧáÅеÃǨÊͺÍÂèÒ§ÃÐÁÑ´ÃÐÇѧÁÒ¡·ÕèÊØ´©ºÑºË¹Öè§ ¨Ö§ä´é% +ÃѺ¡ÒÃÍéÒ§ÍÔ§ÁÒ¡, â´Â੾ÒÐ㹡ÒõÃǨÊͺ¤ÇÒÁ¶Ù¡µéͧ¢Í§ÀÒÉÒä·Â. áµèäÁèÇèÒ¨Ðà¹×èͧ% +´éÇÂÊÒà˵Øã´¡çµÒÁ, ¨Ó¹Ç¹¤ÓÈѾ·ì·Õè»ÃÒ¡¯ÍÂÙè㹩ºÑº ¾.È.òõòõ ¹Ñé¹ÂѧÁÕÍÂÙè¨Ó¡Ñ´% +ÁÒ¡ (»ÃÐÁÒ³ óð,ððð ¤Ó). ¨Ò¡·Õèä´é·´ÅͧÊØèÁµÃǨ´ÙáÅéÇ ¼Ùéà¢Õ¹¾ºÇèÒ¤ÓÊèǹãËèã¹% +¾¨¹Ò¹Ø¡ÃÁ©ºÑºÃÒªºÑ³±ÔµÂʶҹ¨Ðà»ç¹¤ÓÂèÍÂàÊÕÂÊèǹãËè. ÊèǹãËè¨Ðà»ç¹¤Ó·ÕèÁըӹǹ% +¾ÂÒ§¤ìÍÂÙèÃÐËÇèÒ§ ò-ô ¾ÂÒ§¤ì~\cite{ristat}. ¤Ó·ÕèãËè¢Öé¹, ËÃ×ͤӻÃÐÊÁ¹Ñé¹ ¡çÁÑ¡% +¨Ðà»ç¹¤Ó·ÕèÁÕãªé¡Ñ¹ÁÒ¹Ò¹áÅÐäÁè¤èͨлÃÒ¡¯ãËéàËç¹ã¹º·¤ÇÒÁ·Õèà¢Õ¹¢Öé¹ã¹»Ñ¨¨ØºÑ¹. +µÑÇÍÂèÒ§àªè¹ ã¹¾¨¹Ò¹Ø¡ÃÁ©ºÑºÃÒªºÑ³±ÔµÂʶҹÁÕ¤ÓÇèÒ ``·Õè'', ``ÍÂÙè'', ``¤ØéÁ'', +``¤èÒ'', ``·Ó'', ``§Ò¹'', ``¶Ø§'', ``Á×Í'', ``µÙé'', áÅÐ ``àÂç¹'', áµèäÁèÁÕ% +¤ÓÇèÒ ``·ÕèÍÂÙè'', ``¤ØéÁ¤èÒ'', ``·Ó§Ò¹'', ``¶Ø§Á×Í'', áÅÐ ``µÙéàÂç¹''. + +¡ÒáÓ˹´¤Óà¾×èÍ·Õè¨ÐºÃèØã¹¾¨¹Ò¹Ø¡ÃÁ¹Ñé¹à»ç¹àÃ×èͧ·Õè¨ÐµéͧÇԨѡѹÍÕ¡ÁÒ¡. ¡ÒÃ% +¡Ó˹´¤ÓÍÒ¨µéͧ¤Ó¹Ö§¤ÇÒÁ¶Õè¢Í§¤Ó·Õè»ÃÒ¡¯ «Öè§ÍÒ¨¨ÐÁͧä´éÊͧÁØÁ·ÕèµÃ§¢éÒÁ¡Ñ¹ ¤×Í: +ñ) ¤ÇÒÁºèͤÃÑ駢ͧ¡ÒÃãªéÊÒÂÍÑ¡¢ÃйÑé¹æ ¹èÒ¨Ðà»ç¹à¡³±ì·Õè¨ÐºÍ¡ÇèÒ¹Ñ蹤×Í +``¤Ó'', ¡Ñº ò) ÊÒÂÍÑ¡¢ÃзÕèäÁè¤èÍ»ÃÒ¡¯ ÁÑ¡¨ÐÂÒ¡á¡è¡ÒÃãªéËÃ×Íà¢éÒã¨, ©Ð¹Ñ鹤ÇèÐ% +ºÑ¹·Ö¡äÇéà»ç¹ ``¤Ó''. ¡ÒèÐàÅ×Í¡ÇÔ¸Õã´¹Ñé¹ ¢Öé¹ÍÂÙè¡Ñº¨Ø´»ÃÐʧ¤ì㹡ÒÃàµÃÕÂÁ% +¾¨¹Ò¹Ø¡ÃÁÁÒ¡¡ÇèÒ. áµèàÃÒ¡ç¨Óà»ç¹·Õè¨ÐµéͧÍéÒ§ÍÔ§¤Ó·Õèä´é¨Ò¡·Ñé§ÊͧÇÔ¸Õ. ¼Ùéà¢Õ¹% +ä´éàʹ͡ÒÃãªéÇÔ¸Õ¡Ò÷ҧʶԵÔÁÒªèÇÂ㹡ÒäѴàÅ×Í¡¤ÓµÒÁ¤ÇÒÁ¤Ô´·Õè˹Öè§~% +\cite{virach:96}. ÇÔ¸Õ¡ÒùÕé¨ÐãËéÃÒ¡ÒäӷÕè¹èҨкѹ·Ö¡äÇéã¹¾¨¹Ò¹Ø¡ÃÁ â´ÂÅӴѺ% +µÒÁ¨Ó¹Ç¹¤ÃÑ駷Õè»ÃÒ¡¯ã¹º·¤ÇÒÁ¹Ñé¹æ. ·Ñ駹Õé½èÒºÑѵԤÓÈѾ·ì¨Ðµéͧ·Ó¡ÒäѴàÅ×Í¡% +ÍÕ¡¤ÃÑé§. ÊèǹÇÔ¸Õ¡ÒÃÊÓËÃѺ¡ÒäѴàÅ×Í¡¤ÓµÒÁ¤ÇÒÁ¤Ô´·ÕèÊͧáÅСÒ÷ÓãËéÇÔ¸Õ¡Ò÷Õè% +˹Öè§à»ç¹ä»ÍÂèÒ§ÁÕ»ÃÐÊÔ·¸ÔÀÒ¾ÂÔ觢Öé¹¹Ñé¹ ¡çà»ç¹ËÑÇ¢éÍ·Õè¨Ðµéͧ·Ó¡ÒÃÇԨѵèÍä». + +¹Í¡¨Ò¡¤ÓÈѾ·ìáÅéÇ, äÇÂҡóì¡Ñº¡ÒÃãªéÀÒÉÒ¡çà»ç¹ËÑÇ¢éÍ·ÕèàÃÒ¨Óà»ç¹µéͧàÍÒã¨ãÊè. +¼Ùéà¢Õ¹ä´é¡»ÑËҢͧ¡ÒÃãªéÀÒÉÒ áÅÐʹѺʹع¡ÒÃãªéà¤Ã×èͧËÁÒÂÇÃäµÍ¹ à¾×èÍà»ç¹¡ÒÃ% +á¡é»ÑËÒÇÔ¸Õ˹Öè§ÁÒáÅéÇ~\cite{sk}. à´ÔÁ·Õ, ÀÒÉÒä·Â¹Ñé¹ÂÒ¡µèÍ¡Ò÷Õè¨Ðà¢Õ¹% +äÇÂҡóìãËé¤Ãͺ¤ÅØÁÍÂÙèáÅéÇ. »Ñ¨¨ØºÑ¹¹ÕéÀÒÉÒä·Âä´éà»ÅÕè¹á»Å§ä» ÂÔ觷ÓãËéÂÒ¡µèÍ% +¡Ò÷Õè¨Ð͸ԺÒÂÅѡɳСÒÃãªéÍÂèÒ§ÁÕ»ÃÐÊÔ·¸ÔÀÒ¾ä´é. ·ÓãËéµéͧÁÕ¢éÍ¡àÇé¹ÁÒ¡ÁÒÂ. +ÇÔ¸Õ¡ÒÃ˹Ö觷Õè¨Ð·ÓãËéÀÒÉÒà»ç¹ä»µÒÁ¡¯à¡³±ì·ÕèÃÑ´¡ØÁä´éÇÔ¸Õ˹Ö觡ç¤×Í¡ÒÃÍÒÈÑÂ% +à¤Ã×èͧËÁÒÂÇÃäµÍ¹ à¾×èÍãËé¼Ùéà¢Õ¹ÂÖ´áÅФӹ֧¶Ö§¡ÒÃà¢Õ¹ãËéà»ç¹»ÃÐâ¤áÅÐÃÑ´¡ØÁ% +ä´é. ¼Å·Õèä´éÃѺ¨Ò¡¡ÒþÂÒÂÒÁ·Õè¨ÐãËéä´éÀÒÉÒ·ÕèÍÔ§äÇÂҡóì·Õèã¡Åéà¤Õ§¡Ñ¹ ¨Ð·ÓãËé% +ÊÒÁÒöÃǺÃÇÁ¡ÒÃãªéÀÒÉÒä´éÍÂèÒ§ÁÕ»ÃÐÊÔ·¸Ô¼Å. ¼Ùéà¢Õ¹¨Ö§ä´éʹѺʹع¡ÒÃãªéà¤Ã×èͧËÁÒÂ% +ÇÃäµÍ¹ áÅÐàʹÍãËéÁÕ¡ÒÃÃǺÃÇÁ¤Åѧ¢éͤÇÒÁ. áÅÐà¾×èÍ¡ÒÃáÊ´§ãËéàË繶֧¼Å¢Í§¡ÒÃãªé% +¢éÍÁÙŴѧ¡ÅèÒÇ, ¼Ùéà¢Õ¹¡çä´éáÊ´§¼Å¢Í§¡ÒÃãªé§Ò¹ã¹â¤Ã§¡Òà Emacs à¾×èÍÀÒÉÒä·Â áÅÐ% +¡ÒÃãªé§Ò¹ã¹¡ÒÃÊÃéÒ§Ãкºà¾×èÍ¡ÒÃáÅ¡à»ÅÕè¹¢éÍÁÙŵèÒ§ÀÒÉÒã¹â¤Ã§¡Òà UNL. + +\section{á¼¹§Ò¹ ORCHID} + +\textbf{ORCHID} à»ç¹á¼¹§Ò¹à¾×èÍʹѺʹع¡ÒÃÃèÇÁ¡Ñ¹ÊÃéÒ§, ¡ÒÃÃèÇÁ¡Ñ¹ãªé, áÅСÒÃ% +ÃèÇÁ¡Ñ¹¾Ñ²¹Ò ·ÃѾÂҡ÷ҧÀÒÉҢͧÀÒÉÒä·Â, º¹à¤Ã×Í¢èÒ World Wide Web. á¼¹§Ò¹¹ÕéÁÕ% +¨Ø´»ÃÐʧ¤ìËÅÑ¡ÍÂÙèÊͧ»ÃСÒä×Í à¾×èÍá¡é»ÑËÒ¡Óᾧ·Ò§ÀÒÉÒ, áÅÐÃÑ¡ÉÒäÇé% +à¾×èͤÇÒÁ¤§ÍÂÙè¢Í§ÀÒÉÒáÅÐÇѲ¹¸ÃÃÁä·Â. + +á¼¹§Ò¹¹Õé¨ÐÃÇÁ¶Ö§¡ÒÃÊÃéÒ§·ÃѾÂҡ÷ҧÀÒÉÒâ´ÂãËéÊÍ´¤ÅéͧµÒÁÁҵðҹ, ¡ÒÃÈÖ¡ÉÒ% +ÇÔ¸Õ¡ÒÃãªé¢éÍÁÙÅ·Ò§ÀÒÉÒà¾×èÍà»ç¹»ÃÐ⪹ìµèÍ¡ÒûÃÐÁÇżÅÀÒÉÒ, áÅСÒþѲ¹ÒÃкº% +»ÃÐÂØ¡µìà¾×èÍ¡ÒÃãªé§Ò¹·Õè»ÃÐ⪹ìµèÍÊѧ¤Á. ·Ñé§ÊÒÁ»ÃСÒùÕé¨Ðà»ç¹·Ñ駡ÒÃÊÃéÒ§, +¡Òäé¹ËÒÇÔ¸Õ¡ÒÃ, áÅСÒõÃǨÊͺ¨Ò¡¡ÒÃãªé§Ò¹¨ÃÔ§. á¼¹§Ò¹¹Õé¨Ö§¶Ù¡áºè§ÍÍ¡à»ç¹Êͧ% +¡ÅØèÁ ¤×Í ¡ÅØèÁ·ÃѾÂҡþ×é¹°Ò¹ (Basic Resources) áÅСÅØèÁÃкº»ÃÐÂØ¡µì +(Application Systems) µÒÁÇѵ¶Ø»ÃÐʧ¤î¢Í§¡ÒÃÇÔ¨ÑÂáÅоѲ¹Ò. â´Â·Õè·Ñé§Êͧ¡ÅØèÁ¨Ð% +ʹѺʹع«Ö觡ѹáÅСѹ. + +\begin{itemize} +\item \textbf{Basic Resources:} à»ç¹¡ÒÃÊÃéÒ§·ÃѾÂҡþ×é¹°Ò¹»ÃСͺ´éÇÂÊÔ觷Õè¨Ð% +¹Óä»ãªé㹡ÒÃÈÖ¡ÉÒÇÔ¨ÑÂÅѡɳТͧÀÒÉÒ, áÅÐÊÔ觷Õè¨Ð¹Óä»ãªéà»ç¹Í§¤ì»ÃСͺ˹Öè§ã¹¡ÒÃ% +¾Ñ²¹ÒÃкº»ÃÐÂØ¡µì. + \begin{itemize} + \item \textbf{Language Processing Library and Supporting Tools:} +à»ç¹¡ÒÃÊÃéҧͧ¤ì»ÃСͺ¾×é¹°Ò¹·Ò§ Software à¾×èÍãËéÊÒÁÒöÊÃéÒ§â»Ãá¡ÃÁ»ÃÐÂØ¡µìä´é% +ÃÇ´àÃçÇáÅÐÍÂÙ躹ÁҵðҹÍѹà´ÕÂǡѹä´é. ¨¹¶Ö§»Ñ¨¨ØºÑ¹ÊèǹãËè¼Ùé¾Ñ²¹Ò¨Ð·Ó¡ÒþѲ¹Ò% +¡Ñ¹ÍÂèÒ§ÍÔÊÃÐ â´ÂäÁèÁÕ¡ÒÃáÅ¡à»ÅÕè¹ ËÃ×ÍÃǺÃÇÁà¾×èÍ¡ÒÃá¡é»ÑËÒÍÂèÒ§¶Ù¡µéͧ. +àÁ×èÍ Software µÑÇ˹Öè§ËÒÂ仨ҡµÅÒ´, »ÃÐʺ¡ÒóìáÅÐÇÔ¸Õ¡ÒõèÒ§æ ¡çËÒÂ仡Ѻ +Software µÑǹÑé¹´éÇÂ. + \item \textbf{ORCHID POS Tagged Corpus~\cite{orchid,virach:98,virach:97}:} +à»ç¹¡ÒÃÊÃéÒ§°Ò¹¢éÍÁÙž×é¹°Ò¹·Ò§ÀÒÉÒ ·ÕèÁÕ¡ÒáӡѺ˹èÇ·Õèà»ç¹¤Ó¾ÃéÍÁæ ¡ÑºË¹éÒ·Õè% +¢Í§¤Óæ ¹Ñé¹. ¢éÍÁÙÅàËÅèÒ¹Õé¨Ðãªé㹡ÒÃÈÖ¡ÉÒ áÅÐãËé¢éÍÁÙÅà¡ÕèÂǡѺ¡ÒÃãªé¤Óã¹ÀÒÉÒ. +»ÃÔÁÒ³, ¤ÇÒÁ¶Ù¡µéͧ, áÅФÇÒÁ·Ñ¹ÊÁÑ¢ͧ¢éÍÁÙŨ֧à»ç¹»Ñ¨¨Ñ·ÕèÊÓ¤Ñ. + \item \textbf{ORCHID Treebank:} à»ç¹¡ÒÃÊÃéÒ§°Ò¹¢éÍÁÙž×é¹°Ò¹·Ò§ÀÒÉÒ ·ÕèÁÕ¡ÒÃ% +¡Ó¡Ñºâ¤Ã§ÊÃéÒ§¢Í§»ÃÐ⤾ÃéÍÁæ ¡ÑºË¹éÒ·Õè¢Í§¤Óæ ¹Ñé¹ã¹»ÃÐâ¤. ¢éÍÁÙÅàËÅèÒ¹Õé¨Ðãªé% +㹡ÒÃÈÖ¡ÉÒ, áÅÐãËé¢éÍÁÙÅà¡ÕèÂǡѺ¡ÒÃãªé¤Óã¹»ÃÐâ¤áÅÐ㹡ÒÃÊÃéÒ§»ÃÐâ¤. »ÃÔÁÒ³, +¤ÇÒÁ¶Ù¡µéͧ, áÅФÇÒÁ·Ñ¹ÊÁÑ¢ͧ¢éÍÁÙŨ֧à»ç¹»Ñ¨¨Ñ·ÕèÊÓ¤Ñ. + \item \textbf{Markup Language:} à»ç¹¡ÒÃÊÃéÒ§ÀÒÉÒà¾×èÍ¡ÒáӡѺ «Öè§ÍÒ¨¨ÐÍÔ§% +¡ÒáӡѺẺÁҵðҹÊÒ¡Å àªè¹ SGML ËÃ×Í XML ¡çä´é. ÊÔ觷Õèµéͧ·Ó¤×Í¡ÒùÔÂÒÁã¹% +ÃÒÂÅÐàÍÕ´»ÅÕ¡ÂèÍ ·Õè¨Óà»ç¹ÊÓËÃѺ¡ÒÃãªé§Ò¹ã¹áµèÅдéÒ¹. ÊÔ觷ÕèÊÓ¤ÑÍÂèÒ§ÂÔè§ ¡ç% +¤×Íã¹Êèǹ·Õèà¡ÕèÂǡѺÀÒÉÒä·Â àªè¹ Ẻ¿ÍÃìÁ¨´ËÁÒÂ, ¡Ò¾Âì, áÅСÅ͹ à»ç¹µé¹. + \item \textbf{Concept Alignment:} à»ç¹¡ÒÃÊÃéÒ§ÃкºË¹èǤÇÒÁËÁÒ ÃÇÁ¶Ö§% +¡ÒùÔÂÒÁ˹èǤÇÒÁËÁÒÂà¾×èÍ¡ÒÃàª×èÍÁ⧤ÓÃÐËÇèÒ§ÀÒÉÒ´éÇÂ. + \end{itemize} +\item \textbf{Application Systems:} à»ç¹¡ÒÃÊÃéÒ§Ãкº»ÃÐÂØ¡µì¨Ò¡·ÃѾÂÒ¡Ã% +¾×é¹°Ò¹ áÅСÒÃãªé¼Å¨Ò¡¡ÒÃÈÖ¡ÉÒ·ÃѾÂҡþ×é¹°Ò¹. ·Ñ駹Õé¨Ðà»ç¹µÃǨÊͺ«Ö觡ѹáÅСѹ% +ÃÐËÇèÒ§·ÃѾÂҡþ×é¹°Ò¹·Õèä´é¨Ò¡¢éÍÁÙŨÃÔ§¡ÑºÃкº»ÃÐÂØ¡µì·Õèä´é¾Ñ²¹Ò¢Öé¹. + \begin{itemize} + \item \textbf{UNL (Universal Networking Language):} à»ç¹â¤Ã§¡ÒÃà¾×èÍ% +¡ÒþѲ¹ÒÃкºÊÓËÃѺ¡ÒÃáÅ¡à»ÅÕè¹¢éÍÁÙÅáÅТèÒÇÊÒà â´ÂäÁèÁÕ¾ÃÁá´¹·Ò§ÀÒÉÒ. +â¤Ã§¡ÒùÕéä´éÃÇÁ¶Ö§¡ÒÃãªé¢éÍÁÙÅáÅТèÒÇÊÒÃÍÂèÒ§ÁÕ»ÃÐÊÔ·¸ÔÀÒ¾´éÇ àªè¹¡ÒÃÊ׺¤é¹, +¡ÒÃÂèͤÇÒÁ, áÅСÒùÓàÊ¹Í à»ç¹µé¹. + \item \textbf{Emacs for Thai:} à»ç¹¡ÒûÃÐÂØ¡µìãªé¡ÒûÃÐÁÇżÅÀÒÉÒä·Âº¹% +Ãкº Editor ·Õèãªé¡Ñ¹ÍÂèÒ§á¾ÃèËÅÒÂÃкºË¹Öè§. Emacs à»ç¹ Editor ·ÕèÁÕ¢Õ´¤ÇÒÁ% +ÊÒÁÒöÊÙ§ÁÒ¡ÃкºË¹Öè§ áÅеÑé§áµè version ·Õè 20.1 à»ç¹µé¹ä» Emacs Âѧä´éÃѺ¡ÒÃ% +¾Ñ²¹ÒãËéÃÇÁ¡ÒûÃÐÁÇżÅẺËÅÒ¡ÀÒÉÒ¨Ò¡ Mule (MULtilingual enhancement to GNU +Emacs) à¢éÒä»´éÇÂ. + \item \textbf{LEX\textit{i}TRON:} à»ç¹¡ÒÃÊÃéÒ§Ãкº¾¨¹Ò¹Ø¡ÃÁ·ÕèÊзé͹¨Ò¡¢éÍÁÙÅ% +¨ÃÔ§. ¾¨¹Ò¹Ø¡ÃÁ©ºÑº¹Õé¨ÐãËé¢éÍÁÙÅ·Ò§´éÒ¹¡ÒÃãªé¤Ó㹡ÒÃÊÃéÒ§»ÃÐâ¤, ÁÕ¡Òú͡% +˹éÒ·Õè¢Í§¤ÓÍÂèÒ§ªÑ´à¨¹ áÅзÕèÊӤѤ×Í¡ÒÃà¢éÒ¶Ö§¤ÓÈѾ·ì. ã¹Í¹Ò¤µ¾¨¹Ò¹Ø¡ÃÁ©ºÑº¹Õé% +¨ÐãËé¢éÍÁÙÅ·Ñé§Êͧ»ÃÐàÀ·¤×Í ¢éÍÁÙÅà¾×èÍ¡ÒÃà¢Õ¹, áÅТéÍÁÙÅà¾×èÍ¡ÒÃáµè§»ÃÐâ¤. +â´Â¨Ð¤Ó¹Ö§¶Ö§¼Ùéãªé·Õèà»ç¹à¨éҢͧÀÒÉÒ áÅзÕèäÁèãªè. + \item \textbf{\LaTeX\ for Thai:} à»ç¹¡ÒûÃÐÂØ¡µìãªé¡ÒûÃÐÁÇżÅÀÒÉÒä·Âº¹% +Ãкº¡ÒèѴ¾ÔÁ¾ì·Õèãªé¡Ñ¹ÍÂèÒ§á¾ÃèËÅÒÂÃкºË¹Öè§. »Ñ¨¨ØºÑ¹ÁÕºÒ§Êèǹ·Õèä´éÃѺ¡ÒÃ% +¾Ñ²¹ÒãËéÊÒÁÒöãªé§Ò¹ä´éºéÒ§áÅéÇ~\cite{tlatex}. º·¤ÇÒÁ·Õè·èÒ¹ÍèÒ¹ÍÂÙèã¹¢³Ð¹Õé¡ç% +¨Ñ´¾ÔÁ¾ì´éÇ \LaTeX\ ·Õèä´éÃѺ¡ÒõèÍàµÔÁãËéáÊ´§¼ÅÀÒÉÒä·Âä´é. áÁéÇèÒÃкº¹Õé¨Ðãªé% +¡ÒÃä´é´Õ·Õà´ÕÂÇ, áµè¡ÃйÑ鹡çµÒÁ¼Ùéà¢Õ¹¡ç ÂѧÃÙéÊÖ¡ÇèÒÂѧÁÕÍÕ¡ËÅÒÂÊÔ觷Õèµéͧ% +¾Ô¨ÒóÒá¡éä¢áÅлÃѺ»Ãا. + \end{itemize} +\end{itemize} + +ã¹·Õè¹Õé¼Ùéà¢Õ¹ä´é¡ÅèÒǶ֧ÅѡɳзÑèÇä», â´ÂäÁèŧã¹ÃÒÂÅÐàÍÕ´¢Í§áµèÅÐËÑÇ¢éÍ% +ÂèÍÂ, à¹×èͧ¨Ò¡¨Ð·ÓãËéãªéà¹×éÍ·ÕèÁÒ¡à¡Ô¹ä». ¼Ùéà¢Õ¹¨ÐËÒâÍ¡ÒÊà¾×èÍãËéÃÒÂÅÐàÍÕ´% +µèÍ仢éҧ˹éÒ, ËÃ×ͼÙé·Õèʹã¨ÍÒ¨¨ÐáÊ´§¤ÇÒÁ¤Ô´àËç¹ÁÒÂѧ¼Ùéà¢Õ¹â´ÂµÃ§¡çä´é. ¤ÇÒÁ% +¤Ô´àËç¹µèÒ§æ ¨Ð·ÓãËéÊÒÁÒö»®ÔºÑµÔä´éàÃçÇáÅж١¨Ø´»ÃÐʧ¤ìÁÒ¡ÂÔ觢Öé¹. + +á¼¹§Ò¹·Õè¡ÅèÒÇÁÒ·Ñé§ËÁ´¹ÕéäÁèãªèà»ç¹ÊÔ觷Õè¼Ùéà¢Õ¹µéͧ¡ÒþѲ¹Òàͧ·Ñé§ËÁ´, ËÃ×Í% +à»ç¹à¾Õ§ÊÔ觷Õè¼Ùéà¢Õ¹µéͧ¡ÒþѲ¹Òà·èÒ¹Ñé¹. ¹Õèà»ç¹à¾Õ§¡ÒêÕéãËéàË繶֧á¹Ç% +â¹éÁ áÅÐá¹Ç·Ò§·ÕèàÃÒÊÒÁÒö»®ÔºÑµÔä´éà¾×èͨش»ÃÐʧ¤ìËÅÑ¡Êͧ»ÃСÒä×Í +\textbf{à¾×èÍá¡é»ÑËÒ¡Óᾧ·Ò§ÀÒÉÒ, áÅÐÃÑ¡ÉÒäÇéà¾×èͤÇÒÁ¤§ÍÂÙè¢Í§ÀÒÉÒáÅÐÇѲ¹¸ÃÃÁ% +ä·Â.} + +\section{º·Ê觷éÒÂ} + +á¼¹§Ò¹ ORCHID 㹺·¤ÇÒÁ¹Õéà»ç¹¡ÒÃàÃÔèÁµé¹¢Í§¼Ùéà¢Õ¹. ºÒ§â¤Ã§¡Òáç¡ÓÅѧ´Óà¹Ô¹¡ÒÃ% +ÍÂÙè ºÒ§â¤Ã§¡ÒáçÂѧÍÂÙèã¹ÃÐÂÐàÃÔèÁµé¹·Õè¼Ùéà¢Õ¹ä´éŧÁ×Í´Óà¹Ô¹¡ÒÃä»áÅéǺéÒ§, +áÅкҧàÃ×èͧ¡çÂѧà¾Ôè§ÍÂÙèã¹Ëéͧ·´Åͧ. ¼Ùéà¢Õ¹¨Ðä´é¹Óá¼¹§Ò¹¹Õéàʹ͵èÍä»Âѧ% +ͧ¤ì¡Ã·Õèà¡ÕèÂÇ¢éͧ. ¨Ø´»ÃÐʧ¤ì¢Í§¡ÒùÓàʹͤÃÑ駹Õé¡çà¾×èÍ¡èÍãËéà¡Ô´¤ÇÒÁà¢éÒã¨, +¨Ðä´éªèÇ¡ѹ¤Ô´, ªèÇ¡ѹÊè§àÊÃÔÁä»ã¹á¹Ç·Ò§·Õè¨Ð¾Ñ²¹Ò¢Öé¹ä´éµèÍæ ä». ¼Ùéã´Ê¹ã¨% +ËÃ×͵éͧ¡ÒÃá¹Ð¹Ó, µÔ´µèͼÙéà¢Õ¹ä´éµÒÁ email ¢éÒ§µé¹ ËÃ×Í´Ù¢éÍÁÙÅà¾ÔèÁàµÔÁä´é% +·Õè http://www.links.nectec.or.th/virach/home.html. + +\begin{thebibliography}{99} + +\bibitem{sk} + ÇÔÃѪ ÈÃàÅÔÈÅéÓÇÒ³Ôª + \newblock òõôñ. + \newblock \emph{àÃÒ¨Ðà¢Õ¹ÀÒÉÒä·ÂãËéÊ×èͤÇÒÁªÑ´à¨¹ÂÔ觢Öé¹ä´éÍÂèÒ§äÃ} + \newblock ¹ÔµÂÊÒÃÈÑ¡ÂÀÒ¾. + \newblock ÊÁÒ¤Á¹Ñ¡ÇÔªÒªÕ¾ä·Âã¹Õè»Øè¹ + \newblock »Õ·Õè õ, ©ºÑº·Õè ò, + \newblock ˹éÒ òö--óô. + +\bibitem{html} + \newblock http://www.utoronto.ca/webdocs/Official/intro.html. + +\bibitem{sgml} + \newblock http://www.oasis-open.org/. + +\bibitem{tlatex} + \newblock http://www.fedu.uec.ac.jp/ZzzThai/. + +\bibitem{orchid} + \newblock http://www.links.nectec.or.th/orchid/. + +\bibitem{xml} + \newblock http://www.personal.u-net.com/\~{ }sgml/xmlintro.htm. + +\bibitem{ristat} + \newblock http://www.links.nectec.or.th/virach/research.html. + +\bibitem{knuth:94} + Knuth,~D.~E. + \newblock 1994. + \newblock \emph{The \TeX book} + \newblock Addison-Wesley. + +\bibitem{lamport:94} + Lamport,~L. + \newblock 1994. + \newblock \emph{\LaTeX\ A Document Preparation System} + \newblock Addison-Wesley. + +\bibitem{sgml:90} + SGML User's Group. + \newblock 1990. + \newblock \emph{A Brief History of the Development of SGML} + \newblock http://www.sgmlsource.com/history/sgmlhist.htm. + +\bibitem{virach:98} + Sornlertlamvanich,~V., Takahashi,~N. and Isahra,~H. + \newblock 1998. + \newblock \emph{Thai Part-Of-Speech Tagged Corpus: ORCHID.} + \newblock Proceedings of Oriental COCOSDA Workshop. + \newblock pp. 131--138. + \newblock http://www.links.nectec.or.th/virach/publication.html. + +\bibitem{virach:97} + Sornlertlamvanich,~V., Charoenporn,~T. and Isahra,~H. + \newblock 1997. + \newblock \emph{ORCHID: Thai Part-Of-Speech Tagged Corpus.} + \newblock National Electronics and Computer Technology Center, Thailand. + \newblock TR-NECTEC-1997-001, + \newblock pp. 5--19. + \newblock http://www.links.nectec.or.th/virach/publication.html. + +\bibitem{virach:96} + Sornlertlamvanich,~V. and Hozumi,~T. + \newblock 1996. + \newblock \emph{The Automatic Extraction of Open Compounds from + Text Corpora.} + \newblock COLING-96, + \newblock pp. 1143--1146. + \newblock http://www.links.nectec.or.th/virach/publication.html. + +\bibitem{enc-ling:88} + Takashi,~K., Rokuro,~K. and Eiichi,~C. + \newblock 1988. + \newblock The Sanseido Encyclopaedia of Linguistics. + +\end{thebibliography} + +\end{document} diff --git a/Master/texmf-dist/source/latex/thailatex/doc/test-orchid.sh b/Master/texmf-dist/source/latex/thailatex/doc/test-orchid.sh new file mode 100644 index 00000000000..090ad60cdcb --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/test-orchid.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +make orchid.dvi +make orchid.ps +make orchid.pdf diff --git a/Master/texmf-dist/source/latex/thailatex/doc/test-teststd.sh b/Master/texmf-dist/source/latex/thailatex/doc/test-teststd.sh new file mode 100644 index 00000000000..fb3166e5ad2 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/test-teststd.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +make teststd.dvi +make teststd.ps +make teststd.pdf diff --git a/Master/texmf-dist/source/latex/thailatex/doc/test-utf.sh b/Master/texmf-dist/source/latex/thailatex/doc/test-utf.sh new file mode 100644 index 00000000000..60647fc8346 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/test-utf.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +make utf-example.dvi +make utf-example.ps +make utf-example.pdf diff --git a/Master/texmf-dist/source/latex/thailatex/doc/teststd.tex b/Master/texmf-dist/source/latex/thailatex/doc/teststd.tex new file mode 100644 index 00000000000..b0b5d2b8c64 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/teststd.tex @@ -0,0 +1,798 @@ +%% +%% Test standard sentences for every fonts +%% 2004/02/06 Poonlap Veerathanabutr <poonlap@linux.thai.net> +%% - rewrite this file +%% +\documentclass[twocolumn,a4paper]{article} +\usepackage[english,thai]{babel} + + +\begin{document} +\pagestyle{empty} +\vfil +\begin{figure*} +\Huge +\hspace*{.3\textwidth}\usefont{LTH}{kinnari}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{garuda}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{norasi}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{ttype}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{ttypist}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{purisa}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{loma}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{waree}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{umpush}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\hspace*{.3\textwidth}\usefont{LTH}{sawasdee}{m}{n}ẺÍÑ¡ÉÃä·Âã¹ {\latintext\LaTeX}\\ +\end{figure*} +\vfil +\clearpage + +\pagestyle{plain} +\section{\usefont{LTH}{kinnari}{b}{n}Kinnari -- ¡Ô¹ÃÕ\protect\footnote{¨Ò¡â¤Ã§¡Òÿ͹µìáËè§ªÒµÔ (National Font Project)}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â\protect\footnote{â´ÂÊÁÒ¤Á¤ÍÁ¾ÔÇàµÍÃìáË觻ÃÐà·Èä·Âã¹¾ÃкÃÁÃÒªÙ»¶ÑÁÀì}} + +\usefont{LTH}{kinnari}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{kinnari}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{kinnari}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{kinnari}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{kinnari}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{kinnari}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{kinnari}{m}{sl} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{kinnari}{b}{sl} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{kinnari}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{kinnari}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{kinnari}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{kinnari}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{kinnari}{m}{sl} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{kinnari}{b}{sl} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{kinnari}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{kinnari}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{kinnari}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{kinnari}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{kinnari}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{kinnari}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\vfil + + +\section{\usefont{LTH}{garuda}{b}{n}Garuda -- ¤Ãر\protect\footnote{¨Ò¡â¤Ã§¡Òÿ͹µìáËè§ªÒµÔ (National Font Project)}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{garuda}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{garuda}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{garuda}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{garuda}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{garuda}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{garuda}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{garuda}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{garuda}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{garuda}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{garuda}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{garuda}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{garuda}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{garuda}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{garuda}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{garuda}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{garuda}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\vfil + +\section{\usefont{LTH}{norasi}{b}{n}Norasi -- ¹ÃÊÕËì\protect\footnote{¨Ò¡â¤Ã§¡Òÿ͹µìáËè§ªÒµÔ (National Font Project)}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{norasi}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{norasi}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{norasi}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{norasi}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{norasi}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{norasi}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{norasi}{m}{sl} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{norasi}{b}{sl} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{norasi}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{norasi}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{norasi}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{norasi}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{norasi}{m}{sl} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{norasi}{b}{sl} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{norasi}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{norasi}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{norasi}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{norasi}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{norasi}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{norasi}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\vfil + + +\section{\usefont{LTH}{ttype}{b}{n}Tlwg Typewriter\protect\footnote{â´Â Thai Linux Working Group (TLWG)}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{ttype}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{ttype}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{ttype}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{ttype}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{ttype}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttype}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttype}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttype}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttype}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{ttype}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{ttype}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{ttype}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{ttype}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{ttype}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{ttype}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{ttype}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ + + +\section{\usefont{LTH}{ttypist}{b}{n}Tlwg Typist\protect\footnote{â´Â Thai Linux Working Group (TLWG)}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{ttypist}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{ttypist}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{ttypist}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{ttypist}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{ttypist}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttypist}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttypist}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttypist}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{ttypist}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{ttypist}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{ttypist}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{ttypist}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{ttypist}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{ttypist}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{ttypist}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{ttypist}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ + + +\section{\usefont{LTH}{purisa}{m}{n}Purisa -- ÀÙÃÔÊÒ\protect\footnote{â´Â Thai Linux Working Group (TLWG)}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{purisa}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{purisa}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{purisa}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{purisa}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{purisa}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{purisa}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{purisa}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{purisa}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{purisa}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{purisa}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{purisa}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{purisa}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{purisa}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{purisa}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{purisa}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{purisa}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ + + +\section{\usefont{LTH}{loma}{b}{n}Loma -- âÅÁÒ\protect\footnote{¨Ò¡ÈÙ¹Âìà·¤â¹âÅÂÕÍÔàÅç¡·Ã͹ԡÊìáÅФÍÁ¾ÔÇàµÍÃìáËè§ªÒµÔ (NECTEC)}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{loma}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{loma}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{loma}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{loma}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{loma}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{loma}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{loma}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{loma}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{loma}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{loma}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{loma}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{loma}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{loma}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{loma}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{loma}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{loma}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\vfil + + +\section{\usefont{LTH}{waree}{b}{n}Waree -- ÇÒÃÕ\protect\footnote{â´Â ¤Ø³ÇÔ·ÂÒ äµÃÊÒÃÇѲ¹Ð}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{waree}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{waree}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{waree}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{waree}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{waree}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{waree}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{waree}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{waree}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{waree}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{waree}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{waree}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{waree}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{waree}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{waree}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{waree}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{waree}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\vfil + + +\section{\usefont{LTH}{umpush}{b}{n}Umpush -- ÍÑÁ¾Øª\protect\footnote{â´Â ¤Ø³ÇÔ·ÂÒ äµÃÊÒÃÇѲ¹Ð}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{umpush}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{umpush}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{umpush}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{umpush}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{umpush}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{umpush}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{umpush}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{umpush}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{umpush}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{umpush}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{umpush}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{umpush}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{umpush}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{umpush}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{umpush}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{umpush}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\vfil + + +\section{\usefont{LTH}{sawasdee}{b}{n}Sawasdee -- ÊÇÑÊ´Õ\protect\footnote{â´Â ¤Ø³¾Å ÍØ´ÁÇÔ·ÂҹءÙÅ}} +\subsection{µÑÇÍÂèÒ§»ÃÐâ¤ÀÒÉÒä·Â} + +\usefont{LTH}{sawasdee}{m}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{sawasdee}{b}{n} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{sawasdee}{m}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\usefont{LTH}{sawasdee}{b}{it} +à»ç¹Á¹ØÉÂìÊØ´»ÃÐàÊÃÔ°àÅÔȤس¤èÒ\\ +¡ÇèÒºÃôҽ٧ÊѵÇìà´ÃѨ©Ò¹ \\ +¨§½èҿѹ¾Ñ²¹ÒÇÔªÒ¡Òà \\ +ÍÂèÒÅéÒ§¼ÅÒÄåà¢è¹¦èÒºÕ±Òã¤Ã\\ +äÁè¶×Íâ·Éâ¡Ã¸áªè§«Ñ´ÎÖ´ÎÑ´´èÒ \\ +ËÑ´ÍÀÑÂàËÁ×͹¡ÕÌÒÍѪ¬ÒÊÑ \\ +»¯ÔºÑµÔ»Ãоĵԡ®¡Ó˹´ã¨ \\ +¾Ù´¨ÒãËé¨êÐæ ¨ëÒæ ¹èҿѧàÍÂÏ\\ + +\subsection{µÑÇÍÂèÒ§ÀÒÉÒÍѧ¡ÄÉ} +\usefont{LTH}{sawasdee}{m}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{sawasdee}{b}{n} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{sawasdee}{m}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{sawasdee}{b}{it} +The quick brown fox jumps over the lazy dog.\\ +\usefont{LTH}{sawasdee}{m}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{sawasdee}{b}{n} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{sawasdee}{m}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ +\usefont{LTH}{sawasdee}{b}{it} +\MakeUppercase{The quick brown fox jumps over the lazy dog.}\\ + + +\subsection{¡ÒèѴÃдѺµÑÇÍÑ¡ÉÃáÅеÑÇÍÑ¡ÉþÔàÈÉ} +\noindent +\usefont{LTH}{sawasdee}{m}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{sawasdee}{b}{n} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{sawasdee}{m}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\usefont{LTH}{sawasdee}{b}{it} +·Õè ·èÒ ·Ôé§ ·éÒ ¡Ôê§ ¡ê§ µÕë µëÒ ºè¹ »è¹, ºé¹ »é¹, ºê¹ »ê¹, ºë¹ »ë¹ ºÔ¹ »Ô¹ ºÕ¹ »Õ¹ ºÔè¹ »Ôè¹ ºÑ¹ »Ñè¹ ºÑè¹ ¡ç »ç »Ùè Ø Ù Ú ° °Ø °Ù °Ú ¡Ø ®Ø ®Ù ®Ú ¯Ø ¯Ù ¯Ú ºÓ ºèÓ »Ó »èÓ -\textyamakkan{} \textfongmun{} \textangkhankhu{} \textkhomut{} - -- --- `` '' ff fi tt ti AV\\ +\vfil + + +\end{document} diff --git a/Master/texmf-dist/source/latex/thailatex/doc/thai.pdf b/Master/texmf-dist/source/latex/thailatex/doc/thai.pdf Binary files differnew file mode 100644 index 00000000000..2e6f6990e97 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/thai.pdf diff --git a/Master/texmf-dist/source/latex/thailatex/doc/utf-example.tex b/Master/texmf-dist/source/latex/thailatex/doc/utf-example.tex new file mode 100644 index 00000000000..28a97f074e0 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/utf-example.tex @@ -0,0 +1,91 @@ +% An example of UTF-8 usage with thailatex. +% +% Created: 2009-07-27 +% Author: Theppitak Karoonboonyanan <thep@linux.thai.net> +% +% You will need some additional language packs to compile this document. +% +% For TeXLive: +% - texlive-lang-greek +% - texlive-lang-spanish +% - texlive-lang-french +% - texlive-lang-cyrillic +% +\documentclass{article} +\usepackage[greek,spanish,french,russian,english,thai,thainumber]{babel} +\usepackage[utf8x]{inputenc} + +\begin{document} + +\title{ตัวà¸à¸¢à¹ˆà¸²à¸‡à¸à¸²à¸£à¹ƒà¸Šà¹‰ UTF-8} + +\maketitle + +\section{ภาษาที่ทดสà¸à¸š} + +\begin{enumerate} + \item ภาษาไทย + \item \foreignlanguage{english}{English} --- ภาษาà¸à¸±à¸‡à¸à¸¤à¸© + \item \foreignlanguage{greek}{Ελληνικά} --- ภาษาà¸à¸£à¸µà¸ + \item \foreignlanguage{spanish}{Español} --- ภาษาสเปน + \item \foreignlanguage{french}{Français} --- ภาษาà¸à¸£à¸±à¹ˆà¸‡à¹€à¸¨à¸ª + \item \foreignlanguage{russian}{РуÑÑкий} --- ภาษารัสเซีย +\end{enumerate} + +\section{ใช้คำสั่งทีละข้à¸à¸„วาม} + +ภาษาไทย -- \foreignlanguage{english}{English} -- +\foreignlanguage{greek}{Ελληνικά} -- \foreignlanguage{spanish}{Español} -- +\foreignlanguage{french}{Français} -- \foreignlanguage{russian}{РуÑÑкий} + +\section{ใช้คำสั่งเปลี่ยนภาษา} + +ภาษาไทย -- \selectlanguage{english} English \selectlanguage{thai} -- +\selectlanguage{greek} Ελληνικά \selectlanguage{thai} -- +\selectlanguage{spanish} Español \selectlanguage{thai} -- +\selectlanguage{french} Français \selectlanguage{thai} -- +\selectlanguage{russian} РуÑÑкий \selectlanguage{thai} + +\section{ใช้ environment} + +ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย +ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย +ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย +ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย ภาษาไทย + +\begin{otherlanguage*}{english} +English English English English English English English English English English +English English English English English English English English English English +English English English English English English English English English English +English English English English English English English English English English +\end{otherlanguage*} + +\begin{otherlanguage*}{greek} +Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά +Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά +Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά +Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά Ελληνικά +\end{otherlanguage*} + +\begin{otherlanguage*}{spanish} +Español Español Español Español Español Español Español Español Español +Español Español Español Español Español Español Español Español Español +Español Español Español Español Español Español Español Español Español +Español Español Español Español Español Español Español Español Español +\end{otherlanguage*} + +\begin{otherlanguage*}{french} +Français Français Français Français Français Français Français Français +Français Français Français Français Français Français Français Français +Français Français Français Français Français Français Français Français +Français Français Français Français Français Français Français Français +\end{otherlanguage*} + +\begin{otherlanguage*}{russian} +РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий +РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий +РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий +РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий РуÑÑкий +\end{otherlanguage*} + +\end{document} diff --git a/Master/texmf-dist/source/latex/thailatex/emacs/Makefile.am b/Master/texmf-dist/source/latex/thailatex/emacs/Makefile.am new file mode 100644 index 00000000000..2c4042ed053 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/emacs/Makefile.am @@ -0,0 +1,32 @@ +EXTRA_DIST = thai-latex-setup.el + +emacslispdir = $(emacsdir)/site-lisp +emacslisp_DATA = thai-latex-setup.el + +EMACS_SITE_START=$(DESTDIR)$(emacslispdir)/site-start.el + +install-data-hook: + @if test -z "$(DESTDIR)" ; then \ + if [ -f $(EMACS_SITE_START) ] ; then \ + sed -e '/thai-latex-setup/d' $(EMACS_SITE_START) \ + > /tmp/tmp.$$$$ ; \ + mv /tmp/tmp.$$$$ $(EMACS_SITE_START) ; \ + fi ; \ + echo '(load-library "thai-latex-setup")' >> $(EMACS_SITE_START) ; \ + else \ + echo "***" ; \ + echo "*** Warning: Emacs site-start.el not patched" ; \ + echo "***" ; \ + echo "*** update the file on the target system" ; \ + echo "*** using 'sync-thailatex install'" ; \ + echo "***" ; \ + fi + + +uninstall-hook: + if [ -f $(EMACS_SITE_START) ] ; then \ + sed -e '/thai-latex-setup/d' $(EMACS_SITE_START) \ + > /tmp/tmp.$$$$ ; \ + mv /tmp/tmp.$$$$ $(EMACS_SITE_START) ; \ + fi + diff --git a/Master/texmf-dist/source/latex/thailatex/emacs/Makefile.in b/Master/texmf-dist/source/latex/thailatex/emacs/Makefile.in new file mode 100644 index 00000000000..3f6bd052b23 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/emacs/Makefile.in @@ -0,0 +1,392 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = emacs +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(emacslispdir)" +DATA = $(emacslisp_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AFM2TFM = @AFM2TFM@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CTTEX = @CTTEX@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DVIPS = @DVIPS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LATEX = @LATEX@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PF2AFM = @PF2AFM@ +PS2PDF = @PS2PDF@ +RMDIR = @RMDIR@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SWATH = @SWATH@ +TEXHASH = @TEXHASH@ +UPDMAP = @UPDMAP@ +VERSION = @VERSION@ +VPTOVF = @VPTOVF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +emacsdir = @emacsdir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +texmfdir = @texmfdir@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +EXTRA_DIST = thai-latex-setup.el +emacslispdir = $(emacsdir)/site-lisp +emacslisp_DATA = thai-latex-setup.el +EMACS_SITE_START = $(DESTDIR)$(emacslispdir)/site-start.el +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu emacs/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu emacs/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-emacslispDATA: $(emacslisp_DATA) + @$(NORMAL_INSTALL) + test -z "$(emacslispdir)" || $(MKDIR_P) "$(DESTDIR)$(emacslispdir)" + @list='$(emacslisp_DATA)'; test -n "$(emacslispdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(emacslispdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(emacslispdir)" || exit $$?; \ + done + +uninstall-emacslispDATA: + @$(NORMAL_UNINSTALL) + @list='$(emacslisp_DATA)'; test -n "$(emacslispdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(emacslispdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(emacslispdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(emacslispdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-emacslispDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-emacslispDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +.MAKE: install-am install-data-am install-strip uninstall-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-hook install-dvi install-dvi-am \ + install-emacslispDATA install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ + uninstall-am uninstall-emacslispDATA uninstall-hook + + +install-data-hook: + @if test -z "$(DESTDIR)" ; then \ + if [ -f $(EMACS_SITE_START) ] ; then \ + sed -e '/thai-latex-setup/d' $(EMACS_SITE_START) \ + > /tmp/tmp.$$$$ ; \ + mv /tmp/tmp.$$$$ $(EMACS_SITE_START) ; \ + fi ; \ + echo '(load-library "thai-latex-setup")' >> $(EMACS_SITE_START) ; \ + else \ + echo "***" ; \ + echo "*** Warning: Emacs site-start.el not patched" ; \ + echo "***" ; \ + echo "*** update the file on the target system" ; \ + echo "*** using 'sync-thailatex install'" ; \ + echo "***" ; \ + fi + +uninstall-hook: + if [ -f $(EMACS_SITE_START) ] ; then \ + sed -e '/thai-latex-setup/d' $(EMACS_SITE_START) \ + > /tmp/tmp.$$$$ ; \ + mv /tmp/tmp.$$$$ $(EMACS_SITE_START) ; \ + fi + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Master/texmf-dist/source/latex/thailatex/emacs/thai-latex-setup.el b/Master/texmf-dist/source/latex/thailatex/emacs/thai-latex-setup.el new file mode 100644 index 00000000000..7f47946f0da --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/emacs/thai-latex-setup.el @@ -0,0 +1,11 @@ +;; +;; tLaTeX setup +;; +(defun Thai-LaTeX-mode-hook () + (or (assoc "tLaTeX" TeX-command-list) + (setq TeX-command-list + (cons + (list "tLaTeX" "cp -p %t _%t; swath -f latex < _%t > %t; latex '\\nonstopmode\\input{%t}'; cp -p _%t %t; rm _%t" 'TeX-run-LaTeX nil t) + TeX-command-list)))) + +(add-hook 'LaTeX-mode-hook 'Thai-LaTeX-mode-hook) diff --git a/Master/texmf-dist/source/latex/thailatex/fonts/Makefile.am b/Master/texmf-dist/source/latex/thailatex/fonts/Makefile.am new file mode 100644 index 00000000000..36b0c0ca963 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/fonts/Makefile.am @@ -0,0 +1,140 @@ +type1dir = $(texmfdir)/fonts/type1/public/thai +afmdir = $(texmfdir)/fonts/afm/public/thai +tfmdir = $(texmfdir)/fonts/tfm/public/thai +vfdir = $(texmfdir)/fonts/vf/public/thai + +encdir = $(texmfdir)/fonts/enc/dvips/thai +mapdir = $(texmfdir)/fonts/map/dvips/thai + +enc_DATA = lthuni.enc + +map_DATA = thai.map + +FONTS = \ + kinnari \ + kinnari_b \ + kinnari_o \ + kinnari_i \ + kinnari_bo \ + kinnari_bi \ + garuda \ + garuda_b \ + garuda_o \ + garuda_bo \ + norasi \ + norasi_b \ + norasi_o \ + norasi_i \ + norasi_bo \ + norasi_bi \ + ttype \ + ttype_b \ + ttype_o \ + ttype_bo \ + ttypist \ + ttypist_b \ + ttypist_o \ + ttypist_bo \ + purisa \ + purisa_b \ + purisa_o \ + purisa_bo \ + loma \ + loma_b \ + loma_o \ + loma_bo \ + waree \ + waree_b \ + waree_o \ + waree_bo \ + umpush \ + umpush_b \ + umpush_o \ + umpush_bo \ + sawasdee \ + sawasdee_b \ + sawasdee_o \ + sawasdee_bo + +PFBFILES = $(FONTS:%=%.pfb) +AFMFILES = $(FONTS:%=%.afm) +TFMFILES = $(FONTS:%=%.tfm) +RTFMFILES = $(FONTS:%=r%.tfm) +VFFILES = $(FONTS:%=%.vf) + +type1_DATA = $(PFBFILES) + +afm_DATA = $(AFMFILES) + +tfm_DATA = $(TFMFILES) $(RTFMFILES) + +vf_DATA = $(VFFILES) + +EXTRA_DIST = \ + lthuni.enc \ + thailigs.enc \ + thai-dummy.afm \ + $(PFBFILES) \ + $(AFMFILES) + +# Local Rules + +thailigs.vpl: thailigs.enc thai-dummy.afm + if [ ! -f thai-dummy.afm ]; then \ + $(LN_S) $(srcdir)/thai-dummy.afm thai-dummy.afm; \ + fi + if [ ! -f thailigs.enc ]; then \ + $(LN_S) $(srcdir)/thailigs.enc thailigs.enc; \ + fi + $(AFM2TFM) thai-dummy.afm -v $@ -T thailigs.enc thailigs.tfm + +r%.tfm: %.afm lthuni.enc +%.vpl: %.afm lthuni.enc thailigs.vpl + if [ ! -f $*.afm ]; then \ + $(LN_S) $(srcdir)/$*.afm $*.afm; \ + fi + if [ ! -f lthuni.enc ]; then \ + $(LN_S) $(srcdir)/lthuni.enc lthuni.enc; \ + fi + $(AFM2TFM) $*.afm -v $*.vpl -T lthuni.enc r$*.tfm \ + | $(SED) "s/$$/ <$*.pfb/" >> thai.map + TMPFILE=`mktemp /tmp/tltx.XXXXXXXXX` && \ + $(AWK) "BEGIN {show=1} /LIGTABLE/ {show=0} {if(show) print}" $*.vpl > $$TMPFILE && \ + $(AWK) "BEGIN {show=0} /LIGTABLE/ {show=1} /CHARACTER/ {show=0} {if(show) print}" thailigs.vpl >> $$TMPFILE && \ + $(AWK) "BEGIN {show=0} /CHARACTER/ {show=1} {if(show) print}" $*.vpl >> $$TMPFILE && \ + mv $$TMPFILE $*.vpl + +%.tfm: %.vpl + $(VPTOVF) $* + +thai.map: $(tfm_DATA) + LC_COLLATE=C sort $@ | uniq > /tmp/tmp.$$$$; mv /tmp/tmp.$$$$ $@ + +# For tetex > 1.0.7 only +# +# install-data-hook: +# $(UPDMAP) --enable Map thai.map +# +# uninstall-hook: +# $(UPDMAP) --disable thai.map + +install-data-hook: + @if test -z "$(DESTDIR)" ; then \ + $(TEXHASH) ; \ + $(UPDMAP) --disable thai.map --nohash --nomkmap ; \ + $(UPDMAP) --enable Map thai.map ; \ + else \ + echo "***" ; \ + echo "*** Warning: tetex config files not patched" ; \ + echo "***" ; \ + echo "*** update these files on the target system" ; \ + echo "*** using sync-thailatex script" ; \ + echo "***" ; \ + fi + +uninstall-hook: + $(TEXHASH) + $(UPDMAP) --disable thai.map + +CLEANFILES = *.vpl *.vf *.tfm thai.map + diff --git a/Master/texmf-dist/source/latex/thailatex/fonts/Makefile.in b/Master/texmf-dist/source/latex/thailatex/fonts/Makefile.in new file mode 100644 index 00000000000..84b31d5d21c --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/fonts/Makefile.in @@ -0,0 +1,603 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = fonts +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(afmdir)" "$(DESTDIR)$(encdir)" \ + "$(DESTDIR)$(mapdir)" "$(DESTDIR)$(tfmdir)" \ + "$(DESTDIR)$(type1dir)" "$(DESTDIR)$(vfdir)" +DATA = $(afm_DATA) $(enc_DATA) $(map_DATA) $(tfm_DATA) $(type1_DATA) \ + $(vf_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AFM2TFM = @AFM2TFM@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CTTEX = @CTTEX@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DVIPS = @DVIPS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LATEX = @LATEX@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PF2AFM = @PF2AFM@ +PS2PDF = @PS2PDF@ +RMDIR = @RMDIR@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SWATH = @SWATH@ +TEXHASH = @TEXHASH@ +UPDMAP = @UPDMAP@ +VERSION = @VERSION@ +VPTOVF = @VPTOVF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +emacsdir = @emacsdir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +texmfdir = @texmfdir@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +type1dir = $(texmfdir)/fonts/type1/public/thai +afmdir = $(texmfdir)/fonts/afm/public/thai +tfmdir = $(texmfdir)/fonts/tfm/public/thai +vfdir = $(texmfdir)/fonts/vf/public/thai +encdir = $(texmfdir)/fonts/enc/dvips/thai +mapdir = $(texmfdir)/fonts/map/dvips/thai +enc_DATA = lthuni.enc +map_DATA = thai.map +FONTS = \ + kinnari \ + kinnari_b \ + kinnari_o \ + kinnari_i \ + kinnari_bo \ + kinnari_bi \ + garuda \ + garuda_b \ + garuda_o \ + garuda_bo \ + norasi \ + norasi_b \ + norasi_o \ + norasi_i \ + norasi_bo \ + norasi_bi \ + ttype \ + ttype_b \ + ttype_o \ + ttype_bo \ + ttypist \ + ttypist_b \ + ttypist_o \ + ttypist_bo \ + purisa \ + purisa_b \ + purisa_o \ + purisa_bo \ + loma \ + loma_b \ + loma_o \ + loma_bo \ + waree \ + waree_b \ + waree_o \ + waree_bo \ + umpush \ + umpush_b \ + umpush_o \ + umpush_bo \ + sawasdee \ + sawasdee_b \ + sawasdee_o \ + sawasdee_bo + +PFBFILES = $(FONTS:%=%.pfb) +AFMFILES = $(FONTS:%=%.afm) +TFMFILES = $(FONTS:%=%.tfm) +RTFMFILES = $(FONTS:%=r%.tfm) +VFFILES = $(FONTS:%=%.vf) +type1_DATA = $(PFBFILES) +afm_DATA = $(AFMFILES) +tfm_DATA = $(TFMFILES) $(RTFMFILES) +vf_DATA = $(VFFILES) +EXTRA_DIST = \ + lthuni.enc \ + thailigs.enc \ + thai-dummy.afm \ + $(PFBFILES) \ + $(AFMFILES) + +CLEANFILES = *.vpl *.vf *.tfm thai.map +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu fonts/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu fonts/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-afmDATA: $(afm_DATA) + @$(NORMAL_INSTALL) + test -z "$(afmdir)" || $(MKDIR_P) "$(DESTDIR)$(afmdir)" + @list='$(afm_DATA)'; test -n "$(afmdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(afmdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(afmdir)" || exit $$?; \ + done + +uninstall-afmDATA: + @$(NORMAL_UNINSTALL) + @list='$(afm_DATA)'; test -n "$(afmdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(afmdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(afmdir)" && rm -f $$files +install-encDATA: $(enc_DATA) + @$(NORMAL_INSTALL) + test -z "$(encdir)" || $(MKDIR_P) "$(DESTDIR)$(encdir)" + @list='$(enc_DATA)'; test -n "$(encdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(encdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(encdir)" || exit $$?; \ + done + +uninstall-encDATA: + @$(NORMAL_UNINSTALL) + @list='$(enc_DATA)'; test -n "$(encdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(encdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(encdir)" && rm -f $$files +install-mapDATA: $(map_DATA) + @$(NORMAL_INSTALL) + test -z "$(mapdir)" || $(MKDIR_P) "$(DESTDIR)$(mapdir)" + @list='$(map_DATA)'; test -n "$(mapdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(mapdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(mapdir)" || exit $$?; \ + done + +uninstall-mapDATA: + @$(NORMAL_UNINSTALL) + @list='$(map_DATA)'; test -n "$(mapdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(mapdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(mapdir)" && rm -f $$files +install-tfmDATA: $(tfm_DATA) + @$(NORMAL_INSTALL) + test -z "$(tfmdir)" || $(MKDIR_P) "$(DESTDIR)$(tfmdir)" + @list='$(tfm_DATA)'; test -n "$(tfmdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(tfmdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(tfmdir)" || exit $$?; \ + done + +uninstall-tfmDATA: + @$(NORMAL_UNINSTALL) + @list='$(tfm_DATA)'; test -n "$(tfmdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(tfmdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(tfmdir)" && rm -f $$files +install-type1DATA: $(type1_DATA) + @$(NORMAL_INSTALL) + test -z "$(type1dir)" || $(MKDIR_P) "$(DESTDIR)$(type1dir)" + @list='$(type1_DATA)'; test -n "$(type1dir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(type1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(type1dir)" || exit $$?; \ + done + +uninstall-type1DATA: + @$(NORMAL_UNINSTALL) + @list='$(type1_DATA)'; test -n "$(type1dir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(type1dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(type1dir)" && rm -f $$files +install-vfDATA: $(vf_DATA) + @$(NORMAL_INSTALL) + test -z "$(vfdir)" || $(MKDIR_P) "$(DESTDIR)$(vfdir)" + @list='$(vf_DATA)'; test -n "$(vfdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(vfdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(vfdir)" || exit $$?; \ + done + +uninstall-vfDATA: + @$(NORMAL_UNINSTALL) + @list='$(vf_DATA)'; test -n "$(vfdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(vfdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(vfdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(afmdir)" "$(DESTDIR)$(encdir)" "$(DESTDIR)$(mapdir)" "$(DESTDIR)$(tfmdir)" "$(DESTDIR)$(type1dir)" "$(DESTDIR)$(vfdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-afmDATA install-encDATA install-mapDATA \ + install-tfmDATA install-type1DATA install-vfDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-afmDATA uninstall-encDATA uninstall-mapDATA \ + uninstall-tfmDATA uninstall-type1DATA uninstall-vfDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +.MAKE: install-am install-data-am install-strip uninstall-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-afmDATA install-am install-data \ + install-data-am install-data-hook install-dvi install-dvi-am \ + install-encDATA install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-mapDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip install-tfmDATA install-type1DATA \ + install-vfDATA installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am uninstall \ + uninstall-afmDATA uninstall-am uninstall-encDATA \ + uninstall-hook uninstall-mapDATA uninstall-tfmDATA \ + uninstall-type1DATA uninstall-vfDATA + + +# Local Rules + +thailigs.vpl: thailigs.enc thai-dummy.afm + if [ ! -f thai-dummy.afm ]; then \ + $(LN_S) $(srcdir)/thai-dummy.afm thai-dummy.afm; \ + fi + if [ ! -f thailigs.enc ]; then \ + $(LN_S) $(srcdir)/thailigs.enc thailigs.enc; \ + fi + $(AFM2TFM) thai-dummy.afm -v $@ -T thailigs.enc thailigs.tfm + +r%.tfm: %.afm lthuni.enc +%.vpl: %.afm lthuni.enc thailigs.vpl + if [ ! -f $*.afm ]; then \ + $(LN_S) $(srcdir)/$*.afm $*.afm; \ + fi + if [ ! -f lthuni.enc ]; then \ + $(LN_S) $(srcdir)/lthuni.enc lthuni.enc; \ + fi + $(AFM2TFM) $*.afm -v $*.vpl -T lthuni.enc r$*.tfm \ + | $(SED) "s/$$/ <$*.pfb/" >> thai.map + TMPFILE=`mktemp /tmp/tltx.XXXXXXXXX` && \ + $(AWK) "BEGIN {show=1} /LIGTABLE/ {show=0} {if(show) print}" $*.vpl > $$TMPFILE && \ + $(AWK) "BEGIN {show=0} /LIGTABLE/ {show=1} /CHARACTER/ {show=0} {if(show) print}" thailigs.vpl >> $$TMPFILE && \ + $(AWK) "BEGIN {show=0} /CHARACTER/ {show=1} {if(show) print}" $*.vpl >> $$TMPFILE && \ + mv $$TMPFILE $*.vpl + +%.tfm: %.vpl + $(VPTOVF) $* + +thai.map: $(tfm_DATA) + LC_COLLATE=C sort $@ | uniq > /tmp/tmp.$$$$; mv /tmp/tmp.$$$$ $@ + +# For tetex > 1.0.7 only +# +# install-data-hook: +# $(UPDMAP) --enable Map thai.map +# +# uninstall-hook: +# $(UPDMAP) --disable thai.map + +install-data-hook: + @if test -z "$(DESTDIR)" ; then \ + $(TEXHASH) ; \ + $(UPDMAP) --disable thai.map --nohash --nomkmap ; \ + $(UPDMAP) --enable Map thai.map ; \ + else \ + echo "***" ; \ + echo "*** Warning: tetex config files not patched" ; \ + echo "***" ; \ + echo "*** update these files on the target system" ; \ + echo "*** using sync-thailatex script" ; \ + echo "***" ; \ + fi + +uninstall-hook: + $(TEXHASH) + $(UPDMAP) --disable thai.map + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Master/texmf-dist/source/latex/thailatex/fonts/lthuni.enc b/Master/texmf-dist/source/latex/thailatex/fonts/lthuni.enc new file mode 100644 index 00000000000..e5c098c4d93 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/fonts/lthuni.enc @@ -0,0 +1,91 @@ +% LTHUNI.enc +% by Poonlap Veerathanabutr <poonlap@linux.thai.net> +% 2002-12-30 +% 2003-09-15 Chanop Silpa-Anan <chanop@debian.org> +% * Use new unicode variant name. +% +% This is LaTeX LTH (Locale Thai) encoding for unicode encoded fonts +% + +/LTHEncoding [ +% 0x00 +/.notdef /uni0E38 /uni0E39 /uni0E3A +/.notdef /.notdef /.notdef /.notdef +/.notdef /.notdef /.notdef /.notdef +/.notdef /quotesinglbase /guilsinglleft /guilsinglright +% 0x10 +/exclamdown /questiondown /quotedblbase /guillemotleft +/guillemotright /.notdef /.notdef /.notdef +/perthousand /dotlessi /dotlessj /ff +/fi /fl /ffi /ffl +% 0x20 +/space /exclam /quotedbl /numbersign +/dollar /percent /ampersand /quoteright +/parenleft /parenright /asterisk /plus +/comma /hyphen /period /slash +% 0x30 +/zero /one /two /three +/four /five /six /seven +/eight /nine /colon /semicolon +/less /equal /greater /question +% 0x40 +/at /A /B /C +/D /E /F /G +/H /I /J /K +/L /M /N /O +% 0x50 +/P /Q /R /S +/T /U /V /W +/X /Y /Z /bracketleft +/backslash /bracketright /asciicircum /underscore +% 0x60 +/quoteleft /a /b /c +/d /e /f /g +/h /i /j /k +/l /m /n /o +% 0x70 +/p /q /r /s +/t /u /v /w +/x /y /z /braceleft +/bar /braceright /asciitilde /.notdef +% 0x80 +/uni0E10.descless /uni0E34.left /uni0E35.left /uni0E36.left +/uni0E37.left /ellipsis /uni0E48.low_left /uni0E49.low_left +/uni0E4A.low_left /uni0E4B.low_left /uni0E4C.low_left /uni0E48 +/uni0E49 /uni0E4A /uni0E4B /uni0E4C +% 0x90 +/uni0E0D.descless /quoteleft /quoteright /quotedblleft +/quotedblright /bullet /endash /emdash +/uni0E31.left /uni0E4D.left /uni0E47.left /uni0E48.left +/uni0E49.left /uni0E4A.left /uni0E4B.left /uni0E4C.left +% 0xA0 +/nonbreakingspace /uni0E01 /uni0E02 /uni0E03 +/uni0E04 /uni0E05 /uni0E06 /uni0E07 +/uni0E08 /uni0E09 /uni0E0A /uni0E0B +/uni0E0C /uni0E0D /uni0E0E /uni0E0F +% 0xB0 +/uni0E10 /uni0E11 /uni0E12 /uni0E13 +/uni0E14 /uni0E15 /uni0E16 /uni0E17 +/uni0E18 /uni0E19 /uni0E1A /uni0E1B +/uni0E1C /uni0E1D /uni0E1E /uni0E1F +% 0xC0 +/uni0E20 /uni0E21 /uni0E22 /uni0E23 +/uni0E24 /uni0E25 /uni0E26 /uni0E27 +/uni0E28 /uni0E29 /uni0E2A /uni0E2B +/uni0E2C /uni0E2D /uni0E2E /uni0E2F +% 0xD0 +/uni0E30 /uni0E31 /uni0E32 /uni0E33 +/uni0E34 /uni0E35 /uni0E36 /uni0E37 +/uni0E38 /uni0E39 /uni0E3A /.notdef +/zerowidthspace /.notdef /.notdef /uni0E3F +% 0xE0 +/uni0E40 /uni0E41 /uni0E42 /uni0E43 +/uni0E44 /uni0E45 /uni0E46 /uni0E47 +/uni0E48.low /uni0E49.low /uni0E4A.low /uni0E4B.low +/uni0E4C.low /uni0E4D /uni0E4E /uni0E4F +% 0xF0 +/uni0E50 /uni0E51 /uni0E52 /uni0E53 +/uni0E54 /uni0E55 /uni0E56 /uni0E57 +/uni0E58 /uni0E59 /uni0E5A /uni0E5B +/uni0E38.low /uni0E39.low /uni0E3A.low /.notdef +] def diff --git a/Master/texmf-dist/source/latex/thailatex/fonts/thailigs.enc b/Master/texmf-dist/source/latex/thailatex/fonts/thailigs.enc new file mode 100644 index 00000000000..2de09ca3669 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/fonts/thailigs.enc @@ -0,0 +1,286 @@ +% LTHUNI.enc +% by Poonlap Veerathanabutr <poonlap@linux.thai.net> +% 2002-12-30 +% 2003-09-15 Chanop Silpa-Anan <chanop@debian.org> +% * Use new unicode variant name. +% +% This is LaTeX LTH (Locale Thai) encoding for unicode encoded fonts +% +%ligature for making LEFT vowels, tone marks and Nikhahit +%PoPla left vowel +%LIGKERN uni0E1B uni0E31 |=:> uni0E31.left ; +%LIGKERN uni0E1B uni0E34 |=:> uni0E34.left ; +%LIGKERN uni0E1B uni0E35 |=:> uni0E35.left ; +%LIGKERN uni0E1B uni0E36 |=:> uni0E36.left ; +%LIGKERN uni0E1B uni0E37 |=:> uni0E37.left ; +%LIGKERN uni0E1B uni0E38 |=:> uni0E38.left ; +%LIGKERN uni0E1B uni0E39 |=:> uni0E39.left ; +%LIGKERN uni0E1B uni0E3A |=:> uni0E3A.left ; +%LIGKERN uni0E1B uni0E47 |=:> uni0E47.left ; +%Popla left tone marks +%LIGKERN uni0E1B uni0E48.low |=:> uni0E48.low_left ; +%LIGKERN uni0E1B uni0E49.low |=:> uni0E49.low_left ; +%LIGKERN uni0E1B uni0E4A.low |=:> uni0E4A.low_left ; +%LIGKERN uni0E1B uni0E4B.low |=:> uni0E4B.low_left ; +%LIGKERN uni0E1B uni0E33 |=:|> uni0E4D.left ; +%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ; + +%FoFa left vowel +%LIGKERN uni0E1D uni0E31 |=:> uni0E31.left ; +%LIGKERN uni0E1D uni0E34 |=:> uni0E34.left ; +%LIGKERN uni0E1D uni0E35 |=:> uni0E35.left ; +%LIGKERN uni0E1D uni0E36 |=:> uni0E36.left ; +%LIGKERN uni0E1D uni0E37 |=:> uni0E37.left ; +%LIGKERN uni0E1D uni0E38 |=:> uni0E38.left ; +%LIGKERN uni0E1D uni0E39 |=:> uni0E39.left ; +%LIGKERN uni0E1D uni0E3A |=:> uni0E3A.left ; +%LIGKERN uni0E1D uni0E47 |=:> uni0E47.left ; +%FoFa left tone marks +%LIGKERN uni0E1D uni0E48.low |=:> uni0E48.low_left ; +%LIGKERN uni0E1D uni0E49.low |=:> uni0E49.low_left ; +%LIGKERN uni0E1D uni0E4A.low |=:> uni0E4A.low_left ; +%LIGKERN uni0E1D uni0E4B.low |=:> uni0E4B.low_left ; +%LIGKERN uni0E1D uni0E33 |=:|> uni0E4D.left ; +%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ; + +%FoFan left vowel +%LIGKERN uni0E1F uni0E31 |=:> uni0E31.left ; +%LIGKERN uni0E1F uni0E34 |=:> uni0E34.left ; +%LIGKERN uni0E1F uni0E35 |=:> uni0E35.left ; +%LIGKERN uni0E1F uni0E36 |=:> uni0E36.left ; +%LIGKERN uni0E1F uni0E37 |=:> uni0E37.left ; +%LIGKERN uni0E1F uni0E38 |=:> uni0E38.left ; +%LIGKERN uni0E1F uni0E39 |=:> uni0E39.left ; +%LIGKERN uni0E1F uni0E3A |=:> uni0E3A.left ; +%LIGKERN uni0E1F uni0E47 |=:> uni0E47.left ; +%FoFan left tone marks +%LIGKERN uni0E1F uni0E48.low |=:> uni0E48.low_left ; +%LIGKERN uni0E1F uni0E49.low |=:> uni0E49.low_left ; +%LIGKERN uni0E1F uni0E4A.low |=:> uni0E4A.low_left ; +%LIGKERN uni0E1F uni0E4B.low |=:> uni0E4B.low_left ; +%LIGKERN uni0E1F uni0E33 |=:|> uni0E4D.left ; +%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ; + +%LoChula left vowel +%LIGKERN uni0E2C uni0E31 |=:> uni0E31.left ; +%LIGKERN uni0E2C uni0E34 |=:> uni0E34.left ; +%LIGKERN uni0E2C uni0E35 |=:> uni0E35.left ; +%LIGKERN uni0E2C uni0E36 |=:> uni0E36.left ; +%LIGKERN uni0E2C uni0E37 |=:> uni0E37.left ; +%LIGKERN uni0E2C uni0E38 |=:> uni0E38.left ; +%LIGKERN uni0E2C uni0E39 |=:> uni0E39.left ; +%LIGKERN uni0E2C uni0E3A |=:> uni0E3A.left ; +%LIGKERN uni0E2C uni0E47 |=:> uni0E47.left ; +%LoChula left tone marks +%LIGKERN uni0E2C uni0E48.low |=:> uni0E48.low_left ; +%LIGKERN uni0E2C uni0E49.low |=:> uni0E49.low_left ; +%LIGKERN uni0E2C uni0E4A.low |=:> uni0E4A.low_left ; +%LIGKERN uni0E2C uni0E4B.low |=:> uni0E4B.low_left ; +%LIGKERN uni0E2C uni0E33 |=:|> uni0E4D.left ; +%LIGKERN uni0E4D.left uni0E33 |=:> uni0E32 ; + +%ligature for making left SaraAm with HiLeft tone marks +%LIGKERN uni0E48.low_left uni0E33 =:| uni0E48.left ; +%LIGKERN uni0E48.left uni0E33 |=:|> uni0E4D.left ; +%LIGKERN uni0E49.low_left uni0E33 =:| uni0E49.left ; +%LIGKERN uni0E49.left uni0E33 |=:|> uni0E4D.left ; +%LIGKERN uni0E4A.low_left uni0E33 =:| uni0E4A.left ; +%LIGKERN uni0E4A.left uni0E33 |=:|> uni0E4D.left ; +%LIGKERN uni0E4B.low_left uni0E33 =:| uni0E4B.left ; +%LIGKERN uni0E4B.left uni0E33 |=:|> uni0E4D.left ; + +%LIGKERN uni0E48.low uni0E33 =:| uni0E48 ; +%LIGKERN uni0E49.low uni0E33 =:| uni0E49 ; +%LIGKERN uni0E4A.low uni0E33 =:| uni0E4A ; +%LIGKERN uni0E4B.low uni0E33 =:| uni0E4B ; + +%ligature for making HI tone marks +%LIGKERN uni0E31 uni0E48.low |=:> uni0E48 ; +%LIGKERN uni0E31 uni0E49.low |=:> uni0E49 ; +%LIGKERN uni0E31 uni0E4A.low |=:> uni0E4A ; +%LIGKERN uni0E31 uni0E4B.low |=:> uni0E4B ; +%LIGKERN uni0E34 uni0E48.low |=:> uni0E48 ; +%LIGKERN uni0E34 uni0E49.low |=:> uni0E49 ; +%LIGKERN uni0E34 uni0E4A.low |=:> uni0E4A ; +%LIGKERN uni0E34 uni0E4B.low |=:> uni0E4B ; +%LIGKERN uni0E34 uni0E4C.low |=:> uni0E4C ; +%LIGKERN uni0E35 uni0E48.low |=:> uni0E48 ; +%LIGKERN uni0E35 uni0E49.low |=:> uni0E49 ; +%LIGKERN uni0E35 uni0E4A.low |=:> uni0E4A ; +%LIGKERN uni0E35 uni0E4B.low |=:> uni0E4B ; +%LIGKERN uni0E35 uni0E4C.low |=:> uni0E4C ; +%LIGKERN uni0E36 uni0E48.low |=:> uni0E48 ; +%LIGKERN uni0E36 uni0E49.low |=:> uni0E49 ; +%LIGKERN uni0E36 uni0E4A.low |=:> uni0E4A ; +%LIGKERN uni0E36 uni0E4B.low |=:> uni0E4B ; +%LIGKERN uni0E36 uni0E4C.low |=:> uni0E4C ; +%LIGKERN uni0E37 uni0E48.low |=:> uni0E48 ; +%LIGKERN uni0E37 uni0E49.low |=:> uni0E49 ; +%LIGKERN uni0E37 uni0E4A.low |=:> uni0E4A ; +%LIGKERN uni0E37 uni0E4B.low |=:> uni0E4B ; +%LIGKERN uni0E37 uni0E4C.low |=:> uni0E4C ; + +%ligature for making LEFT HI tone marks and thantakhad +%LIGKERN uni0E31.left uni0E48.low |=:> uni0E48.left ; +%LIGKERN uni0E34.left uni0E48.low |=:> uni0E48.left ; +%LIGKERN uni0E35.left uni0E48.low |=:> uni0E48.left ; +%LIGKERN uni0E36.left uni0E48.low |=:> uni0E48.left ; +%LIGKERN uni0E37.left uni0E48.low |=:> uni0E48.left ; + +%LIGKERN uni0E31.left uni0E49.low |=:> uni0E49.left ; +%LIGKERN uni0E34.left uni0E49.low |=:> uni0E49.left ; +%LIGKERN uni0E35.left uni0E49.low |=:> uni0E49.left ; +%LIGKERN uni0E36.left uni0E49.low |=:> uni0E49.left ; +%LIGKERN uni0E37.left uni0E49.low |=:> uni0E49.left ; + +%LIGKERN uni0E31.left uni0E4A.low |=:> uni0E4A.left ; +%LIGKERN uni0E34.left uni0E4A.low |=:> uni0E4A.left ; +%LIGKERN uni0E35.left uni0E4A.low |=:> uni0E4A.left ; +%LIGKERN uni0E36.left uni0E4A.low |=:> uni0E4A.left ; +%LIGKERN uni0E37.left uni0E4A.low |=:> uni0E4A.left ; + +%LIGKERN uni0E31.left uni0E4B.low |=:> uni0E4B.left ; +%LIGKERN uni0E34.left uni0E4B.low |=:> uni0E4B.left ; +%LIGKERN uni0E35.left uni0E4B.low |=:> uni0E4B.left ; +%LIGKERN uni0E36.left uni0E4B.low |=:> uni0E4B.left ; +%LIGKERN uni0E37.left uni0E4B.low |=:> uni0E4B.left ; + +%LIGKERN uni0E34.left uni0E4C.low |=:> uni0E4C.left ; + +%ligature for making LEFT LOW tone marks and thantakhad +%LIGKERN uni0E38.left uni0E48.low |=:> uni0E48.low_left ; +%LIGKERN uni0E39.left uni0E48.low |=:> uni0E48.low_left ; +%LIGKERN uni0E3A.left uni0E48.low |=:> uni0E48.low_left ; + +%LIGKERN uni0E38.left uni0E49.low |=:> uni0E49.low_left ; +%LIGKERN uni0E39.left uni0E49.low |=:> uni0E49.low_left ; +%LIGKERN uni0E3A.left uni0E49.low |=:> uni0E49.low_left ; + +%LIGKERN uni0E38.left uni0E4A.low |=:> uni0E4A.low_left ; +%LIGKERN uni0E39.left uni0E4A.low |=:> uni0E4A.low_left ; +%LIGKERN uni0E3A.left uni0E4A.low |=:> uni0E4A.low_left ; + +%LIGKERN uni0E38.left uni0E4B.low |=:> uni0E4B.low_left ; +%LIGKERN uni0E39.left uni0E4B.low |=:> uni0E4B.low_left ; +%LIGKERN uni0E3A.left uni0E4B.low |=:> uni0E4B.low_left ; + +%LIGKERN uni0E38.left uni0E4C.low |=:> uni0E4C.low_left ; + +%ligature for making LOW SaraU SaraUu and Phinthu +%LIGKERN uni0E0E uni0E38 |=:> uni0E38.low ; +%LIGKERN uni0E0E uni0E39 |=:> uni0E39.low ; +%LIGKERN uni0E0E uni0E3A |=:> uni0E3A.low ; +%LIGKERN uni0E0F uni0E38 |=:> uni0E38.low ; +%LIGKERN uni0E0F uni0E39 |=:> uni0E39.low ; +%LIGKERN uni0E0F uni0E3A |=:> uni0E3A.low ; + +%ligature for making YoYingDescless and ThoThanDescless +%LIGKERN uni0E0D uni0E38 =:|> uni0E0D.descless ; +%LIGKERN uni0E0D uni0E39 =:|> uni0E0D.descless ; +%LIGKERN uni0E0D uni0E3A =:|> uni0E0D.descless ; +%LIGKERN uni0E10 uni0E38 =:|> uni0E10.descless ; +%LIGKERN uni0E10 uni0E39 =:|> uni0E10.descless ; +%LIGKERN uni0E10 uni0E3A =:|> uni0E10.descless ; + +%ligature for making Lakkhangyao +%LIGKERN uni0E24 uni0E32 |=:> uni0E45 ; +%LIGKERN uni0E26 uni0E32 |=:> uni0E45 ; + +%default ligature and kern set normally built-in in afm2tfm +%LIGKERN question quoteleft =: questiondown ; exclam quoteleft =: exclamdown ; +%LIGKERN hyphen hyphen =: endash ; endash hyphen =: emdash ; +%LIGKERN quoteleft quoteleft =: quotedblleft ; +%LIGKERN quoteright quoteright =: quotedblright ; +%LIGKERN space {} * ; * {} space ; zero {} * ; * {} zero ; +%LIGKERN one {} * ; * {} one ; two {} * ; * {} two ; +%LIGLERN three {} * ; * {} three ; four {} * ; * {} four ; +%LIGLERN five {} * ; * {} five ; six {} * ; * {} six ; +%LIGKERN seven {} * ; * {} seven ; eight {} * ; * {} eight ; +%LIGKERN nine {} * ; * {} nine ; +%LIGKERN comma comma =: quotedblbase ; less less =: guillemotleft ; +%LIGKERN greater greater =: guillemotright ; +%LIGKERN f f =: ff ; f i =: fi ; f l =: fl ; +%LIGKERN ff i =: ffi ; ff l =: ffl ; + +/LTHEncoding [ +% 0x00 +/.notdef /uni0E38.left /uni0E39.left /uni0E3A.left +/.notdef /.notdef /.notdef /.notdef +/.notdef /.notdef /.notdef /.notdef +/.notdef /quotesinglbase /guilsinglleft /guilsinglright +% 0x10 +/exclamdown /questiondown /quotedblbase /guillemotleft +/guillemotright /.notdef /.notdef /.notdef +/perthousand /dotlessi /dotlessj /ff +/fi /fl /ffi /ffl +% 0x20 +/space /exclam /quotedbl /numbersign +/dollar /percent /ampersand /quoteright +/parenleft /parenright /asterisk /plus +/comma /hyphen /period /slash +% 0x30 +/zero /one /two /three +/four /five /six /seven +/eight /nine /colon /semicolon +/less /equal /greater /question +% 0x40 +/at /A /B /C +/D /E /F /G +/H /I /J /K +/L /M /N /O +% 0x50 +/P /Q /R /S +/T /U /V /W +/X /Y /Z /bracketleft +/backslash /bracketright /asciicircum /underscore +% 0x60 +/quoteleft /a /b /c +/d /e /f /g +/h /i /j /k +/l /m /n /o +% 0x70 +/p /q /r /s +/t /u /v /w +/x /y /z /braceleft +/bar /braceright /asciitilde /.notdef +% 0x80 +/uni0E10.descless /uni0E34.left /uni0E35.left /uni0E36.left +/uni0E37.left /ellipsis /uni0E48.low_left /uni0E49.low_left +/uni0E4A.low_left /uni0E4B.low_left /uni0E4C.low_left /uni0E48 +/uni0E49 /uni0E4A /uni0E4B /uni0E4C +% 0x90 +/uni0E0D.descless /quoteleft /quoteright /quotedblleft +/quotedblright /bullet /endash /emdash +/uni0E31.left /uni0E4D.left /uni0E47.left /uni0E48.left +/uni0E49.left /uni0E4A.left /uni0E4B.left /uni0E4C.left +% 0xA0 +/nonbreakingspace /uni0E01 /uni0E02 /uni0E03 +/uni0E04 /uni0E05 /uni0E06 /uni0E07 +/uni0E08 /uni0E09 /uni0E0A /uni0E0B +/uni0E0C /uni0E0D /uni0E0E /uni0E0F +% 0xB0 +/uni0E10 /uni0E11 /uni0E12 /uni0E13 +/uni0E14 /uni0E15 /uni0E16 /uni0E17 +/uni0E18 /uni0E19 /uni0E1A /uni0E1B +/uni0E1C /uni0E1D /uni0E1E /uni0E1F +% 0xC0 +/uni0E20 /uni0E21 /uni0E22 /uni0E23 +/uni0E24 /uni0E25 /uni0E26 /uni0E27 +/uni0E28 /uni0E29 /uni0E2A /uni0E2B +/uni0E2C /uni0E2D /uni0E2E /uni0E2F +% 0xD0 +/uni0E30 /uni0E31 /uni0E32 /uni0E33 +/uni0E34 /uni0E35 /uni0E36 /uni0E37 +/uni0E38 /uni0E39 /uni0E3A /.notdef +/zerowidthspace /.notdef /.notdef /uni0E3F +% 0xE0 +/uni0E40 /uni0E41 /uni0E42 /uni0E43 +/uni0E44 /uni0E45 /uni0E46 /uni0E47 +/uni0E48.low /uni0E49.low /uni0E4A.low /uni0E4B.low +/uni0E4C.low /uni0E4D /uni0E4E /uni0E4F +% 0xF0 +/uni0E50 /uni0E51 /uni0E52 /uni0E53 +/uni0E54 /uni0E55 /uni0E56 /uni0E57 +/uni0E58 /uni0E59 /uni0E5A /uni0E5B +/uni0E38.low /uni0E39.low /uni0E3A.low /.notdef +] def diff --git a/Master/texmf-dist/source/latex/thailatex/install-sh b/Master/texmf-dist/source/latex/thailatex/install-sh new file mode 100644 index 00000000000..6781b987bdb --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/install-sh @@ -0,0 +1,520 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2009-04-28.21; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dst_arg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + -*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/Master/texmf-dist/source/latex/thailatex/missing b/Master/texmf-dist/source/latex/thailatex/missing new file mode 100644 index 00000000000..28055d2ae6f --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/missing @@ -0,0 +1,376 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009 Free Software Foundation, Inc. +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and +\`g' are ignored when checking the name. + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + +esac + +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). This is about non-GNU programs, so use $1 not +# $program. +case $1 in + lex*|yacc*) + # Not GNU programs, they don't have --version. + ;; + + tar*) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $program in + aclocal*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te*) + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison*|yacc*) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex*|flex*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit $? + fi + ;; + + makeinfo*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + tar*) + shift + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case $firstarg in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case $firstarg in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/Master/texmf-dist/source/latex/thailatex/scripts/Makefile.am b/Master/texmf-dist/source/latex/thailatex/scripts/Makefile.am new file mode 100644 index 00000000000..36ebb9af9ba --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/scripts/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = sync-thailatex.in sync-babel tlatex + +sbin_SCRIPTS = sync-thailatex sync-babel +bin_SCRIPTS = tlatex diff --git a/Master/texmf-dist/source/latex/thailatex/scripts/Makefile.in b/Master/texmf-dist/source/latex/thailatex/scripts/Makefile.in new file mode 100644 index 00000000000..fbe67961e37 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/scripts/Makefile.in @@ -0,0 +1,416 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = scripts +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/sync-thailatex.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = sync-thailatex +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" +SCRIPTS = $(bin_SCRIPTS) $(sbin_SCRIPTS) +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AFM2TFM = @AFM2TFM@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CTTEX = @CTTEX@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DVIPS = @DVIPS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LATEX = @LATEX@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PF2AFM = @PF2AFM@ +PS2PDF = @PS2PDF@ +RMDIR = @RMDIR@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +SWATH = @SWATH@ +TEXHASH = @TEXHASH@ +UPDMAP = @UPDMAP@ +VERSION = @VERSION@ +VPTOVF = @VPTOVF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +emacsdir = @emacsdir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +texmfdir = @texmfdir@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +EXTRA_DIST = sync-thailatex.in sync-babel tlatex +sbin_SCRIPTS = sync-thailatex sync-babel +bin_SCRIPTS = tlatex +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu scripts/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +sync-thailatex: $(top_builddir)/config.status $(srcdir)/sync-thailatex.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files +install-sbinSCRIPTS: $(sbin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(SCRIPTS) +installdirs: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binSCRIPTS install-sbinSCRIPTS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binSCRIPTS uninstall-sbinSCRIPTS + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-binSCRIPTS install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-sbinSCRIPTS install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-binSCRIPTS \ + uninstall-sbinSCRIPTS + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Master/texmf-dist/source/latex/thailatex/scripts/sync-babel b/Master/texmf-dist/source/latex/thailatex/scripts/sync-babel new file mode 100644 index 00000000000..2f12dcf5788 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/scripts/sync-babel @@ -0,0 +1,23 @@ +#!/bin/sh +# Patch/unpatch thailatex babel.sty with that of tetex +# Written by Theppitak Karoonboonyanan <thep@linux.thai.net> +# License: GPL + +BABELSTY=`kpsewhich babel.sty` + +if [ "x$BABELSTY" = "x" ]; then + echo "Cannot find babel.sty to update" + exit 1 +fi + +echo "Updating $BABELSTY" + +sed -i -e '/thai.ldf/d' $BABELSTY + +THAILDF=`kpsewhich thai.ldf` + +if [ "x$THAILDF" != "x" ]; then + sed -i -e '/turkish/i\ +\\DeclareOption{thai}{\\input{thai.ldf}}' $BABELSTY +fi + diff --git a/Master/texmf-dist/source/latex/thailatex/scripts/sync-thailatex.in b/Master/texmf-dist/source/latex/thailatex/scripts/sync-thailatex.in new file mode 100644 index 00000000000..2f5e01db1b8 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/scripts/sync-thailatex.in @@ -0,0 +1,70 @@ +#!/bin/sh +# Register/unregister thailatex +# Written by Theppitak Karoonboonyanan <thep@linux.thai.net> +# License: GPL + +prefix=@prefix@ + +THAI_MAP=@texmfdir@/fonts/map/dvips/thai/thai.map +EMACSLISPDIR=@emacsdir@/site-lisp + +is_thai_map_enabled() +{ + @UPDMAP@ --quiet --listmaps | grep -v '^#' | grep thai.map >/dev/null +} + +do_install() +{ + echo "Regenerating TeX ls-R ..." + @TEXHASH@ + + # thai.map exists -> do install + if is_thai_map_enabled; then + echo "Thai fontmap already enabled, refreshing fontmaps ..." + @UPDMAP@ --quiet --nohash + else + echo "Thai fontmap is not enabled, enabling it ..." + @UPDMAP@ --quiet --nohash --enable Map thai.map + fi + + # add Emacs macro for activating Thai LaTeX filter + echo "Installing emacs macro ..." + if test -f $EMACSLISPDIR/site-start.el; then + sed -i -e '/thai-latex-setup/d' $EMACSLISPDIR/site-start.el + fi + if test -f $EMACSLISPDIR/thai-latex-setup.el; then + echo '(load-library "thai-latex-setup")' >> $EMACSLISPDIR/site-start.el + fi +} + +do_uninstall() +{ + echo "Regenerating TeX ls-R ..." + @TEXHASH@ + + # thai.map doesn't exist -> do uninstall + if is_thai_map_enabled; then + echo "Thai fontmap is enabled, disabling it ..." + @UPDMAP@ --disable thai.map + else + echo "Thai fontmap is not enabled, just refreshing fontmaps ..." + @UPDMAP@ + fi + + # remove Emacs macro for activating Thai LaTeX filter + echo "Uninstalling emacs macro ..." + if test -f $EMACSLISPDIR/site-start.el; then + sed -i -e '/thai-latex-setup/d' $EMACSLISPDIR/site-start.el + fi +} + +# Main script + +if test -f $THAI_MAP; then + echo "Thai fontmap exists, so we will enable it." + do_install +else + echo "Thai fontmap no longer exists, so we will disable it." + do_uninstall +fi + diff --git a/Master/texmf-dist/source/latex/thailatex/scripts/tlatex b/Master/texmf-dist/source/latex/thailatex/scripts/tlatex new file mode 100644 index 00000000000..2f368a04da7 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/scripts/tlatex @@ -0,0 +1,62 @@ +#! /bin/sh -e +# +# Written by Chanop Silpa-Anan <chanop@debian.org> +# +# You have every right to do anything with this file. +# Use with care. +# + +if [ $# -ne 1 ]; then + echo "Usage:" + echo " $0 latexfile[.tex]" + exit 1 +fi + +LATEXFILEORG= +if [ -e $1 ]; then + LATEXFILEORG="$1" +elif [ -e $1.tex ]; then + LATEXFILEORG="$1.tex" +else + echo "File not found: $1[.tex]" + exit 1 +fi + +echo "Found: $LATEXFILEORG" +LATEXFILENEW=`echo $LATEXFILEORG | sed -e "s/.tex/.ttex/"` +LATEXFILENAME=`echo $LATEXFILEORG | sed -e "s/.tex//"` + +WORDSEG= +case `file --mime $LATEXFILEORG` in + *charset=utf-8*) + if which swath > /dev/null; then + WORDSEG="swath -f latex -u u,u" + else + echo "Cannot find swath to process UTF-8 source" + exit 1 + fi + ;; + *) + if which swath > /dev/null; then + WORDSEG="swath -f latex" + elif which cttex > /dev/null; then + WORDSEG="cttex -W" + else + echo "Cannot find either swath or cttex" + exit 1 + fi + ;; +esac + +echo "Using: $WORDSEG for Thai word segmentation" +$WORDSEG < $LATEXFILEORG > $LATEXFILENEW +echo "Running LaTeX pass 1" +latex $LATEXFILENEW +#echo "Running BibTeX" +#bibtex $LATEXFILENAME +echo "Running LaTeX pass 2" +latex $LATEXFILENEW +echo "Running LaTeX pass 3" +latex $LATEXFILENEW + +exit 0 diff --git a/Master/texmf-dist/source/latex/thailatex/thailatex.spec.in b/Master/texmf-dist/source/latex/thailatex/thailatex.spec.in new file mode 100644 index 00000000000..24b251ec553 --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/thailatex.spec.in @@ -0,0 +1,134 @@ +%define name thailatex +%define version @VERSION@ +%define release 1 +%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest + +Summary: Thai extension for LaTeX +Name: %{name} +Version: %{version} +Release: %{release} +Copyright: freely distributable +Group: Applications/Publishing +Source: %{name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: /var/tmp/%{name}-%{version} +Vendor: Surapant Meknavin <surapan@nectec.or.th>, Theppitak Karoonboonyanan <thep@links.nectec.or.th>, NECTEC +Packager: Theppitak Karoonboonyanan <thep@links.nectec.or.th> +Distribution: Linux TLE, Thai Linux Working Group +Requires: tetex >= 0.9, tetex-dvips >= 0.9 +BuildRequires: tetex >= 0.9, tetex-afm >= 0.9 + +%description + +Thai fonts, style, etc. for publishing Thai documents with LaTeX. +Thai word segmentation filter which inserts "\wbr " command as Thai word +delimitor, such as "swath", is recommended to be used as a preprocessor. + +%prep +%setup + +%build +./configure --prefix=/usr +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# __os_install_post is implicitly expanded after the +# install section... do it now, and then disable it, +# so all work is done before building manifest. + +%{?__os_install_post} +%define __os_install_post %{nil} + +# build the file list automagically into %{manifest} + +cd $RPM_BUILD_ROOT +rm -f %{manifest} +find . -type d \ + | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' >> %{manifest} +find . -type f \ + | sed '/babel.sty/d;/config.ps/d;/pdftex.cfg/d;/site-start.el/d' \ + | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest} +find . -type l \ + | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest} + +%clean +rm -f %{manifest} +rm -rf $RPM_BUILD_ROOT + +%post +/usr/sbin/sync-thailatex +/usr/sbin/sync-babel + +%triggerin -- tetex +/usr/sbin/sync-thailatex +/usr/sbin/sync-babel + +%preun +if [ "$1" = "0" ]; then # last uninstall only, do not run when upgraded + /usr/sbin/sync-thailatex + /usr/sbin/sync-babel +fi + +%files -f %{manifest} +%defattr(-,root,root) +#%doc README +#%docdir +#%config + +%changelog +* Sun Dec 21 2003 Theppitak Karoonboonyanan <thep@linux.thai.net> + - use argumentless sync scripts + +* Thu Mar 06 2003 Theppitak Karoonboonyanan <thep@linux.thai.net> + - use the split sync-thailatex and sync-babel scripts separately + - add preun script for unregistering thailatex at last uninstallation + +* Tue Mar 04 2003 Theppitak Karoonboonyanan <thep@linux.thai.net> + - add tetex-dvips to Requires: (as suggested by Vee Sattayamas) + +* Tue Jan 28 2003 Poonlap Veerathanabutr <poonlap@linux.thai.net> + - fix some comment in spec file which cause problems + +* Mon Aug 05 2002 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + - add BuildRequires + - add %clean script + - clear RPM build dir before installing + +* Tue Jan 08 2002 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + - update %post and %postun scripts according to new installing method + - fix upgrading bug by adding %triggerpostun script to do the %post + job again, after the %postun script of the older version removed + every patch. (%post is still needed for rpm -i case.. Hmm.. messy) + - change %postun to %preun, to be safe about the order of %postun + of the older package and %triggerpostun of the newer package. + - incorporate babel.sty patching. + - split scriptlets into sync-thailatex script. + - add %triggerin to get synchronized with tetex. + +* Wed Dec 05 2001 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + - use manifest + +* Wed Jan 03 2001 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + - thailatex.spec : use variables for sources, path names; use BuildRoot + +* Wed Aug 16 2000 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + - fix "norasi" "Bluevalues" parameter to fix Acrobat Distiller + rejection, by Anutara + +* Thu May 25 2000 Theppitak Karoonboonyanan <thep@links.nectec.or.th> + - rearrange package and create Makefiles + - encoding changed from TIS to LTH, according to TeX convention + - add "norasi" bold and bold-italic font; correct TeXTIS.enc + - make "norasi" be Thai roman font, "dbttx" Thai sans serif + - correct some Thai translations + - release version 0.2 + +* Mon Jun 21 1999 Surapant Meknavin <surapan@nectec.or.th> + - create the original Thai LaTeX extension based on babel package + - two fonts are available : dbtt (n,bx,i,bi) and nf3x (n,i) + - release version 0.1 + |