| 1 |
%% |
| 2 |
%% This is file `README_msg_doc.txt', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% msg.dtx (with options: `README') |
| 8 |
%% |
| 9 |
%% File is part of the "msg" package for LaTeX |
| 10 |
%% which is designed to localize any LaTeX package |
| 11 |
%% or document class. |
| 12 |
%% |
| 13 |
%% To unpack this package: latex msg.ins |
| 14 |
%% To prepare for TeX Live: make TL |
| 15 |
%% |
| 16 |
%% HERE IS THE MSG PACKAGE FOR LaTeX |
| 17 |
%% |
| 18 |
%% A LaTeX package to localize any package or document class. |
| 19 |
%% |
| 20 |
%% A LaTeX package able to issue messages in the language provided as option |
| 21 |
%% of \documentclass or in use in the document (\languagename). All messages |
| 22 |
%% are identified with a unique "id" and stored in a MessagesFile whose name |
| 23 |
%% is related to the package and optionnaly to the language. |
| 24 |
%% |
| 25 |
%% MessagesFile, name: [<language>]_<package>-msg.tex |
| 26 |
%% contents: \msg{<id>}{<message>} % defines the message "id". |
| 27 |
%% \msg*{<id>}{<message>} % star form for msg emphasis. |
| 28 |
%% \msg{*}{<error message>} % bad "id" default message. |
| 29 |
%% Messages can have 3 more parts defined asis: |
| 30 |
%% \msg{<id>}{<msg>}[ % defines the msg first part. |
| 31 |
%% \msgparti{<msg_part>} % defines the msg second part. |
| 32 |
%% \msgpartii{<msg_part>} % defines the msg third part. |
| 33 |
%% \msgpartiii{<msg_part>}] % defines the msg fourth part. |
| 34 |
%% Any message part can include a |#1| parameter provided from any |
| 35 |
%% of the macros below. |
| 36 |
%% Error messages have just a help more part as follows: |
| 37 |
%% \msg{<id>}{<msg>}[ % defines the msg first part. |
| 38 |
%% \help{<help_part>}] % defines the help part. |
| 39 |
%% All messages should be fully expandable. |
| 40 |
%% Custolization: |
| 41 |
%% \msgheader{<head part of messages>} |
| 42 |
%% \msgtrailer{<final part of messages>} |
| 43 |
%% \msgencoding{<encoding of messages>}% as for inputenc. |
| 44 |
%% Check "msg-msg.tex" file for msg's own messages file. |
| 45 |
%% |
| 46 |
%% Document usage: \documentclass[any_option]{any_class} |
| 47 |
%% call: \usepackage[options,language]{msg} |
| 48 |
%% |
| 49 |
%% to issue the message "id": \issuemsg{<id>}(<package>)[#1] |
| 50 |
%% One can use any message macro (defaultly \typeout) with: |
| 51 |
%% \issuemsg[msg_macro]{<id>}(<package>)[#1] |
| 52 |
%% Multi-parts message can't be issued through \issuemsg. |
| 53 |
%% One can specify the macro name to issue message as an option |
| 54 |
%% of \usepackage: \message, \wlog, \typeout, \kbtypyeout or |
| 55 |
%% \ClassWarning, \ClassError, \PackageWarning, \PackageError, ... |
| 56 |
%% |
| 57 |
%% to retrieve the message "id" in \themsg (without typesetting): |
| 58 |
%% \retrievemsg{<id>}(<package>)[#1] |
| 59 |
%% Multi-parts message will have defined also \themsgi, |
| 60 |
%% \themsgii and \themsgiii. |
| 61 |
%% to get the message "id": \getmsg{<id>}(<package>)[#1] |
| 62 |
%% |
| 63 |
%% Usually, the requested message "id" is retrieved from |
| 64 |
%% [<language>]_<package>-msg.tex but if there is no active language |
| 65 |
%% or if file don't exist then message is searched in the |
| 66 |
%% <package>-msg.tex file. |
| 67 |
%% |
| 68 |
%% For testing a messages file, you can code: |
| 69 |
%% \issueallmsg[msg_macro](<package>) |
| 70 |
%% and all messages from the file will be retrieved and issued. |
| 71 |
%% |
| 72 |
%% For tracing all accessed files you should load the "msg" package with |
| 73 |
%% the option: tracefiles. |
| 74 |
%% |
| 75 |
%% In case of trouble you can ask the "msg" package not to load |
| 76 |
%% any message file, just load the "msg" package with the |
| 77 |
%% option: noop, and then you just obtain a message containing |
| 78 |
%% the "msgid". |
| 79 |
%% |
| 80 |
%% Please look at the documentations for more details. |
| 81 |
%% |
| 82 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 83 |
%% \CharacterTable |
| 84 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 85 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 86 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 87 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 88 |
%% Dollar \$ Percent \% Ampersand \& |
| 89 |
%% Acute accent \' Left paren \( Right paren \) |
| 90 |
%% Asterisk \* Plus \+ Comma \, |
| 91 |
%% Minus \- Point \. Solidus \/ |
| 92 |
%% Colon \: Semicolon \; Less than \< |
| 93 |
%% Equals \= Greater than \> Question mark \? |
| 94 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 95 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 96 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 97 |
%% Right brace \} Tilde \~ |
| 98 |
%% And any code from 128 to 255 |
| 99 |
%% } |
| 100 |
%% |
| 101 |
\endinput |
| 102 |
%% |
| 103 |
%% End of file `README_msg_doc.txt'. |