diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic')
66 files changed, 3064 insertions, 438 deletions
diff --git a/Master/texmf-dist/doc/generic/vntex/INSTALL b/Master/texmf-dist/doc/generic/vntex/INSTALL index 756591a67d2..ea6963b9e99 100644 --- a/Master/texmf-dist/doc/generic/vntex/INSTALL +++ b/Master/texmf-dist/doc/generic/vntex/INSTALL @@ -1,4 +1,4 @@ -vntex-3.02 +vntex-3.1.2 This file is part of VnTeX. License: LPPL, version 1.3 or newer, see: http://www.latex-project.org/lppl.txt @@ -8,24 +8,14 @@ Author: Reinhard Kotucha <reinhard.kotucha@web.de> See Appendix A where to get help. -When do I need vntex-3.02-TDS-1.0.zip? -=========================================== -VnTeX complies with version 1.1 of the TDS (TeX Directory Structure). - -To find out whether your system supports version 1.1, look whether -there is a directory fonts/map in at least one texmf tree. If this is -*not* the case, you need vntex-3.02-TDS-1.0.zip. - - Installation ============ UNIX, Linux, MacOS/X, TeXLive (UNIX or Windows) ----------------------------------------------- -To install VnTeX on a web2c system you have to unpack vntex-3.02.zip -or vntex-3.02-TDS-1.0.zip inside of a texmf tree. It is recommended -to create an own directory tree for vntex so that you can remove it easily -when you update your TeX system. +To install VnTeX on a web2c system you have to unpack vntex-3.1.2.zip +inside of a texmf tree. It is recommended to create an own directory tree +for vntex so that you can remove it easily when you update your TeX system. This directory tree should be the first item of TeX's search path, otherwise you have to remove old versions of VnTeX or vncmr completely. @@ -44,8 +34,10 @@ access to this directory. On Windows c:\texmf-vntex is a good place. should appear before TEXMFDIST and TEXMFMAIN. -- Set font_mem_size to a value of at least 1100000 if you want to - compile the font samples in texmf-vntex/doc/generic/vntex/tests. - (This is not required, see README in the tests directory). + compile the font samples in texmf-vntex/doc/generic/vntex/tests + manually. + This is not required if you use tha Makefile, see README in the + tests directory. Add C:/WINDOWS/FONTS to TTFONTS if you're under Windows. * Set the environment variable TEXMFCNF to the directory in which @@ -65,6 +57,15 @@ access to this directory. On Windows c:\texmf-vntex is a good place. updmap-sys --nohash --nomkmap --enable Map urwvn.map updmap-sys --nohash --nomkmap --enable Map chartervn.map updmap-sys --nohash --nomkmap --enable Map mscorevn.map + updmap-sys --nohash --nomkmap --enable Map arevvn.map + updmap-sys --nohash --nomkmap --enable Map classicovn.map + updmap-sys --nohash --nomkmap --enable Map cmbrightvn.map + updmap-sys --nohash --nomkmap --enable Map comicvn.map + updmap-sys --nohash --nomkmap --enable Map concretevn.map + updmap-sys --nohash --nomkmap --enable Map garamondvn.map + updmap-sys --nohash --nomkmap --enable Map grotesqvn.map + updmap-sys --nohash --nomkmap --enable Map vntopia.map + updmap-sys --nohash --nomkmap --enable Map txttvn.map updmap-sys Otherwise, run @@ -75,6 +76,15 @@ access to this directory. On Windows c:\texmf-vntex is a good place. updmap --nohash --nomkmap --enable Map urwvn.map updmap --nohash --nomkmap --enable Map chartervn.map updmap --nohash --nomkmap --enable Map mscorevn.map + updmap --nohash --nomkmap --enable Map arevvn.map + updmap --nohash --nomkmap --enable Map classicovn.map + updmap --nohash --nomkmap --enable Map cmbrightvn.map + updmap --nohash --nomkmap --enable Map comicvn.map + updmap --nohash --nomkmap --enable Map concretevn.map + updmap --nohash --nomkmap --enable Map garamondvn.map + updmap --nohash --nomkmap --enable Map grotesqvn.map + updmap --nohash --nomkmap --enable Map vntopia.map + updmap --nohash --nomkmap --enable Map txttvn.map updmap from your command line. But don't use updmap if updmap-sys is @@ -85,13 +95,22 @@ access to this directory. On Windows c:\texmf-vntex is a good place. If you don't have access to the system directories, you have unpacked your files in $HOME/texmf-vntex or c:\texmf-vntex. - If there is a program updmap-sys on your system, run + If there is a program updmap on your system, run updmap --nohash --nomkmap --disable vnr.map updmap --nohash --nomkmap --enable MixedMap vnrtext.map updmap --nohash --nomkmap --enable MixedMap vnrother.map updmap --nohash --nomkmap --enable Map urwvn.map updmap --nohash --nomkmap --enable Map mscorevn.map + updmap --nohash --nomkmap --enable Map arevvn.map + updmap --nohash --nomkmap --enable Map classicovn.map + updmap --nohash --nomkmap --enable Map cmbrightvn.map + updmap --nohash --nomkmap --enable Map comicvn.map + updmap --nohash --nomkmap --enable Map concretevn.map + updmap --nohash --nomkmap --enable Map garamondvn.map + updmap --nohash --nomkmap --enable Map grotesqvn.map + updmap --nohash --nomkmap --enable Map vntopia.map + updmap --nohash --nomkmap --enable Map txttvn.map updmap from the command line. If not, ask your system administrator to @@ -124,6 +143,15 @@ MikTeX Map urwvn.map Map chartervn.map Map mscorevn.map + Map arevvn.map + Map classicovn.map + Map cmbrightvn.map + Map comicvn.map + Map concretevn.map + Map garamondvn.map + Map grotesqvn.map + Map vntopia.map + Map txttvn.map If there is an entry `MixedMap vnr.map', remove it. @@ -152,7 +180,7 @@ You don't neeed it if you are using LaTeX. * Download from: - http://vntex.org/download/vntex-support + http://ctan.tug.org/tex-archive/macros/plain/plnfss * Unpack the archive in the same texmf tree as VnTeX. @@ -248,7 +276,7 @@ Windows (TeXLive) ^1 ######################################################################## Don't forget to remove TEXMFCNF (and your copy of the file texmf.cnf) - if you install a new TeX system which already provides VnTeX-3.0! + if you install a new TeX system which already provides VnTeX! ######################################################################## ________________ diff --git a/Master/texmf-dist/doc/generic/vntex/LGPL.txt b/Master/texmf-dist/doc/generic/vntex/LGPL.txt new file mode 100644 index 00000000000..5ab7695ab8c --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/LGPL.txt @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + <one line to give the library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + <signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/Master/texmf-dist/doc/generic/vntex/LICENSE-utopia.txt b/Master/texmf-dist/doc/generic/vntex/LICENSE-utopia.txt new file mode 100644 index 00000000000..9755d3cec66 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/LICENSE-utopia.txt @@ -0,0 +1,84 @@ +The agreement below gives the TeX Users Group (TUG) the right to +sublicense, and grant such sublicensees the right to further sublicense, +any or all of the rights enumerated below. TUG hereby does so +sublicense all such rights, irrevocably and in perpetuity, to any and +all interested parties. + +--Karl Berry, TUG President, +on behalf of the TeX Users Group board and members +17 November 2006 +http://tug.org/fonts/utopia + +------------------------------------------------------------ +October 11, 2006 + +RE: License to TeX Users Group for the Utopia Typeface + +Adobe Systems Incorporated ("Adobe") hereby grants to the TeX Users +Group and its members a nonexclusive, royalty-free, perpetual license to +the typeface software for the Utopia Regular, Utopia Italic, Utopia Bold +and Utopia bold Italic typefaces, including Adobe Type 1 font programs +for each style (collectively, the "Software") as set forth below. + +Adobe grants the TeX Users Group a license under its copyrights, to use, +reproduce, display and distribute the Software for any purpose and +without fee provided that the following copyright notice appears in all +whole and partial copies of the Software and provided that the following +trademark symbol and attribution appear in all unmodified copies of the +Software: + +Copyright 1989, 1991 Adobe Systems Incorporated. All rights reserved. +(alternatively, @1989, 1991 Adobe Systems Incorporated. All rights reserved.) +Utopia(R) +Utopia is either a registered trademark or trademark of Adobe Systems +Incorporated in the United States and/or other countries. Used under +license. + +Adobe also grants to the TeX Users Group a license to modify the +Software for any purpose and redistribute such modifications, for any +purpose and royalty-free, provided that the modified Software shall not +use the font name(s) or trademark(s), in whole or in part, unless +explicit written permission is granted by Adobe. This restriction +applies to all references stored in the Software for identification +purposes, such as the font menu name and other font description +fields. The TeX Users Group is also permitted to sublicense, and grant +such sublicensees the right to further sublicense, any or all the +foregoing rights through multiple tiers of distribution. The licenses +granted herein are granted in perpetuity and may not be terminated by +either party unless such termination is based on a breach of the terms +and conditions herein stated. + +Adobe retains ownership of the copyright in the Software. The TeX Users +Group agrees that Adobe and its suppliers are the sole and exclusive +owners of all rights, title and interest, including all copyrights, +patents, trademarks, trade names, trade secrets and other intellectual +property rights in the Software. No title or ownership of the Software, +any copies of the Software, or the patent, copyright, trade secret, +trademark, trade name or other proprietary rights contained in the +Software is transferred to the TeX Users Group. + +The Adobe trademarks shall not be used in advertising pertaining to the +distribution of the Software without express prior permission from +Adobe. Any such use shall be in accordance with the Adobe trademark +guidelines, available on the Adobe website at +http://www.adobe.com/misc/pdfs/TM GuideforThirdPartiesFinal.pdf. +If any portion of the Software is changed, it cannot be marketed under +Adobe's trademarks unless Adobe, in its sole discretion, approves by a +prior writing the quality of the resulting implementation. + +The TeX Users Group shall have the right to evaluate the Software +provided by Adobe. + +ADOBE MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR +ANY PURPOSE. IT IS PROVIDED "AS-IS" WITHOUT EXPRESS OR IMPLIED +WARRANTY. ADOBE DISCLAIMS ALL WARRANTIES WITH REGARD TO THE SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF THIRD PARTY RIGHTS. IN NO +EVENT SHALL ADOBE BE LIABLE TO YOU OR ANY OTHER PARTY FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER WHETHER IN +AN ACTION OF CONTRACT NEGLIGENCE, STRICT LIABILITY OR ANY OTHER ACTION +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. ADOBE WILL NOT PROVIDE ANY TRAINING OR OTHER SUPPORT FOR THE +SOFTWARE. + +Adobe Document Id: 4400078611 diff --git a/Master/texmf-dist/doc/generic/vntex/NEWS b/Master/texmf-dist/doc/generic/vntex/NEWS index 8d108d76edd..594b5935777 100644 --- a/Master/texmf-dist/doc/generic/vntex/NEWS +++ b/Master/texmf-dist/doc/generic/vntex/NEWS @@ -1,4 +1,4 @@ -vntex-3.02 +vntex-3.1.2 Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. This file is part of vntex. License: LPPL, version 1.3 or newer, @@ -64,3 +64,26 @@ Changes from version 2.0 (released 2003/03/03 at vntex.sf.net): * VnURWChanceryL-MediItal added. +Changes from version 3.02 (released 2005/09/25 at vntex.sf.net): +=============================================================== + + * vncaps.tex: Fixed bug in \indexname. + + * Add support for Gentium, Grotesk, Garamond + + * t5enc.dfu: Use \ACIRCUMFLEX and + friends only if there are additional diacritics. + + * Add support for URW Classico, CMbright, Concrete, Arev. + + * New font definition files t5futs.fd, t5mdput.fd, t5ptmom.fd, + t5fnc.fd, t5mak.fd, t5mdugm.fd, t5pxr.fd, t5mdbch.fd, t5txr.fd. + + * New macro package varioref-vi.sty. + + * Add support for Comicsans. + + * Add support for txtt fonts. + + * Add new font Vntopia. + diff --git a/Master/texmf-dist/doc/generic/vntex/README b/Master/texmf-dist/doc/generic/vntex/README index 8080c592418..ca749c2b62c 100644 --- a/Master/texmf-dist/doc/generic/vntex/README +++ b/Master/texmf-dist/doc/generic/vntex/README @@ -1,4 +1,4 @@ -vntex-3.02 +vntex-3.1.2 Copyright 2005 Reinhard Kotucha <Reinhard.Kotucha@web.de>. This file is part of vntex. License: LPPL, version 1.3 or newer, @@ -8,9 +8,7 @@ according to http://www.latex-project.org/lppl.txt Description =========== VnTeX is a package which supports typesetting Vietnamese. It provides -macro packages for LaTeX and plain TeX as well as fonts. Support is -also provided for tex4ht. - +macro packages for LaTeX and plain TeX as well as fonts. --------------------------------------------------------- The primary site of VnTeX is @@ -18,7 +16,6 @@ The primary site of VnTeX is http://vntex.org --------------------------------------------------------- - Author ====== The author of VnTeX is Han The Thanh <HanTheThanh@gmx.net>. @@ -35,19 +32,21 @@ are now part of the tex4ht distribution and maintained by Eitan Gurari. plnfss has been removed from VnTeX because it supports many other languages as well. You can download it from - http://vntex.org/download/vntex-support + http://ctan.tug.org/tex-archive/macros/plain/plnfss License ======= The URW and Bitstream Type1 fonts are copyrighted under the GNU GPL, -.map files are public domain, all other files are under LPPL, -version 1.3 or newer. +.map files are public domain, varioref-vi.sty is under LGPL, Vntopia +is under the Adobe/TUG Utopia license agreement, all other files are +under LPPL, version 1.3 or newer. -See +See: http://www.gnu.org/licenses/gpl.txt -and + http://www.gnu.org/licenses/lgpl.txt http://www.latex-project.org/lppl.txt + http://tug.org/fonts/utopia/LICENSE-utopia.txt Support diff --git a/Master/texmf-dist/doc/generic/vntex/README.vntopia b/Master/texmf-dist/doc/generic/vntex/README.vntopia new file mode 100644 index 00000000000..656ef9d9ce7 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/README.vntopia @@ -0,0 +1,4 @@ +Vietnamese glyphs has been added by Han The Thanh <HanTheThanh@gmail.com> +according to the conditions of the Adobe/TUG license agreement. + +See http://tug.org/fonts/utopia/LICENSE-utopia.txt for more information. diff --git a/Master/texmf-dist/doc/generic/vntex/source/abbr.tex b/Master/texmf-dist/doc/generic/vntex/source/abbr.tex new file mode 100644 index 00000000000..84617cf0935 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/abbr.tex @@ -0,0 +1,268 @@ +\ifx\abbrloaded\relax + \let\next=\endinput +\else + \let\next=\relax +\fi + +\next + +\let\abbrloaded=y + +\def\<#1>{% + \expandafter\ifx\csname<#1>\endcsname\relax + \errmessage{abbreviation <#1> undefined!}% + \else + \csname<#1>\endcsname + \fi +} + +\def\abbrA#1#2#3{% + \expandafter\def\csname<#1>\endcsname{#2}% +} + +\def\abbrB#1#2#3{% + \def\abbrdef{#3}% + \ifx\abbrdef\empty + \expandafter\def\csname<#1>\endcsname{#2}% + \else + \expandafter\def\csname<#1>\endcsname{#3}% + \fi +} + +\ifx\HCode\undefined % tex4ht is not being used + \let\abbr=\abbrA +\else + \let\abbr=\abbrB +\fi + +\abbr{.}{.\,}{} +\abbr{3B2}{3B2}{} +\abbr{A2AC}{\texttt{a2ac}}{} +\abbr{ADOBE}{Adobe}{} +\abbr{AFM}{AFM}{} +\abbr{AFM}{AFM}{} +\abbr{AMIGA}{Amiga}{} +\abbr{AND}{\char038\relax}{&} +\abbr{APACHE}{Apache}{} +\abbr{AR}{Acrobat Reader}{} +\abbr{ASCII}{ASCII}{} +\abbr{BASH}{Bash}{} +\abbr{BLUESKY}{BlueSky}{} +\abbr{BS}{\char92}{} +\abbr{bull}{$\bullet$}{} +\abbr{C}{C}{} +\abbr{CMACTEX}{CMac\TeX}{CMacTeX} +\abbr{CM}{Computer Modern}{} +\abbr{CMR}{CMR}{} +\abbr{CMSS}{CMSS}{} +\abbr{CMSUPER}{CM-Super}{} +\abbr{CPP}{C++}{} +\abbr{CS}{CS}{} +\abbr{DANTE}{DANTE}{} +\abbr{DEBIAN}{Debian}{} +\abbr{DHSP}{ÐHSP}{} +\abbr{DJBDNS}{\textsf{djbdns}}{} +\abbr{DJGPP}{DJGPP}{} +\abbr{DNSCACHE}{\textsf{dnscache}}{} +\abbr{DOS}{DOS}{} +\abbr{DOTNET}{Visual~.NET}{} +\abbr{...}{\dots}{} +\abbr{DTP}{DTP}{} +\abbr{DVI}{DVI}{} +\abbr{DVIPDFM}{\textsf{dvipdfm}}{} +\abbr{DVIPDFMX}{\textsf{dvipdfmx}}{} +\abbr{DVIPS}{\textsf{dvips}}{} +\abbr{EC}{EC}{} +\abbr{EK}{\textit{{\Large$\varepsilon$\kern-.1em}k}}{} +\abbr{ELIB}{eLib}{} +\abbr{EMACS}{Emacs}{} +\abbr{EMAIL}{Email}{} +\abbr{EOF}{EOF}{} +\abbr{ET5}{ET5}{} +% \abbr{ETEX}{$\varepsilon$-\TeX}{eTeX} +\abbr{ETEX}{e\TeX}{eTeX} +\abbr{EUROTEX}{Euro\TeX}{EuroTeX} +\abbr{FLOITEX}{Floi\TeX}{} +\abbr{FMP}{FMP}{} +\abbr{FONTINST}{\texttt{fontinst}}{} +\abbr{FONTLAB}{FontLab}{} +\abbr{FPTEX}{fp\TeX}{} +\abbr{FTP}{Ftp}{} +\abbr{GCC}{GCC}{} +\abbr{GOOGLE}{Google}{} +\abbr{GS}{\textsf{ghostscript}}{} +\abbr{GUST}{GUST}{} +\abbr{GUT}{GUTenberg}{} +\abbr{GVSBK}{GVSBK}{} +\abbr{HCMUP}{HCMUP}{} +\abbr{HJ}{H\kern.1em<AND>\kern.1emJ}{} +\abbr{HREF}{hyperref}{} +\abbr{HSQL}{HSQL}{} +\abbr{HTML}{HTML}{} +\abbr{HZ}{\textit{hz}}{} +\abbr{ID}{InDesign}{} +\abbr{IIS}{IIS}{} +\abbr{INTERNET}{Internet}{} +\abbr{JAVA}{Java}{} +\abbr{JP}{\textit{jp}}{} +\abbr{KF}{\textit{kf\kern-.05em}}{} +\abbr{KR}{\textit{K$\varrho$}}{} +\abbr{LATEX}{\LaTeX}{LaTeX} +\abbr{LDAP}{LDAP}{} +\abbr{LF}{\textrm{\it letter\!\_\kern.1emfit}}{} +\abbr{LIBPNG}{LIBPNG}{} +\abbr{LIBTIFF}{LIBTIFF}{} +\abbr{LINUX}{Linux}{} +\abbr{LISP}{LISP}{} +\abbr{LM}{LM}{LM} +\abbr{M2}{\,m$^2$}{} +\abbr{MAC}{Macintosh}{} +\abbr{MF}{\MF}{} +\abbr{MG}{MetaFog}{} +\abbr{MIKTEX}{Mik\TeX}{MikTeX} +\abbr{MIRKA}{Miroslava Mis\'akov\'a}{} +\abbr{MMINSTANCE}{MMInstance}{} +\abbr{MM}{Multiple Master}{} +\abbr{MMTOOLS}{MMTOOLS}{} +\abbr{MP}{\MP}{} +\abbr{MVISCII}{Mac VISCII}{} +\abbr{MYSQL}{MySQL}{} +\abbr{NL}{\hfil\break}{} +\abbr{NTG}{NTG}{} +\abbr{NTS}{NTS}{} +\abbr{OMEGA}{$\Omega$}{} +\abbr{OPENTYPE}{OpenType}{} +\abbr{PASCAL}{Pascal}{} +\abbr{PDFETEX}{pdf\<ETEX>}{pdfeTeX} +\abbr{PDF}{PDF}{} +\abbr{PDFTEX}{pdf\TeX}{pdfTeX} +\abbr{PDFLATEX}{pdf\LaTeX}{pdfLaTeX} +\abbr{PDFXTEX}{pdfx\kern-.1em\TeX}{pdfxTeX} +\abbr{CONTEXT}{Con\TeX{}t}{ConTeXt} +\abbr{PERCENT}{\unskip\,\%}{} +\abbr{PERL}{Perl}{} +\abbr{PFA}{PFA}{} +\abbr{PFB}{PFB}{} +\abbr{PHP}{PHP}{} +\abbr{PK}{PK}{} +\abbr{PLAIN}{plain \TeX}{plain TeX} +\abbr{POSTGRESQL}{PostgreSQL}{} +\abbr{PROSPER}{Prosper}{} +\abbr{PS}{PS}{} +\abbr{RA}{$\longrightarrow$}{-->} +\abbr{RESIN}{Resin}{} +\abbr{SGML}{SGML}{} +\abbr{SP}{\hskip1cm}{} +\abbr{STL}{STL}{} +\abbr{T1}{Type\nobreak\,1}{Type1} +\abbr{T3}{Type\nobreak\,3}{} +\abbr{T5}{T5}{} +\abbr{TCVN}{TCVN1}{} +\abbr{TCX}{TCX}{} +\abbr{TETEX}{\textsf{te\TeX}}{teTeX} +\abbr{TEX4HT}{\TeX{}4ht}{TeX4ht} +\abbr{TEXINFO}{\texttt{texinfo}}{} +\abbr{TEXLIVE}{\TeX{}Live}{TeXLive} +\abbr{TEXME}{\TeX{}Me}{TeXMe} +\abbr{TEXMF}{\textsf{texmf}}{} +\abbr{TEXNICCENTER}{TeXnicCenter}{} +\abbr{TEX}{\TeX}{TeX} +\abbr{TEXTRACE}{\TeX{}trace}{TeXtrace} +\abbr{TFM}{TFM}{} +\abbr{TFTOPL}{TFtoPL}{} +% \abbr{THANH}{H\`an Th\^e\llap{\raise 0.5ex\hbox{\'{}}} Th\`anh}{Han The Thanh} +% \abbr{THANH}{H\`an Th\^e\llap{\raise 0.5ex\hbox{\'{}}} Th\`anh}{} +\abbr{THANH}{H\`an Th\'\ecircumflex{} Th\`anh}{} +\abbr{TINYDNS}{\textsf{tinydns}}{} +\abbr{TOMCAT}{Tomcat}{} +\abbr{TPHCM}{Tp.\,HCM}{} +\abbr{TRUETYPE}{True\kern-.1em Type}{TrueType} +\abbr{TUG}{TUG}{} +\abbr{UNICODE}{Unicode}{} +\abbr{UNIKEY}{Unikey}{} +\abbr{UNIX}{UNIX}{} +\abbr{UPORTAL}{uPortal}{} +\abbr{URW}{URW}{} +\abbr{URWVN}{URWVN}{} +\abbr{UTF8}{UTF8}{} +\abbr{VB}{Visual Basic}{} +\abbr{VC6}{Visual~C++~6.0}{} +\abbr{VIETLUG}{VietLUG}{} +\abbr{VIM}{Vim}{} +\abbr{VIM}{Vim}{} +\abbr{VISCII}{VISCII}{} +\abbr{VI}{Vi}{} +\abbr{VNCMR}{\textsf{vncmr}}{} +\abbr{VNI}{VNI}{} +\abbr{VNR}{VNR}{} +\abbr{VNTEX}{V\kern-.1em n\TeX}{VnTeX} +\abbr{VPS}{VPS}{} +\abbr{WC}{Windows Commander}{} +\abbr{WEB}{Web}{} +\abbr{WIN32}{Win32}{} +\abbr{WINDOWS}{Windows}{} +\abbr{WINEDT}{WinEdt}{} +\abbr{WWW}{WWW}{} +\abbr{XEMACS}{XEmacs}{} +\abbr{XEMTEX}{Xem\TeX}{XemTeX} +\abbr{XML}{XML}{} +\abbr{XPDF}{XPDF}{} +\abbr{YANDY}{Y<AND>Y}{} +\abbr{ZLIB}{ZLIB}{} +\abbr{EMAIL}{Email}{} +\abbr{WEBSITE}{Website}{} +\abbr{ASP}{ASP}{} +\abbr{FRONTPAGE}{FrontPage}{} +\abbr{DRW}{DreamWeaver}{} +\abbr{ABC}{ABC}{} +\abbr{VNI}{VNI}{} +\abbr{CTAN}{CTAN}{} +\abbr{PDFCPROT}{\textsf{pdfcprot}}{} +\abbr{PDFEXPAND}{\textsf{pdfexpand}}{} +\abbr{MICROTYPE}{\textsf{microtype}}{} +\abbr{PDFFONTS}{\textsf{pdffonts}}{} +\abbr{AFM2TFM}{\textsf{afm2tfm}}{} +\abbr{VF}{VF}{} +\abbr{TUGBOAT}{TUGboat}{} +\abbr{PSTRICKS}{\textsf{PStricks}}{} +\abbr{WEB2C}{\textsf{web2c}}{} +\abbr{IE}{i.\,e.\,\ignorespaces}{} +\abbr{ie}{i.\,e.\,\ignorespaces}{} +\abbr{GNU}{GNU}{} +\abbr{LIBAVL}{\textsf{libAVL}}{} +\abbr{TTF2AFM}{\textsf{ttf2afm}}{} +\abbr{PDFSYNC}{\textsf{pdfsync}}{} +\abbr{CFF}{CFF}{} +\abbr{GNOME}{GNOME}{} +\abbr{SGLUG}{SaigonLUG}{} +\abbr{SAIGON}{Sài Gòn}{} +\abbr{SQL}{SQL}{} +\abbr{RVT}{RVT}{} +\abbr{XML2PDF}{XML2PDF}{} +\abbr{GUI}{GUI}{} +\abbr{NFSS}{NFSS}{} +\abbr{VNOSS}{VnOSS}{} +\abbr{GPL}{GPL}{} +\abbr{LPPL}{LPPL}{} +\abbr{AFPL}{AFPL}{} +\abbr{X11}{X11}{} +\abbr{XETEX}{Xe\TeX}{} +\abbr{EXTEX}{Ex\TeX}{} +\abbr{LUATEX}{Lua\TeX}{} +\abbr{XDVI}{XDvi}{} +\abbr{YAP}{Yap}{} +\abbr{DVIPSONE}{DVIPSONE}{} +\abbr{PLNFSS}{PLNFSS}{} +\abbr{MSWORD}{MS~Word}{} +\abbr{OOWRITER}{OpenOffice~Writer}{} +\abbr{THAIHOA}{Th\'ai Ph\'u Kh\'anh H\`oa}{} +\abbr{TEXMAKER}{TeXMaker}{} +\abbr{WINSHELL}{WinShell}{} +\abbr{XUNIKEY}{XUniKey}{} +\abbr{XVNKB}{Xvnkb}{} +\abbr{URL}{URL}{} +\abbr{KILE}{Kile}{} +\abbr{LM}{Latin Modern}{} +\abbr{SRC}{SRC}{} + +\endinput diff --git a/Master/texmf-dist/doc/generic/vntex/source/test-accents.tex b/Master/texmf-dist/doc/generic/vntex/source/test-accents.tex new file mode 100644 index 00000000000..c0c9a43aeb1 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/test-accents.tex @@ -0,0 +1,185 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\large +\def\X#1{\hbox to 2em{\hss#1\hss}} +\begin{multicols}{2} +\noindent +\X{\ABREVE} \verb|\ABREVE| \\ +\X{\Abreve} \verb|\Abreve| \\ +\X{\ACIRCUMFLEX} \verb|\ACIRCUMFLEX| \\ +\X{\Acircumflex} \verb|\Acircumflex| \\ +\X{\ECIRCUMFLEX} \verb|\ECIRCUMFLEX| \\ +\X{\Ecircumflex} \verb|\Ecircumflex| \\ +\X{\Ocircumflex} \verb|\Ocircumflex| \\ +\X{\OCIRCUMFLEX} \verb|\OCIRCUMFLEX| \\ +\X{\OHORN} \verb|\OHORN| \\ +\X{\Ohorn} \verb|\Ohorn| \\ +\X{\UHORN} \verb|\UHORN| \\ +\X{\Uhorn} \verb|\Uhorn| \\ +\X{\abreve} \verb|\abreve| \\ +\X{\acircumflex} \verb|\acircumflex| \\ +\X{\dj} \verb|\dj| \\ +\X{\ecircumflex} \verb|\ecircumflex| \\ +\X{\i} \verb|\i| \\ +\X{\ocircumflex} \verb|\ocircumflex| \\ +\X{\ohorn} \verb|\ohorn| \\ +\X{\uhorn} \verb|\uhorn| \\ +\X{\'A} \verb|\'A| \\ +\X{\'E} \verb|\'E| \\ +\X{\'I} \verb|\'I| \\ +\X{\'O} \verb|\'O| \\ +\X{\'U} \verb|\'U| \\ +\X{\'Y} \verb|\'Y| \\ +\X{\'\ABREVE} \verb|\'\ABREVE| \\ +\X{\'\Abreve} \verb|\'\Abreve| \\ +\X{\'\ACIRCUMFLEX} \verb|\'\ACIRCUMFLEX| \\ +\X{\'\Acircumflex} \verb|\'\Acircumflex| \\ +\X{\'\ECIRCUMFLEX} \verb|\'\ECIRCUMFLEX| \\ +\X{\'\Ecircumflex} \verb|\'\Ecircumflex| \\ +\X{\'\OCIRCUMFLEX} \verb|\'\OCIRCUMFLEX| \\ +\X{\'\Ocircumflex} \verb|\'\Ocircumflex| \\ +\X{\'\OHORN} \verb|\'\OHORN| \\ +\X{\'\Ohorn} \verb|\'\Ohorn| \\ +\X{\'\UHORN} \verb|\'\UHORN| \\ +\X{\'\Uhorn} \verb|\'\Uhorn| \\ +\X{\'\abreve} \verb|\'\abreve| \\ +\X{\'\acircumflex} \verb|\'\acircumflex| \\ +\X{\'\ecircumflex} \verb|\'\ecircumflex| \\ +\X{\'\ocircumflex} \verb|\'\ocircumflex| \\ +\X{\'\ohorn} \verb|\'\ohorn| \\ +\X{\'\uhorn} \verb|\'\uhorn| \\ +\X{\'a} \verb|\'a| \\ +\X{\'e} \verb|\'e| \\ +\X{\'i} \verb|\'i| \\ +\X{\'o} \verb|\'o| \\ +\X{\'u} \verb|\'u| \\ +\X{\'y} \verb|\'y| \\ +\X{\^A} \verb|\^A| \\ +\X{\^E} \verb|\^E| \\ +\X{\^O} \verb|\^O| \\ +\X{\^a} \verb|\^a| \\ +\X{\^e} \verb|\^e| \\ +\X{\^o} \verb|\^o| \\ +\X{\`A} \verb|\`A| \\ +\X{\`E} \verb|\`E| \\ +\X{\`I} \verb|\`I| \\ +\X{\`O} \verb|\`O| \\ +\X{\`U} \verb|\`U| \\ +\X{\`Y} \verb|\`Y| \\ +\X{\`\ABREVE} \verb|\`\ABREVE| \\ +\X{\`\Abreve} \verb|\`\Abreve| \\ +\X{\`\ACIRCUMFLEX} \verb|\`\ACIRCUMFLEX| \\ +\X{\`\Acircumflex} \verb|\`\Acircumflex| \\ +\X{\`\ECIRCUMFLEX} \verb|\`\ECIRCUMFLEX| \\ +\X{\`\Ecircumflex} \verb|\`\Ecircumflex| \\ +\X{\`\OCIRCUMFLEX} \verb|\`\OCIRCUMFLEX| \\ +\X{\`\Ocircumflex} \verb|\`\Ocircumflex| \\ +\X{\`\OHORN} \verb|\`\OHORN| \\ +\X{\`\Ohorn} \verb|\`\Ohorn| \\ +\X{\`\UHORN} \verb|\`\UHORN| \\ +\X{\`\Uhorn} \verb|\`\Uhorn| \\ +\X{\`\abreve} \verb|\`\abreve| \\ +\X{\`\acircumflex} \verb|\`\acircumflex| \\ +\X{\`\ecircumflex} \verb|\`\ecircumflex| \\ +\X{\`\ocircumflex} \verb|\`\ocircumflex| \\ +\X{\`\ohorn} \verb|\`\ohorn| \\ +\X{\`\uhorn} \verb|\`\uhorn| \\ +\X{\`a} \verb|\`a| \\ +\X{\`e} \verb|\`e| \\ +\X{\`i} \verb|\`i| \\ +\X{\`o} \verb|\`o| \\ +\X{\`u} \verb|\`u| \\ +\X{\`y} \verb|\`y| \\ +\X{\d A} \verb|\d A| \\ +\X{\d E} \verb|\d E| \\ +\X{\d I} \verb|\d I| \\ +\X{\d O} \verb|\d O| \\ +\X{\d U} \verb|\d U| \\ +\X{\d Y} \verb|\d Y| \\ +\X{\d \ABREVE} \verb|\d \ABREVE| \\ +\X{\d \Abreve} \verb|\d \Abreve| \\ +\X{\d \ACIRCUMFLEX} \verb|\d \ACIRCUMFLEX| \\ +\X{\d \Acircumflex} \verb|\d \Acircumflex| \\ +\X{\d \ECIRCUMFLEX} \verb|\d \ECIRCUMFLEX| \\ +\X{\d \Ecircumflex} \verb|\d \Ecircumflex| \\ +\X{\d \OCIRCUMFLEX} \verb|\d \OCIRCUMFLEX| \\ +\X{\d \Ocircumflex} \verb|\d \Ocircumflex| \\ +\X{\d \OHORN} \verb|\d \OHORN| \\ +\X{\d \Ohorn} \verb|\d \Ohorn| \\ +\X{\d \UHORN} \verb|\d \UHORN| \\ +\X{\d \Uhorn} \verb|\d \Uhorn| \\ +\X{\d \abreve} \verb|\d \abreve| \\ +\X{\d \acircumflex} \verb|\d \acircumflex| \\ +\X{\d \ecircumflex} \verb|\d \ecircumflex| \\ +\X{\d \ocircumflex} \verb|\d \ocircumflex| \\ +\X{\d \ohorn} \verb|\d \ohorn| \\ +\X{\d \uhorn} \verb|\d \uhorn| \\ +\X{\d a} \verb|\d a| \\ +\X{\d e} \verb|\d e| \\ +\X{\d i} \verb|\d i| \\ +\X{\d o} \verb|\d o| \\ +\X{\d u} \verb|\d u| \\ +\X{\d y} \verb|\d y| \\ +\X{\h A} \verb|\h A| \\ +\X{\h E} \verb|\h E| \\ +\X{\h I} \verb|\h I| \\ +\X{\h O} \verb|\h O| \\ +\X{\h U} \verb|\h U| \\ +\X{\h Y} \verb|\h Y| \\ +\X{\h \ABREVE} \verb|\h \ABREVE| \\ +\X{\h \Abreve} \verb|\h \Abreve| \\ +\X{\h \ACIRCUMFLEX} \verb|\h \ACIRCUMFLEX| \\ +\X{\h \Acircumflex} \verb|\h \Acircumflex| \\ +\X{\h \ECIRCUMFLEX} \verb|\h \ECIRCUMFLEX| \\ +\X{\h \Ecircumflex} \verb|\h \Ecircumflex| \\ +\X{\h \OCIRCUMFLEX} \verb|\h \OCIRCUMFLEX| \\ +\X{\h \Ocircumflex} \verb|\h \Ocircumflex| \\ +\X{\h \OHORN} \verb|\h \OHORN| \\ +\X{\h \Ohorn} \verb|\h \Ohorn| \\ +\X{\h \UHORN} \verb|\h \UHORN| \\ +\X{\h \Uhorn} \verb|\h \Uhorn| \\ +\X{\h \abreve} \verb|\h \abreve| \\ +\X{\h \acircumflex} \verb|\h \acircumflex| \\ +\X{\h \ecircumflex} \verb|\h \ecircumflex| \\ +\X{\h \ocircumflex} \verb|\h \ocircumflex| \\ +\X{\h \ohorn} \verb|\h \ohorn| \\ +\X{\h \uhorn} \verb|\h \uhorn| \\ +\X{\h a} \verb|\h a| \\ +\X{\h e} \verb|\h e| \\ +\X{\h i} \verb|\h i| \\ +\X{\h o} \verb|\h o| \\ +\X{\h u} \verb|\h u| \\ +\X{\h y} \verb|\h y| \\ +\X{\~A} \verb|\~A| \\ +\X{\~E} \verb|\~E| \\ +\X{\~I} \verb|\~I| \\ +\X{\~O} \verb|\~O| \\ +\X{\~U} \verb|\~U| \\ +\X{\~Y} \verb|\~Y| \\ +\X{\~\ABREVE} \verb|\~\ABREVE| \\ +\X{\~\Abreve} \verb|\~\Abreve| \\ +\X{\~\ACIRCUMFLEX} \verb|\~\ACIRCUMFLEX| \\ +\X{\~\Acircumflex} \verb|\~\Acircumflex| \\ +\X{\~\ECIRCUMFLEX} \verb|\~\ECIRCUMFLEX| \\ +\X{\~\Ecircumflex} \verb|\~\Ecircumflex| \\ +\X{\~\OCIRCUMFLEX} \verb|\~\OCIRCUMFLEX| \\ +\X{\~\Ocircumflex} \verb|\~\Ocircumflex| \\ +\X{\~\OHORN} \verb|\~\OHORN| \\ +\X{\~\Ohorn} \verb|\~\Ohorn| \\ +\X{\~\UHORN} \verb|\~\UHORN| \\ +\X{\~\Uhorn} \verb|\~\Uhorn| \\ +\X{\~\abreve} \verb|\~\abreve| \\ +\X{\~\acircumflex} \verb|\~\acircumflex| \\ +\X{\~\ecircumflex} \verb|\~\ecircumflex| \\ +\X{\~\ocircumflex} \verb|\~\ocircumflex| \\ +\X{\~\ohorn} \verb|\~\ohorn| \\ +\X{\~\uhorn} \verb|\~\uhorn| \\ +\X{\~a} \verb|\~a| \\ +\X{\~e} \verb|\~e| \\ +\X{\~i} \verb|\~i| \\ +\X{\~o} \verb|\~o| \\ +\X{\~u} \verb|\~u| \\ +\X{\~y} \verb|\~y| \\ +\end{multicols} diff --git a/Master/texmf-dist/doc/generic/vntex/source/vn-fonts-print.tex b/Master/texmf-dist/doc/generic/vntex/source/vn-fonts-print.tex new file mode 100644 index 00000000000..15f07c9cc3c --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/vn-fonts-print.tex @@ -0,0 +1,2 @@ +\def\printversion{true} +\input vn-fonts.tex diff --git a/Master/texmf-dist/doc/generic/vntex/source/vn-fonts.tex b/Master/texmf-dist/doc/generic/vntex/source/vn-fonts.tex new file mode 100644 index 00000000000..f8051745b67 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/vn-fonts.tex @@ -0,0 +1,609 @@ +\ifx\printversion\undefined + \documentclass[12pt]{article} +\else + \documentclass[11pt,a4paper]{article} + \RequirePackage[monochrome]{color} + \advance\topmargin by -2.2cm + \advance\textheight by 3.3cm + \advance\footskip by .5cm + \advance\oddsidemargin by -0.5cm + \advance\textwidth by 1cm +\fi +\usepackage{url} +\usepackage[colorlinks,bookmarks=false]{hyperref} +\usepackage{mflogo} +\usepackage{fancyvrb} +\usepackage[utf8]{vietnam} +\usepackage{charter} + + +%%\parskip.5\baselineskip +%%\parindent0pt +\usepackage{parskip} +\raggedbottom +\DefineShortVerb{\|} +\input{abbr.tex} + +\begin{document} + +\title{Dùng font vá»›i \<VNTEX>} +\author{Hà n Thế Thà nh và Thái Phú Khánh Hòa} +\maketitle + +\section{Giá»›i thiệu} +Tà i liệu nà y hÆ°á»›ng dẫn cách sá» dụng các font tiếng Việt vá»›i +\<VNTEX>. Tà i liệu giả sá» rằng bạn đã +\begin{itemize} +\item cà i đặt được \<VNTEX> lên hệ thống \<TEX> của bạn (nếu bạn dùng + \<TEXLIVE>\,$\ge$\,2005 hoặc \<MIKTEX>\,$\ge$\,2.5 thì \<VNTEX> đã + được tÃch hợp sẵn, bạn không phải tá»± cà i đặt); +\item gõ (và hiển thị) được tiếng Việt; +\item đã biên dịch được má»™t tà i liệu và dụ vá»›i ná»™i dung tÆ°Æ¡ng tá»± sau: +\begin{verbatim} +\documentclass{report} +\usepackage[utf8]{vietnam} +\begin{document} +Tiếng Việt +\end{document} +\end{verbatim} +\end{itemize} + +Nếu bạn chÆ°a thá»±c hiện được các bÆ°á»›c trên, xin vui lòng tham khảo các +tà i liệu hoặc các diá»…n Ä‘Ã n liên quan trÆ°á»›c khi tiếp tục. + +Tà i liệu nà y chỉ Ä‘á» cáºp đến các font có trong \<VNTEX>, và các font có +há»— trợ cho tiếng Việt được phân phối cùng vá»›i các hệ thống \<TEX> +thông dụng hiện nay nhÆ° \<TEXLIVE> hay \<MIKTEX>. Còn nhiá»u font khác +tuy cÅ©ng há»— trợ tiếng Việt nhÆ°ng không được Ä‘á» cáºp ở đây vì nhiá»u lý +do khác nhau. \<VNTEX> chỉ há»— trợ các font: +\begin{itemize} +\item có chất lượng tÆ°Æ¡ng đối tốt; +\item miá»…n phÃ, có bản quyá»n rõ rà ng và có thể phân phối lại; +\item có thể dùng được vá»›i ``classic'' (8-bit) \<TEX> và các \<DVI> + driver thông dụng nhÆ° \<XDVI>, \<YAP>, \<DVIPS>, \<DVIPSONE> hay + \<DVIPDFM>. Ngoại lệ duy nhất là má»™t số font \<TRUETYPE> (MS core) + yêu cầu phải có driver há»— trợ font \<TRUETYPE>, và dụ \<PDFTEX> hay + \<DVIPDFMX>. +\end{itemize} + +Các hÆ°á»›ng dẫn ở đây chỉ dùng cho \<LATEX>. Nếu bạn dùng \<CONTEXT>, +xin vui lòng Ä‘á»c tà i liệu hÆ°á»›ng dẫn dà nh cho \<CONTEXT>. Còn nếu bạn +dùng \<PLAIN>, thì bạn phải tá»± mà y mò lấy |:)|. Mẹo: có thể dùng gói +\<PLNFSS> để dùng \<NFSS> vá»›i \<PLAIN>. + +\section{CÆ¡ chế chá»n font trong \<LATEX>} +Má»™t chút kiến thức vá» \<NFSS> (cÆ¡ chế chá»n font trong \<LATEX>) sẽ rất +có Ãch ở đây. Chúng tôi sẽ giá»›i thiệu \<NFSS> má»™t cách nôm na (và đôi +khi có thể thiếu chÃnh xác), vá»›i hy vá»ng là là m nhÆ° váºy sẽ dá»… hiểu +hÆ¡n. + +\subsection{Các thuá»™c tÃnh của font} +Khi chúng ta dùng \<MSWORD>, \<OOWRITER> hay má»™t trình soạn thảo tÆ°Æ¡ng +tá»± tạo má»™t văn bản má»›i thì luôn có má»™t font chữ mặc định, thÆ°á»ng là +Times New Roman, cỡ chữ 12pt, chữ thÆ°á»ng (không nghiêng không +Ä‘áºm). Chúng ta có thể thay đổi font chữ mặc định bằng cách chá»n chữ +nghiêng, chữ Ä‘áºm, hay thay đổi cỡ chữ. NhÆ° váºy để xác định má»™t font, +ta thấy chỉ dùng tên của font (Times) chÆ°a đủ, mà ta còn phải mô tả +thêm các tÃnh chất khác, nhÆ° Ä‘á»™ nghiêng, Ä‘á»™ Ä‘áºm hay cỡ chữ. Các tÃnh +chất của má»™t font ta gá»i là các thuá»™c tÃnh (attribute) của font. Khi +ta thay đổi má»™t font, thá»±c ra là ta thay đổi (chá»n) các thuá»™c tÃnh +khác nhau của font. Ta cÅ©ng có thể coi tên gá»i của font là má»™t thuá»™c +tÃnh. Ta có thể chá»n kiểu chữ khác, và dụ Arial, bằng cách thay đổi +tên (hay ``thuá»™c tÃnh tên'') của font. + +Khi ta dùng \<LATEX> thì cÆ¡ chế chá»n font cÅ©ng hoạt Ä‘á»™ng tÆ°Æ¡ng tá»±. Khi +ta tạo má»™t văn bản \<LATEX>, thì ban đầu cÅ©ng có má»™t font mặc định, +thÆ°á»ng là font |cmr10| (Computer Modern, cỡ chữ 10pt, chữ thÆ°á»ng). +Các câu lệnh \<LATEX> dùng để thay đổi kiểu font mà ta vẫn hay gặp nhÆ° +|\textit|, |\texttt|, |\bf|, |\large|, \<...> thá»±c ra là các lệnh dùng +để thay đổi các thuá»™c tÃnh của font. Và dụ lệnh |\textit| sẽ chá»n +``thuá»™c tÃnh nghiêng'' của font. + +Váºy giá» ta chỉ cần biết font trong \<LATEX> có các thuá»™c tÃnh nà o và +cách thay đổi các thuá»™c tÃnh đó là có thể chá»n lá»±a font theo ý thÃch +của mình. + +Các thuá»™c tÃnh của font trong \<LATEX> là : +\begin{description} +\item[bảng mã (font encoding):] xác định font chứa các ký tá»± nà o. Các + bảng mã thÆ°á»ng gặp: +\begin{itemize} +\item |OT1| -- bảng mã dùng cho các font Compuder Modern (7-bit) +\item |T1| -- bảng mã cho các font chứa các ký tá»± trong các ngôn ngữ latin +Tây Âu (iso-8859-1) và Äông Âu (iso-8859-2) +\item |T5| -- bảng mã cho tiếng Việt +\end{itemize} + +\item[há» font (font family):] xác định kiểu (há») font, tÆ°Æ¡ng tá»± nhÆ° Times +New Roman hay Arial. Vì nhiá»u lý do mà há» font trong \<LATEX> thÆ°á»ng có tên +rất ngắn (3--5 ký tá»±) và tÆ°Æ¡ng đối khó nhá»›. Má»™t số há» font thÆ°á»ng gặp: +\begin{itemize} +\item |cmr| -- Computer Modern Roman +\item |ptm| -- Times Roman +\item |phv| -- Helvetica +\end{itemize} + +\item [Ä‘á»™ Ä‘áºm (font series):] xác định Ä‘á»™ Ä‘áºm nhạt của font. Äôi khi cả +thuá»™c tÃnh chiá»u rá»™ng (width) cÅ©ng được gán và o đây. Các giá trị +thÆ°á»ng gặp: +\begin{itemize} +\item |m| (medium) -- chữ thÆ°á»ng (không Ä‘áºm) +\item |b| (bold) -- chữ Ä‘áºm +\item |bx| (bold extended) -- chữ Ä‘áºm và rá»™ng hÆ¡n chữ thÆ°á»ng +\end{itemize} + +\item [kiểu dáng (font shape):] xác định kiểu dáng font, và dụ chữ thẳng +hay chữ nghiêng. Các giá trị thÆ°á»ng gặp: +\begin{itemize} +\item |n| -- chữ thÆ°á»ng (thẳng) +\item |it| -- chữ nghiêng ``italic'' +\item |sl| -- chữ nghiêng ``oblique'' +\item |sc| -- chữ ``smallcap'' (các chữ thÆ°á»ng có hình dáng nhÆ° chữ hoa, +nhÆ°ng bé hÆ¡n) +\end{itemize} +Chữ nghiêng italic và oblique khác nhau ở chá»— hình dáng chữ nghiêng +oblique trông giống nhÆ° chữ thẳng (chỉ trừ má»—i khoản ``nghiêng''), còn +chữ italic có hình dáng khác khá nhiá»u so vá»›i chữ thẳng, thÆ°á»ng chữ +italic có hình dáng gần vá»›i chữ viết tay hÆ¡n. Muốn biết rõ hÆ¡n bạn có +thể phóng to và so sánh chữ |a| của chữ nghiêng italic vá»›i chữ thẳng. + +\item [cỡ chữ (font size):] xác định cỡ chữ. +\end{description} + +Äể thay đổi thuá»™c tÃnh của font, ta có thể xem và dụ sau: + +\begin{verbatim} +\fontshape{it} +\selectfont +\end{verbatim} + +Và dụ trên chá»n giá trị ``nghiêng italic'' cho thuá»™c tÃnh ``kiểu +dáng'' (|fontshape|). LÆ°u ý là sau khi thay đổi thuá»™c tÃnh font, ta +phải dùng lệnh |\selectfont| để chá»n font có thuá»™c tÃnh má»›i. Cách chá»n +font nhÆ° trong và dụ trên ta Ãt khi gặp, vì ta hay dùng lệnh |\it| +hoặc |\textit| để chá»n chữ nghiêng. Các lệnh nà y thá»±c ra là các lệnh +gõ tắt (shortcut) để tiện cho ngÆ°á»i dùng. Dá»±a trên nguyên tắc nà y, ta +có thể Ä‘oán được lệnh dùng để chá»n font chữ Ä‘áºm ta hay dùng (|\bf| hay +|\textbf|) thá»±c ra là lệnh gõ tắt của: + +\begin{verbatim} +\fontseries{b} +\selectfont +\end{verbatim} + +Ta cÅ©ng có thể thay đổi nhiá»u thuá»™c tÃnh cùng má»™t lúc rồi dùng +|\selectfont| để chá»n font. Và dụ sau sẽ chá»n font vừa nghiêng vừa Ä‘áºm: + +\begin{verbatim} +\fontshape{it} +\fontseries{b} +\selectfont +\end{verbatim} + +Äến đây chắc bạn cÅ©ng có thể Ä‘oán ra là các lệnh thay đổi cỡ chữ nhÆ° +|\large|, |\huge|,\<...> là các lệnh gõ tắt dùng để thay đổi thuá»™c +tÃnh |fontsize| của font. + +\subsection{Các há» (kiểu) chữ mặc định} +Ta sẽ tìm hiểu thêm vá» việc thay đổi thuá»™c tÃnh |fontfamily| của má»™t +font. Còn |fontencoding| thì \emph{rất Ãt khi} cần thay đổi nên ta +không Ä‘á» cáºp đến ở đây. + +Khi ta bắt đầu má»™t văn bản \<LATEX>, font chữ mặc định là kiểu chữ +``có chân'' (roman, serif). Khi ta dùng lệnh |\sf| hay |\textsf|, thì +\<LATEX> chuyển sang font chữ ``không chân'' (sans serif). Việc chuyển +font nà y được thá»±c hiện bởi các lệnh thay đổi thuá»™c tÃnh ta đã biết: + +\begin{verbatim} +\fontfamily{\sfdefault} +\selectfont +\end{verbatim} + +|\sfdefault| là má»™t macro chứa giá trị |fontfamily| của font không +chân mặc định, thÆ°á»ng là |cmss| (Computer Modern Sans Serif). TÆ°Æ¡ng tá»± +nhÆ° váºy, việc chuyển sang font ``máy chữ'' (typewriter) bằng lệnh +|\tt| hay |\texttt| thá»±c ra là việc thay đổi thuá»™c tÃnh |fontfamily| +nhÆ° sau: + +\begin{verbatim} +\fontfamily{\ttdefault} +\selectfont +\end{verbatim} + +Thông thÆ°á»ng |\ttdefault| có giá trị |cmtt| (Computer Modern Typewriter). + +Ta tóm tắt lại các giá trị mặc định của |fontfamily| mà \<LATEX> dùng +cho các há» chữ: +\begin{itemize} +\item |\rmdefault| -- dùng cho font có chân, thÆ°á»ng là |cmr|. Font nà y + được chá»n sau dòng |\begin{document}| +\item |\sfdefault| -- dùng cho font không chân, thÆ°á»ng là + |cmss|. Font nà y được chá»n khi ta dùng lệnh |\sf| hay |\textsf| +\item |\sfdefault| -- dùng cho font máy chữ, thÆ°á»ng là |cmtt|. Font + nà y được chá»n khi ta dùng lệnh |\tt| hay |\texttt| +\end{itemize} + +Và dụ khi ta muốn dùng font Bitstream Charter nhÆ° font có chân mặc định +trong văn bản, thì ta thêm dòng sau và o ``preamble'' của văn bản (phần +trÆ°á»›c |\begin{document}|): + +\begin{verbatim} +\renewcommand{\rmdefault}{bch} +\end{verbatim} + +Ta cÅ©ng có thể dùng gói |charter.sty| để kÃch hoạt font Bitstream Charter +cho văn bản của mình bằng cách thêm và o preamble dòng sau: + +\begin{verbatim} +\usepackage{charter} +\end{verbatim} + +Nếu ta xem ná»™i dung của gói |charter.sty| thì cÅ©ng sẽ thấy ná»™i dung tÆ°Æ¡ng +tá»± nhÆ° trên. + +\section{Là m sao biết được có thể chá»n font nà o?} +Äến đây chắc bạn Ä‘á»c cÅ©ng hình dung ra được việc thay đổi font có +chân, không chân và font máy chữ cho má»™t văn bản thá»±c ra chỉ là việc +định nghÄ©a lại các macro |\rmdefault|, |\sfdefault| và +|\ttdefault|. Vấn Ä‘á» còn lại là là m sao biết được các giá trị +|fontfamily| của font mà ta muốn dùng. Và dụ ta muốn dùng font +Palatino, là m sao biết được giá trị |fontfamily| của font nà y mà chá»n? + +Cách Ä‘Æ¡n giản nhất là xem các mẫu font của \<VNTEX> (và má»™t số font +khác cÅ©ng há»— trợ tiếng Việt) tại +\href{http://vntex.org/fonts/samples}{đây}. Ta xem thá» má»™t và dụ sau: +xem mẫu font \<URWVN> +(\href{http://vntex.org/fonts/samples/urwvn-test.pdf}{urwvn-test.pdf}), +ta thấy có các cá»™t (theo thứ tá»± từ trái sang phải): +\begin{description} +\item [NFSS] -- các thuá»™c tÃnh của font nhÆ° ta đã tìm hiểu, theo thứ tá»±\\ +|fontencoding/fontfamily/fontseries/fontshape|. Thuá»™c tÃnh |fontsize| không +được Ä‘á» cáºp đến ở đây vì không cần thiết. +\item [TFM] -- tên táºp tin chứa font (tạm thá»i ta không cần quan tâm) +\item [PostScript] -- tên ``thông thÆ°á»ng'' của font +\item [Sample] -- mẫu font +\end{description} + +Và dụ xem dòng đầu tiên ta thấy \textbf{NFSS} = |T5/uag/db/n| và +\textbf{PostScript} = |VnURWGothicL-Demi|, có thể hiểu nhÆ° sau: font +nà y có tên thông thÆ°á»ng là |VnURWGothicL-Demi|, và các thuá»™c tÃnh +\<NFSS> của font nà y là :\\[1ex] +\begin{tabular}{ll} +|fontencoding| & = |T5|\\ +|fontfamily| & = |uag|\\ +|fontseries| & = |db|\\ +|fontshape| & = |n|\\ +\end{tabular} + +\selectfont + + +Giả sá» bây giá» ta muốn chá»n font Century Schoolbook là m font có chân +mặc định trong văn bản. Xem ở cá»™t \textbf{PostScript} ta thấy các font +trong há» nà y có tên bắt đầu vá»›i |VnCenturySchoolbookL| (có má»™t số font +cùng trong há» font nà y có tên \textbf{PostScript} là |N/A|, Ä‘iá»u nà y +tạm thá»i ta cÅ©ng chÆ°a cần quan tâm). Xem ở cá»™t \textbf{NFSS} ta thấy +các font nà y có |fontfamily| là |unc|. Äể chá»n font nà y ta thêm và o +preamble dòng: + +\begin{verbatim} +\renewcommand{\rmdefault}{unc} +\end{verbatim} + +TÆ°Æ¡ng tá»± nhÆ° váºy, nếu ta muốn chá»n font VnNimbusSansL (giống nhÆ° +Helvetica) là m font không chân mặc định, thì ta dùng: + +\begin{verbatim} +\renewcommand{\sfdefault}{uhv} +\end{verbatim} + +Ta cÅ©ng có thể chá»n má»™t font tùy ý mà không cần phải thay đổi các giá +trị mặc định. Và dụ ta muốn dùng font VnURWGothicL-Demi chỉ cho má»™t +Ä‘oạn ngắn nà o đó trong văn bản thì ta chá»n font nà y dá»±a và o các thuá»™c +tÃnh ở cá»™t \textbf{NFSS} nhÆ° sau: + +\begin{verbatim} +\fontencoding{T5} +\fontfamily{uag} +\fontseries{db} +\fontshape{n} +\selectfont +\end{verbatim} + +Các lệnh trên có thể viết gá»n hÆ¡n: +\begin{verbatim} +\usefont{T5}{uag}{db}{n} +\end{verbatim} + +\section{Má»™t số vấn Ä‘á» liên quan} +\subsection{Chá»n font nhÆ° thế nà o là hợp lý?} +Chá»n font cÅ©ng nhÆ° trang Ä‘iểm, nếu không rà nh mà cứ dùng tháºt nhiá»u font +cho má»™t văn bản thì cÅ©ng nhÆ° trang Ä‘iểm dùng tháºt nhiá»u các mỹ phẩm khác +nhau cho má»™t khuôn mặt. Kết quả là ta tưởng ta đẹp trong khi ngÆ°á»i khác +nhìn và o thấy buồn cÆ°á»i. + +Váºy là m sao để có thể ``rà nh''? Câu trả lá»i duy nhất theo chúng tôi là qua +há»c há»i, tìm tòi và kinh nghiệm thá»±c tế. BÆ°á»›c đầu thì nên theo những hÆ°á»›ng +dẫn cÆ¡ bản, khi đã có kinh nghiệm thì ta có thể là m theo sở thÃch của mình. +Các qui tắc có Ãch khi má»›i bắt đầu là : +\begin{itemize} +\item nên tránh dùng các lệnh chá»n font của \<LATEX> phiên bản cÅ© (2.09) nhÆ° +|\bf|, |\it|, |\tt|\<...> Thay và o đó hãy dùng các lệnh tÆ°Æ¡ng ứng của +\<LATEX>2e nhÆ° |\textbf|, |\textit|, |\texttt|,\<...> + +\item trong má»™t văn bản chỉ nên dùng tối Ä‘a 3 há» font: có chân, không + chân và máy chữ + +\item nên thay đổi các há» font mặc định bằng các gói tÆ°Æ¡ng ứng nếu + có. Và dụ nếu đã có gói |charter.sty| thì ta nên dùng + +\begin{verbatim} +\usepackage{charter} +\end{verbatim} + +thay vì + +\begin{verbatim} +\renewcommand{\rmdefault}{bch} +\end{verbatim} + +Lý do chÃnh là má»™t số gói có thể chứa thêm các Ä‘iá»u chỉnh cần thiết +ngoà i việc định nghÄ©a lại |\rmdefault|, |\sfdefault| hay +|\ttdefault|. Ngoà i ra má»™t số gói có thể chá»n nhiá»u font ``hợp nhau'' +cùng má»™t lúc, Và dụ gói |newcent.sty| ngoà i việc chá»n |pnc| (New +Century SchoolBook) cho font có chân mặc định (|\rmdefault|) còn chá»n +|pag| (Avant Garde) cho font không chân mặc định (|\sfdefault|) và +|pcr| (Courier) cho font máy chữ mặc định (|\ttdefault|), vì 3 font +nà y có vẻ ``hợp nhau''. + +Các gói để chá»n font cho \<VNTEX> sẽ được mô tả ở phần sau. + +\item Chú ý là không phải cứ chá»n font bằng gói là tối Æ°u, vì có má»™t + số gói đã ``lá»—i thá»i'' (obsolete). Nên Ä‘á»c tà i liệu + \href{http://ctan.org/tex-archive/info/l2tabu/english/l2tabuen.pdf}{l2tabuen} + để biết thêm thông tin vá» các gói lá»—i thá»i và cách dùng các gói + tÆ°Æ¡ng ứng. + +\item nếu bạn muốn dùng má»™t font mà không tìm được gói tÆ°Æ¡ng ứng, thì + nên nên tìm hiểu kỹ (qua tà i liệu, Internet, các diá»…n Ä‘Ã n,\<...>) để + biết các há» font nà o thÃch hợp vá»›i nhau, +\end{itemize} + +\subsection{Chá»n font toán nhÆ° thế nà o cho hợp lý?} +Tà i liệu tốt nhất cho Ä‘á» tà i nà y là +\href{http://ctan.tug.org/tex-archive/info/Free_Math_Font_Survey/survey.html}{Free + Math Font Survey}. Hiện bản tiếng Việt chÆ°a được dịch. LÆ°u ý có má»™t +số font trong tà i liệu nà y chÆ°a há»— trợ tiếng Việt. Trong tÆ°Æ¡ng lai có +thể chúng tôi sẽ Việt hóa các font nà y. + +\section{Cách chá»n các font vá»›i \<VNTEX>} +\subsection{\<VNR>} +Các font \<VNR> là font mặc định khi dùng \<VNTEX> nên không cần phải +là m gì thêm. + +\subsection{\<LM>} +Dá»± án font \<LM> nhằm thống nhất các bản ``địa phÆ°Æ¡ng hóa'' font \<CM> +cho các ngôn ngữ khác nhau. Äể dùng các font \<LM> thay cho font +\<VNR>, bạn chỉ cần dùng: + +\begin{verbatim} +\usepackage{lmodern} +\end{verbatim} + +\subsection{Antykwa Torunska} +Äây là bá»™ font có chân do nhà thiết kế chữ ngÆ°á»i Ba Lan Zygfryd +Gardzielewski tạo ra, sau đó được Janusz Marian Nowacki chuyển sang +định dạng \<T1> và thêm há»— trợ cho nhiá»u ngôn ngữ khác trong đó có cả +tiếng Việt. Bá»™ font nà y miá»…n phà và có sẵn trong nhiá»u bản phân phối +\<TEX> thông dụng. Bạn có thể Ä‘á»c thêm vá» bá»™ font nà y tại +\href{http://www.janusz.nowacki.strefa.pl}{đây}. + +Äể dùng bá»™ font nà y bạn có thể dùng gói |anttor| vá»›i các lá»±a chá»n khác +nhau:\\[1ex] +\begin{tabular}{ll} +|\usepackage{anttor}| & chá»n kiểu font thÆ°á»ng\\ +|\usepackage[light]{anttor}| & chá»n kiểu font mảnh\\ +|\usepackage[condensed]{anttor}| & chá»n kiểu font hẹp\\ +|\usepackage[light,condensed]{anttor}| & chá»n kiểu font vừa mảnh vừa hẹp\\ +\end{tabular}\\[1ex] + +\subsection{Kurier} +Bá»™ font Kurier cÅ©ng do Janusz Marian Nowacki thá»±c hiện và được công bố +tại cùng địa chỉ vá»›i font Antykwa Torunska. + +TÆ°Æ¡ng tá»±, để dùng bá»™ font nà y bạn có thể dùng gói |kurier| vá»›i các lá»±a +chá»n khác nhau:\\[1ex] +\begin{tabular}{ll} +|\usepackage{kurier}| & chá»n kiểu font thÆ°á»ng\\ +|\usepackage[light]{kurier}| & chá»n kiểu font mảnh\\ +|\usepackage[condensed]{kurier}| & chá»n kiểu font hẹp\\ +|\usepackage[light,condensed]{kurier}| & chá»n kiểu font vừa mảnh vừa hẹp\\ +\end{tabular}\\[1ex] + +\subsection{Iwona} +Bá»™ font Iwona cÅ©ng do Janusz Marian Nowacki thá»±c hiện và được công bố tại +cùng địa chỉ vá»›i font Antykwa Torunska. + +TÆ°Æ¡ng tá»±, để dùng bá»™ font nà y bạn có thể dùng gói |iwona| vá»›i các lá»±a chá»n +khác nhau:\\[1ex] +\begin{tabular}{ll} +|\usepackage{iwona}| & chá»n kiểu font thÆ°á»ng\\ +|\usepackage[light]{iwona}| & chá»n kiểu font mảnh\\ +|\usepackage[condensed]{iwona}| & chá»n kiểu font hẹp\\ +|\usepackage[light,condensed]{iwona}| & chá»n kiểu font vừa mảnh vừa hẹp\\ +\end{tabular}\\[1ex] + +\subsection{\<URWVN>} +Tà i liệu hÆ°á»›ng dẫn sá» dụng cho các font \<PS> thông thÆ°á»ng (35 font \<PS> +``chuẩn'') cÅ©ng dùng được vá»›i các font \<URWVN>. Tà i liệu nà y có tên là +|psnfss2e.pdf| hoặc |psnfss2e.dvi| và thÆ°á»ng có sẵn trong các bản \<TEX>. +Nếu chÆ°a có tà i liệu nà y trên máy thì bạn có thể tải vá» từ +\href{http://www.ctan.org/tex-archive/macros/latex/required/psnfss/psnfss2e.pdf}{đây}. + +Ở đây chúng tôi chỉ ghi lại phần giá»›i thiệu để bạn có thể sá» dụng ngay các +font nà y. Nếu bạn có thắc mắc gì xin hãy Ä‘á»c tà i liệu nguyên bản để biết +thêm chi tiết. +\begin{quotation} +\parindent0pt +\noindent Cách Ä‘Æ¡n giản nhất để sá» dụng các font \<PS> thông dụng là +định nghÄ©a lại các giá trị mặc định của các font có chân (roman), +không chân (sans serif) và font máy chữ (typewriter). Äể là m việc nà y +bạn có thể sá» dụng các gói trong bảng dÆ°á»›i đây. Dòng đầu tiên liệt kê +các há» font mặc định (Computer Modern). Cá»™t nà o trống có nghÄ©a là gói +tÆ°Æ¡ng ứng không thay đổi giá trị font mặc định cho cá»™t đó. Có má»™t số +gói được giải thÃch chi tiết hÆ¡n, và dụ gói |helvet|, |mathpazo| và +|mathptmx|. + +\begin{table}[!htb] +\caption{Các gói dùng cho việc sá» dụng các font \<PS> thông dụng} +\medskip +\begin{center} +\UndefineShortVerb{\|} +\renewcommand{\arraystretch}{1.2} +\newcommand{\Lpack}[1]{\textsf{#1}} +\def\NL{\hfil\break} +\ifx\printversion\undefined + %\footnotesize + %\begin{tabular}{|l|p{1.8cm}p{2.2cm}p{2.4cm}p{2.2cm}|} + \small + \begin{tabular}{|l|p{2.8cm}p{2.4cm}p{2.6cm}p{2.3cm}|} +\else + \small + \begin{tabular}{|l|p{2.8cm}p{2.4cm}p{2.6cm}p{2.3cm}|} +\fi + \hline + \textbf{tên gói} & \textbf{font có \NL chân \NL(roman)} & + \textbf{font \NL không chân \NL (sans serif)} & + \textbf{font máy chữ \NL(typewriter)} & + \textbf{font công \NL thức toán} \\\hline\hline + (none) & CM Roman & CM Sans Serif + & CM Typewriter & $\approx$ CM Roman\\\hline + \Lpack{mathpazo} & Palatino + & + & + & $\approx$ Palatino\\\hline + \Lpack{mathptmx} & Times + & + & + & $\approx$ Times\\\hline + \Lpack{helvet} & + & Helvetica + & + & \\\hline + \Lpack{avant} & + & Avant~Garde + & + & \\\hline + \Lpack{courier} & + & + & Courier + & \\\hline + \Lpack{chancery} & Zapf Chancery + & + & + & \\\hline + \Lpack{bookman} & Bookman + & Avant~Garde + & Courier + & \\\hline + \Lpack{newcent} & \raggedright New Century Schoolbook + & Avant~Garde + & Courier + & \\\hline + \Lpack{charter} & Charter + & + & + & \\\hline +\end{tabular} +\end{center} +\end{table} + + +Và dụ khi ta dùng +\begin{verbatim} +\usepackage{bookman} +\end{verbatim} + +thì sẽ được\\[1ex] +\begin{tabular}{ll} +font có chân & = Bookman\\ +font không chân & = Avant~Garde\\ +font máy chữ & = Courier\\ +\end{tabular}\\[1ex] +do gói nà y định nghÄ©a lại cả 3 há» font. Còn nếu ta dùng +\begin{verbatim} +\usepackage{charter} +\end{verbatim} + +thì sẽ được\\[1ex] +\begin{tabular}{ll} +font có chân & = Charter\\ +font không chân & = CM Sans Serif (default)\\ +font máy chữ & = CM Typewriter (default)\\ +\end{tabular}\\[1ex] +do gói nà y chỉ định nghÄ©a lại há» font có chân, còn 2 há» font kia vẫn giữ giá +trị mặc định. + +\end{quotation} + +Má»™t lÆ°u ý quan trá»ng là các tên \<PS> của các font \<URWVN> (thá»±c chất +là tên các font \<URW> có thêm prefix |Vn|) không giống nhÆ° tên của 35 +font \<PS> chuẩn, vì các tên nà y do \<URW> đặt cho các font của mình +trong khi tên của 35 font \<PS> chuẩn do Adobe đặt. Bạn có thể tham +khảo bảng dÆ°á»›i đây để biết các font nà o tÆ°Æ¡ng Ä‘Æ°Æ¡ng vá»›i nhau: + +\begin{center} +\UndefineShortVerb{\|} +\renewcommand{\arraystretch}{1.2} +\begin{tabular}{|l|l|} +\hline +VnURWGothicL & AvantGarde\\ +VnURWBookmanL & Bookman\\ +VnNimbusMonoL & Courier\\ +VnNimbusSansL & Helvetica\\ +VnURWPalladioL & Palatino\\ +VnNimbusRomanNo9L & Times\\ +VnURWChanceryL & ZapfChancery\\ +\hline +\end{tabular} +\end{center} + + +\subsection{Bitstream Charter} +Dùng gói |charter| nhÆ° sau: +\begin{verbatim} +\usepackage{charter} +\end{verbatim} + +\subsection{MS core} +Các font MS core do Monotype và Linotype thá»±c hiện và bán lại cho +Microsoft (trừ các font Tahoma và Verdana do Microsoft tá»± thá»±c +hiện). Các font nà y có định dạng \<TRUETYPE> và yêu cầu phải có driver +há»— trợ font \<TRUETYPE>, và dụ \<PDFTEX> hay \<DVIPDFMX>. + +Hiện nay chÆ°a có gói nà o há»— trợ việc dùng các font nà y, do đó ta phải +tá»± định nghÄ©a lại các há» font mặc định |\rmdefault|, |\sfdefault| và +|\ttdefault| nhÆ° đã trình bà y ở trên. Ở đây chúng tôi chỉ nêu má»™t và +dụ: giả sá» sau khi xem mẫu font mscore tại +\href{http://vntex.org/fonts/samples/mscore-test.pdf}{đây}, ta muốn +dùng font Verdana là m font không chân mặc định. Các font nà y có thuá»™c +tÃnh |fontfamily| là |jvn|, do đó ta cần thêm và o preamble dòng: + +\begin{verbatim} +\renewcommand{\sfdefault}{jvn} +\end{verbatim} + +Muốn sá» dụng các font còn lại ta là m tÆ°Æ¡ng tá»±. + +Nếu bạn muốn viết các gói để há»— trợ các font nà y thì chúng tôi rất +hoan nghênh. + +Äa số các font trong bá»™ font nà y Ä‘á»u có phiên bản tÆ°Æ¡ng ứng trong bá»™ +\<URWVN> (trừ các font Tahoma và Verdana). Bạn có thể dùng font nà o +bạn thÃch hÆ¡n. Theo ý kiến chủ quan của chúng tôi thì các font +\<URWVN> có các dấu tiếng Việt ``đẹp'' hÆ¡n. + +\section{Góp ý} +Má»i ý kiến đóng góp xin gởi đến các tác giả |hanthethanh| hoặc +|h2vnteam| tại |gmail| chấm |com|. +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/source/vn-min-print.tex b/Master/texmf-dist/doc/generic/vntex/source/vn-min-print.tex new file mode 100644 index 00000000000..f610e7d9875 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/vn-min-print.tex @@ -0,0 +1,2 @@ +\RequirePackage[monochrome]{color} +\input{vn-min.tex} diff --git a/Master/texmf-dist/doc/generic/vntex/source/vn-min.tex b/Master/texmf-dist/doc/generic/vntex/source/vn-min.tex new file mode 100644 index 00000000000..0a869eac32c --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/vn-min.tex @@ -0,0 +1,109 @@ +\documentclass[a4paper,12pt]{article} +\usepackage[ + a4paper, + nohead, + nofoot, + top=2cm, + bottom=2cm, + left=2cm, + right=2cm, + pdftex]{geometry} +% \usepackage{array} +\usepackage{fancyvrb} +\usepackage{url} +\usepackage{charter} +\usepackage{multicol} +\usepackage[colorlinks,bookmarks=false]{hyperref} +\usepackage[vietnam,english]{babel} + +% \pagestyle{empty} +\def\arraystretch{1.3} +\DefineShortVerb{\|} +\parskip.5\baselineskip +\parindent0pt +\raggedbottom + +\input{abbr.tex} +\begin{document} + +\title{\bfseries Minimal steps to typeset Vietnamese} +\author{\fontencoding{T5}\selectfont H\`an Th\'\ecircumflex{} Th\`anh} +\maketitle + +This document tries to answer the question that has been often asked: +\textit{How can I typeset \textbf{just a few Vietnamese words} in my +document, which is in English (or French/German/...)?} + +The answer depends very much on a particular scenario, however I +assume that you are in a hurry, you don't want to bother with issues like +how to display and write Vietnamese in your \<TEX> editor. You only have a few +Vietnamese words in your \<LATEX> file and you would like to see them +properly displayed in your final \<PDF> or \<PS> file. + +\begin{enumerate} +\item As the very first requirement, you must have some minimal \<LATEX> +support for Vietnamese: +\begin{itemize} +\item Check whether you have \<VNTEX> installed. \<VNTEX> is included +in \<TETEX>, \<MIKTEX> and \<TEXLIVE>. + +\item If the above is not the case, try to download and install \<VNTEX> by +following the instructions at \url{http://vntex.org/download/vntex}. + +\item If you can't install \<VNTEX>, you must have at least Latin Modern +fonts installed. Then download +\url{http://vntex.org/download/vntex-support/t5enc.def} and put it to the +directory where your \<LATEX> file is. + +\item If all the above fails, try to get help from someone else to solve +at least one of those issues. +\end{itemize} + +\item Make sure you have package |fontenc| loaded with T5 encoding. For +example, if your document contains European languague(s) only, then you +should have a line saying + +\begin{verbatim} +\usepackage[T1,T5]{fontenc} +\end{verbatim} + +in your preamble. + +\item An example how to input Vietnamese words may look like this: + +\begin{verbatim} +{\fontencoding{T5}\selectfont Ti\'\ecircumflex{}ng Vi\d\ecircumflex{}t} +\end{verbatim} + +which gives the output as \texttt{\fontencoding{T5}\selectfont +Ti\'\ecircumflex{}ng Vi\d\ecircumflex{}t}. + +\item The following table contains all Vietnamese letters for your +reference: + +{\fontencoding{T5}\selectfont +\input{test-accents} +} + +\item If you have quite a lot of Vietnamese words, then it can be somewhat +tedious to translate them to the above form (often called as \<LATEX> +Internal Character Representation -- LICR). On \<WINDOWS> you can use the +package \url{http://vntex.org/download/vntex-support/tovntex.zip} +to translate text in clipboard from VIQR or UTF-8 to LICR by one key press. + +The same (or close) convenience could be made for \<UNIX>/\<LINUX> +users, but at somewhat higher cost due to deficiencies of \<UNIX>-like +systems. So if you don't use \<WINDOWS> then you are out of luck, sorry. +However, if you use \<VIM>, you can still download the package mentioned +above, and use the vim script inside the zip archive to do the conversion. +If you want to make this easier for \<UNIX> users then let me know. + +\item If you still have questions, join the \<VNTEX> mailing list +at \url{https://lists.sourceforge.net/lists/listinfo/vntex-users}. + +\end{enumerate} + +Good luck! + +% \DefineShortVerb{\|} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/source/vntex-man-print.tex b/Master/texmf-dist/doc/generic/vntex/source/vntex-man-print.tex new file mode 100644 index 00000000000..5c1c3a15287 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/vntex-man-print.tex @@ -0,0 +1,2 @@ +\RequirePackage[monochrome]{color} +\input{vntex-man.tex} diff --git a/Master/texmf-dist/doc/generic/vntex/source/vntex-man.tex b/Master/texmf-dist/doc/generic/vntex/source/vntex-man.tex new file mode 100644 index 00000000000..54e0a70b361 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/source/vntex-man.tex @@ -0,0 +1,509 @@ +\documentclass[12pt,a4paper]{article} +\usepackage{url} +\usepackage[colorlinks,bookmarks=false]{hyperref} +\usepackage{fancyvrb} +\usepackage[utf8]{vietnam} +\usepackage{charter} +\usepackage{ifpdf} +\usepackage{microtype} +% \usepackage{graphicx} +% \usepackage{array} + +\parindent0pt +\parskip.4\baselineskip +\def\arraystretch{1.3} +\hyperlinkfileprefix{} + + +\advance\topmargin by -2cm +\advance\textheight by 3cm +\advance\footskip by .5cm +\advance\oddsidemargin by -0.5cm +\advance\textwidth by 1cm + +\input{abbr.tex} + +\newcommand{\htmlheader} +{Há»— trợ tiếng Việt cho \<TEX>} + +\newcommand{\htmlfooter}{} + +\begin{document} +\setcounter{tocdepth}{1} +\setcounter{secnumdepth}{1} +\DefineShortVerb{\|} + +\title{\<VNTEX>} + +% \noindent +% Chà o bạn đã đến vá»›i trang web của \<VNTEX>. + +% \HCode{<h2>} +% Các tin đáng chú ý +% \HCode{</h2>} +% \begin{itemize} +% \item 06/10/2006: thêm phần hÆ°á»›ng dẫn dịch bản tiếng Việt của +% \href{http://www.tug.org/tex-archive/info/Free_Math_Font_Survey/survey.html} +% {Free Math Font Survey} ở phần \hyperlink{tai-lieu-vntex}{Tà i liệu} + +% \item 05/10/2006: cáºp nháºt bản dịch Free Math Font Survey tại +% \href{doc/survey-vn.pdf}{trang chủ} và +% \href{http://vntex.sarovar.org/survey-vn.pdf}{mirror tại sarovar} + +% \item 04/09/2006: công bố \href{download/vntex-beta}{vntex-beta-20060904} + +% \item 19/08/2006: công bố phiên bản \<TRUETYPE> của bá»™ font \<URWVN>-3.03 +% tại \href{http://forum.vnoss.org/viewtopic.php?id=3334}{\<VNOSS>}. Xem +% \href{fonts/urwvn-ttf}{hÆ°á»›ng dẫn cà i đặt}. + +% \item 08/08/2006: hoà n thà nh việc Việt hóa các text font trong +% tà i liệu +% \href{http://www.tug.org/tex-archive/info/Free_Math_Font_Survey/survey.html} +% {Free Math Font Survey} và công bố +% \href{fonts/samples/survey-vn.pdf}{bản dịch} + +% % \item 18/07/2006: cáºp nháºt mục \hyperlink{du-dinh-phat-trien}{dá»± +% % định phát triển}. + +% \item 16/07/2006: thêm mẫu font má»›i: +% VnGaramond +% (\href{http://vntex.org/fonts/samples/garamondvn-test.pdf}{test}, +% \href{http://vntex.org/fonts/samples/garamondvn-sample.pdf}{sample}) +% và VnGrotesq +% (\href{http://vntex.org/fonts/samples/grotesqvn-test.pdf}{test}, +% \href{http://vntex.org/fonts/samples/grotesqvn-sample.pdf}{sample}). Các +% font nà y sẽ được công bố để ngÆ°á»i dùng tải vá» trong thá»i gian tá»›i. + +% \item 13/07/2006: hÆ°á»›ng dẫn cách tạo ``searchable'' \<PDF> vá»›i tiếng Việt. +% Xem \hyperlink{cmap-vn}{chi tiết}. + +% \item 24/06/2006: há»— trợ \<UNICODE> bookmarks cho \<PDF>. +% Xem \hyperlink{bookmark-vn}{chi tiết}. + +% \item 16/06/2006: công bố phiên bản chÃnh thức má»›i của trang web \<VNTEX> + +% \item 05/06/2006: công bố phiên bản thá» nghiệm má»›i của trang web +% \<VNTEX>, cùng vá»›i má»™t số gói má»›i: \hyperlink{more-extsizes}{more-extsizes} +% và \hyperlink{makeindex-vn}{makeindex-vn}. + +% \item 03/06/2006: sá»a lá»—i các táºp \<FD> cho font \<VNR>. Xem +% \hyperlink{cap-nhat-vnr-fd}{chi tiết}. + +% \item 26/05/2006: công bố phiên bản \<TRUETYPE> của bá»™ font \<URWVN>. Xem +% \href{fonts/urwvn-ttf}{chi tiết}. + +% \item 20/09/2005: công bố \<VNTEX>-3.02 + +% \item 20/09/2005: công bố \href{fonts/samples}{mẫu font} +% cho \<VNTEX> + +% \item 01/12/2004: \<CONTEXT> đã +% \href{http://vnoss.org/forum/viewtopic.php?id=506}{há»— trợ tiếng Việt} + +% \end{itemize} + +{\huge\centering\htmlheader\par} +%\vspace*{10pt} +\begin{center} + Hà n Thế Thà nh +\end{center} + +\section{Giá»›i thiệu} +% \subsection{\<VNTEX>, \<LATEX>, \<CONTEXT>,\<...> là gì váºy?} +% If you are new to \<TEX>, see \url{http://en.wikipedia.org/wiki/TeX} for a +% basic explanation of \<TEX> and related programs. The \<TUG> (\<TEX> Users + % roup) homepage at \url{http://tug.org} also contains useful introductory +% material to \<TEX>. + +\subsection{\<VNTEX> là gì?} +\<VNTEX> là má»™t gói chứa các há»— trợ cần thiết cho việc sá» dụng tiếng Việt +vá»›i \<TEX>. Trang web nà y chứa các thông tin vá» gói \<VNTEX> và các vấn Ä‘á» +liên quan đến tiếng Việt trong \<TEX>. Chắc hẳn khi tìm đến vá»›i \<VNTEX> +bạn đã Ãt nhiá»u biết đến thế giá»›i \<TEX>, và bạn cần \<VNTEX> cho việc dùng +tiếng Việt vá»›i \<TEX>. + +Nếu bạn chÆ°a từng sá» dụng \<TEX>, có lẽ trang web nà y không +thÃch hợp lắm cho việc bắt đầu tìm hiểu vá» \<TEX>; bạn có thể +tham khảo má»™t số địa chỉ sau: +\begin{enumerate} +\item Tiếng Việt: +\begin{itemize} +\item \href{http://forum.vnoss.org/viewforum.php?id=10}{Diá»…n Ä‘Ã n \<VNOSS>} +\item \href{http://viettug.org}{ViệtTUG} +\item \href{http://vi.wikipedia.org/wiki/TeX}{Äịnh nghÄ©a \<TEX> tại +wikipedia bằng tiếng Việt} +\end{itemize} +\item Tiếng Anh: +\begin{itemize} +\item \href{http://tug.org}{TUG} +\item \href{http://en.wikipedia.org/wiki/TeX}{Äịnh nghÄ©a \<TEX> tại +wikipedia bằng tiếng Anh} +\end{itemize} +\end{enumerate} + +Còn nếu bạn Ä‘ang tìm câu trả lá»i cho má»™t vấn Ä‘á» trong \<TEX> nhÆ°ng không +liên quan đến tiếng Việt (và dụ là m sao để gõ má»™t công thức hay chèn má»™t +hình ảnh và o văn bản) thì bạn có thể tìm hiểu tại các diá»…n Ä‘Ã n hay +Ä‘á»c các tà i liệu trong mục \hyperlink{tro-giup}{Tà i liệu}. + +Gói \<VNTEX> chứa các thà nh phần sau: +\begin{itemize} +\item các font tiếng Việt, +\item há»— trợ tiếng Việt cho \<LATEX> (input encoding + font encoding) +\item má»™t số (Ãt) tà i liệu và và dụ, cùng vá»›i các mẫu font há»— trợ tiếng +Việt +\end{itemize} + +\<VNTEX> được xây dá»±ng tuân theo các qui Æ°á»›c chung của cá»™ng đồng ngÆ°á»i dùng +\<TEX>. Việc nà y nhằm hạn chế bá»›t các xung Ä‘á»™t có thể xảy ra khi dùng +\<VNTEX> vá»›i các ngôn ngữ hay các gói khác, cÅ©ng nhÆ° giúp việc tÃch hợp +\<VNTEX> và o các hệ thống \<TEX> thuáºn lợi hÆ¡n. + +\<VNTEX> đã được tÃch hợp và o má»™t số hệ thống \<TEX> thông dụng nhÆ° +\<TEXLIVE>, \<TETEX> và \<MIKTEX>. + +\subsection{Tóm tắt lịch sá» phát triển} +\begin{itemize} +\item 01/2000 -- phát hà nh phiên bản đầu tiên của \<VNTEX> (chÆ°a được đánh số). +Phiên bản nà y chÆ°a có các font \<T1>. + +\item 08/2002 -- phát hà nh phiên bản 1.2 của \<VNTEX>. Bản nà y đã chứa dạng +\<T1> của các font \<VNR> (được tạo ra tá»± Ä‘á»™ng bằng \<TEXTRACE>, chất lượng +tạm dùng được). Các font \<PS> thông dụng cÅ©ng được há»— trợ tiếng Việt qua +cÆ¡ chế ``virtual font'' (dấu khá xấu do dùng các ký tá»± có sẵn để vẽ). + +\item 03/2003 -- phát hà nh phiên bản 2.0 của \<VNTEX>. Phiên bản nà y đã +chứa định dạng \<T1> của các font \<VNR>, dá»±a trên các font \<T1> \<CMR> do +\<BLUESKY> thá»±c hiện. Các font \<URWVN> cÅ©ng được phát hà nh trong phiên bản +nà y. Chi tiết vá» việc tạo ra các font nà y có thể xem tại +\href{http://www.tug.org/TUGboat/Articles/tb24-1/thanh.pdf}{đây}. Phiên bản +\<VNTEX> nà y sau đó đã được Ä‘Æ°a và o \<TETEX>, \<MIKTEX> và \<TEXLIVE>. + +\item 09/2005 -- phát hà nh phiên bản 3.02 của \<VNTEX>. +\end{itemize} + +\subsection{Tác giả} +Phần lá»›n \<VNTEX> do \<THANH> viết, phần há»— trợ cho \<LATEX> do Werner +Lemberg viết. Ngoà i ra còn có sá»± đóng góp của nhiá»u ngÆ°á»i khác (xin xem +tiếp ở mục sau). + +\subsection{Những ngÆ°á»i tham gia đóng góp cho \<VNTEX>} +Những ngÆ°á»i trong danh sách dÆ°á»›i đây (theo thứ tá»± ABC) đã tham gia đóng +góp cho sá»± phát triển của \<VNTEX> dÆ°á»›i các hình thức khác nhau: + +Huỳnh Kỳ Anh, +Nguyá»…n Äại Quý, +Nguyá»…n Phi Hùng, +Nguyá»…n Tân Khoa, +Reinhard Kotucha, +Thái Phú Khánh Hòa, +Ulrich Dirr, +Vladimir Volovich. + +Nếu bạn thấy cần thêm ai và o danh sách nà y xin vui lòng góp ý +cho chúng tôi. + +\subsection{Quản lý} +Hiện nay gói \<VNTEX> do \<THANH>, Werner Lemberg và Reinhard Kotucha quản +lý. + +\subsection{Giấy phép và bản quyá»n} +Các font \<URWVN> và Bitstream được phân phối theo giấy phép +\<GPL>, các thứ còn lại theo giấy phép \<LPPL> ($\ge$\,1.3). + +Vui lòng xem \href{http://www.gnu.org/licenses/gpl.txt}{\<GPL>} và +\href{http://www.latex-project.org/lppl.txt}{\<LPPL>} nếu cần biết thêm chi tiết. + +\subsection{Vá» trang web nà y} +Trang web nà y do \<THANH> và \<THAIHOA> xây dá»±ng và quản lý, cùng vá»›i +sá»± đóng góp của Tôn Nữ Thục Anh. Riêng phần +\href{http://vntex.org/download}{download} do Reinhard Kotucha quản +lý. Má»i ý kiến đóng góp xin gởi đến |hanthethanh| hoặc |h2vnteam| tại +|gmail| chấm |com|. + +\section{Cà i đặt và cáºp nháºt} +\subsection{Cà i đặt} +Phiên bản chÃnh thức má»›i nhất của \<VNTEX> được công bố tại +\href{http://vntex.org/download/vntex}{đây}, có hÆ°á»›ng dẫn cà i đặt kèm theo. Tuy nhiên +bạn nên kiểm tra kỹ xem hệ thống \<TEX> bạn Ä‘ang sá» dụng đã có sẵn +\<VNTEX> chÆ°a. Nếu bạn dùng \<UNIX> thì nên dùng \<TEXLIVE> +($\ge$\,2005), còn nếu dùng \<WINDOWS> thì nên dùng \<MIKTEX> +($\ge$\,2.5). Là m nhÆ° váºy bạn sẽ có sẵn \<VNTEX> mà không cần phải tá»± +cà i đặt. LÆ°u ý là bản \<VNTEX> có trong \<TETEX>-3.0 có má»™t số trục +trặc khi dùng mã \<UTF8>; nếu bạn dùng \<TETEX> thì nên tá»± cà i đặt +thêm \<VNTEX> phiên bản $\ge$\,3.02, hoặc chuyển sang dùng \<TEXLIVE>. + +Ngoà i ra, để sá» dụng được \<VNTEX> bạn cần phải có má»™t trình soạn thảo để +gõ và hiển thị được tiếng Việt. Việc cà i đặt những thứ nà y phụ thuá»™c và o +từng hệ thống nên chúng tôi không mô tả chi tiết ở đây được. Chúng tôi chỉ +có và i gợi ý cho ngÆ°á»i má»›i là m quen: +\begin{itemize} +\item Nếu bạn dùng \<WINDOWS>, hãy chá»n: +\begin{itemize} +\item hệ thống \<TEX>: \<MIKTEX> +\item bá»™ gõ tiếng Việt: \<UNIKEY> +\item trình soạn thảo: \<TEXMAKER> hoặc \<WINSHELL> +\end{itemize} + +\item Nếu bạn dùng \<UNIX>, hãy chá»n: +\begin{itemize} +\item hệ thống \<TEX>: \<TEXLIVE> +\item bá»™ gõ tiếng Việt: \<XUNIKEY> hoặc \<XVNKB> +\item trình soạn thảo: \<TEXMAKER> hoặc \<KILE> +\end{itemize} +\end{itemize} + +HÆ°á»›ng dẫn cà i đặt \<VNTEX> cụ thể cho từng hệ thống hiện chÆ°a có. Nếu bạn +biết có tà i liệu nà o viết vá» vấn Ä‘á» nà y, hoặc bạn muốn viết hÆ°á»›ng dẫn cà i +đặt \<VNTEX> cho 1 hệ thống cụ thể, xin vui lòng liên hệ vá»›i chúng tôi. + +\subsection{Cáºp nháºt} +\hypertarget{cap-nhat}{} +Äây là nÆ¡i công bố các gói sá»a lá»—i cho bản \<VNTEX> đã chÃnh thức công bố, +hoặc những thà nh phần má»›i của \<VNTEX> chÆ°a được tÃch hợp và o bản chÃnh +thức. Những thứ công bố ở đây sẽ được Ä‘Æ°a và o phiên bản \<VNTEX> kế tiếp. + +\begin{description} +\item[Bản sá»a lá»—i cho các táºp \<FD> của bá»™ font \<VNR>:] + \hypertarget{cap-nhat-vnr-fd}{} sá»a má»™t số lá»—i trong các táºp \<FD> + của font \<VNR>. Tải gói + \href{http://vntex.org/download/vntex-updates/vntex-update-20060603.zip}{nà y} + vá», sau đó bung nén và ghi đè các táºp nà y lên các táºp \<FD> của + \<VNTEX>. +\end{description} + + +\section{Tà i liệu} +\hypertarget{tai-lieu}{} +Äây là nÆ¡i thu tháºp các tà i liệu tiếng Việt vá» \<TEX> và các chủ Ä‘á» liên +quan. Äang được cáºp nháºt và sắp xếp dần. + +\subsection{Tà i liệu viết cho \<VNTEX>} +\hypertarget{tai-lieu-vntex}{} +Bao gồm các tà i liệu vá» các chủ Ä‘á» liên quan trá»±c tiếp đến \<VNTEX>. +\begin{description} +\item [HÆ°á»›ng dẫn sá» dụng font vá»›i \<VNTEX>:] +Tà i liệu hÆ°á»›ng dẫn sá» dụng font vá»›i \<VNTEX> do \<THANH> và \<THAIHOA> +viết. Xem: +\href{http://vntex.org/doc/vn-fonts.html}{\<HTML>}, +\href{http://vntex.org/doc/vn-fonts.pdf}{\<PDF>}, +\href{http://vntex.org/doc/vn-fonts-src.zip}{\<SRC>}. + +\item [Dịch ``Free Math Font Survey'' vá»›i \<MIKTEX>:] +Tà i liệu mô tả các bÆ°á»›c cần thiết để dịch bản tiếng Việt của tà i liệu +\href{http://www.tug.org/tex-archive/info/Free_Math_Font_Survey/survey.html} +{Free Math Font Survey} vá»›i \<MIKTEX>-2.5. Xem: +\href{http://vntex.org/doc/survey-vn-miktex.html}{\<HTML>}, +\href{http://vntex.org/doc/survey-vn-miktex.pdf}{\<PDF>}. +\end{description} + + +\subsection{Tà i liệu viết cho \<LATEX>} +Bao gồm các tà i liệu được viết cho \<LATEX> và các vấn Ä‘á» liên quan, được +dịch từ tiếng Anh. + +\subsubsection{Các tà i liệu hÆ°á»›ng dẫn sá» dụng \<LATEX>} +\begin{description} +\item[Giá»›i thiệu ngắn vá» \<LATEX>2e:] +Tà i liệu ``Giá»›i thiệu ngắn vá» \<LATEX>2e'' (A not so short +introduction to \<LATEX>) của Tobias Oetiker +do Nguyá»…n Tân Khoa dịch. Tải vá»: +\href{http://vntex.org/doc/lshort-vn.pdf}{\<PDF>}, +\href{http://vntex.org/doc/lshort-vn-src.zip}{\<SRC>}. + +\item[Giáo trình \<LATEX>:] +Tà i liệu ``Giáo trình \<LATEX>'' (A course of \<LATEX>) của Gary +L.~Gray do Nguyá»…n Phi Hùng dịch. Tải vá»: +\href{http://vntex.org/doc/latex-course-vn.pdf}{\<PDF>}, +\href{http://vntex.org/doc/latex-course-vn-src.zip}{\<SRC>}. + +\item[HÆ°á»›ng dẫn viết luáºn án bằng \<LATEX>:] +Tà i liệu hÆ°á»›ng dẫn thiết kế luáºn án tốt nghiệp bằng \<LATEX> được biên soạn bởi by +Dr.~Nicola Talbot và do \<THAIHOA> dịch. Có thể tải vá» từ +\href{http://theoval.cmp.uea.ac.uk/~nlct/latex/thesis_viet/index.html}{đây}. +\end{description} + +% \subsubsection{Các tà i liệu hÆ°á»›ng dẫn sá» dụng font vá»›i \<LATEX>2e} +% \begin{description} +% \item[ +% \end{description} + +\subsection{Tà i liệu cho má»™t số công cụ liên quan} +\begin{description} +\item[HÆ°á»›ng dẫn sá» dụng \<TEXMAKER>] +\<TEXMAKER> là má»™t chÆ°Æ¡ng trình soạn thảo \<TEX> chạy trên \<UNIX>/\<LINUX> +và \<WINDOWS>, há»— trợ \<UNICODE> và thÃch hợp vá»›i ngÆ°á»i dùng má»›i bắt đầu. HÆ°á»›ng dẫn +sá» dụng \<TEXMAKER> do \<THAIHOA> dịch. Tải vá»: +\href{http://vntex.org/doc/texmaker-vn.pdf}{\<PDF>}. + +\item[HÆ°á»›ng dẫn sá» dụng \<LATEXPIX>] +\<LATEXPIX> má»™t công cụ dùng để vẽ hình cho \<LATEX>. Phần má»m nà y +thÃch hợp cho những ai má»›i bắt đầu vá»›i \<LATEX>. +Tà i liệu hÆ°á»›ng dẫn sá» dụng do \<THAIHOA> dịch. Tải vá»: +\href{http://vntex.org/doc/LaTeXPiX-vn.pdf}{\<PDF>}, hoặc bản \<PDF> +\href{http://members.home.nl/nickvanbeurden/LaTeXPiX_vietnamese.pdf}{gốc}. +\end{description} + + +\section{Vấn Ä‘á» liên quan} +\hypertarget{van-de-lien-quan}{} +\subsection{Sá» dụng tiếng Việt vá»›i \<CONTEXT>} +\<CONTEXT> đã há»— trợ tiếng Việt. Xem +\href{http://forum.vnoss.org/viewtopic.php?id=506}{tại đây} để biết thêm chi tiết + +\hypertarget{more-extsizes}{} +\subsection{Sá» dụng gói \texttt{extsizes} vá»›i \<VNTEX>} +Äể sá» dụng gói |extsizes| vá»›i \<VNTEX>, trÆ°á»›c tiên cần phải cáºp nháºt các +táºp \<FD> cho các font \<VNR>. Xem thêm +\href{http://vntex.org/download/vntex-updates}{chi tiết}. + +Äể sá» dụng được gói |extsizes| vá»›i các cỡ chữ khác nhÆ° 13pt và 13.5pt, +tải và cà i đặt gói +\href{http://vntex.org/download/vntex-support/more-extsizes.zip}{more-extsizes} +do \<THAIHOA> viết. Và dụ: + +\begin{verbatim} +\documentclass[13pt]{extarticle} +\usepackage[utf8]{vietnam} +\usepackage{type1cm} + +\begin{document} +Văn bản nà y dùng cỡ chữ 13pt. +\end{document} +\end{verbatim} + +LÆ°u ý \emph{phải} dùng gói |type1cm| nếu văn bản có chứa các công thức +toán. + +Các cỡ chữ được gói |more-extsizes| há»— trợ thêm: 13, 13p5, 15 và 16. + +\hypertarget{makeindex-vn}{} +\subsection{Sá» dụng \<MAKEINDEX> vá»›i \<VNTEX>} +\<MAKEINDEX> là má»™t chÆ°Æ¡ng trình sắp xếp chỉ mục cho +\<LATEX>. \<MAKEINDEX> không há»— trợ tiếng Việt nên để dùng +\<MAKEINDEX> vá»›i \<VNTEX> ta cần má»™t chút ``mẹo''. + +Nếu bạn dùng \<UNIX>/\<LINUX>, hãy tải gói +\href{http://vntex.org/download/vntex-support/makeindex-vn.zip}{makeindex-vn + cho \<UNIX>/\<LINUX>}. NgÆ°á»i dùng \<WINDOWS> có thể sá» dụng gói +\href{http://vntex.org/download/vntex-support/vnindexwin.zip}{makeindex-vn + cho \<WINDOWS>} Sau khi tải vá» hãy bung nén và xem hÆ°á»›ng dẫn Ä‘i kèm +để biết cách sá» dụng. + +Các ký tá»± Việt được sắp xếp theo qui tắc mô tả tại +\href{http://www.vietlex.com/vietnamese/quytacABC.html}{đây}. + +% HÆ°á»›ng dẫn chi tiết cho \<WINDOWS> hiện chÆ°a có. Nếu bạn muốn viết phần nà y +% chúng tôi rất hoan nghênh. + +\subsection{Chuyển đổi từ \<LATEX> sang \<HTML>} +TrÆ°á»›c đây \<VNTEX> có chứa há»— trợ cho \<TEX4HT>, sau đó các há»— trợ nà y đã +được Ä‘Æ°a và o bản phân phối chÃnh thức của \<TEX4HT> nên đã được xóa khá»i +\<VNTEX>. + +Äể chuyển từ \<LATEX> sang \<HTML> bạn có thể dùng lệnh sau: +\begin{verbatim} +htlatex filename.tex "html,uni-html4,charset=utf-8" " -cunihtf -utf8" +\end{verbatim} + +Bạn phải có bản \<TEX4HT> tÆ°Æ¡ng đối má»›i, Ãt nhất là nhÆ° bản \<TEX4HT> trong +\<TEXLIVE>2005. File \<LATEX> có thể dùng má»™t trong các bảng mã mà +\<VNTEX> há»— trợ (và dụ \<VISCII> hay \<UTF8>). \<TEX4HT> sẽ tá»± Ä‘á»™ng ghi kết +quả dÆ°á»›i mã \<UTF8>. + +Trang web nà y cÅ©ng được viết bằng \<LATEX> và chuyển sang \<HTML> bằng +\<TEX4HT>. + +\hypertarget{bookmark-vn}{} +\subsection{Bookmark cho \<PDF> và tiếng Việt} +Gói |hyperref| cho phép tạo \<UNICODE> bookmark cho \<PDF>, tuy nhiên má»™t +số ký tá»± Việt chÆ°a được há»— trợ. Äể khắc phục ta là m nhÆ° sau: +\begin{itemize} +\item tải vá» gói + \href{http://vntex.org/download/vntex-support/puenc-vn.zip}{puenc-vn} + +\item bung nén và chép táºp |puenc.def| đè lên táºp |puenc.def| của + |hyperref| (hoặc bạn có thể chép táºp nà y và o thÆ° mục chứa văn bản + của bạn) + +\item dùng gói |hyperref| trong văn bản \<LATEX> của bạn theo và dụ sau: + +\begin{verbatim} +\documentclass{article} +\usepackage[unicode]{hyperref} +\usepackage[utf8]{vietnam} +\begin{document} +\section{Tiếng Việt} +\end{document} +\end{verbatim} + +(lÆ°u ý để bookmark hiển thị đúng bạn phải dịch văn bản \<LATEX> của bạn Ãt +nhất là 2 lần) +\end{itemize} + +\<UNICODE> bookmark không ``portable'' -- bạn phải dùng \<AR> phiên +bản $\ge$\,5.0 má»›i xem được đầy đủ các ký tá»±. + +Nếu bạn không dùng \<UNICODE> bookmark thì \<PDF> của bạn sẽ portable hÆ¡n +và bookmark sẽ hiển thị tốt vá»›i Ä‘a số trình duyệt \<PDF>. Tuy nhiên má»™t +số ký tá»± Việt không được há»— trợ trong bảng mã dùng cho \<PDF> bookmark +(PD1), do đó các ký tá»± nà y sẽ bị mất khi tạo bookmark. Bạn có thể hạn chế Ä‘iá»u +nà y bằng cách thay thế các ký tá»± Việt bằng các ký tá»± ``gần giống'' trong +bảng mã PD1 (và dụ `ắ' sẽ được thay thế bằng `á') theo cách sau: + +\begin{verbatim} +\documentclass{article} +\usepackage{hyperref} +\usepackage[utf8]{vietnam} +\input{pd1supp.def} +\begin{document} +\section{Tiếng Việt} +\end{document} +\end{verbatim} + +\hypertarget{cmap-vn}{} +\subsection{Tạo ``searchable'' \<PDF> vá»›i tiếng Việt} +Äể có thể tìm kiếm hay cắt/dán tiếng Việt vá»›i các file \<PDF>, bạn có thể +dùng gói |cmap| của Vladimir Volovich nhÆ° sau: + +\begin{verbatim} +\documentclass{article} +\usepackage{cmap} +\usepackage[utf8]{vietnam} +\begin{document} +Tiếng Việt +\end{document} +\end{verbatim} + +LÆ°u ý phải nạp (load) gói |cmap| trÆ°á»›c khi nạp các gói khác. Nếu bạn quên +Ä‘iá»u nà y thì |cmap| sẽ ghi ra má»™t số cảnh báo (warning) và file \<PDF> của +bạn có thể sẽ không ``searchable'' (không thể tìm kiếm hoặc cắt/dán). + +Má»™t số hạn chế: gói |cmap| chỉ dùng vá»›i \<PDFTEX> và không có tác dụng đối +vá»›i ``virtual font''. Äiá»u nà y có nghÄ©a là bạn phải dùng \<PDFTEX> để dịch +văn bản, và các Ä‘oạn text dùng font smallcap (chá»n bằng lệnh |\textsc|) sẽ +không searchable. + +\section{Trợ giúp} +\hypertarget{tro-giup}{} +DÆ°á»›i đây là má»™t số địa chỉ bạn có thể tham khảo khi gặp má»™t vấn +Ä‘á» nà o đó vá»›i \<VNTEX> (để nhanh chóng có được câu trả lá»i, xin vui lòng +dà nh Ãt phút để Ä‘á»c tà i liệu +\href{http://forum.vnoss.org/pub/smart-question-vi.html}{Cách đặt má»™t câu +há»i thông minh} nếu bạn chÆ°a Ä‘á»c). + +\begin{itemize} +\item \<VNOSS> có diá»…n dà n dà nh cho +\href{http://forum.vnoss.org/viewforum.php?id=10}{\<TEX>/\<LATEX>}. Ở đây +bạn có thể há»i vá» \<VNTEX>, \<CONTEXT> và các vấn Ä‘á» liên quan đến tiếng +Việt trong \<TEX>. + +\item Trang web \href{http://viettug.org/}{ViệtTUG} do Huỳnh Kỳ Anh quản +lý, chứa nhiá»u thông tin hữu Ãch cho ngÆ°á»i muốn há»c sá» dụng \<LATEX>. + +\item Mailing list của \<VNTEX> có tại +\href{http://lists.sourceforge.net/lists/listinfo/vntex-users}{đây} +\end{itemize} + + +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/Makefile b/Master/texmf-dist/doc/generic/vntex/tests/Makefile index bff74420fcf..803e9861b3f 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/Makefile +++ b/Master/texmf-dist/doc/generic/vntex/tests/Makefile @@ -1,4 +1,4 @@ -# vntex-3.02 +# vntex-3.1.2 # # Author: Han The Thanh <hanthethanh@gmx.net>. # This file is part of vntex. Public domain. @@ -32,9 +32,9 @@ # run `make distclean' to remove everything except the source files. # Select a viewer of your choice. You can add commandline arguments. -VIEWER_PDF = xpdf +VIEWER_PDF = acroread VIEWER_PS = gv -antialias -VIEWER_HTML = mozilla +VIEWER_HTML = firefox # Set this variable to `false' if you don't have tex4ht installed # on your system (look whether the program `htlatex' exists). @@ -48,7 +48,7 @@ ANTT_SAMPLE = t5antt-sample # Comment out the next two lines if you don't have a recent version # of Latin Modern (look whether you have `t5-lmr10.tfm' in your TEXMF -# tree. +# tree). T5LM_TEST = t5lm-test T5LM_SAMPLE = t5lm-sample @@ -58,12 +58,103 @@ T5LM_SAMPLE = t5lm-sample IWONA_TEST = t5iwona-test IWONA_SAMPLE = t5iwona-sample + # Comment out the next two lines if you don't have a recent version # of the Kurier font family (look whether you have `kurier.map' # in your TEXMF tree). KURIER_TEST = t5kurier-test KURIER_SAMPLE = t5kurier-sample + +# Comment out the next two lines if you don't have a recent version +# of the Gentium font family (look whether you have `gentium.map' +# in your TEXMF tree). +GENTIUM_TEST = t5gentium-test +GENTIUM_SAMPLE = t5gentium-sample + +# Comment out the next two lines if you don't have a recent version +# of the GrotesquVn font family (look whether you have `grotesqvn.map' +# in your TEXMF tree). +GROTESK_TEST = grotesqvn-test +GROTESK_SAMPLE = grotesqvn-sample + +# Comment out the next two lines if you don't have a recent version +# of the GaramondVn font family (look whether you have `garamondvn.map' +# in your TEXMF tree). +GARAMOND_TEST = garamondvn-test +GARAMOND_SAMPLE = garamondvn-sample + + +# Comment out the next two lines if you don't have a recent version +# of the TeXGyre-Bonum font family (look whether you have `qbk.map' +# in your TEXMF tree). +BONUM_TEST = bonum-test +BONUM_SAMPLE = bonum-sample + + +# Comment out the next two lines if you don't have a recent version +# of the TeXGyre-Termes font family (look whether you have `qtm.map' +# in your TEXMF tree). +PAGELLA_TEST = termes-test +PAGELLA_SAMPLE = termes-sample + + +# Comment out the next two lines if you don't have a recent version +# of the TeXGyre-Pagella font family (look whether you have `qpl.map' +# in your TEXMF tree). +TERMES_TEST = pagella-test +TERMES_SAMPLE = pagella-sample + + +# Comment out the next two lines if you don't have a recent version +# of the ArevSansVn font family (look whether you have `arevvn.map' +# in your TEXMF tree). +AREV_TEST = arevvn-test +AREV_SAMPLE = arevvn-sample + + +# Comment out the next two lines if you don't have a recent version +# of the CMBrightVn font family (look whether you have `cmbrightvn.map' +# in your TEXMF tree). +CMBRIGHT_TEST = cmbrightvn-test +CMBRIGHT_SAMPLE = cmbrightvn-sample + + +# Comment out the next two lines if you don't have a recent version +# of the ClassicoVn font family (look whether you have `classicovn.map' +# in your TEXMF tree). +CLASSICO_TEST = classicovn-test +CLASSICO_SAMPLE = classicovn-sample + + +# Comment out the next two lines if you don't have a recent version +# of the ConcreteVn font family (look whether you have `concretevn.map' +# in your TEXMF tree). +CONCRETE_TEST = concretevn-test +CONCRETE_SAMPLE = concretevn-sample + + +# Comment out the next two lines if you don't have a recent version +# of the Vntopia font family (look whether you have `vntopia.map' +# in your TEXMF tree). +VNTOPIA_TEST = vntopia-test +VNTOPIA_SAMPLE = vntopia-sample + + +# Comment out the next two lines if you don't have a recent version +# of the txttvn font family (look whether you have `txttvn.map' +# in your TEXMF tree). +TXTT_TEST = txttvn-test +TXTT_SAMPLE = txttvn-sample + + +# Comment out the next two lines if you don't have a recent version +# of the ComicsansVn font family (look whether you have `comicsansvn.map' +# in your TEXMF tree). +COMIC_TEST = comicsansvn-test +COMIC_SAMPLE = comicsansvn-sample + + # Comment out the next two lines if you don't have the MS core font # files like `arial.ttf' or `tahomabd.ttf' installed in your TEXMF # tree. @@ -97,12 +188,23 @@ TEST_LATEX_ALL = $(TEST_LATEX) test-vietnam-tcx REFERENCES = vnr-test urwvn-test chartervn-test \ $(ANTT_TEST) $(T5LM_TEST) \ - $(IWONA_TEST) $(KURIER_TEST) $(MSCORE_TEST) + $(IWONA_TEST) $(KURIER_TEST) \ + $(GROTESK_TEST) $(GARAMOND_TEST) \ + $(AREV_TEST) $(VNTOPIA_TEST) $(CLASSICO_TEST) \ + $(CMBRIGHT_TEST) $(CONCRETE_TEST) \ + $(GENTIUM_TEST) $(TXTT_TEST) \ + $(BONUM_TEST) $(PAGELLA_TEST) $(TERMES_TEST) \ + $(MSCORE_TEST) $(COMIC_TEST) SAMPLES = vnr-sample urwvn-sample chartervn-sample \ $(ANTT_SAMPLE) $(T5LM_SAMPLE) \ $(IWONA_SAMPLE) $(KURIER_SAMPLE) \ - $(MSCORE_SAMPLE) + $(GROTESK_SAMPLE) $(GARAMOND_SAMPLE) \ + $(AREV_SAMPLE) $(VNTOPIA_SAMPLE) $(CLASSICO_SAMPLE) \ + $(CMBRIGHT_SAMPLE) $(CONCRETE_SAMPLE) \ + $(GENTIUM_SAMPLE) $(TXTT_SAMPLE) \ + $(BONUM_SAMPLE) $(PAGELLA_SAMPLE) $(TERMES_SAMPLE) \ + $(MSCORE_SAMPLE) $(COMIC_SAMPLE) default: testpdf testps samples testht @@ -201,7 +303,19 @@ viewfonts: || $(VIEWER_PDF) $$f.pdf; \ done - +htmldir: + test -d vntex-html || mkdir vntex-html + rm -f vntex-html/* + cp -p *.html *.css vntex-html + echo '<html><head>' > vntex-html/index.html + echo '<title>VnTeX HTML Fonts</title>' >> vntex-html/index.html + echo '</head>' >> vntex-html/index.html + echo '<body><h1>VnTeX HTML Fonts</h1><p>' >> vntex-html/index.html + for f in $(TEST_LATEX) $(REFERENCES); do \ + echo "<a href=\"$$f.html\">$$f</a><p>" >> vntex-html/index.html; \ + done + echo '</body></html>' >> vntex-html/index.html + tar -cjvf vntex-html.tar.bz2 vntex-html clean: rm -f *.dvi *.out *.toc *.aux *.log *.4ct *.4tc *.idv *.lg \ @@ -209,5 +323,6 @@ clean: distclean: clean - rm -f *.pdf *.ps *.css *.html nocompress + rm -f *.pdf *.ps *.css *.html nocompress vntex-html.tar.bz2 + rm -rf vntex-html diff --git a/Master/texmf-dist/doc/generic/vntex/tests/README b/Master/texmf-dist/doc/generic/vntex/tests/README index e65fb09a733..694c6294975 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/README +++ b/Master/texmf-dist/doc/generic/vntex/tests/README @@ -1,4 +1,4 @@ -vntex-3.02 +vntex-3.1.2 Copyright 2003-2005 Han The Thanh <HanTheThanh@gmx.net> and Reinhard Kotucha <Reinhard.Kotucha@web.de>. diff --git a/Master/texmf-dist/doc/generic/vntex/tests/arevvn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/arevvn-sample.tex new file mode 100644 index 00000000000..26f6656b48e --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/arevvn-sample.tex @@ -0,0 +1,16 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{arevvn} + +\begin{document} +\section{VnArev} +\showletters{T5}{fav}{m}{n} {favr8v} {ArevSans-Roman-T5} +\showletters{T5}{fav}{m}{it} {favri8v} {ArevSans-Oblique-T5} +\showletters{T5}{fav}{b}{n} {favb8v} {ArevSans-Bold-T5} +\showletters{T5}{fav}{b}{it} {favbi8v} {ArevSans-BoldOblique-T5} +\showtext {T5}{fav}{m}{n} {favr8v} {ArevSans-Roman-T5} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/arevvn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/arevvn-test.tex new file mode 100644 index 00000000000..1f808e16688 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/arevvn-test.tex @@ -0,0 +1,16 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{arevvn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{fav}{m}{n} {favr8v} {ArevSans-Roman-T5} +\shorttext{T5}{fav}{m}{it} {favri8v} {ArevSans-Oblique-T5} +\shorttext{T5}{fav}{b}{n} {favb8v} {ArevSans-Bold-T5} +\shorttext{T5}{fav}{b}{it} {favbi8v} {ArevSans-BoldOblique-T5} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/bonum-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/bonum-sample.tex new file mode 100644 index 00000000000..3bd324270da --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/bonum-sample.tex @@ -0,0 +1,19 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{qbk} + +\begin{document} +\section{TeX Gyre Bonum} +\showletters{T5}{qbk}{m}{n} {t5-qbkr} {TeXGyreBonum-Regular} +\showletters{T5}{qbk}{m}{it} {t5-qbkri} {TeXGyreBonum-Italic} +\showletters{T5}{qbk}{b}{n} {t5-qbkb} {TeXGyreBonum-Bold} +\showletters{T5}{qbk}{b}{it} {t5-qbkbi} {TeXGyreBonum-BoldItalic} +\showletters{T5}{qbk}{m}{sc} {t5-qbkr-sc} {TeXGyreBonum-Regular} +\showletters{T5}{qbk}{m}{scit} {t5-qbkri-sc} {TeXGyreBonum-Italic} +\showletters{T5}{qbk}{b}{sc} {t5-qbkb-sc} {TeXGyreBonum-Bold} +\showtext {T5}{qbk}{m}{n} {t5-qbkr} {TeXGyreBonum-Regular} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/bonum-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/bonum-test.tex new file mode 100644 index 00000000000..9398674925e --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/bonum-test.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{qbk} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{qbk}{m}{n} {t5-qbkr} {TeXGyreBonum-Regular} +\shorttext{T5}{qbk}{m}{it} {t5-qbkri} {TeXGyreBonum-Italic} +\shorttext{T5}{qbk}{b}{n} {t5-qbkb} {TeXGyreBonum-Bold} +\shorttext{T5}{qbk}{b}{it} {t5-qbkbi} {TeXGyreBonum-BoldItalic} +\shorttext{T5}{qbk}{m}{sc} {t5-qbkr-sc} {TeXGyreBonum-Regular} +\shorttext{T5}{qbk}{m}{scit} {t5-qbkri-sc} {TeXGyreBonum-Italic} +\shorttext{T5}{qbk}{b}{sc} {t5-qbkb-sc} {TeXGyreBonum-Bold} +\shorttext{T5}{qbk}{b}{scit} {t5-qbkbi-sc} {TeXGyreBonum-BoldItalic} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/chartervn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/chartervn-sample.tex index 4f8c3da8f5a..2321ba80657 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/chartervn-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/chartervn-sample.tex @@ -2,30 +2,9 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} +\documentclass[sample]{vnsample} -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=chartervn.map}}{}\fi - -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt -\lineskiplimit -100pt +\mapfile{chartervn} \begin{document} \section{VnCharterBT} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/chartervn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/chartervn-test.tex index bdac53f512f..0f3fb5dba87 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/chartervn-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/chartervn-test.tex @@ -2,31 +2,12 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[11pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} +\documentclass[test]{vnsample} -\pagestyle{empty} - -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=chartervn.map}}{}\fi - -\testfilehook +\mapfile{chartervn.map} \begin{document} -\extrarowheight=5pt - \begin{shortsample} - \shorttext{T5}{bch}{m}{n} {bchr8v} {VnBitstreamCharter} \shorttext{T5}{bch}{m}{it} {bchri8v} {VnCharterBT-Italic} \shorttext{T5}{bch}{m}{sl} {bchro8v} {VnBitstreamCharter} @@ -35,7 +16,5 @@ \shorttext{T5}{bch}{b}{sl} {bchbo8v} {VnCharterBT-Bold} \shorttext{T5}{bch}{m}{sc} {bchrc8v} {N/A} \shorttext{T5}{bch}{b}{sc} {bchbc8v} {N/A} - \end{shortsample} \end{document} - diff --git a/Master/texmf-dist/doc/generic/vntex/tests/classicovn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/classicovn-sample.tex new file mode 100644 index 00000000000..83380012a23 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/classicovn-sample.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{classicovn} + +\begin{document} +\section{VnURWClassico} +\showletters{T5}{uop}{m}{n} {uopr8v} {VnURWClassico} +\showletters{T5}{uop}{m}{it} {uopri8v} {VnURWClassico-Italic} +\showletters{T5}{uop}{m}{sl} {uopro8v} {VnURWClassico} +\showletters{T5}{uop}{b}{n} {uopb8v} {VnURWClassico-Bold} +\showletters{T5}{uop}{b}{it} {uopbi8v} {VnURWClassico-BoldItalic} +\showletters{T5}{uop}{b}{sl} {uopbo8v} {VnURWClassico-Bold} +\showletters{T5}{uop}{m}{sc} {uoprc8v} {N/A} +\showletters{T5}{uop}{b}{sc} {uopbc8v} {N/A} +\showtext {T5}{uop}{m}{n} {uopr8v} {VnURWClassico} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/classicovn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/classicovn-test.tex new file mode 100644 index 00000000000..c76b5ef33b2 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/classicovn-test.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{classicovn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{uop}{m}{n} {uopr8v} {VnURWClassico} +\shorttext{T5}{uop}{m}{it} {uopri8v} {VnURWClassico-Italic} +\shorttext{T5}{uop}{m}{sl} {uopro8v} {VnURWClassico} +\shorttext{T5}{uop}{b}{n} {uopb8v} {VnURWClassico-Bold} +\shorttext{T5}{uop}{b}{it} {uopbi8v} {VnURWClassico-BoldItalic} +\shorttext{T5}{uop}{b}{sl} {uopbo8v} {VnURWClassico-Bold} +\shorttext{T5}{uop}{m}{sc} {uoprc8v} {N/A} +\shorttext{T5}{uop}{b}{sc} {uopbc8v} {N/A} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/cmbrightvn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/cmbrightvn-sample.tex new file mode 100644 index 00000000000..48847876236 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/cmbrightvn-sample.tex @@ -0,0 +1,18 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{cmbrightvn} + +\begin{document} +\section{VnCMBright} +\showletters{T5}{cmbr}{m}{n}{vncmbr10}{vncmbr10} +\showletters{T5}{cmbr}{m}{sl}{vncmbrsl10}{vncmbrsl10} +\showletters{T5}{cmbr}{bx}{n}{vncmbrbx10}{vncmbrbx10} +\showtext {T5}{cmbr}{m}{n}{vncmbr10}{vncmbr10} +\showletters{T5}{cmtl}{m}{n}{vncmtl10}{vncmtl10} +\showletters{T5}{cmtl}{m}{sl}{vncmsltl10}{vncmsltl10} +\showtext {T5}{cmtl}{m}{n}{vncmtl10}{vncmtl10} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/cmbrightvn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/cmbrightvn-test.tex new file mode 100644 index 00000000000..3f33e6192a8 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/cmbrightvn-test.tex @@ -0,0 +1,17 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{cmbrightvn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{cmbr}{m}{n}{vncmbr10}{vncmbr10} +\shorttext{T5}{cmbr}{m}{sl}{vncmbrsl10}{vncmbrsl10} +\shorttext{T5}{cmbr}{bx}{n}{vncmbrbx10}{vncmbrbx10} +\shorttext{T5}{cmtl}{m}{n}{vncmtl10}{vncmtl10} +\shorttext{T5}{cmtl}{m}{sl}{vncmsltl10}{vncmsltl10} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/comicsansvn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/comicsansvn-sample.tex new file mode 100644 index 00000000000..b8a7690e0af --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/comicsansvn-sample.tex @@ -0,0 +1,16 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{comicvn} + +\begin{document} +\section{Comicsans} +\showletters{T5}{comic}{m}{n} {comic8v} {N/A} +\showletters{T5}{comic}{m}{sl} {comico8v} {N/A} +\showletters{T5}{comic}{b}{n} {comicbd8v} {N/A} +\showletters{T5}{comic}{b}{sl} {comicbdo8v} {N/A} +\showtext {T5}{comic}{m}{n} {comic8v} {N/A} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/comicsansvn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/comicsansvn-test.tex new file mode 100644 index 00000000000..918a7ca4ea0 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/comicsansvn-test.tex @@ -0,0 +1,16 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{comicvn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{comic}{m}{n} {comic8v} {N/A} +\shorttext{T5}{comic}{b}{n} {comicbd8v} {N/A} +\shorttext{T5}{comic}{m}{sl} {comico8v} {N/A} +\shorttext{T5}{comic}{b}{sl} {comicbdo8v} {N/A} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/concretevn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/concretevn-sample.tex new file mode 100644 index 00000000000..e9ac0a3c571 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/concretevn-sample.tex @@ -0,0 +1,16 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{concretevn} + +\begin{document} +\section{VnConcrete} +\showletters{T5}{ccr}{m}{n} {vnccr10} {Vnccr10} +\showletters{T5}{ccr}{m}{sl} {vnccsl10} {Vnccsl10} +\showletters{T5}{ccr}{m}{it} {vnccti10} {Vnccti10} +\showletters{T5}{ccr}{m}{sc} {vncccsc10} {Vncccsc10} +\showtext {T5}{ccr}{m}{n} {vnccr10} {Vnccr10} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/concretevn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/concretevn-test.tex new file mode 100644 index 00000000000..1ce48bbf4c9 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/concretevn-test.tex @@ -0,0 +1,16 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{concretevn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{ccr}{m}{n} {vnccr10} {Vnccr10} +\shorttext{T5}{ccr}{m}{sl} {vnccsl10} {Vnccsl10} +\shorttext{T5}{ccr}{m}{it} {vnccti10} {Vnccti10} +\shorttext{T5}{ccr}{m}{sc} {vncccsc10} {Vncccsc10} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/garamondvn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/garamondvn-sample.tex new file mode 100644 index 00000000000..f64ecfe7f3c --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/garamondvn-sample.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{garamondvn} + +\begin{document} +\section{VnGaramondNo8} +\showletters{T5}{ugm}{m}{n} {ugmr8v} {VnGaramondNo8-Reg} +\showletters{T5}{ugm}{m}{it} {ugmri8v} {VnGaramondNo8-Ita} +\showletters{T5}{ugm}{m}{sl} {ugmro8v} {VnGaramondNo8-Reg} +\showletters{T5}{ugm}{b}{n} {ugmm8v} {VnGaramondNo8-Med} +\showletters{T5}{ugm}{b}{it} {ugmmi8v} {VnGaramondNo8-MedIta} +\showletters{T5}{ugm}{b}{sl} {ugmmo8v} {VnGaramondNo8-Med} +\showletters{T5}{ugm}{m}{sc} {ugmrc8v} {N/A} +\showletters{T5}{ugm}{b}{sc} {ugmmc8v} {N/A} +\showtext {T5}{ugm}{m}{n} {ugmr8v} {VnGaramondNo8-Reg} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/garamondvn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/garamondvn-test.tex new file mode 100644 index 00000000000..a884e387dbd --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/garamondvn-test.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{garamondvn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{ugm}{m}{n} {ugmr8v} {VnGaramondNo8-Reg} +\shorttext{T5}{ugm}{m}{it} {ugmri8v} {VnGaramondNo8-Ita} +\shorttext{T5}{ugm}{m}{sl} {ugmro8v} {VnGaramondNo8-Reg} +\shorttext{T5}{ugm}{b}{n} {ugmm8v} {VnGaramondNo8-Med} +\shorttext{T5}{ugm}{b}{it} {ugmmi8v} {VnGaramondNo8-MedIta} +\shorttext{T5}{ugm}{b}{sl} {ugmmo8v} {VnGaramondNo8-Med} +\shorttext{T5}{ugm}{m}{sc} {ugmrc8v} {N/A} +\shorttext{T5}{ugm}{b}{sc} {ugmmc8v} {N/A} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/grotesqvn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/grotesqvn-sample.tex new file mode 100644 index 00000000000..39447b7060c --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/grotesqvn-sample.tex @@ -0,0 +1,14 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{grotesqvn} + +\begin{document} +\section{VnURWGroteskT-Bold} +\showletters{T5}{ugq}{b}{n} {ugqb8v} {VnURWGroteskT-Bold} +\showletters{T5}{ugq}{b}{sl} {ugqbo8v} {N/A} +\showtext {T5}{ugq}{b}{n} {ugqb8v} {VnURWGroteskT-Bold} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/grotesqvn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/grotesqvn-test.tex new file mode 100644 index 00000000000..498e74529a5 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/grotesqvn-test.tex @@ -0,0 +1,14 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{grotesqvn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{ugq}{b}{n} {ugqb8v} {VnURWGroteskT-Bold} +\shorttext{T5}{ugq}{b}{sl} {ugqbo8v} {N/A} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/mscore-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/mscore-sample.tex index 203ed4a6822..d4795d8540a 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/mscore-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/mscore-sample.tex @@ -2,30 +2,9 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} +\documentclass[sample]{vnsample} -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=mscore.map}}{}\fi - -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt -\lineskiplimit -100pt +\mapfile{mscore} \begin{document} \section{ArialMT} @@ -79,5 +58,4 @@ \showletters{T5}{jvn}{m}{sc} {jvnrc8v} {N/A} \showletters{T5}{jvn}{b}{sc} {jvnbc8v} {N/A} \showtext {T5}{jvn}{m}{n} {jvnr8v} {Verdana} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/mscore-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/mscore-test.tex index a4fec7e437d..aee39caae86 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/mscore-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/mscore-test.tex @@ -2,27 +2,11 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[11pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} -\pagestyle{empty} +\documentclass[test]{vnsample} -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=mscore.map}}{}\fi -\testfilehook +\mapfile{mscore} \begin{document} -\extrarowheight=5pt - \begin{shortsample} \shorttext{T5}{ma1}{m}{n} {ma1r8v} {ArialMT} \shorttext{T5}{ma1}{b}{n} {ma1b8v} {Arial-BoldMT} @@ -63,4 +47,3 @@ \shorttext{T5}{jvn}{b}{sc} {jvnbc8v} {N/A} \end{shortsample} \end{document} - diff --git a/Master/texmf-dist/doc/generic/vntex/tests/pagella-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/pagella-sample.tex new file mode 100644 index 00000000000..f371a7446f9 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/pagella-sample.tex @@ -0,0 +1,19 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{qpl} + +\begin{document} +\section{TeX Gyre Pagella} +\showletters{T5}{qpl}{m}{n} {t5-qplr} {TeXGyrePagella-Regular} +\showletters{T5}{qpl}{m}{it} {t5-qplri} {TeXGyrePagella-Italic} +\showletters{T5}{qpl}{b}{n} {t5-qplb} {TeXGyrePagella-Bold} +\showletters{T5}{qpl}{b}{it} {t5-qplbi} {TeXGyrePagella-BoldItalic} +\showletters{T5}{qpl}{m}{sc} {t5-qplr-sc} {TeXGyrePagella-Regular} +\showletters{T5}{qpl}{m}{scit} {t5-qplri-sc} {TeXGyrePagella-Italic} +\showletters{T5}{qpl}{b}{sc} {t5-qplb-sc} {TeXGyrePagella-Bold} +\showtext {T5}{qpl}{m}{n} {t5-qplr} {TeXGyrePagella-Regular} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/pagella-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/pagella-test.tex new file mode 100644 index 00000000000..f8ac90cf62b --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/pagella-test.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{qpl} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{qpl}{m}{n} {t5-qplr} {TeXGyrePagella-Regular} +\shorttext{T5}{qpl}{m}{it} {t5-qplri} {TeXGyrePagella-Italic} +\shorttext{T5}{qpl}{b}{n} {t5-qplb} {TeXGyrePagella-Bold} +\shorttext{T5}{qpl}{b}{it} {t5-qplbi} {TeXGyrePagella-BoldItalic} +\shorttext{T5}{qpl}{m}{sc} {t5-qplr-sc} {TeXGyrePagella-Regular} +\shorttext{T5}{qpl}{m}{scit} {t5-qplri-sc} {TeXGyrePagella-Italic} +\shorttext{T5}{qpl}{b}{sc} {t5-qplb-sc} {TeXGyrePagella-Bold} +\shorttext{T5}{qpl}{b}{scit} {t5-qplbi-sc} {TeXGyrePagella-BoldItalic} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5antt-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5antt-sample.tex index c0ba5454212..983203dce29 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5antt-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5antt-sample.tex @@ -2,30 +2,9 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} +\documentclass[sample]{vnsample} -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt -\lineskiplimit -100pt - -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=t5-antt.map}}{}\fi +\mapfile{t5-antt} \begin{document} \section{AntykwaTorunskaLigh} @@ -77,5 +56,4 @@ \showletters{T5}{antt}{sbc}{sc} {t5-anttcmcap} {AntykwaTorunskaCondMed-Regular} \showletters{T5}{antt}{sbc}{scit} {t5-anttcmicap} {AntykwaTorunskaCondMed-Italic} \showtext {T5}{antt}{sbc}{n} {t5-anttcm} {AntykwaTorunskaCondMed-Regular} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5antt-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5antt-test.tex index e40d10e69ed..229895d63f6 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5antt-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5antt-test.tex @@ -2,27 +2,11 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[11pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} -\pagestyle{empty} +\documentclass[test]{vnsample} -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=t5-antt.map}}{}\fi - -\testfilehook +\mapfile{t5-antt} \begin{document} -\extrarowheight=10pt \begin{shortsample} \shorttext{T5}{antt}{l}{n} {t5-anttl} {AntykwaTorunskaLigh-Regular} \shorttext{T5}{antt}{l}{it} {t5-anttli} {AntykwaTorunskaLigh-Italic} @@ -40,11 +24,9 @@ \shorttext{T5}{antt}{b}{it} {t5-anttbi} {AntykwaTorunska-BoldItalic} \shorttext{T5}{antt}{b}{sc} {t5-anttbcap} {AntykwaTorunska-Bold} \shorttext{T5}{antt}{b}{scit} {t5-anttbicap} {AntykwaTorunska-BoldItalic} - \end{shortsample} \clearpage \begin{shortsample} - \shorttext{T5}{antt}{lc}{n} {t5-anttcl} {AntykwaTorunskaCondLigh-Regular} \shorttext{T5}{antt}{lc}{it} {t5-anttcli} {AntykwaTorunskaCondLigh-Italic} \shorttext{T5}{antt}{lc}{sc} {t5-anttclcap} {AntykwaTorunskaCondLigh-Regular} @@ -62,5 +44,4 @@ \shorttext{T5}{antt}{bc}{sc} {t5-anttcbcap} {AntykwaTorunskaCond-Bold} \shorttext{T5}{antt}{bc}{scit} {t5-anttcbicap} {AntykwaTorunskaCond-BoldItalic} \end{shortsample} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5gentium-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5gentium-sample.tex new file mode 100644 index 00000000000..e93667f368c --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5gentium-sample.tex @@ -0,0 +1,14 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{urwvn} + +\begin{document} +\section{Gentium} +\showletters{T5}{vgn}{m}{n} {vgnr-t5} {Gentium} +\showletters{T5}{vgn}{m}{it} {vgnri-t5} {Gentium-Italic} +\showtext {T5}{vgn}{m}{n} {vgnr-t5} {Gentium} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5gentium-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5gentium-test.tex new file mode 100644 index 00000000000..d70bc976831 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5gentium-test.tex @@ -0,0 +1,14 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{urwvn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{vgn}{m}{n} {vgnr-t5} {Gentium} +\shorttext{T5}{vgn}{m}{it} {vgnri-t5} {Gentium-Italic} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-sample.tex index 6f824dcd23b..9499ddb0243 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-sample.tex @@ -2,30 +2,9 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} +\documentclass[sample]{vnsample} -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt -\lineskiplimit -100pt - -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=t5-iwona.map}}{}\fi +\mapfile{t5-iwona} \begin{document} \section{IwonaLight-Regular} @@ -83,5 +62,4 @@ \showletters{T5}{iwona}{bc}{sc} {t5-iwonacbcap} {IwonaCond-Bold} \showletters{T5}{iwona}{bc}{scit} {t5-iwonacbicap} {IwonaCond-BoldItalic} \showtext {T5}{iwona}{bc}{n} {t5-iwonacb} {IwonaCond-Bold} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-test.tex index 5d2758b70e7..34b2dc5046c 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5iwona-test.tex @@ -2,27 +2,11 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[12pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} -\pagestyle{empty} +\documentclass[test]{vnsample} -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=t5-iwona.map}}{}\fi - -\testfilehook +\mapfile{t5-iwona} \begin{document} -\extrarowheight=10pt \begin{shortsample} \shorttext{T5}{iwona}{l}{n} {t5-iwonal} {IwonaLight-Regular} \shorttext{T5}{iwona}{l}{it} {t5-iwonali} {IwonaLight-Italic} @@ -40,12 +24,9 @@ \shorttext{T5}{iwona}{b}{it} {t5-iwonabi} {Iwona-BoldItalic} \shorttext{T5}{iwona}{b}{sc} {t5-iwonabcap} {Iwona-Bold} \shorttext{T5}{iwona}{b}{scit} {t5-iwonabicap} {Iwona-BoldItalic} - - \end{shortsample} \clearpage \begin{shortsample} - \shorttext{T5}{iwona}{lc}{n} {t5-iwonacl} {IwonaCondLight-Regular} \shorttext{T5}{iwona}{lc}{it} {t5-iwonacli} {IwonaCondLight-Italic} \shorttext{T5}{iwona}{lc}{sc} {t5-iwonaclcap} {IwonaCondLight-Regular} @@ -62,8 +43,5 @@ \shorttext{T5}{iwona}{bc}{it} {t5-iwonacbi} {IwonaCond-BoldItalic} \shorttext{T5}{iwona}{bc}{sc} {t5-iwonacbcap} {IwonaCond-Bold} \shorttext{T5}{iwona}{bc}{scit} {t5-iwonacbicap} {IwonaCond-BoldItalic} - - \end{shortsample} \end{document} - diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-sample.tex index 36c58715658..5403447748a 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-sample.tex @@ -2,30 +2,9 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} +\documentclass[sample]{vnsample} -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt -\lineskiplimit -100pt - -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=t5-kurier.map}}{}\fi +\mapfile{t5-kurier} \begin{document} \section{KurierLight-Regular} @@ -83,6 +62,5 @@ \showletters{T5}{kurier}{bc}{sc} {t5-kuriercbcap} {KurierCond-Bold} \showletters{T5}{kurier}{bc}{scit} {t5-kuriercbicap} {KurierCond-BoldItalic} \showtext {T5}{kurier}{bc}{n} {t5-kuriercb} {KurierCond-Bold} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-test.tex index 98d050e658f..6dfa7108262 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5kurier-test.tex @@ -2,27 +2,11 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[12pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} -\pagestyle{empty} +\documentclass[test]{vnsample} -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=t5-kurier.map}}{}\fi - -\testfilehook +\mapfile{t5-kurier} \begin{document} -\extrarowheight=10pt \begin{shortsample} \shorttext{T5}{kurier}{l}{n} {t5-kurierl} {KurierLight-Regular} \shorttext{T5}{kurier}{l}{it} {t5-kurierli} {KurierLight-Italic} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5lm-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5lm-sample.tex index 867967507f2..65e849f0dd9 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5lm-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5lm-sample.tex @@ -2,32 +2,9 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} - -\def\HasDesignsize{true} - -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=lm.map}}{}\fi - -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt -\lineskiplimit -100pt +\documentclass[sample]{vnsample} + +\mapfile{lm.map} \begin{document} \section{lmr} @@ -39,27 +16,33 @@ \showCMfont{T5}{lmr}{m}{n} {t5-lmr10} {N/A} \showCMfont{T5}{lmr}{m}{n} {t5-lmr12} {N/A} \showCMfont{T5}{lmr}{m}{n} {t5-lmr17} {N/A} + \section{lmro} \showCMfont{T5}{lmr}{m}{sl} {t5-lmro8} {N/A} \showCMfont{T5}{lmr}{m}{sl} {t5-lmro9} {N/A} \showCMfont{T5}{lmr}{m}{sl} {t5-lmro10} {N/A} \showCMfont{T5}{lmr}{m}{sl} {t5-lmro12} {N/A} -%%% 0.99.1: \showCMfont{T5}{lmr}{m}{sl} {t5-lmro17} {N/A} + \section{lmri} \showCMfont{T5}{lmr}{m}{it} {t5-lmri7} {N/A} \showCMfont{T5}{lmr}{m}{it} {t5-lmri8} {N/A} \showCMfont{T5}{lmr}{m}{it} {t5-lmri9} {N/A} \showCMfont{T5}{lmr}{m}{it} {t5-lmri10} {N/A} \showCMfont{T5}{lmr}{m}{it} {t5-lmri12} {N/A} + \section{lmcsc} \showCMfont{T5}{lmr}{m}{sc} {t5-lmcsc10} {N/A} + \section{lmcsco} \showCMfont{T5}{lmr}{m}{scsl} {t5-lmcsco10} {N/A} + \section{lmb} \showCMfont{T5}{lmr}{b}{n} {t5-lmb10} {N/A} + \section{lmbo} \showCMfont{T5}{lmr}{b}{sl} {t5-lmbo10} {N/A} + \section{lmbx} \showCMfont{T5}{lmr}{bx}{n} {t5-lmbx5} {N/A} \showCMfont{T5}{lmr}{bx}{n} {t5-lmbx6} {N/A} @@ -68,38 +51,51 @@ \showCMfont{T5}{lmr}{bx}{n} {t5-lmbx9} {N/A} \showCMfont{T5}{lmr}{bx}{n} {t5-lmbx10} {N/A} \showCMfont{T5}{lmr}{bx}{n} {t5-lmbx12} {N/A} + \section{lmbxi} \showCMfont{T5}{lmr}{bx}{it} {t5-lmbxi10} {N/A} + \section{lmbxo} \showCMfont{T5}{lmr}{bx}{sl} {t5-lmbxo10} {N/A} + \section{lmss} \showCMfont{T5}{lmss}{m}{n} {t5-lmss8} {N/A} \showCMfont{T5}{lmss}{m}{n} {t5-lmss9} {N/A} \showCMfont{T5}{lmss}{m}{n} {t5-lmss10} {N/A} \showCMfont{T5}{lmss}{m}{n} {t5-lmss12} {N/A} \showCMfont{T5}{lmss}{m}{n} {t5-lmss17} {N/A} + \section{lmsso} \showCMfont{T5}{lmss}{m}{sl} {t5-lmsso8} {N/A} \showCMfont{T5}{lmss}{m}{sl} {t5-lmsso9} {N/A} \showCMfont{T5}{lmss}{m}{sl} {t5-lmsso10} {N/A} \showCMfont{T5}{lmss}{m}{sl} {t5-lmsso12} {N/A} \showCMfont{T5}{lmss}{m}{sl} {t5-lmsso17} {N/A} + \section{lmssdc} \showCMfont{T5}{lmss}{sbc}{n} {t5-lmssdc10} {N/A} + \section{lmssdo} \showCMfont{T5}{lmss}{sbc}{sl} {t5-lmssdo10} {N/A} + \section{lmssbx} \showCMfont{T5}{lmss}{bx}{n} {t5-lmssbx10} {N/A} + \section{lmssbo} \showCMfont{T5}{lmss}{bx}{sl} {t5-lmssbo10} {N/A} + \section{lmssq} \showCMfont{T5}{lmssq}{m}{n} {t5-lmssq8} {N/A} + \section{lmssqo} \showCMfont{T5}{lmssq}{m}{sl} {t5-lmssqo8} {N/A} + \section{lmssqbx} \showCMfont{T5}{lmssq}{bx}{n} {t5-lmssqbx8} {N/A} + \section{lmssqbo} \showCMfont{T5}{lmssq}{bx}{sl} {t5-lmssqbo8} {N/A} + \section{lmtt} \showCMfont{T5}{lmtt}{m}{n} {t5-lmtt8} {N/A} \showCMfont{T5}{lmtt}{m}{n} {t5-lmtt9} {N/A} @@ -108,23 +104,19 @@ \showCMfont{T5}{lmtt}{m}{it} {t5-lmtti10} {N/A} \showCMfont{T5}{lmtt}{m}{sl} {t5-lmtto10} {N/A} \showCMfont{T5}{lmtt}{m}{sc} {t5-lmtcsc10} {N/A} -%%% 0.99.1: \showCMfont{T5}{lmtt}{m}{scsl} {t5-lmtcso10} {N/A} -%%%%%%%% light (lt) and dark (dk) variants: \showCMfont{T5}{lmtt}{lt}{n} {t5-lmtl10} {N/A} \showCMfont{T5}{lmtt}{lt}{sl} {t5-lmtlo10} {N/A} \showCMfont{T5}{lmtt}{lc}{n} {t5-lmtlc10} {N/A} \showCMfont{T5}{lmtt}{lc}{sl} {t5-lmtlco10} {N/A} \showCMfont{T5}{lmtt}{dk}{n} {t5-lmtk10} {N/A} \showCMfont{T5}{lmtt}{dk}{sl} {t5-lmtko10} {N/A} -% + \section{lmvtt} \showCMfont{T5}{lmvtt}{m}{n} {t5-lmvtt10} {N/A} \showCMfont{T5}{lmvtt}{m}{sl} {t5-lmvtto10} {N/A} -%%%%%%%% light (lt) and dark (dk) variants: \showCMfont{T5}{lmvtt}{lt}{n} {t5-lmvtl10} {N/A} \showCMfont{T5}{lmvtt}{lt}{sl} {t5-lmvtlo10} {N/A} \showCMfont{T5}{lmvtt}{dk}{n} {t5-lmvtk10} {N/A} \showCMfont{T5}{lmvtt}{dk}{sl} {t5-lmvtko10} {N/A} -% \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/t5lm-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/t5lm-test.tex index 6cab61cf465..41f7489b5bb 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/t5lm-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/t5lm-test.tex @@ -2,27 +2,11 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[11pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} -\pagestyle{empty} +\documentclass[test]{vnsample} -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=lm.map}}{}\fi - -\testfilehook +\mapfile{lm} \begin{document} -\extrarowheight=5pt \begin{shortsample} \shorttext{T5}{lmr}{m}{n} {t5-lmr\{5,6,7,8,9,10,12,17\}} {N/A} \shorttext{T5}{lmr}{m}{sl} {t5-lmro\{8,9,10,12\}} {N/A} @@ -66,4 +50,3 @@ \shorttext{T5}{lmvtt}{dk}{sl} {t5-lmvtko10} {N/A} \end{shortsample} \end{document} - diff --git a/Master/texmf-dist/doc/generic/vntex/tests/termes-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/termes-sample.tex new file mode 100644 index 00000000000..09803df1948 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/termes-sample.tex @@ -0,0 +1,19 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{qtm} + +\begin{document} +\section{TeX Gyre Termes} +\showletters{T5}{qtm}{m}{n} {t5-qtmr} {TeXGyreTermes-Regular} +\showletters{T5}{qtm}{m}{it} {t5-qtmri} {TeXGyreTermes-Italic} +\showletters{T5}{qtm}{b}{n} {t5-qtmb} {TeXGyreTermes-Bold} +\showletters{T5}{qtm}{b}{it} {t5-qtmbi} {TeXGyreTermes-BoldItalic} +\showletters{T5}{qtm}{m}{sc} {t5-qtmr-sc} {TeXGyreTermes-Regular} +\showletters{T5}{qtm}{m}{scit} {t5-qtmri-sc} {TeXGyreTermes-Italic} +\showletters{T5}{qtm}{b}{sc} {t5-qtmb-sc} {TeXGyreTermes-Bold} +\showtext {T5}{qtm}{m}{n} {t5-qtmr} {TeXGyreTermes-Regular} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/termes-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/termes-test.tex new file mode 100644 index 00000000000..9870580a94b --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/termes-test.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{qtm} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{qtm}{m}{n} {t5-qtmr} {TeXGyreTermes-Regular} +\shorttext{T5}{qtm}{m}{it} {t5-qtmri} {TeXGyreTermes-Italic} +\shorttext{T5}{qtm}{b}{n} {t5-qtmb} {TeXGyreTermes-Bold} +\shorttext{T5}{qtm}{b}{it} {t5-qtmbi} {TeXGyreTermes-BoldItalic} +\shorttext{T5}{qtm}{m}{sc} {t5-qtmr-sc} {TeXGyreTermes-Regular} +\shorttext{T5}{qtm}{m}{scit} {t5-qtmri-sc} {TeXGyreTermes-Italic} +\shorttext{T5}{qtm}{b}{sc} {t5-qtmb-sc} {TeXGyreTermes-Bold} +\shorttext{T5}{qtm}{b}{scit} {t5-qtmbi-sc} {TeXGyreTermes-BoldItalic} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/txttvn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/txttvn-sample.tex new file mode 100644 index 00000000000..08465a803a9 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/txttvn-sample.tex @@ -0,0 +1,18 @@ +% Copyright 2003-2006 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{txttvn} + +\begin{document} +\section{VnTXTT} +\showletters{T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium} +\showletters{T5}{txtt}{m}{sc} {txttsc8v} {VnTXTTSC-Medium} +\showletters{T5}{txtt}{m}{sl} {txttsl8v} {VnTXTT-Medium} +\showletters{T5}{txtt}{bx}{n} {txbtt8v} {VnTXTT-Bold} +\showletters{T5}{txtt}{bx}{sc} {txbttsc8v} {VnTXTTSC-Bold} +\showletters{T5}{txtt}{bx}{sl} {txbttsl8v} {VnTXTT-Bold} +\showtext {T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/txttvn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/txttvn-test.tex new file mode 100644 index 00000000000..1a749071005 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/txttvn-test.tex @@ -0,0 +1,18 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{txttvn} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium} +\shorttext{T5}{txtt}{m}{sc} {txttsc8v} {VnTXTTSC-Medium} +\shorttext{T5}{txtt}{m}{sl} {txttsl8v} {VnTXTT-Medium} +\shorttext{T5}{txtt}{bx}{n} {txbtt8v} {VnTXTT-Bold} +\shorttext{T5}{txtt}{bx}{sc} {txbttsc8v} {VnTXTTSC-Bold} +\shorttext{T5}{txtt}{bx}{sl} {txbttsl8v} {VnTXTT-Bold} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/urwvn-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/urwvn-sample.tex index 317269b9dfe..f860bb24d9a 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/urwvn-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/urwvn-sample.tex @@ -2,34 +2,11 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} +\documentclass[sample]{vnsample} -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt - -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=urwvn.map}}{}\fi - -\lineskiplimit -100pt +\mapfile{urwvn} \begin{document} - \section{VnURWGothicL} \showletters{T5}{uag}{db}{n} {uagd8v} {VnURWGothicL-Demi} \showletters{T5}{uag}{db}{sc} {uagdc8v} {N/A} @@ -105,5 +82,4 @@ \section{VnURWChanceryL-MediItal} \showletters{T5}{uzcm}{b}{n} {uzcmi8v} {VnURWChanceryL-MediItal} \showtext {T5}{uzcm}{b}{n} {uzcmi8v} {VnURWChanceryL-MediItal} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/urwvn-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/urwvn-test.tex index de8bd0dabc5..bb1276e3c19 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/urwvn-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/urwvn-test.tex @@ -2,29 +2,11 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[11pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} +\documentclass[test]{vnsample} -\pagestyle{empty} - -\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=urwvn.map}}{}\fi - -\testfilehook +\mapfile{urwvn} \begin{document} -\extrarowheight=5pt - \begin{shortsample} \shorttext{T5}{uag}{db}{n} {uagd8v} {VnURWGothicL-Demi} \shorttext{T5}{uag}{db}{sc} {uagdc8v} {N/A} @@ -56,9 +38,7 @@ \shorttext{T5}{uhv}{m}{sc} {uhvrc8v} {N/A} \shorttext{T5}{uhv}{m}{sl} {uhvro8v} {VnNimbusSansL-Italic} \end{shortsample} - \clearpage - \begin{shortsample} \shorttext{T5}{unc}{b}{n} {uncb8v} {VnCenturySchoolbookL-Bold} \shorttext{T5}{unc}{b}{sc} {uncbc8v} {N/A} @@ -90,9 +70,7 @@ \shorttext{T5}{utm}{m}{it} {utmri8v} {VnNimbusRomanNo9L-Italic} \shorttext{T5}{utm}{m}{sl} {utmro8v} {N/A} \end{shortsample} - \clearpage - \begin{shortsample} \shorttext{T5}{pag}{db}{n} {uagd8v} {VnURWGothicL-Demi} \shorttext{T5}{pag}{db}{sc} {uagdc8v} {N/A} @@ -124,9 +102,7 @@ \shorttext{T5}{phv}{m}{sc} {uhvrc8v} {N/A} \shorttext{T5}{phv}{m}{sl} {uhvro8v} {VnNimbusSansL-Italic} \end{shortsample} - \clearpage - \begin{shortsample} \shorttext{T5}{pnc}{b}{n} {uncb8v} {VnCenturySchoolbookL-Bold} \shorttext{T5}{pnc}{b}{sc} {uncbc8v} {N/A} @@ -159,9 +135,4 @@ \shorttext{T5}{ptm}{m}{sl} {utmro8v} {N/A} \shorttext{T5}{uzcm}{b}{n} {uzcmi8v} {VnURWChanceryL-MediItal} \end{shortsample} - -%% \clearpage -%% \begin{shortsample} -%% \end{shortsample} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/vnr-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/vnr-sample.tex index 9e76a1001a2..2f00f967b0d 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/vnr-sample.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/vnr-sample.tex @@ -2,34 +2,14 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass{article} -\usepackage[ - a4paper, - nofoot, - left=1cm, - right=1cm, - top=2cm, - bottom=1cm]{geometry} -\usepackage{multicol} -\usepackage{fancyhdr} -\usepackage{vnsample} +\documentclass[sample]{vnsample} \def\HasDesignsize{true} -\pagestyle{fancy} -\rhead{\thepage} -\lhead{\textrm{\rightmark}} -\cfoot{} -\lfoot{} -\rfoot{} - -\raggedright -\parindent0pt -\lineskiplimit -100pt - \begin{document} \section{vnb} \showCMfont{T5}{cmr}{b}{n} {vnb10} {N/A} + \section{vnbx} \showCMfont{T5}{cmr}{bx}{n} {vnbx5} {N/A} \showCMfont{T5}{cmr}{bx}{n} {vnbx6} {N/A} @@ -38,22 +18,31 @@ \showCMfont{T5}{cmr}{bx}{n} {vnbx9} {N/A} \showCMfont{T5}{cmr}{bx}{n} {vnbx10} {N/A} \showCMfont{T5}{cmr}{bx}{n} {vnbx12} {N/A} + \section{vnbxsl} \showCMfont{T5}{cmr}{bx}{sl} {vnbxsl10} {N/A} + \section{vnbxit} \showCMfont{T5}{cmr}{bx}{it} {vnbxti10} {N/A} + \section{vncsc} \showCMfont{T5}{cmr}{m}{sc} {vncsc10} {N/A} + \section{vndunh} \showCMfont{T5}{cmdh}{m}{n} {vndunh10} {N/A} + \section{vnff} \showCMfont{T5}{cmfr}{m}{n} {vnff10} {N/A} + \section{vnfi} \showCMfont{T5}{cmfr}{m}{it} {vnfi10} {N/A} + \section{vnfib} \showCMfont{T5}{cmfib}{bx}{n} {vnfib8} {N/A} + \section{vnitt} \showCMfont{T5}{cmtt}{m}{it} {vnitt10} {N/A} + \section{vnr} \showCMfont{T5}{cmr}{m}{n} {vnr5} {N/A} \showCMfont{T5}{cmr}{m}{n} {vnr6} {N/A} @@ -63,49 +52,61 @@ \showCMfont{T5}{cmr}{m}{n} {vnr10} {N/A} \showCMfont{T5}{cmr}{m}{n} {vnr12} {N/A} \showCMfont{T5}{cmr}{m}{n} {vnr17} {N/A} + \section{vnsl} \showCMfont{T5}{cmr}{m}{sl} {vnsl8} {N/A} \showCMfont{T5}{cmr}{m}{sl} {vnsl9} {N/A} \showCMfont{T5}{cmr}{m}{sl} {vnsl10} {N/A} \showCMfont{T5}{cmr}{m}{sl} {vnsl12} {N/A} + \section{vnsltt} \showCMfont{T5}{cmtt}{m}{sl} {vnsltt10} {N/A} + \section{vnss} \showCMfont{T5}{cmss}{m}{n} {vnss8} {N/A} \showCMfont{T5}{cmss}{m}{n} {vnss9} {N/A} \showCMfont{T5}{cmss}{m}{n} {vnss10} {N/A} \showCMfont{T5}{cmss}{m}{n} {vnss12} {N/A} \showCMfont{T5}{cmss}{m}{n} {vnss17} {N/A} + \section{vnssbx} \showCMfont{T5}{cmss}{bx}{n} {vnssbx10} {N/A} + \section{vnssdc} \showCMfont{T5}{cmss}{dc}{n} {vnssdc10} {N/A} + \section{vnssi} \showCMfont{T5}{cmss}{m}{it} {vnssi8} {N/A} \showCMfont{T5}{cmss}{m}{it} {vnssi9} {N/A} \showCMfont{T5}{cmss}{m}{it} {vnssi10} {N/A} \showCMfont{T5}{cmss}{m}{it} {vnssi12} {N/A} \showCMfont{T5}{cmss}{m}{it} {vnssi17} {N/A} + \section{vnssq} \showCMfont{T5}{cmss}{q}{n} {vnssq8} {N/A} + \section{vnssqi} \showCMfont{T5}{cmss}{q}{it} {vnssqi8} {N/A} + \section{vntcsc} \showCMfont{T5}{cmtt}{m}{sc} {vntcsc10} {N/A} + \section{vnti} \showCMfont{T5}{cmr}{m}{it} {vnti7} {N/A} \showCMfont{T5}{cmr}{m}{it} {vnti8} {N/A} \showCMfont{T5}{cmr}{m}{it} {vnti9} {N/A} \showCMfont{T5}{cmr}{m}{it} {vnti10} {N/A} \showCMfont{T5}{cmr}{m}{it} {vnti12} {N/A} + \section{vntt} \showCMfont{T5}{cmtt}{m}{n} {vntt8} {N/A} \showCMfont{T5}{cmtt}{m}{n} {vntt9} {N/A} \showCMfont{T5}{cmtt}{m}{n} {vntt10} {N/A} \showCMfont{T5}{cmtt}{m}{n} {vntt12} {N/A} + \section{vnu} \showCMfont{T5}{cmr}{m}{u} {vnu10} {N/A} + \section{vnvtt} \showCMfont{T5}{cmvtt}{m}{n} {vnvtt10} {N/A} - \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/vnr-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/vnr-test.tex index 606557a749d..af0b05850f2 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/vnr-test.tex +++ b/Master/texmf-dist/doc/generic/vntex/tests/vnr-test.tex @@ -2,25 +2,9 @@ % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -\documentclass[11pt]{article} -\usepackage[ - a4paper, - landscape, - top=1cm, - bottom=1cm, - left=1cm, - right=1cm, - nofoot, - nohead] {geometry} -\usepackage[bookmarks=false]{hyperref} -\usepackage{array} -\usepackage{vnsample} -\pagestyle{empty} - -\testfilehook +\documentclass[test]{vnsample} \begin{document} -\extrarowheight=5pt \begin{shortsample} \shorttext{T5}{cmdh}{m}{n} {vndunh10} {N/A} \shorttext{T5}{cmfr}{m}{it} {vnfi10} {N/A} @@ -46,7 +30,6 @@ \shorttext{T5}{cmtt}{m}{sc} {vntcsc10} {N/A} \shorttext{T5}{cmtt}{m}{sl} {vnsltt10} {N/A} \shorttext{T5}{cmvtt}{m}{n} {vnvtt10} {N/A} - \end{shortsample} \end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/vnsample.sty b/Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls index 94987047875..6a8af729733 100644 --- a/Master/texmf-dist/doc/generic/vntex/tests/vnsample.sty +++ b/Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls @@ -1,23 +1,47 @@ -% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% -*-LaTeX-*- +% Copyright 2003-2006 Han The Thanh <hanthethanh@gmx.net>. % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt -%\RequirePackage{ifthen} +\ifx\documentclass\undefined\endinput\fi -\RequirePackage{ifpdf} -\ifx\pdfminorversion\undefined\else - \pdfminorversion=2\relax\fi -\ifx\pdfoptionpdfminorversion\undefined\else - \pdfoptionpdfminorversion=2\relax -\fi -\IfFileExists{./nocompress}{\pdfcompresslevel0 }{\pdfcompresslevel9 } +\newif\ifbookmarks -\ifpdf - \IfFileExists{cmap.sty}{\RequirePackage{cmap}}{} -\fi +\ProvidesClass{vnsample}[2005/08/27] +\NeedsTeXFormat{LaTeX2e} + +\LoadClass[a4paper]{article} +\RequirePackage{ifpdf} +\ifpdf\IfFileExists{cmap.sty}{\RequirePackage{cmap}}{}\fi \RequirePackage[viscii]{vietnam} -\RequirePackage{hyperref} +\RequirePackage{multicol} +\RequirePackage{geometry} +\RequirePackage{array} +\RequirePackage{fancyhdr} + +\DeclareOption{sample}{ + \geometry{a4paper,nofoot,left=1cm,right=1cm,top=2cm,bottom=1cm} + \pagestyle{fancy} + \rhead{\thepage} + \lhead{\textrm{\rightmark}}\cfoot{}\lfoot{}\rfoot{} + \raggedright + \parindent0pt + \lineskiplimit -100pt + \bookmarkstrue +} + +\DeclareOption{test}{ + \geometry{a4paper,landscape,top=1cm,bottom=1cm,left=1cm,right=1cm,% + nofoot,nohead} + \pagestyle{empty} + \bookmarksfalse + \advance\oddsidemargin -7mm \evensidemargin=\oddsidemargin + \hbadness=10000\relax\hfuzz=\maxdimen + \AtBeginDocument{\extrarowheight=5pt} +} + +\ProcessOptions \newdimen\dimenA \newbox\boxA @@ -311,23 +335,20 @@ thª. Trông g¾m chªt! {\end{tabular*}} \def\shorttext#1#2#3#4#5#6{% - \small #1/#2/#3/#4 & \small #5 & \small #6 & \usefont{#1}{#2}{#3}{#4}\\} + #1/#2/#3/#4 & #5 & #6 & \normalsize\usefont{#1}{#2}{#3}{#4}\\} +%%%\endinput -\def\section#1{\gdef\currsec{#1}\hypertarget{#1}{}\pdfbookmark[0]{#1}{#1}} - +\ifbookmarks\RequirePackage{hyperref} + \def\section#1{\gdef\currsec{#1}\hypertarget{#1}{}\pdfbookmark[0]{#1}{#1}} %\subsection{<Text>}{<label>} -\def\subsection#1#2{\def\target{\currsec-#2}% - \hypertarget{\target}{}\pdfbookmark[1]{#1}{\target}} + \def\subsection#1#2{\def\target{\currsec-#2}% + \hypertarget{\target}{}\pdfbookmark[1]{#1}{\target}} +\fi -\def\testfilehook{% - \advance\oddsidemargin -7mm \evensidemargin=\oddsidemargin - \hbadness=10000\relax\hfuzz=\maxdimen - \IfFileExists{./nocompress} - {\pdfcompresslevel0 }{\pdfcompresslevel9 }% -} -\endinput +\def\mapfile#1{\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=#1.map}}{}\fi} +\IfFileExists{./nocompress}{\pdfcompresslevel0 }{\pdfcompresslevel9 } % Local Variables: % coding: viscii diff --git a/Master/texmf-dist/doc/generic/vntex/tests/vntopia-sample.tex b/Master/texmf-dist/doc/generic/vntex/tests/vntopia-sample.tex new file mode 100644 index 00000000000..1144edc21f9 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/vntopia-sample.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[sample]{vnsample} + +\mapfile{vntopia} + +\begin{document} +\section{VnUtopia-Regular} +\showletters{T5}{put}{m}{n} {putr8v} {Vntopia-Regular} +\showletters{T5}{put}{m}{it} {putri8v} {Vntopia-Italic} +\showletters{T5}{put}{m}{sl} {putro8v} {Vntopia-Regular} +\showletters{T5}{put}{b}{n} {putb8v} {Vntopia-Bold} +\showletters{T5}{put}{b}{it} {putbi8v} {Vntopia-BoldItalic} +\showletters{T5}{put}{b}{sl} {putbo8v} {Vntopia-Bold} +\showletters{T5}{put}{m}{sc} {putrc8v} {N/A} +\showletters{T5}{put}{b}{sc} {putbc8v} {N/A} +\showtext {T5}{put}{m}{n} {putr8v} {Vntopia-Regular} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/tests/vntopia-test.tex b/Master/texmf-dist/doc/generic/vntex/tests/vntopia-test.tex new file mode 100644 index 00000000000..b9076eb7dc6 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/tests/vntopia-test.tex @@ -0,0 +1,20 @@ +% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>. +% This file is part of vntex. License: LPPL, version 1.3 or newer, +% according to http://www.latex-project.org/lppl.txt + +\documentclass[test]{vnsample} + +\mapfile{vntopia} + +\begin{document} +\begin{shortsample} +\shorttext{T5}{put}{m}{n} {putr8v} {Vntopia-Regular} +\shorttext{T5}{put}{m}{it} {putri8v} {Vntopia-Italic} +\shorttext{T5}{put}{m}{sl} {putro8v} {Vntopia-Regular} +\shorttext{T5}{put}{b}{n} {putb8v} {Vntopia-Bold} +\shorttext{T5}{put}{b}{it} {putbi8v} {Vntopia-BoldItalic} +\shorttext{T5}{put}{b}{sl} {putbo8v} {Vntopia-Bold} +\shorttext{T5}{put}{m}{sc} {putrc8v} {N/A} +\shorttext{T5}{put}{b}{sc} {putbc8v} {N/A} +\end{shortsample} +\end{document} diff --git a/Master/texmf-dist/doc/generic/vntex/vn-fonts-print.pdf b/Master/texmf-dist/doc/generic/vntex/vn-fonts-print.pdf Binary files differnew file mode 100644 index 00000000000..c083ef20b3a --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/vn-fonts-print.pdf diff --git a/Master/texmf-dist/doc/generic/vntex/vn-fonts.pdf b/Master/texmf-dist/doc/generic/vntex/vn-fonts.pdf Binary files differnew file mode 100644 index 00000000000..ec85a645203 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/vn-fonts.pdf diff --git a/Master/texmf-dist/doc/generic/vntex/vn-min-print.pdf b/Master/texmf-dist/doc/generic/vntex/vn-min-print.pdf Binary files differnew file mode 100644 index 00000000000..780fa6269a5 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/vn-min-print.pdf diff --git a/Master/texmf-dist/doc/generic/vntex/vn-min.pdf b/Master/texmf-dist/doc/generic/vntex/vn-min.pdf Binary files differnew file mode 100644 index 00000000000..b34a0312c23 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/vn-min.pdf diff --git a/Master/texmf-dist/doc/generic/vntex/vntex-man-print.pdf b/Master/texmf-dist/doc/generic/vntex/vntex-man-print.pdf Binary files differnew file mode 100644 index 00000000000..2a211c91c51 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/vntex-man-print.pdf diff --git a/Master/texmf-dist/doc/generic/vntex/vntex-man.pdf b/Master/texmf-dist/doc/generic/vntex/vntex-man.pdf Binary files differnew file mode 100644 index 00000000000..1db5384c9a1 --- /dev/null +++ b/Master/texmf-dist/doc/generic/vntex/vntex-man.pdf diff --git a/Master/texmf-dist/doc/generic/vntex/vntex.txt b/Master/texmf-dist/doc/generic/vntex/vntex.txt index 1487773d132..fdfbdf966b1 100644 --- a/Master/texmf-dist/doc/generic/vntex/vntex.txt +++ b/Master/texmf-dist/doc/generic/vntex/vntex.txt @@ -1,4 +1,4 @@ -vntex-3.02 +vntex-3.1.2 This file is part of VnTeX. License: LPPL, version 1.3 or newer, see: http://www.latex-project.org/lppl.txt |