mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 02:33:36 +08:00
97ee300903
Without this change, in the info file output, Texinfo 5 quotes code in text with undirected single quotes 'like this' and generates code examples that with many PDF readers cannot be cut out of PDFs and pasted into code. * manual/libc.texinfo: Configure the libc manual like the GNU Emacs manual, by using @documentencoding and setting txicodequoteundirected and txicodequotebacktick. This way, Texinfo 5 quotes code in text with directed single quotes ‘like this’ and produces examples that can be cut out of PDFs. This change causes Texinfo 5 to generate info files that contain UTF-8 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−', '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
167 lines
4.4 KiB
Plaintext
167 lines
4.4 KiB
Plaintext
\input texinfo @c -*- Texinfo -*-
|
|
@comment %**start of header (This is for running Texinfo on a region.)
|
|
@setfilename libc.info
|
|
@settitle The GNU C Library
|
|
@documentencoding UTF-8
|
|
@c '@codequotebacktick on' and '@codequoteundirected on' require
|
|
@c Texinfo 5.0 or later, so use the older equivalent @set variables
|
|
@c supported in Texinfo 4.11 and later.
|
|
@set txicodequoteundirected
|
|
@set txicodequotebacktick
|
|
|
|
@c setchapternewpage odd
|
|
|
|
@include macros.texi
|
|
|
|
@comment Tell install-info what to do.
|
|
@dircategory Software libraries
|
|
@direntry
|
|
* Libc: (libc). C library.
|
|
@end direntry
|
|
@include dir-add.texi
|
|
|
|
@include pkgvers.texi
|
|
|
|
@c This tells texinfo.tex to use the real section titles in xrefs in
|
|
@c place of the node name, when no section title is explicitly given.
|
|
@set xref-automatic-section-title
|
|
@c @smallbook
|
|
@comment %**end of header (This is for running Texinfo on a region.)
|
|
|
|
@c Everything related to printed editions is disabled until we have
|
|
@c resolved how to keep them in sync with the master sources of the
|
|
@c manual.
|
|
@c sold 0.06/1.09, print run out 21may96
|
|
@c @set EDITION 0.13
|
|
@c @set ISBN 1-882114-55-8
|
|
|
|
@include version.texi
|
|
|
|
@set FDL_VERSION 1.3
|
|
|
|
@copying
|
|
This file documents @theglibc{}.
|
|
|
|
This is
|
|
@c Disabled (printed editions, see above).
|
|
@c Edition @value{EDITION} of
|
|
@cite{The GNU C Library Reference Manual}, for version
|
|
@ifset PKGVERSION_DEFAULT
|
|
@value{VERSION}.
|
|
@end ifset
|
|
@ifclear PKGVERSION_DEFAULT
|
|
@value{VERSION} @value{PKGVERSION}.
|
|
@end ifclear
|
|
|
|
Copyright @copyright{} 1993--2016 Free Software Foundation, Inc.
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
|
under the terms of the GNU Free Documentation License, Version
|
|
@value{FDL_VERSION} or any later version published by the Free
|
|
Software Foundation; with the Invariant Sections being ``Free Software
|
|
Needs Free Documentation'' and ``GNU Lesser General Public License'',
|
|
the Front-Cover texts being ``A GNU Manual'', and with the Back-Cover
|
|
Texts as in (a) below. A copy of the license is included in the
|
|
section entitled "GNU Free Documentation License".
|
|
|
|
(a) The FSF's Back-Cover Text is: ``You have the freedom to
|
|
copy and modify this GNU manual. Buying copies from the FSF
|
|
supports it in developing GNU and promoting software freedom.''
|
|
@end copying
|
|
|
|
@iftex
|
|
@shorttitlepage The GNU C Library Reference Manual
|
|
@end iftex
|
|
@titlepage
|
|
@center @titlefont{The GNU C Library}
|
|
@sp 1
|
|
@center @titlefont{Reference Manual}
|
|
@sp 2
|
|
@center Sandra Loosemore
|
|
@center with
|
|
@center Richard M. Stallman, Roland McGrath, Andrew Oram, and Ulrich Drepper
|
|
@sp 3
|
|
@c Disabled (printed editions, see above).
|
|
@c @center Edition @value{EDITION}
|
|
@c @sp 1
|
|
@center for version @value{VERSION}
|
|
@ifclear PKGVERSION_DEFAULT
|
|
@sp 1
|
|
@center @value{PKGVERSION}
|
|
@end ifclear
|
|
@page
|
|
@vskip 0pt plus 1filll
|
|
@insertcopying
|
|
|
|
@c Disabled (printed editions, see above).
|
|
@c @sp 2
|
|
@c Published by the @uref{http://www.fsf.org/, Free Software Foundation} @*
|
|
@c ISBN @value{ISBN} @*
|
|
|
|
@c Disabled (printed editions, see above).
|
|
@c @sp 2
|
|
@c Cover art for the Free Software Foundation's printed edition
|
|
@c by Etienne Suvasa.
|
|
|
|
@end titlepage
|
|
|
|
@shortcontents
|
|
@contents
|
|
|
|
@ifnottex
|
|
@node Top, Introduction, (dir), (dir)
|
|
@top Main Menu
|
|
This is
|
|
@c Disabled (printed editions, see above).
|
|
@c Edition @value{EDITION} of
|
|
@cite{The GNU C Library Reference Manual}, for Version @value{VERSION}
|
|
@ifclear PKGVERSION_DEFAULT
|
|
@value{PKGVERSION}
|
|
@end ifclear
|
|
of @theglibc{}.
|
|
@end ifnottex
|
|
|
|
@include top-menu.texi
|
|
@include chapters.texi
|
|
|
|
@node Free Manuals, Copying, Contributors, Top
|
|
@appendix Free Software Needs Free Documentation
|
|
@include freemanuals.texi
|
|
|
|
@node Copying, Documentation License, Free Manuals, Top
|
|
@appendix GNU Lesser General Public License
|
|
@include lgpl-2.1.texi
|
|
|
|
@node Documentation License, Concept Index, Copying, Top
|
|
@appendix GNU Free Documentation License
|
|
@cindex FDL, GNU Free Documentation License
|
|
@include fdl-@value{FDL_VERSION}.texi
|
|
|
|
@node Concept Index, Type Index, Documentation License, Top
|
|
@unnumbered Concept Index
|
|
|
|
@printindex cp
|
|
|
|
@node Type Index, Function Index, Concept Index, Top
|
|
@unnumbered Type Index
|
|
|
|
@printindex tp
|
|
|
|
@node Function Index, Variable Index, Type Index, Top
|
|
@unnumbered Function and Macro Index
|
|
|
|
@printindex fn
|
|
|
|
@node Variable Index, File Index, Function Index, Top
|
|
@unnumbered Variable and Constant Macro Index
|
|
|
|
@printindex vr
|
|
|
|
@node File Index, , Variable Index, Top
|
|
@unnumbered Program and File Index
|
|
|
|
@printindex pg
|
|
|
|
|
|
@bye
|