From 9a41f744234497f8b389f9b851f5a145ec98ece8 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 26 2011 14:20:11 +0000 Subject: Update `help' functionality: - Add Modules directory structure and move `Config/' files to `Modules/Texinfo/Templates' directory structure. - I'm trying to separate internal functionalities in order for them to be loaded independently, as well. There is no need to load texinfo functionalities when we are working with docbook files, nor the opposite. --- diff --git a/Scripts/Functions/Help/Config/manual-copyright-cc-by-sa.texi b/Scripts/Functions/Help/Config/manual-copyright-cc-by-sa.texi deleted file mode 100755 index 9ec8135..0000000 --- a/Scripts/Functions/Help/Config/manual-copyright-cc-by-sa.texi +++ /dev/null @@ -1,8 +0,0 @@ -Copyright @copyright{} =COPYRIGHT_YEAR_LIST= =COPYRIGHT_HOLDER= - -Permission is granted to copy, distribute and/or modify this document -under the terms of the a Creative Commons Attribution–Share Alike 3.0 -Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available -at @url{http://creativecommons.org/licenses/by-sa/3.0/}. In accordance -with CC-BY-SA, if you distribute this document or an adaptation of it, -you must provide the URL for the original version. diff --git a/Scripts/Functions/Help/Config/manual-copyright-gfdl.texi b/Scripts/Functions/Help/Config/manual-copyright-gfdl.texi deleted file mode 100755 index 1a67c65..0000000 --- a/Scripts/Functions/Help/Config/manual-copyright-gfdl.texi +++ /dev/null @@ -1,8 +0,0 @@ -Copyright @copyright{} =COPYRIGHT_YEAR_LIST= =COPYRIGHT_HOLDER= - -Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no -Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A -copy of the license is included in the section entitled ``GNU Free -Documentation License''. diff --git a/Scripts/Functions/Help/Config/manual-index.texi b/Scripts/Functions/Help/Config/manual-index.texi deleted file mode 100644 index abe002c..0000000 --- a/Scripts/Functions/Help/Config/manual-index.texi +++ /dev/null @@ -1,3 +0,0 @@ -@node Index -@unnumbered Index -@printindex cp diff --git a/Scripts/Functions/Help/Config/manual-intro.texi b/Scripts/Functions/Help/Config/manual-intro.texi deleted file mode 100644 index e69de29..0000000 --- a/Scripts/Functions/Help/Config/manual-intro.texi +++ /dev/null diff --git a/Scripts/Functions/Help/Config/manual-menu.texi b/Scripts/Functions/Help/Config/manual-menu.texi deleted file mode 100644 index 70362c8..0000000 --- a/Scripts/Functions/Help/Config/manual-menu.texi +++ /dev/null @@ -1,3 +0,0 @@ -@menu -* Index:: -@end menu diff --git a/Scripts/Functions/Help/Config/manual-nodes.texi b/Scripts/Functions/Help/Config/manual-nodes.texi deleted file mode 100644 index e69de29..0000000 --- a/Scripts/Functions/Help/Config/manual-nodes.texi +++ /dev/null diff --git a/Scripts/Functions/Help/Config/manual-section-functions.texi b/Scripts/Functions/Help/Config/manual-section-functions.texi deleted file mode 100644 index 9071086..0000000 --- a/Scripts/Functions/Help/Config/manual-section-functions.texi +++ /dev/null @@ -1,35 +0,0 @@ -@subheading Name - -@dots{} - -@subheading Synopsis - -@dots{} - -@subheading Description - -@dots{} - -@subheading Examples - -@dots{} - -@subheading Author - -Written by @dots{} - -@subheading Reporting bugs - -Report bugs to @email{centos-artwork@@centos.org} mailing list. - -@subheading Copyright - -Copyright @copyright{} =COPYRIGHT_YEAR_LIST= =COPYRIGHT_HOLDER= - -This is free software. You may redistribute copies of it under the -terms of the GNU General Public License (@pxref{GNU General Public -License}). There is NO WARRANTY, to the extent permitted by law. - -@subheading See also - -=TEXINFO_SEEALSO= diff --git a/Scripts/Functions/Help/Config/manual-section.texi b/Scripts/Functions/Help/Config/manual-section.texi deleted file mode 100644 index d6bb628..0000000 --- a/Scripts/Functions/Help/Config/manual-section.texi +++ /dev/null @@ -1,23 +0,0 @@ -@subheading Goals - -@itemize -@item ... -@end itemize - -@subheading Description - -@itemize -@item ... -@end itemize - -@subheading Usage - -@itemize -@item ... -@end itemize - -@subheading See also - -@itemize -@item ... -@end itemize diff --git a/Scripts/Functions/Help/Config/manual.texi b/Scripts/Functions/Help/Config/manual.texi deleted file mode 100644 index 3d05184..0000000 --- a/Scripts/Functions/Help/Config/manual.texi +++ /dev/null @@ -1,55 +0,0 @@ -\input texinfo @c -*-texinfo-*- -@c $Id$ -@c -- Header -------------------------------------------------- - -@setfilename =FILENAME=.info -@settitle =TITLE= -@documentlanguage =LOCALE_LL= -@afourpaper -@finalout - -@c -- Summary description and copyright ----------------------- - -@copying -=DESCRIPTION= - -Copyright @copyright{} =COPYRIGHT_YEAR= =COPYRIGHT_HOLDER= - -Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no -Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A -copy of the license is included in the section entitled GNU Free -Documentation License. -@end copying - -@c -- Titlepage, contents, copyright --------------------------- - -@titlepage -@title =TITLE= -@subtitle =SUBTITLE= -@author =AUTHOR= -@page -@vskip 0pt plus 1filll -@insertcopying -@end titlepage -@contents - -@c -- `Top' node and master menu ------------------------------- - -@ifnottex -@node Top -@top =TITLE= -@insertcopying -@end ifnottex -@include manual-menu.texi - -@c -- The body of the document -------------------------------- - -@include manual-nodes.texi - -@c -- The end of the document --------------------------------- - -@include manual-index.texi - -@bye diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-copyright-cc-by-sa.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-copyright-cc-by-sa.texi new file mode 100755 index 0000000..9ec8135 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-copyright-cc-by-sa.texi @@ -0,0 +1,8 @@ +Copyright @copyright{} =COPYRIGHT_YEAR_LIST= =COPYRIGHT_HOLDER= + +Permission is granted to copy, distribute and/or modify this document +under the terms of the a Creative Commons Attribution–Share Alike 3.0 +Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available +at @url{http://creativecommons.org/licenses/by-sa/3.0/}. In accordance +with CC-BY-SA, if you distribute this document or an adaptation of it, +you must provide the URL for the original version. diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-copyright-gfdl.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-copyright-gfdl.texi new file mode 100755 index 0000000..1a67c65 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-copyright-gfdl.texi @@ -0,0 +1,8 @@ +Copyright @copyright{} =COPYRIGHT_YEAR_LIST= =COPYRIGHT_HOLDER= + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A +copy of the license is included in the section entitled ``GNU Free +Documentation License''. diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-index.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-index.texi new file mode 100644 index 0000000..abe002c --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-index.texi @@ -0,0 +1,3 @@ +@node Index +@unnumbered Index +@printindex cp diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-intro.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-intro.texi new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-intro.texi diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-menu.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-menu.texi new file mode 100644 index 0000000..70362c8 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-menu.texi @@ -0,0 +1,3 @@ +@menu +* Index:: +@end menu diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-nodes.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-nodes.texi new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-nodes.texi diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-section-functions.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-section-functions.texi new file mode 100644 index 0000000..9071086 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-section-functions.texi @@ -0,0 +1,35 @@ +@subheading Name + +@dots{} + +@subheading Synopsis + +@dots{} + +@subheading Description + +@dots{} + +@subheading Examples + +@dots{} + +@subheading Author + +Written by @dots{} + +@subheading Reporting bugs + +Report bugs to @email{centos-artwork@@centos.org} mailing list. + +@subheading Copyright + +Copyright @copyright{} =COPYRIGHT_YEAR_LIST= =COPYRIGHT_HOLDER= + +This is free software. You may redistribute copies of it under the +terms of the GNU General Public License (@pxref{GNU General Public +License}). There is NO WARRANTY, to the extent permitted by law. + +@subheading See also + +=TEXINFO_SEEALSO= diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-section.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-section.texi new file mode 100644 index 0000000..d6bb628 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual-section.texi @@ -0,0 +1,23 @@ +@subheading Goals + +@itemize +@item ... +@end itemize + +@subheading Description + +@itemize +@item ... +@end itemize + +@subheading Usage + +@itemize +@item ... +@end itemize + +@subheading See also + +@itemize +@item ... +@end itemize diff --git a/Scripts/Functions/Help/Modules/Texinfo/Templates/manual.texi b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual.texi new file mode 100644 index 0000000..3d05184 --- /dev/null +++ b/Scripts/Functions/Help/Modules/Texinfo/Templates/manual.texi @@ -0,0 +1,55 @@ +\input texinfo @c -*-texinfo-*- +@c $Id$ +@c -- Header -------------------------------------------------- + +@setfilename =FILENAME=.info +@settitle =TITLE= +@documentlanguage =LOCALE_LL= +@afourpaper +@finalout + +@c -- Summary description and copyright ----------------------- + +@copying +=DESCRIPTION= + +Copyright @copyright{} =COPYRIGHT_YEAR= =COPYRIGHT_HOLDER= + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A +copy of the license is included in the section entitled GNU Free +Documentation License. +@end copying + +@c -- Titlepage, contents, copyright --------------------------- + +@titlepage +@title =TITLE= +@subtitle =SUBTITLE= +@author =AUTHOR= +@page +@vskip 0pt plus 1filll +@insertcopying +@end titlepage +@contents + +@c -- `Top' node and master menu ------------------------------- + +@ifnottex +@node Top +@top =TITLE= +@insertcopying +@end ifnottex +@include manual-menu.texi + +@c -- The body of the document -------------------------------- + +@include manual-nodes.texi + +@c -- The end of the document --------------------------------- + +@include manual-index.texi + +@bye