diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-08-15 18:38:38 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-08-15 18:38:38 +0200 |
commit | 4b6b94d9bfe6186855a9dda0f9d3c5155404db17 (patch) | |
tree | c05f6da6b031e1d765a6b9ca62e37a8a3c31856f | |
parent | d0829e6ba6b888c7912e0925198dbad6bda2d73e (diff) | |
download | gnutls-4b6b94d9bfe6186855a9dda0f9d3c5155404db17.tar.gz |
Remove my-bib-macros, not used.
-rw-r--r-- | doc/Makefile.am | 5 | ||||
-rw-r--r-- | doc/my-bib-macros.texi | 236 |
2 files changed, 2 insertions, 239 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 70a5ca45d9..dbafb32971 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -31,7 +31,7 @@ info_TEXINFOS = gnutls.texi gnutls_TEXINFOS = gnutls.texi signatures.texi fdl.texi lgpl-2.1.texi \ gpl-2.0.texi error_codes.texi gnutls-api.texi \ gnutls-extra-api.texi ia-api.texi x509-api.texi pgp-api.texi \ - my-bib-macros.texi examples/ex-client1.c examples/ex-client2.c \ + examples/ex-client1.c examples/ex-client2.c \ examples/ex-session-info.c examples/ex-verify.c \ examples/ex-cert-select.c examples/ex-client-resume.c \ examples/ex-client-srp.c examples/ex-client-tlsia.c \ @@ -39,8 +39,7 @@ gnutls_TEXINFOS = gnutls.texi signatures.texi fdl.texi lgpl-2.1.texi \ examples/ex-serv-export.c examples/ex-serv-anon.c \ examples/ex-serv-pgp.c examples/ex-serv-srp.c \ examples/ex-alert.c examples/ex-x509-info.c examples/ex-crq.c \ - examples/ex-pkcs12.c \ - guile.texi $(guile_texi) + examples/ex-pkcs12.c guile.texi $(guile_texi) # Images. Make sure there are eps + png + pdf of each. gnutls_TEXINFOS += layers.eps layers.png layers.pdf diff --git a/doc/my-bib-macros.texi b/doc/my-bib-macros.texi deleted file mode 100644 index 20f398d6f5..0000000000 --- a/doc/my-bib-macros.texi +++ /dev/null @@ -1,236 +0,0 @@ -@c -*-texinfo-*- -@c %% my-bib-macros.texi --- Texinfo macros providing a crude -@c %% bibliography and citation capability. - -@c % This is modified for use with gnutls. texi2dvi had some problems using -@c % this, thus some things are hard coded here. (for the sake of a good pdf output) - -@c % Copyright (C) 2007 Free Software Foundation, Inc. -@c % Copyright (C) 2004 Aaron S. Hawley - -@c % Author: Aaron S. Hawley <ashawley@gnu.uvm.edu> -@c % Keywords: docs, texinfo, extensions, bib - -@c % This file is free software; you can redistribute it and/or modify -@c % it under the terms of the GNU General Public License as published by -@c % the Free Software Foundation; either version 2, or (at your option) -@c % any later version. - -@c % This file is distributed in the hope that it will be useful, -@c % but WITHOUT ANY WARRANTY; without even the implied warranty of -@c % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -@c % GNU General Public License for more details. - -@c % You should have received a copy of the GNU General Public License -@c % along with GNU Emacs; see the file COPYING. If not, write to -@c % the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -@c % Boston, MA 02111-1307, USA. - -@c %% Commentary: - -@c %%% Introduction - -@c %% Creates references to a ``Bibliography'' or ``References'' -@c %% section of a Texinfo document, using Texinfo's -@c %% macro system. Although not as terse a way to cite systems as is -@c %% found in document systems like TeX, the format is simpler and -@c %% the rendering is easier for non-academic readers. - -@c % - -@c %%% Usage - -@c %% References to cited works can be put in any section of a document. -@c %% The cited works must be put in either a Texinfo table (for -@c %% instance with ``@table @asis ... @end table'') or within a -@c %% Texinfo list (something like ``@enumerate ... @end enumerate'' -@c %% or ``@itemize @bullet ... @end itemize''). They are created -@c %% with the command ``@mybibitem{REF-NAME}''. To cite a reference -@c %% with a @mybibitem use ``@mybibcite{REF-NAME}''. - -@c %% The beginning of a document must include (using the @include -@c %% command) the file my-bib-macros.texi, which should be made -@c %% available in the current directory of the parent file. A single -@c %% call should be made to choose to use a list or a table. The -@c %% command to chose is called @mybibuselist{NODE}, where NODE is -@c %% the node containing the location where the references are listed. - -@c % - -@c %%% Example - -@c %% \input texinfo @c -*-texinfo-*- -@c %% @comment %**start of header -@c %% @setfilename my-file-with-bib.info -@c %% @settitle Texinfo with a Bibliography and References -@c %% -@c %% @include my-bib-macros.texi -@c %% @mybibuselist{References} -@c %% -@c %% @comment %**end of header -@c %% -@c %% @node Top -@c %% @top Top -@c %% -@c %% @menu -@c %% * Introduction:: -@c %% * @mybibnode{}:: -@c %% -@c %% @end menu -@c %% -@c %% @node Introduction -@c %% @chapter Introduction -@c %% -@c %% The ability of a documentation format to make cross references to a -@c %% bibliography, a feature of LaTeX @mybibcite{LaTeX2e}, isn't -@c %% currently supported in Texinfo. -@c %% -@c %% @node @mybibnode{} -@c %% @chapter References -@c %% -@c %% @itemize @asis -@c %% -@c %% @mybibitem{LaTeX2e} Leslie Lamport, LaTeX User's Guide and -@c %% Reference Manual, 2nd edition, Addison-Wesley, Reading, -@c %% Massachusetts, 1994. -@c %% -@c %% @end itemize -@c %% -@c %% @bye - -@c %% - -@c %% This example produces (in Info): - -@c %% 1 Introduction -@c %% ************** -@c %% -@c %% The ability of a documentation format to make cross -@c %% references to a bibliography, a feature of LaTeX (See item -@c %% [LaTeX2e] in *Note LaTeX2e: References.), is not currently -@c %% supported in Texinfo. -@c %% -@c %% -@c %% 2 References -@c %% ************ -@c %% -@c %% [LaTeX2e] Leslie Lamport, LaTeX User's Guide and Reference -@c %% Manual, 2nd edition, Addison-Wesley, Reading, -@c %% Massachusetts, 1994. - -@c %% and (in printed output): - -@c %% 1 Introduction -@c %% ************** -@c %% -@c %% The ability of a documentation format to make cross -@c %% references to a bibliography, a feature of LaTeX (See item -@c %% [LaTeX2e] in Chapter 2 [References], page 3.), is not -@c %% currently supported in Texinfo. -@c %% -@c %% -@c %% 2 References -@c %% ************ -@c %% -@c %% [LaTeX2e] Leslie Lamport, LaTeX User's Guide and Reference -@c %% Manual, 2nd edition, Addison-Wesley, Reading, -@c %% Massachusetts, 1994. - -@c % - -@c %%% Notes - -@c %% The pointers to references will be functional in hypertext -@c %% documentation (info, HTML, XML and others) and properly rendered -@c %% in print documents, because they are implemented with Texinfo's -@c %% cross referencing capabilities (using @anchor and @ref). Failures -@c %% by an author to make proper references with ``my-bib-macros'' in -@c %% their document will give cross referencing errors by Texinfo -@c %% conversion tools. - -@c %% Only one ``Reference'' section is allowed per document. - -@c %% An improvement of this system would create cross references -@c %% (with @xref) at each cited work to all the originating cross -@c %% refererences. - -@c % - -@c %% Code: - -@c % Configuration Options - -@c %% @mybibsetrefnode : Defines the name of the node to contain -@c %% references. - -@macro mybibsetrefnode{node} -@set mybibrefnode \node\ -@end macro - -@c %% @mybibnode{} : Macro to be placed at node containing references -@c %% and calls to @mybibcite{} - -@macro mybibnode{} -@value{mybibrefnode} -@end macro - -@c %% @mybibusetable : Whether each @mybibitem will be put in a -@c %% table. - -@macro mybibusetable{node} -@set mybibtable true -@ifset mybiblist -@clear mybiblist -@end ifset -@mybibsetrefnode{\node\} -@end macro - -@c %% @mybibuselist : Whether each @mybibitem will be put in a -@c %% list. - -@macro mybibuselist{node} -@set mybiblist true -@ifset mybibtable -@clear mybibtable -@end ifset -@mybibsetrefnode{\node\} -@end macro - - -@c %% @mybibcite{REF} : Cites the cross reference REF. - -@macro mybibcite{ref} -@ifclear mybibrefnode -@mybibmakeref{mybibsetrefnode was not used, \ref\} -@end ifclear -@c %**else if -@ifset mybibrefnode -@mybibmakeref{@mybibnode{}, \ref\} -@end ifset - -@end macro - -@macro mybibmakeref{node, ref} -[\ref\] (@pxref{Bibliography,\ref\}) -@end macro - -@c %% @mybibcite{REF} : Creates a cross referenced citation REF. - -@macro mybibitem{ref} -@ifclear mybiblist -@ifclear mybibtable -@set mybiblist true -@end ifclear -@end ifclear -@ifset mybiblist -@item -@anchor{\ref\}[\ref\] -@end ifset -@c %**else if -@ifset mybibtable -@item @anchor{\ref\}[\ref\] -@end ifset - -@end macro - -@c %% my-bib-macros.texi ends here |