summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/msg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-10-07 20:34:51 +0000
committerKarl Berry <karl@freefriends.org>2006-10-07 20:34:51 +0000
commit60a45a6e821196e03a1b74a69b6b5821693288aa (patch)
tree6561dd6a85e9f34421a40fabdf3d42d6b759035f /Master/texmf-dist/doc/latex/msg
parent07f227511dcbf1e141f45c38947c6430d58e8012 (diff)
msg v0.40 update (6oct06)
git-svn-id: svn://tug.org/texlive/trunk@2265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/msg')
-rw-r--r--Master/texmf-dist/doc/latex/msg/CHANGES25
-rw-r--r--Master/texmf-dist/doc/latex/msg/README12
-rw-r--r--Master/texmf-dist/doc/latex/msg/README_msg_doc.txt12
-rw-r--r--Master/texmf-dist/doc/latex/msg/french_msg-msg.tex7
-rw-r--r--Master/texmf-dist/doc/latex/msg/msg-msg.tex8
-rw-r--r--Master/texmf-dist/doc/latex/msg/msg.pdfbin387171 -> 412094 bytes
-rw-r--r--Master/texmf-dist/doc/latex/msg/msgguide.pdfbin0 -> 342291 bytes
-rw-r--r--Master/texmf-dist/doc/latex/msg/msgguide.tex38
-rw-r--r--Master/texmf-dist/doc/latex/msg/msgtest.tex14
9 files changed, 107 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/msg/CHANGES b/Master/texmf-dist/doc/latex/msg/CHANGES
new file mode 100644
index 00000000000..527c2264ee0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/msg/CHANGES
@@ -0,0 +1,25 @@
+% Here are the historical changes in the "msg" package for LaTeX.
+
+2006/10/03 V 0.40 mods: no options are declared and processed when the "msg"
+ package is called internally (from another package)
+ or from the kernel. This is just a test if
+ \intern@c@llfrom is undefined or not. \intern@c@llfrom
+ should contain the name of module calling (for future
+ use).
+ Added a Makefile to prepare for TeXLive.
+ Added this CHANGES file.
+
+2005/02/14 V 0.30 mods: added hook for possible keyboard output reencoding;
+ few documentation changes.
+
+2005/01/07 V 0.10 mods: bug corrections: mostly \msgencoding not running before
+ \begin{document};
+ German message file completed.
+ Few documentation changes.
+
+2004/12/04 V 0.09 mods: bug correction whith the "tracefiles" option,
+ \msgencoding now generalized,
+ few documentation changes.
+
+Previous changes not recorded.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/msg/README b/Master/texmf-dist/doc/latex/msg/README
index 8ccbc4eb975..95f6e42917b 100644
--- a/Master/texmf-dist/doc/latex/msg/README
+++ b/Master/texmf-dist/doc/latex/msg/README
@@ -10,6 +10,8 @@
%% which is designed to localize any LaTeX package
%% or document class.
%%
+%% To unpack this package: latex msg.ins
+%% To prepare for TeX Live: make TL
%%
%% HERE IS THE MSG PACKAGE FOR LaTeX
%%
@@ -67,6 +69,16 @@
%% \issueallmsg[msg_macro](<package>)
%% and all messages from the file will be retrieved and issued.
%%
+%% For tracing all accessed files you should load the "msg" package with
+%% the option: tracefiles.
+%%
+%% In case of trouble you can ask the "msg" package not to load
+%% any message file, just load the "msg" package with the
+%% option: noop, and then you just obtain a message containing
+%% the "msgid".
+%%
+%% Please look at the documentations for more details.
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
diff --git a/Master/texmf-dist/doc/latex/msg/README_msg_doc.txt b/Master/texmf-dist/doc/latex/msg/README_msg_doc.txt
index 8ccbc4eb975..95f6e42917b 100644
--- a/Master/texmf-dist/doc/latex/msg/README_msg_doc.txt
+++ b/Master/texmf-dist/doc/latex/msg/README_msg_doc.txt
@@ -10,6 +10,8 @@
%% which is designed to localize any LaTeX package
%% or document class.
%%
+%% To unpack this package: latex msg.ins
+%% To prepare for TeX Live: make TL
%%
%% HERE IS THE MSG PACKAGE FOR LaTeX
%%
@@ -67,6 +69,16 @@
%% \issueallmsg[msg_macro](<package>)
%% and all messages from the file will be retrieved and issued.
%%
+%% For tracing all accessed files you should load the "msg" package with
+%% the option: tracefiles.
+%%
+%% In case of trouble you can ask the "msg" package not to load
+%% any message file, just load the "msg" package with the
+%% option: noop, and then you just obtain a message containing
+%% the "msgid".
+%%
+%% Please look at the documentations for more details.
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
diff --git a/Master/texmf-dist/doc/latex/msg/french_msg-msg.tex b/Master/texmf-dist/doc/latex/msg/french_msg-msg.tex
index 801c97e4771..e1e07a7df9b 100644
--- a/Master/texmf-dist/doc/latex/msg/french_msg-msg.tex
+++ b/Master/texmf-dist/doc/latex/msg/french_msg-msg.tex
@@ -19,15 +19,18 @@
\msg{5}{ligne }{\msgparti{de l'extension ``msg'' génère le %
message de #1 \#\msgid}}
\msg{6}{extension msg \string: fin ANORMALE de fichier rencontrée %
+ \MessageBreak %
en chargeant le fichier \msg@filename\space\string!}{}
\msg{7}{erreur de syntaxe à l'appel de \string\msg}% cas special de test
{\help{il manque le dernier argument.}}
-\msgheader{MESSAGE\space\msgid\space\string:\space\string<\string<\space}
+\msgheader{MESSAGE\space\msgid\space\string:\space %
+ \string<\string<\space}
\msgtrailer{\space\string>\string>}
\msg{8}{ceci est un message personnalisé}{}
\msg{9}{ceci est un message personnalisé %
\MessageBreak et aligné}{}
-\msgheader{Message\space\msgid\space(msg)\space\string:\space}\msgtrailer{}
+\msgheader{Message\space\msgid\space(msg)\space\string: %
+ \space}\msgtrailer{}
\msg*{10}{****** Je mets en valeur \string: %
ceci est un AVERTISSEMENT ! ****** %
\MessageBreak ****** Soyez prudent.^^J}{}
diff --git a/Master/texmf-dist/doc/latex/msg/msg-msg.tex b/Master/texmf-dist/doc/latex/msg/msg-msg.tex
index 96bb8f2db8b..5397fcee3d2 100644
--- a/Master/texmf-dist/doc/latex/msg/msg-msg.tex
+++ b/Master/texmf-dist/doc/latex/msg/msg-msg.tex
@@ -16,9 +16,11 @@
\msg{2}{invalid optional parameter provided:}{}
\msg{3}{invalid language requested: ``\CurrentOption''}{}
\msg{4}{This is to test the #1 feature}{}
-\msg{5}{``msg'' package line number }{\msgparti{issues \#\msgid\ #1 message}}
-\msg{6}{msg package: UNUSUAL end of file reached %
- when loading \msg@filename\space file!}{}
+\msg{5}{``msg'' package line number }{\msgparti{issues %
+ \#\msgid\ #1 message}}
+\msg{6}{msg package: UNUSUAL end of file reached when %
+ \MessageBreak %
+ loading \msg@filename\space file!}{}
\msg{7}{\string\msg\space syntax error}{\help{last % special test case
argument is missing.}}
\msgheader{MESSAGE\space\msgid:\space``}\msgtrailer{''}
diff --git a/Master/texmf-dist/doc/latex/msg/msg.pdf b/Master/texmf-dist/doc/latex/msg/msg.pdf
index 2c528069b02..5bdf62a2bf0 100644
--- a/Master/texmf-dist/doc/latex/msg/msg.pdf
+++ b/Master/texmf-dist/doc/latex/msg/msg.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/msg/msgguide.pdf b/Master/texmf-dist/doc/latex/msg/msgguide.pdf
new file mode 100644
index 00000000000..66d81768313
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/msg/msgguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/msg/msgguide.tex b/Master/texmf-dist/doc/latex/msg/msgguide.tex
new file mode 100644
index 00000000000..f15c6523bfa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/msg/msgguide.tex
@@ -0,0 +1,38 @@
+%% File is part of the "msg" package for LaTeX
+%% which is designed to localize any LaTeX package
+%% or document class.
+%%
+%% This is the package writer's guide.
+%%
+\documentclass[10pt]{ltxdoc}
+ \makeatletter
+ \let\msg@MPC\MakePercentComment
+ \let\msg@MPI\MakePercentIgnore
+ \makeatother
+ \usepackage[T1]{fontenc}
+ \usepackage{lmodern}% You can remove it if you don't have that font.
+ \usepackage{msg}
+ \begin{document}
+
+\makeatletter
+\def\skipmacrocode{\macro@code\frenchspacing\@vobeyspaces\ymacro@code}
+\def\hardmacrocode{\macro@code\frenchspacing\@vobeyspaces\zmacro@code}
+\def\hard{\let\macrocode\hardmacrocode}
+\def\endhard{\let\macrocode\skipmacrocode}
+\endhard
+\let\endhardmacrocode\endmacrocode
+\catcode`\!=\catcode`\%
+\begingroup
+\catcode`\|=\z@ \catcode`\[=\@ne \catcode`\]=\tw@
+\catcode`\{=12 \catcode`\}=12
+\catcode`\%=12 \catcode`\ =\active \catcode`\\=\active
+|gdef|zmacro@code#1% \end{macrocode}[#1|end[macrocode]]
+|gdef|ymacro@code#1% \end{macrocode}[|end[macrocode]]
+|endgroup
+\catcode`\!=12
+\makeatother
+\let\ifguide\iftrue\let\PrintIndex\relax
+
+ \DocInput{msg.dtx}
+\end{document}
+%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/doc/latex/msg/msgtest.tex b/Master/texmf-dist/doc/latex/msg/msgtest.tex
index 65f51bc1902..085b74616da 100644
--- a/Master/texmf-dist/doc/latex/msg/msgtest.tex
+++ b/Master/texmf-dist/doc/latex/msg/msgtest.tex
@@ -1,16 +1,22 @@
% This is a second test file for the "msg" package;
% the first one being the msg.dtx file itself.
%
-% You can replace "norsk" with your own language name to test
-% a new messages file related to you language.
+% If you want to test your own language messages file,
+% you can add your own \testlanguagefile at the end of this
+% test file.
%
\documentclass[10pt]{article}
- \usepackage[norsk,german,frenchb,english]{babel}
+ \usepackage{inputenc}% Load usual input encoding.
+ \let\kbencoding\undefined% Don't use now any output encoding.
\usepackage[T1]{fontenc}
+ \usepackage[norsk,german,frenchb,english]{babel}
\usepackage{shortvrb}
- \usepackage{msg}%
+ \usepackage{msg}
% \usepackage[tracefiles]{msg}% should also be tested with "tracefiles"
% \usepackage{msg,french}% should also be tested with your language.
+ % As LaTeX don't save the input encoding
+ % the "msg" package will do it.
+ \inputencoding{latin1}% To have a _global_ latin1 encoding
\begin{document}
\MakeShortVerb{|}