1% texinfo-tex-test.texi -- test file for texinfo.tex 2% 3% Copyright 2015-2019 Free Software Foundation, Inc. 4% 5% This file is free software: you can redistribute it and/or 6% modify it under the terms of the GNU General Public License as 7% published by the Free Software Foundation, either version 3 of the 8% License, or (at your option) any later version. 9% 10% This file is distributed in the hope that it will be 11% useful, but WITHOUT ANY WARRANTY; without even the implied warranty 12% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13% General Public License for more details. 14% 15% You should have received a copy of the GNU General Public License 16% along with this program. If not, see <http://www.gnu.org/licenses/>. 17% 18\input texinfo 19@settitle Test Document for @file{texinfo.tex} 20 21@everyheading @thischapter @| @| @thissection{} p@thispage 22@paragraphindent 0 23 24@showboxdepth=1000 25@showboxbreadth=1000 26 27@documentencoding UTF-8 28 29@contents 30 31@part Part One@*Sample part page@sup{superscript} 32 33@chapter Fonts 34 35@macro headerline 36@r{roman} @i{italic} @b{bold} @t{typewriter} @slanted{slant} @* 37@sansserif{`sans serif'} @sc{`small caps'} {@ensuremath@clubsuit} 38@hrule 39@end macro 40 41A test of the fonts used in @file{texinfo.tex}. 42 43{@titlefonts @headerline} 44 45{@textfonts @headerline} 46 47{@reducedfonts @headerline} 48 49{@chapfonts @headerline} 50 51{@secfonts @headerline} 52 53{@subsecfonts @headerline} 54 55{@smallfonts @headerline} 56 57{@smallerfonts @headerline} 58 59@majorheading Test of @LaTeX{} logo 60 61{@rm @LaTeX{}} 62 63{@it @LaTeX{}} 64 65{@sl @LaTeX{}} 66 67{@bf @LaTeX{}} 68 69{@tt @LaTeX{}} 70 71@majorheading roman @b{bold}@sup{superscript} @LaTeX{} 72 73@majorheading roman@sup{sup} @b{now bold@sup{sup}@r{now roman@sup{superscript}}} 74 75 76@heading roman @b{bold} @LaTeX{} 77 78@subheading roman @b{bold} @LaTeX{} 79 80roman@sub{sub} @b{bold@sub{sub}} 81 82@section Acronyms 83 84Test of @acronym{ACRONYM}'s. {ACRONYM}'s. 85 86@majorheading Test of @acronym{ACRONYM}'s. ACRONYM's hippopotamus 87 88 89@chapter Glyph commands 90 91@ordf{} @ordm{} 92 93@paragraphindent 3 94@chapter Paragraph formatting 95@section Images 96 97 98@image{image} 99 100first first first first first first first first first first first first 101first first first first first first first first first first first first 102first first first first first first first first first first first first 103first first first first first first first first first first first first 104first first first first first first first first first first first first 105 106second second second second second second second second 107second second second second second second second second 108second second second second second second second second 109second second second second second second second second 110 111@image{image} 112 113third third third third third third third third third third 114third third third third third third third third third third 115third third third third third third third third third third 116third third third third third third third third third third 117third third third third third third third third third third 118 119(check no paragraph indent on first paragraph above, after image) 120 121@paragraphindent 0 122 123@chapter Macros 124@section Backslashes in macro arguments 125 126@macro Mac{x} 127A\x\A 128@end macro 129 130@macro Mactwo{x, y} 131<\x\>.<\y\>@. 132@end macro 133 134@rmacro RMac{x} 135Z\x\Z 136@end rmacro 137 138The number refers to the number of backslashes that should appear 139 1400 @Mac{} 141 1420 @Mac{a} 143 1440 @Mac{a}X 145 1461 @Mac{a\\} 147 1481 @Mac{a\}X 149 1501 @Mac{a\\}X 151 1522 @Mac{a\\\}X 153 1541 @Mac{\}X 155 1561 @Mac{\a}X 157 1581 @Mac{\\a}X 159 1601 @Mac{\\}X 161 1622 @Mac{\\\}X 163 1642 and 1 @Mac{\\\aaa\}X 165 1661 and 1 @Mac{\a\\b}X 167 168one backslash outside \ 169 170two backslashes outside \\ 171 172three backslashes outside \\\ 173 1740 @Mac a 175 1761 @Mac a\ 177 1782 @Mac a\\ 179 1803 @Mac a\\\ 181 1821 and 2 @Mac \a\\b 183 184in @@code:@* 1851 @code{@Mac{\}}@* 1861 @code{@Mac{\\}}@* 1872 @code{@Mac{\\\}}@* 1882 @code{@Mac{\\\\}} 189 190one backslash outside \ 191 192two backslashes outside \\ 193 194three backslashes outside \\\ 195 196Macros with two arguments: 1970+0 @Mactwo{A,B} 1980+0 @Mactwo{A, B} 1991+0 @Mactwo{\A, B} 2000+1 @Mactwo{A, \\B} 2012+1 @Mactwo{\\\A, \\B} 2022+2 @Mactwo{\\\A, \\\\B} 203 204Space between macro name and opening brace (thus: @samp{@@Mactwo @{}): 205 2060+0 @Mactwo {A,B} 2070+0 @Mactwo {A, B} 2081+0 @Mactwo {\A, B} 2090+1 @Mactwo {A, \\B} 2102+1 @Mactwo {\\\A, \\B} 2112+2 @Mactwo {\\\A, \\\\B} 212 213space between backslashes: @Mac{\ \}@* 214space between backslashes line arg: @Mac \ \ 215 216space after backslashes, two arguments:@* 217@Mactwo{\ \\, \ \\}@* 218@Mactwo{\\ \\, \\ \\}@* 219@Mactwo{\\ a, \\ b}@* 220@Mactwo{\ a, \ b}@* 221 222other spaces:@* 223@Mactwo{h \\, i \\}@* 224@Mactwo{h \\, i \\}@* 225@Mactwo{h a, i b}@* 226 227@section Spaces in macro bodies 228 229Distance between the two x's should be the same 230 231@macro Mac 232@example 233x x 234@end example 235@end macro 236@example 237x x 238@end example 239@Mac 240 241@section Macro use inside macro argument 242 243@macro Innermac{arg} 244xx \arg\ xx 245@end macro 246 247@macro Outermac{arg} 248\arg\ 249@c 250@end macro 251 252@Outermac{@Innermac{e}} 253should be@* 254xx e xx 255 256@section Closing brace following empty macro argument 257 258@macro Mac{x} 259A@acronym{\x\}A 260@end macro 261 262@Mac{} 263 264AA 265 266@section Trailing newlines in macro bodies 267 268Output should be doubled: 269 2701y 271 272z 273x2 274 275@macro nbsp 276y 277 278z 279x 280@end macro 281 2821@nbsp{}2 283 284Output should be doubled: 285 286 287@example 2881y 289 290z 291x2 292@end example 293 294@example 2951@nbsp{}2 296@end example 297 298@section Open or close a group in a macro 299 300Output should be doubled 301 302@macro Example 303@example 304@group 305@end macro 306 307@macro endExample 308@end group 309@end example 310@end macro 311 312x 313@Example 314groff [ -abceghijklpstvzCEGNRSUVXZ ] 315@endExample 316x 317 318x 319@example 320@group@comment 321groff [ -abceghijklpstvzCEGNRSUVXZ ] 322@end group 323@end example 324x 325 326x 327@example 328@group 329groff [ -abceghijklpstvzCEGNRSUVXZ ] 330@end group 331@end example 332x 333 334x 335@example 336@group@c 337groff [ -abceghijklpstvzCEGNRSUVXZ ] 338@end group 339@end example 340x 341 342xxxxxxxxxxxxxxxxxxxxxx 343 344@example 345@group@c 346groff [ -abceghijklpstvzCEGNRSUVXZ ] 347@end group 348@end example 349 350xxxxxxxxxxxxxxxxxxxxxxxxxxx 351 352xxxxxxxxxxxxxxxxxxxxxx 353 354@Example 355groff [ -abceghijklpstvzCEGNRSUVXZ ] 356@endExample 357 358xxxxxxxxxxxxxxxxxxxxxxxxxxx 359 360@section Braceless at end of line 361 362@macro Mac 363value 364@end macro 365 366Okay, we are here. The @Mac 367on next line now. 368 369With spaces and newline. The @Mac 370on next line now. 371 372With braces. The @Mac{} 373on next line now. 374 375With space and braces. The @Mac {} 376on next line now. 377 378With two spaces and braces. The @Mac {} 379on next line now. 380 381With braces and two newlines. The @Mac{} 382 383in next paragraph now. 384 385With two newlines. The @Mac 386 387in next paragraph now. 388 389@section @,c in macro argument 390 391@macro mactwo{argfirst, argsecond} 392\argfirst\+\argsecond\. 393@end macro 394 395@set fc Fran@,cois 396@mactwo{@value{fc},}@* 397@c doesn't work: @mactwo{Fran@,cois,}@* 398Fran@,cois+. 399 400@section Macro in argument to @@math 401 402@macro frak {a,b} 403\a\ @over \b\ 404@end macro 405 406exceeds @math{@frak{1,16}} pt 407 408 409@section Trim whitespace from macro arguments 410 411@macro Mac{a} 412<X\a\X> 413@end macro 414 415@macro Mactwo{a,b} 416<X\a\X\b\X> 417@end macro 418 419No trimming for single-arg macros. Trimming from front of argument only 420for other macros. 421 422@noindent @Mac{b} @Mac{ b} @Mac{b } @Mac{ b } 423 424@noindent @Mactwo{b,c} @Mactwo{ b, c} @Mactwo{b ,c } @Mactwo{ b , c } 425 426 427@section Newline at start of argument 428 429@c Figure with caption 430@macro figure{caption,file,width} 431@float Figure,\file\ 432@center image 433@caption{\caption\} 434@end float 435@end macro 436 437@figure{The File List tool@comma{} to install a change set and 438more,ch10-FileListChangeSet,11} 439 440@figure{The File List tool@comma{} to install a change set and more, 441ch10-FileListChangeSetA,11} 442 443 444 445 446@section Multi-line macro argument 447 448@macro Mac{text} 449@cartouche 450<@b{FIXME}> 451@example 452\text\ 453@end example 454\text\ 455@noindent </> 456@end cartouche 457@end macro 458 459@Mac{ 460Here's an extended 461macro argument, with 462newlines. 463 464And multiple paragraphs. 465Like an argument to @b{@@footnote}. 466} 467 468 469@tex 470\gdef \commenceindexnopage{% 471\begingroup 472\smallfonts \rm 473\begindoublecolumns 474\tolerance = 9500 475\plainfrenchspacing 476\everypar = {}% 477} 478 479\gdef \commenceindex{% 480\page 481\commenceindexnopage 482} 483 484\gdef \finishindex{% 485\enddoublecolumns 486\endgroup 487\hrule 488} 489@end tex 490 491@chapter Index display 492 493In these examples, a horizontal rule is at the end of each run of double 494column material in order to show if any material extends below the 495box containing it. 496 497@section No page number in index 498 499No leaders unless there is also a page number 500 501@commenceindex 502@entry {whatever}{} 503@entry {more}{} 504@entry {whatever}{123} 505@entry {again}{} 506@finishindex 507 508 509@section Long index entries 510 511@commenceindex 512@entry {@code {-c}}{18, 20, 22, 27, 28, 38, 43, 51, 54, 65, 83, 91, 105, 513124, 125, 127, 129, 135, 139, 143, 145, 148, 187} 514@entry {@code {-c}}{18, 20, 22, 27, 28, 38, 43, 51, 54, 65, 83, 91, 105, 515124, 125, 127, 129, 135, 139, 143, 145, 148} 516@entry{Testing for Texinfo Commands: @code {@@ifcommanddefined}, @code 517{@@ifcommandnotdefined}}{148} 518@entry {@code {--dereference-command-line-symlink-to-dir}}{78} 519@entry {built-in shell commands, conflicts with}{119, 139, 144, 145, 520148, 163, 191, 196, 197} 521@finishindex 522 523@section End-column glue 524 525See next page. A little bit of space should appear at the bottom of the 526second column, instead of flush bottoms and a conspicuous increase in 527inter-baseline spacing. This test only works if the `R' initial is at 528the start of a page. 529 530@commenceindex 531@initial {P} 532@entry {@code {PACKAGE}}{196} 533@entry {@code {PACKAGE_AND_VERSION}}{196} 534@entry {@code {PACKAGE_NAME}}{196} 535@entry {@code {PACKAGE_URL}}{196} 536@entry {@code {PACKAGE_VERSION}}{196} 537@entry {Page breaks, awkward}{124} 538@entry {Page breaks, forcing}{126} 539@entry {Page delimiter in Texinfo mode}{261} 540@entry {Page headings}{270} 541@entry {Page numbering}{270} 542@entry {Page sizes for books}{175} 543@entry {Page sizes, customized}{175} 544@entry {@code {page-delimiter}}{261} 545@entry {Pages, starting odd}{29} 546@entry {Paper size, A4}{175} 547@entry {Paragraph indentation control}{31} 548@entry {Paragraph, marking text within}{66} 549@entry {@code {paragraphindent}}{187} 550@entry {Parameters to macros}{154} 551@entry {Parentheses in node name}{37} 552@entry {Parsing errors}{202} 553@entry {Part of file formatting and printing}{266} 554@entry {Part pages}{50} 555@entry {Partial documents, formatting}{168} 556@entry {Parts of a cross reference}{54} 557@entry {Parts of a master menu}{28} 558@entry {Parts of a menu}{43} 559@entry {Patches, contributing}{4} 560@entry {PCL file, for printing}{170} 561@entry {@code {pdf image inclusions}}{97} 562@entry {PDF output}{176} 563@entry {PDF output of urls}{64} 564@entry {PDF output, overview}{5} 565@entry {@code {pdfetex}}{167} 566@entry {@code {pdftex}}{176} 567@entry {@code {pdftex@r {, and images}}}{97} 568@entry {@code {pdftxei2dvi}}{166} 569@entry {Period in node name}{37} 570@entry {Periods, inserting}{111} 571@entry {Perl format strings for translation}{199} 572@entry {Perl POD, converting to Texinfo}{200} 573@entry {Permissions text, including}{22} 574@entry {Permissions, printed}{25} 575@entry {@code {pg} (program) index}{102} 576@entry {Picas}{98} 577@entry {Pictures, inserting}{97} 578@entry {Pinard, Fran@,{c}ois}{7} 579@entry {Plain @TeX {}}{146} 580@entry {Plain text output with @option {--plaintext}}{183} 581@entry {Plain text output, overview}{4} 582@entry {@code {png image format}}{97} 583@entry {POD, converting to Texinfo}{200} 584@entry {@code {pod2texi}}{200} 585@entry {Point, indicating in a buffer}{121} 586@entry {Pointer creation with @code {makeinfo}}{40} 587@entry {Pointer validation with @code {makeinfo}}{185} 588@entry {Pointer validation, suppressing}{168} 589@entry {Pointer validation, suppressing from command line}{182} 590@entry {Points (dimension)}{98} 591@entry {PostScript output, overview}{4} 592@entry {Pounds symbol}{118} 593@entry {@code {PRE_ABOUT}}{192} 594@entry {@code {PRE_BODY_CLOSE}}{192} 595@entry {Preamble, in Info format}{283} 596@entry {Predefined names for indices}{105} 597@entry {Preface, etc., and Docbook}{48} 598@entry {@code {PREFIX}}{196} 599@entry {Preparing for @TeX {}}{173} 600@entry {Preserving HTML links to old nodes}{221} 601@entry {Prev node of Top node}{38} 602@entry {Preventing first paragraph indentation}{32} 603@entry {Preventing line and page breaks}{124} 604@entry {Print and format in Texinfo mode}{170} 605@entry {Print, format from Emacs shell}{170} 606@entry {Printed book and manual characteristics}{6} 607@entry {Printed output, indicating}{120} 608@entry {Printed output, through @command {texi2any}}{185} 609@entry {Printed permissions}{25} 610@entry {Printing a region or buffer}{266} 611@entry {Printing an index}{104} 612@entry {Printing cost, reducing}{75} 613@entry {Printing cropmarks}{176} 614@entry {Printing DVI files, on MS-DOS/MS-Windows}{170} 615@entry {Printing hardcopy}{166} 616@entry {Problems, catching}{275} 617@entry {@code {PROGRAM}}{196} 618@entry {Program names, indicating}{72} 619@entry {@code {PROGRAM_NAME_IN_FOOTER}}{192} 620@entry {Programming, glyhs for}{119} 621@entry {Pronunciation of Texinfo}{3} 622@entry {Prototype row, column widths defined by}{93} 623@entry {Ragged left, without filling}{83} 624@entry {Ragged right, with filling}{84} 625@entry {Ragged right, without filling}{83} 626@entry {Raising and lowering sections}{51} 627@entry {Raw formatter commands}{146} 628@entry {Raw HTML}{213} 629@entry {raw text output}{188} 630@initial {Q} 631@entry {Quotation characters (`'), in source}{114} 632@entry {Quotation marks, French}{115} 633@entry {Quotation marks, German}{115} 634@entry {Quotation marks, inserting}{114} 635@entry {Quotations}{78} 636@entry {Quotations in smaller fonts}{82} 637@entry {Quote characters, inserting}{110} 638@entry {Quoting, automatic for some macros}{156} 639@initial {R} 640@entry {RCS $Id}{253} 641@entry {Recommended names for keys}{69} 642@entry {Rectangle, black in hardcopy}{174} 643@entry {Recursive macro invocations}{155} 644@entry {Reducing font size}{75} 645@entry {Reference implementation}{178} 646@entry {Reference to @@-commands}{223} 647@entry {References}{53} 648@entry {References using @code {@@inforef}}{62} 649@finishindex 650 651@section Index page break not before initial 652 653The next index is to show the bottoms of columns when the next page 654doesn't start with an initial. 655 656@commenceindex 657@initial {P} 658@entry {@code {PACKAGE}}{196} 659@entry {@code {PACKAGE_AND_VERSION}}{196} 660@entry {@code {PACKAGE_NAME}}{196} 661@entry {@code {PACKAGE_URL}}{196} 662@entry {@code {PACKAGE_VERSION}}{196} 663@entry {Page breaks, awkward}{124} 664@entry {Page breaks, forcing}{126} 665@entry {Page delimiter in Texinfo mode}{261} 666@entry {Page headings}{270} 667@entry {Page numbering}{270} 668@entry {Page sizes for books}{175} 669@entry {Page sizes, customized}{175} 670@entry {@code {page-delimiter}}{261} 671@entry {Pages, starting odd}{29} 672@entry {Paper size, A4}{175} 673@entry {Paragraph indentation control}{31} 674@entry {Paragraph, marking text within}{66} 675@entry {@code {paragraphindent}}{187} 676@entry {Parameters to macros}{154} 677@entry {Parentheses in node name}{37} 678@entry {Parsing errors}{202} 679@entry {Part of file formatting and printing}{266} 680@entry {Part pages}{50} 681@entry {Partial documents, formatting}{168} 682@entry {Parts of a cross reference}{54} 683@entry {Parts of a master menu}{28} 684@entry {Parts of a menu}{43} 685@entry {Patches, contributing}{4} 686@entry {PCL file, for printing}{170} 687@entry {@code {pdf image inclusions}}{97} 688@entry {PDF output}{176} 689@entry {PDF output of urls}{64} 690@entry {PDF output, overview}{5} 691@entry {@code {pdfetex}}{167} 692@entry {@code {pdftex}}{176} 693@entry {@code {pdftex@r {, and images}}}{97} 694@entry {@code {pdftxei2dvi}}{166} 695@entry {Period in node name}{37} 696@entry {Periods, inserting}{111} 697@entry {Perl format strings for translation}{199} 698@entry {Perl POD, converting to Texinfo}{200} 699@entry {Permissions text, including}{22} 700@entry {Permissions, printed}{25} 701@entry {@code {pg} (program) index}{102} 702@entry {Picas}{98} 703@entry {Pictures, inserting}{97} 704@entry {Pinard, Fran@,{c}ois}{7} 705@entry {Plain @TeX {}}{146} 706@entry {Plain text output with @option {--plaintext}}{183} 707@entry {Plain text output, overview}{4} 708@entry {@code {png image format}}{97} 709@entry {POD, converting to Texinfo}{200} 710@entry {@code {pod2texi}}{200} 711@entry {Point, indicating in a buffer}{121} 712@entry {Pointer creation with @code {makeinfo}}{40} 713@entry {Pointer validation with @code {makeinfo}}{185} 714@entry {Pointer validation, suppressing}{168} 715@entry {Pointer validation, suppressing from command line}{182} 716@entry {Points (dimension)}{98} 717@entry {PostScript output, overview}{4} 718@entry {Pounds symbol}{118} 719@entry {@code {PRE_ABOUT}}{192} 720@entry {@code {PRE_BODY_CLOSE}}{192} 721@entry {Preamble, in Info format}{283} 722@entry {Predefined names for indices}{105} 723@entry {Preface, etc., and Docbook}{48} 724@entry {@code {PREFIX}}{196} 725@entry {Preparing for @TeX {}}{173} 726@entry {Preserving HTML links to old nodes}{221} 727@entry {Prev node of Top node}{38} 728@entry {Preventing first paragraph indentation}{32} 729@entry {Preventing line and page breaks}{124} 730@entry {Print and format in Texinfo mode}{170} 731@entry {Print, format from Emacs shell}{170} 732@entry {Printed book and manual characteristics}{6} 733@entry {Printed output, indicating}{120} 734@entry {Printed output, through @command {texi2any}}{185} 735@entry {Printed permissions}{25} 736@entry {Printing a region or buffer}{266} 737@entry {Printing an index}{104} 738@entry {Printing cost, reducing}{75} 739@entry {Printing cropmarks}{176} 740@entry {Printing DVI files, on MS-DOS/MS-Windows}{170} 741@entry {Printing hardcopy}{166} 742@entry {Problems, catching}{275} 743@entry {@code {PROGRAM}}{196} 744@entry {Program names, indicating}{72} 745@entry {@code {PROGRAM_NAME_IN_FOOTER}}{192} 746@entry {Programming, glyhs for}{119} 747@entry {Pronunciation of Texinfo}{3} 748@entry {Prototype row, column widths defined by}{93} 749@initial {Q} 750@entry {Quotation characters (`'), in source}{114} 751@entry {Quotation marks, French}{115} 752@entry {Quotation marks, German}{115} 753@entry {Quotation marks, inserting}{114} 754@entry {Quotations}{78} 755@entry {Quotations in smaller fonts}{82} 756@entry {Quote characters, inserting}{110} 757@entry {Quoting, automatic for some macros}{156} 758@entry {Ragged left, without filling}{83} 759@entry {Ragged right, with filling}{84} 760@entry {Ragged right, without filling}{83} 761@entry {Raising and lowering sections}{51} 762@entry {Raw formatter commands}{146} 763@entry {Raw HTML}{213} 764@entry {raw text output}{188} 765@entry {RCS $Id}{253} 766@entry {Recommended names for keys}{69} 767@entry {Rectangle, black in hardcopy}{174} 768@entry {Recursive macro invocations}{155} 769@entry {Reducing font size}{75} 770@entry {Reference implementation}{178} 771@entry {Reference to @@-commands}{223} 772@entry {References}{53} 773@entry {References using @code {@@inforef}}{62} 774@entry {Raw formatter commands}{146} 775@entry {Raw HTML}{213} 776@entry {raw text output}{188} 777@entry {RCS $Id}{253} 778@entry {Recommended names for keys}{69} 779@entry {Rectangle, black in hardcopy}{174} 780@entry {Recursive macro invocations}{155} 781@entry {Reducing font size}{75} 782@entry {Reference implementation}{178} 783@entry {Reference to @@-commands}{223} 784@entry {References}{53} 785@entry {References using @code {@@inforef}}{62} 786@finishindex 787 788@section Short indices 789 790See following pages 791 792@commenceindex 793@initial{A} 794@entry{aaaa}{1} 795@initial{B} 796@entry{bbbb}{2} 797@finishindex 798 799If the above is in two columns, check that the space below the initials 800`A' and `B' is even. 801 802@commenceindex 803@initial{A} 804@entry{aaaa}{1} 805@initial{B} 806@entry{bbbb}{2} 807@initial{C} 808@entry{cccc}{2} 809@finishindex 810 811@commenceindex 812@initial{A} 813@entry{aaaa}{1} 814@initial{B} 815@entry{bbbb}{2} 816@initial{C} 817@entry{cccc}{2} 818@entry{cccc}{2} 819@finishindex 820 821@commenceindex 822@initial{A} 823@entry{aaaa}{1} 824@entry{bbbb}{2} 825@entry{bbbb}{2} 826@entry{bbbb}{2} 827@entry{bbbb}{2} 828@entry{bbbb}{2} 829@finishindex 830 831@commenceindex 832@initial{A} 833@entry{aaaa}{1} 834@entry{bbbb}{2} 835@entry{bbbb}{2} 836@entry{bbbb}{2} 837@entry{bbbb}{2} 838@entry{bbbb}{2} 839@entry{bbbb}{2} 840@entry{cccc}{17} 841@finishindex 842 843@section Final page of index hard to balance 844 845No empty page should appear in the middle of the index. All index 846material should fit on the page within the margins. 847 848@commenceindex 849@entry {outline, importing into}{39} 850@entry {outline, inserting into}{39} 851@entry {outline, label separator}{35} 852@entry {outline, label type}{35} 853@entry {outline, mailing}{37} 854@entry {outline, motion}{38} 855@entry {outline, overview}{40} 856@entry {outline, show levels}{40} 857@entry {outline, showing}{40} 858@entry {outline, top-level}{40} 859@entry {outline, view specs}{41} 860@entry {outline, viewing}{40} 861@entry {outliner}{32} 862@entry {outliner commands}{33} 863@entry {outliner keys}{90} 864@entry {overview}{40} 865@initial {P} 866@entry {paragraph, filling}{38} 867@entry {Paste Key}{8} 868@entry {paste region}{11} 869@entry {pasting a region}{70, 71, 76} 870@entry {patch output}{15} 871@entry {pathname}{15} 872@entry {permanent identifier}{32, 36} 873@entry {pipe character}{41} 874@entry {posting buttons}{23} 875@entry {posting news}{24} 876@entry {programming interface}{57} 877@entry {promotion}{36} 878@entry {proportional scrolling}{62, 74} 879@initial {R} 880@entry {rdb-mode}{77} 881@entry {README file}{65} 882@entry {reference}{16} 883@entry {refilling}{38} 884@entry {region selection}{11} 885@entry {region, active}{72} 886@entry {relative autonumber}{32} 887@entry {relative identifier}{35} 888@entry {remote file}{15} 889@entry {remote path}{15} 890@entry {remote pathnames}{68} 891@entry {remove lines}{27} 892@entry {removing Hyperbole menu}{25} 893@entry {Request For Comment}{15, 16} 894@entry {restoring windows}{50} 895@entry {RFC}{15, 16} 896@entry {Rmail}{23} 897@entry {rolo}{44} 898@entry {rolo address}{14} 899@entry {rolo commands}{45} 900@entry {rolo entry}{44} 901@entry {rolo file}{44} 902@entry {rolo keys}{47} 903@entry {rolo menu}{45} 904@entry {rolo searching}{46} 905@entry {rolo, buttons in}{44} 906@entry {rolo, datestamps}{48} 907@entry {rolo, editing}{48} 908@entry {rolo, extending a match}{47} 909@entry {rolo, finding matches}{47} 910@entry {rolo, highlighting matches}{47, 49} 911@entry {rolo, interactive searching}{47} 912@entry {rolo, locating a name}{47} 913@entry {rolo, moving through matches}{47} 914@entry {rolo, moving to entries}{48} 915@entry {rolo, outlining}{47} 916@entry {rolo, personal}{48} 917@entry {rolo, quitting}{48} 918@entry {root cell}{34, 36} 919@initial {S} 920@entry {save lines}{27} 921@entry {saving window configurations}{50} 922@entry {screen}{29} 923@entry {Screen}{62} 924@entry {scrolling}{62, 74} 925@entry {search}{26, 69} 926@entry {searching, rolo}{46} 927@entry {selection}{11} 928@entry {set}{70, 76} 929@entry {setting the view spec}{41} 930@entry {sexp selection}{11} 931@entry {SGML tag pair}{11} 932@entry {show subtree}{40} 933@entry {show tree}{40} 934@entry {showing}{40} 935@entry {side drag}{71} 936@entry {signatures, hiding}{14} 937@entry {site initialization}{66} 938@entry {Smart Key}{8, 62, 99} 939@entry {smart key assignments}{8} 940@entry {smart key commands}{8} 941@entry {Smart Key help}{11} 942@entry {Smart Key operation}{9} 943@entry {Smart Key, default context}{11, 89} 944@entry {Smart Keyboard Keys}{73} 945@entry {smart marking}{11} 946@entry {Smart Menu}{74} 947@entry {Smart Mouse Key}{70, 76} 948@entry {Smart Mouse Key drag}{22} 949@entry {Smart Mouse Key toggle}{8} 950@entry {Smart Mouse Keys}{70} 951@entry {smart selection}{11} 952@entry {source line}{15} 953@entry {splitting a cell}{39} 954@entry {stack frame}{15} 955@entry {star outline}{39} 956@entry {starting Hyperbole}{65} 957@entry {storage manager}{56} 958@entry {string}{70, 76} 959@entry {submenus}{27} 960@entry {submodes}{29} 961@entry {subtree, hide}{40} 962@entry {subtree, show}{40} 963@entry {swapping}{31} 964@entry {system encapsulation}{57} 965@initial {T} 966@entry {table of contents}{16, 19} 967@entry {tabs, inserting}{37} 968@entry {tag}{16} 969@entry {tags file}{16} 970@entry {TAGS file}{16} 971@entry {tar archive}{66} 972@entry {tar archive browsing}{87} 973@entry {terminal use}{4} 974@entry {Texinfo cross-reference}{14} 975@entry {Texinfo manual}{65} 976@entry {text file}{39} 977@entry {thing}{70, 76} 978@entry {things}{11} 979@entry {toc action type}{19} 980@entry {toc implicit button type}{16} 981@entry {toggling blank lines}{41} 982@entry {top-level cell}{34, 36} 983@entry {top-level view}{40} 984@entry {Tramp}{15, 68} 985@entry {transposing cells}{38} 986@entry {tree, copying}{37} 987@entry {tree, demoting}{36} 988@entry {tree, exporting}{37} 989@entry {tree, filling}{38} 990@entry {tree, hide subtree}{40} 991@entry {tree, killing}{36} 992@entry {tree, mailing}{37} 993@entry {tree, moving}{37} 994@entry {tree, promoting}{36} 995@entry {tree, show}{40} 996@entry {tree, show subtree}{40} 997@entry {type definition}{53} 998@entry {type redefinition}{19, 53} 999@initial {U} 1000@entry {unburying}{30} 1001@entry {uncompressing archives}{66} 1002@entry {UNIX manual}{15} 1003@entry {unpacking archives}{66} 1004@entry {URL}{14, 19, 87} 1005@entry {URLs, abbreviated}{68} 1006@entry {URLs, using with find-file}{68} 1007@entry {USENET}{23, 24} 1008@initial {V} 1009@entry {variables}{52} 1010@entry {vector}{70, 76} 1011@entry {version description}{98} 1012@entry {vertical drag}{72} 1013@entry {view}{40} 1014@entry {view mode}{75} 1015@entry {view spec}{41} 1016@entry {view spec klink}{42} 1017@entry {view spec, all lines and levels}{41} 1018@entry {view spec, blank lines}{41} 1019@entry {view spec, changing}{41} 1020@entry {view spec, characters}{41} 1021@entry {view spec, ellipses}{41} 1022@entry {view spec, example}{41} 1023@entry {view spec, label type}{41} 1024@entry {view spec, lines per cell}{41} 1025@entry {view spec, setting}{41} 1026@entry {view spec, show levels}{41} 1027@entry {VM}{23} 1028@initial {W} 1029@entry {W3}{87} 1030@entry {wconfig commands}{50} 1031@entry {web pages, displaying}{68} 1032@entry {window configuration commands}{50} 1033@entry {window configuration ring}{50} 1034@entry {window configurations}{50} 1035@entry {window control}{29} 1036@entry {window system}{68} 1037@entry {windows}{58} 1038@entry {word wrap}{38} 1039@entry {world-wide web}{87} 1040@entry {World-wide Web}{14, 19} 1041@entry {wrolo}{44} 1042@entry {wrolo commands}{45} 1043@entry {wrolo matches}{88} 1044@entry {wrolo menu}{47} 1045@entry {WWW}{14, 19} 1046@initial {X} 1047@entry {xdb}{15} 1048@entry {XEmacs}{2, 25} 1049@entry {XEmacs support}{69} 1050@initial {Y} 1051@entry {yank region}{11} 1052@entry {yank, reformatting}{53} 1053@entry {yanking}{70, 71, 76} 1054@initial {Z} 1055@entry {zcat}{66} 1056@entry {zip file}{66} 1057@entry {zooming}{31} 1058@finishindex 1059 1060@section Final page initial at top of both columns 1061 1062@commenceindex 1063@initial {P} 1064@entry {@code {phi}}{397} 1065@entry {@code {pi}}{397} 1066@entry {@code {pi-over-180}}{397} 1067@entry {@code {pi-over-2}}{397} 1068@entry {@code {pi-over-4}}{397} 1069@entry {@code {polar-complexp}}{392} 1070@entry {@code {poly-mix}}{408} 1071@entry {@code {poly-mul}}{408} 1072@entry {@code {poly-simplify}}{408} 1073@entry {@code {polynomial-base}}{408} 1074@entry {@code {polynomial-p}}{408} 1075@entry {@code {posp}}{391} 1076@entry {@code {pow}}{397} 1077@entry {@code {pow-mod}}{398} 1078@entry {@code {power-of-2}}{398} 1079@entry {@code {prime-test}}{399} 1080@entry {@code {primp}}{393} 1081@initial {Q} 1082@entry {@code {quarter-circle}}{397} 1083@entry {@code {quarter-integer}}{399} 1084@entry {@code {quotient}}{397} 1085@initial {R} 1086@entry {@code {random-digit}}{398} 1087@entry {@code {random-digits}}{399} 1088@entry {@code {random-float}}{399} 1089@entry {@code {ratp}}{392} 1090@entry {@code {read-expr}}{409} 1091@entry {@code {read-exprs}}{410} 1092@entry {@code {read-number}}{409} 1093@entry {@code {realp}}{392} 1094@entry {@code {rect-complexp}}{392} 1095@entry {@code {reduce-cols}}{400} 1096@entry {@code {reduce-vec}}{400} 1097@entry {@code {reject-arg}}{394} 1098@entry {@code {remove-units}}{409} 1099@entry {@code {rewrite}}{405} 1100@entry {@code {rewrite-heads}}{405} 1101@entry {@code {row-matrix}}{400} 1102@initial {S} 1103@entry {@code {scalarp}}{392} 1104@entry {@code {scale-int}}{396} 1105@entry {@code {scale-rounding}}{396} 1106@entry {@code {simplify}}{403} 1107@entry {@code {simplify-extended}}{403} 1108@entry {@code {simplify-units}}{403} 1109@entry {@code {single-units-in-expr-p}}{409} 1110@entry {@code {solve-eqn}}{407} 1111@entry {@code {solve-for}}{406} 1112@entry {@code {solve-system}}{407} 1113@entry {@code {sort-intv}}{396} 1114@entry {@code {sqr}}{397} 1115@entry {@code {sqrt-e}}{397} 1116@entry {@code {sqrt-two-pi}}{397} 1117@entry {@code {square-matrixp}}{393} 1118@entry {@code {swap-rows}}{401} 1119@initial {T} 1120@entry {@code {tderiv}}{406} 1121@entry {@code {to-fraction}}{399} 1122@entry {@code {to-hms}}{398} 1123@entry {@code {to-radians}}{398} 1124@entry {@code {to-radians-2}}{398} 1125@entry {@code {to-simple-fraction}}{399} 1126@entry {@code {to-standard-units}}{409} 1127@entry {@code {transpose}}{401} 1128@entry {@code {two-pi}}{397} 1129@initial {U} 1130@entry {@code {underflow}}{394} 1131@entry {@code {units-in-expr-p}}{409} 1132@initial {V} 1133@entry {@code {vec-length}}{399} 1134@entry {@code {vectorp}}{393} 1135@initial {W} 1136@entry {@code {with-extra-prec}}{395} 1137@initial {Z} 1138@entry {@code {zerop}}{391} 1139@finishindex 1140 1141@section Medium length index 1142 1143Check that no blank pages appear and that index text fits within page 1144margins. The text of the index is not short enough to fit on the page 1145after the text before the index. 1146 1147@page 1148 1149 1150Text before index. 1151 1152More text before index. 1153 1154More text before index. 1155 1156More text before index. 1157 1158More text before index. 1159 1160More text before index. 1161 1162More text before index. 1163 1164More text before index. 1165 1166More text before index. 1167 1168 1169@commenceindexnopage 1170@entry {@code {ac_cv_alignof_@var {type-or-expr}}}{152} 1171@entry {@code {ac_cv_c_const}}{157} 1172@entry {@code {ac_cv_c_int16_t}}{178} 1173@entry {@code {ac_cv_c_int32_t}}{179} 1174@entry {@code {ac_cv_c_int64_t}}{179} 1175@entry {@code {ac_cv_c_int8_t}}{178} 1176@entry {@code {ac_cv_c_restrict}}{157} 1177@entry {@code {ac_cv_c_uint16_t}}{180} 1178@entry {@code {ac_cv_c_uint32_t}}{180} 1179@entry {@code {ac_cv_c_uint64_t}}{180} 1180@entry {@code {ac_cv_c_uint8_t}}{180} 1181@entry {@code {ac_cv_f77_compiler_gnu}}{191} 1182@entry {@code {ac_cv_f77_dummy_main}}{193} 1183@entry {@code {ac_cv_f77_implicit_none}}{198} 1184@entry {@code {ac_cv_f77_libs}}{193} 1185@entry {@code {ac_cv_f77_main}}{194} 1186@entry {@code {ac_cv_f77_mangling}}{194} 1187@entry {@code {ac_cv_fc_check_bounds}}{198} 1188@entry {@code {ac_cv_fc_compiler_gnu}}{192} 1189@entry {@code {ac_cv_fc_dummy_main}}{193} 1190@entry {@code {ac_cv_fc_fixedform}}{197} 1191@entry {@code {ac_cv_fc_freeform}}{197} 1192@entry {@code {ac_cv_fc_implicit_none}}{198} 1193@entry {@code {ac_cv_fc_libs}}{193} 1194@entry {@code {ac_cv_fc_line_length}}{197} 1195@entry {@code {ac_cv_fc_main}}{194} 1196@entry {@code {ac_cv_fc_mangling}}{194} 1197@entry {@code {ac_cv_fc_module_ext}}{198} 1198@entry {@code {ac_cv_fc_module_flag}}{198} 1199@entry {@code {ac_cv_fc_module_output_flag}}{199} 1200@entry {@code {ac_cv_fc_pp_define}}{196} 1201@entry {@code {ac_cv_fc_pp_srcext_@var {ext}}}{196} 1202@entry {@code {ac_cv_fc_srcext_@var {ext}}}{196} 1203@entry {@code {ac_cv_file_@var {file}}}{91} 1204@entry {@code {ac_cv_func_chown_works}}{160} 1205@entry {@code {ac_cv_func_closedir_void}}{160} 1206@entry {@code {ac_cv_func_fnmatch_gnu}}{161} 1207@entry {@code {ac_cv_func_fnmatch_works}}{161, 166} 1208@entry {@code {ac_cv_func_@var {function}}}{166} 1209@entry {@code {ac_cv_func_getgroups_works}}{161} 1210@entry {@code {ac_cv_func_getpgrp_void}}{162} 1211@entry {@code {ac_cv_func_lstat_dereferences_slashed_symlink}}{163} 1212@entry {@code {ac_cv_func_lstat_empty_string_bug}}{165} 1213@entry {@code {ac_cv_func_malloc_0_nonnull}}{163} 1214@entry {@code {ac_cv_func_mbrtowc}}{163} 1215@entry {@code {ac_cv_func_memcmp_working}}{163} 1216@entry {@code {ac_cv_func_mmap_fixed_mapped}}{164} 1217@entry {@code {ac_cv_func_obstack}}{164} 1218@entry {@code {ac_cv_func_pow}}{165} 1219@entry {@code {ac_cv_func_realloc_0_nonnull}}{164} 1220@entry {@code {ac_cv_func_setpgrp_void}}{164} 1221@entry {@code {ac_cv_func_stat_empty_string_bug}}{165} 1222@entry {@code {ac_cv_func_strcoll_works}}{165} 1223@entry {@code {ac_cv_func_strerror_r_char_p}}{165} 1224@entry {@code {ac_cv_func_strnlen_working}}{166} 1225@entry {@code {ac_cv_func_strtod}}{165} 1226@entry {@code {ac_cv_func_strtold}}{165} 1227@entry {@code {ac_cv_func_utime_null}}{166} 1228@entry {@code {ac_cv_func_working_mktime}}{164} 1229@entry {@code {ac_cv_have_decl_@var {symbol}}}{175} 1230@entry {@code {ac_cv_header_@var {header-file}}}{174} 1231@entry {@code {ac_cv_header_stdbool_h}}{170, 172} 1232@entry {@code {ac_cv_header_stdc}}{172} 1233@entry {@code {ac_cv_header_sys_wait_h}}{172} 1234@entry {@code {ac_cv_header_time}}{424} 1235@entry {@code {ac_cv_lib_error_at_line}}{160} 1236@entry {@code {ac_cv_lib_@var {library}_@var {function}}}{91} 1237@entry {@code {ac_cv_member_@var {aggregate}_@var {member}}}{177} 1238@entry {@code {ac_cv_member_struct_stat_st_blocks}}{177} 1239@entry {@code {ac_cv_path_install}}{85} 1240@entry {@code {ac_cv_path_mkdir}}{86} 1241@entry {@code {ac_cv_path_SED}}{88} 1242@entry {@code {ac_cv_path_@var {variable}}}{90} 1243@entry {@code {ac_cv_prog_AWK}}{85} 1244@entry {@code {ac_cv_prog_c_openmp}}{153} 1245@entry {@code {ac_cv_prog_cc_@var {compiler}_c_o}}{156} 1246@entry {@code {ac_cv_prog_cc_stdc}}{155} 1247@entry {@code {ac_cv_prog_cxx_openmp}}{153} 1248@entry {@code {ac_cv_prog_EGREP}}{85} 1249@entry {@code {ac_cv_prog_f77_c_o}}{192} 1250@entry {@code {ac_cv_prog_f77_g}}{191} 1251@entry {@code {ac_cv_prog_f77_openmp}}{153} 1252@entry {@code {ac_cv_prog_f77_v}}{193} 1253@entry {@code {ac_cv_prog_fc_c_o}}{192} 1254@entry {@code {ac_cv_prog_fc_g}}{192} 1255@entry {@code {ac_cv_prog_fc_openmp}}{153} 1256@entry {@code {ac_cv_prog_fc_v}}{193} 1257@entry {@code {ac_cv_prog_FGREP}}{85} 1258@entry {@code {ac_cv_prog_GREP}}{85} 1259@entry {@code {ac_cv_prog_LEX}}{87} 1260@entry {@code {ac_cv_prog_@var {variable}}}{88, 89} 1261@entry {@code {ac_cv_prog_YACC}}{88} 1262@entry {@code {ac_cv_search_@var {function}}}{92} 1263@entry {@code {ac_cv_search_getmntent}}{162} 1264@entry {@code {ac_cv_sizeof_@var {type-or-expr}}}{152} 1265@entry {@code {ac_cv_sys_posix_termios}}{96} 1266@entry {@code {ac_cv_type_getgroups}}{178} 1267@entry {@code {ac_cv_type_long_double}}{179} 1268@entry {@code {ac_cv_type_long_double_wider}}{179} 1269@entry {@code {ac_cv_type_long_long_int}}{179} 1270@entry {@code {ac_cv_type_mbstate_t}}{179} 1271@entry {@code {ac_cv_type_mode_t}}{179} 1272@entry {@code {ac_cv_type_off_t}}{179} 1273@entry {@code {ac_cv_type_pid_t}}{179} 1274@entry {@code {ac_cv_type_size_t}}{180} 1275@entry {@code {ac_cv_type_ssize_t}}{180} 1276@entry {@code {ac_cv_type_@var {type}}}{180} 1277@entry {@code {ac_cv_type_uid_t}}{180} 1278@entry {@code {ac_cv_type_unsigned_long_long_int}}{180} 1279@finishindex 1280 1281 1282 1283 1284 1285@ignore 1286@c this is not currently implemented, as it added a lot of complexity 1287@c for not much benefit. 1288 1289@section Test of index widow elimination 1290 1291First time shows without widow elimination. Second time shows it with 1292(uses @file{texinfo-tex-test.WIDOWs} file). For test to work properly, 1293@code{ordm} should be a widow in the first case, and not in the second 1294case. 1295 1296@commenceindex 1297@input texinfo-tex-test.WIDOWs 1298@finishindex 1299 1300 1301@page 1302 1303@printindex WIDOW 1304@end ignore 1305 1306@section Index subentries 1307 1308Check that entries are indented properly. 1309 1310Possible issues with subentries being separated from superentries by a 1311page or column break. (There may not be much that can be done in some 1312cases.) 1313 1314@commenceindex 1315@entry{tea makers}{19} 1316@entry{coffee makers}{} 1317@secondary{gerbil-driven long line line line line line line line line 1318line line line line line line}{9, 42} 1319@secondary{gerbil-driven}{9, 42} 1320@secondary{electric}{} 1321@tertiary{orange}{5, 62} 1322@tertiary{green}{727} 1323@tertiary{pink}{5, 62, 45, 81, 45, 81, 123, 2314, 123, 2314, 123, 2314, 1324123, 2314, 123, 2314} 1325@entry{tea makers}{19} 1326@entry{coffee makers}{} 1327@secondary{gerbil-driven long line line line line line line line line 1328line line line line line line}{9, 42} 1329@secondary{gerbil-driven}{9, 42} 1330@secondary{electric}{} 1331@tertiary{orange}{5, 62} 1332@tertiary{green}{727} 1333@tertiary{pink}{5, 62, 45, 81, 45, 81, 123, 2314, 123, 2314, 123, 2314, 1334123, 2314, 123, 2314} 1335@finishindex 1336 1337 1338@section Non-alphanumeric Index Initials 1339 1340/ and \ should be mirror images. 1341 1342@commenceindex 1343@initial{\} 1344@initial{/} 1345@initial{|} 1346@initial{@{} 1347@initial{@}} 1348@initial{F} 1349@finishindex 1350 1351 1352 1353@part Another part@*Note no headline on this page 1354 1355@chapter First chapter after a part page 1356 1357Have a look at the headline. 1358 1359 1360@chapter Test of non-alphanumeric characters 1361 1362Not in code: @{@}@@#\ 1363 1364In code @t{@{@}@@#\} 1365 1366 1367@chapter Test of auxiliary files 1368 1369 1370@section Values 1371 1372Need to test with @command{texi2dvi}. 1373 1374Undefined value in anchor: @anchor{@value{ho} ho} 1375 1376Xref to said anchor: @xref{@value{ho} ho}. 1377 1378@set auxvalue this is the value 1379Defined value in anchor: @anchor{@value{auxvalue} ho} 1380 1381Xref to said anchor: @xref{@value{auxvalue} ho}. (Should definitely 1382work.) 1383 1384@defindex ax 1385 1386value in index entry 1387@axindex @value{ho} in index entry 1388 1389defined value in index entry (this should definitely work) 1390@axindex @value{auxvalue} in index entry 1391 1392value in index entry, but only defined afterwards 1393@axindex @value{definedafter} index entry 1394 1395@axindex @b{another} 1396 1397@set complex @code{foo@b{b@'ar}} 1398test of texinfo commands in value in index entry 1399@axindex @value{complex} index entry 1400 1401test of value change after index command 1402@set changed original 1403@axindex `@value{changed}' should be `original' 1404@set changed new 1405 1406test of underscore in value 1407@set underscore _ 1408@axindex `@value{underscore}' should be `_' 1409 1410some more text. 1411 1412test of macro in index entry: 1413@macro MyMac {arg} 1414ffff\arg\ggggg 1415@end macro 1416 1417@axindex @MyMac{bah} 1418 1419@page 1420 1421@set definedafter Defining this now 1422@set definedafter Defining this again 1423 1424@printindex ax 1425 1426 1427@ignore 1428@c This section doesn't work while we use \ as the escape character 1429@c in the index files. 1430 1431@section Test of macros with @samp{@@} in index 1432 1433@defindex BB 1434 1435@macro Mac {arg} 1436\arg\@} 1437@end macro 1438 1439@macro MacTwo {arg} 1440@{@} 1441@end macro 1442 1443@BBindex @Mac{CCCC @@} 1444 1445@BBindex @MacTwo{DDDD @@} 1446@printindex BB 1447@end ignore 1448 1449 1450@section Test of certain characters in index 1451 1452@defindex CC 1453@CCindex \, backslash 1454@CCindex @{, open brace 1455@CCindex @}, close brace 1456@CCindex @@, at sign 1457@CCindex @backslashchar{}, backslash 2 1458@CCindex @lbracechar{}, open brace 2 1459@CCindex @rbracechar{}, close brace 2 1460@CCindex @atchar{}, at sign 2 1461 1462@printindex CC 1463 1464 1465@section Test of @code{@@synindex} 1466 1467@defindex foo 1468@defindex bar 1469 1470@synindex foo bar 1471 1472@fooindex One 1473@barindex Two 1474 1475Should be two entries, not one below. 1476 1477@printindex bar 1478 1479 1480@section Test of index sort keys 1481 1482@defindex SK 1483 1484@SKindex @sortas{A} bbbbbbb (first) 1485@SKindex @sortas{B} aaaaaaa (second) 1486 1487@printindex SK 1488 1489 1490@page 1491@section Test of characters in node names for PDF 1492 1493@ifx@pdfescapestring@thisisundefined 1494 1495This test requires newer @command{pdfetex}. 1496 1497@else 1498 1499@anchor{anchor}. 1500 1501@anchor{backslash \}. 1502 1503@anchor{closing bracket )}. 1504 1505@anchor{opening bracket (}. 1506 1507@xref{anchor}. 1508 1509@xref{backslash \}. 1510 1511@xref{closing bracket )}. 1512 1513@xref{opening bracket (}. 1514 1515@fi 1516 1517 1518@chapter @code{@@set} and @code{@@value} 1519 1520@section Another test of @t{@@value} 1521 1522Underscores and hyphens in value 1523 1524@set foo-bar_ neenaw 1525 1526The value is @value{foo-bar_}. 1527 1528 1529@chapter Cross-references 1530 1531@section Comma insertion 1532 1533Check commas surrounding page number: 1534 1535@noindent 1536@xref{Target}, for more information (@code{@@xref})@* 1537@xref{Target} for more information@* 1538@xref{Target} for more information@* 1539@xref{Target} 1540for more information@* 1541@xref{Target}.@* 1542@xref{Target}@ for more info.@* 1543@xref{Target}@ 1544for more info.@* 1545@xref{Target}@* 1546for more info.@* 1547@xref{Target}@ for more info.@* 1548@xref{Target} --- for more info. (comma)@* 1549@xref{Target}@: --- for more info. (no comma)@* 1550See @ref{Target}, for more information (@code{@@ref})@* 1551See @ref{Target} for more information@* 1552See @ref{Target}.@* 1553(@pxref{Target}) (@code{@@pxref})@* 1554(@pxref{Target,, Hurricanes}) 1555 1556 1557@node Target 1558@section Target 1559 1560@section Non-existent target 1561 1562@xref{blllllllrrrrrrghhh}. 1563 1564@chapter Copying and captions 1565 1566@section Copying 1567 1568@documentencoding UTF-8 1569 1570@copying 1571This manual is for blah-de-blah.@* 1572Backslash \@* 1573 1574Copyrite @copyright{} 201X@* 1575þ þ þ þ þ þ þ þ 1576@end copying 1577 1578Now for the @@insertcopying: 1579 1580@insertcopying 1581 1582 1583@section Captions 1584 1585 1586There's a float in this section. 1587 1588@float Figure,fig:ex1 1589This is a float. 1590 1591@caption{This is a caption. 1592Multiple paragraphs are allowed here. Here are some ``special'' 1593characters: \ à. 1594 1595Paragraph breaks allowed. 1596} 1597 1598@shortcaption{short caption text.} 1599 1600This float should have a caption somewhere. 1601@end float 1602 1603List of floats now: 1604 1605@listoffloats Figure 1606 1607 1608@chapter Environments 1609 1610@section @code{@@verbatim} 1611 1612@verbatim 1613 ‘MENU’ 1614 ------ 1615 1616chicken pizza beefburger hotdog 1617£0.44 $2.50 €1.50 42¢ 1618 1619“Please come again” 1620@end verbatim 1621 1622@section @code{@@multitable} 1623 1624Nested in @@quotation: 1625 1626before before before before before before before before 1627before before before before before before before before 1628before before before before before before before before 1629before before before before before before before before 1630 1631@quotation 1632@multitable @columnfractions 0.5 0.5 1633@item 1634left left left left left left left left 1635left left left left left left left left 1636left left left left left left left left 1637left left left left left left left left 1638@tab 1639right right right right right right right right 1640right right right right right right right right 1641right right right right right right right right 1642right right right right right right right right 1643@end multitable 1644@end quotation 1645 1646after after after after after after after after 1647after after after after after after after after 1648after after after after after after after after 1649after after after after after after after after 1650 1651 1652 1653 1654 1655 1656@chapter Document encoding 1657 1658@documentencoding UTF-8 1659 1660 1661Test of a few UTF-8 sequences. 1662 1663∃x∈X, x < ∞, s.t. x ∧ y 1664 1665A∩B=C 1666 1667(spacing here doesn't matter because we're not in math mode) 1668 1669Greek text: 1670 1671Η Πρώτη σύνοδος της Κωνσταντινούπολης, γνωστή ως Β΄ οικουμενική, ήταν η 1672εκκλησιαστική σύνοδος που διενεργήθηκε το 381 μ.Χ. και συγκλήθηκε από 1673τον αυτοκράτορα Θεοδόσιο, μετά από προτροπή του Μελετίου Αντιοχείας. 1674Στόχος της ήταν η εκκλησιαστική ειρήνευση, αλλά και η «επίλυση των 1675αναφυέντων εν τη εκκλησία κρίσιμων θεολογικών και διοικητικών 1676προβλημάτων». 1677 1678(random text copied from Wikipedia) 1679 1680double accent --- ταΐζω 1681 1682 1683@section Test of characters in section title 1684 1685Check table of contents. 1686 1687For PDF output, check the bookmarks pane in the reader. 1688(Currently plain ASCII approximations are used for the UTF-8 encoding.) 1689 1690@section --- übersicht 1691 1692@section --- @"Ubersicht 1693 1694@section @{ @} @@ @{@ @} @arrow{} @atchar{} @lbracechar{} 1695 1696This section should be called ``@{ @} @@ @{ @} @arrow{} @@ @{''. 1697 1698 1699@node Special characters 1700@section ~[]"_|<>$#&%+\ 1701 1702This section should be called @code{~[]"_|<>$#&%+\} (in Roman type). 1703 1704@xrefautomaticsectiontitle on 1705@xref{Special characters} is a cross-reference using 1706@code{@@xrefautomaticsectiontitle on}. 1707@xrefautomaticsectiontitle off 1708 1709 1710 1711@chapter PDF link colours 1712 1713For PDF only. 1714 1715 1716Check that 1717colour change continues on next page 1718for @acronym{URL} split across pages, 1719and doesn't change the colour of the heading line. 1720 1721Push down to end of page 1722 1723par 1724 1725@tex 1726\global\def\urlcolor{0.32 0.39 0.50}% 1727@end tex 1728 1729par 1730 1731par 1732 1733par 1734 1735par 1736 1737par 1738 1739par 1740 1741par 1742 1743par 1744 1745par 1746 1747par 1748 1749par 1750 1751par 1752 1753par 1754 1755par 1756 1757par 1758 1759par 1760 1761par 1762 1763par 1764 1765par 1766 1767par 1768 1769par 1770 1771par 1772 1773par 1774 1775par 1776 1777par 1778 1779par 1780 1781par 1782 1783par 1784 1785@uref{aaaaa/bbbbb/aaaaa/bbbbb/ 1786aaaaa/bbbbb/aaaaa/bbbbb/ 1787aaaaa/bbbbb/aaaaa/bbbbb/ 1788aaaaa/bbbbb/aaaaa/bbbbb/ 1789aaaaa/bbbbb/aaaaa/bbbbb/ 1790aaaaa/bbbbb/aaaaa/bbbbb/ 1791aaaaa/bbbbb/aaaaa/bbbbb/ 1792aaaaa/bbbbb/aaaaa/bbbbb/ 1793aaaaa/bbbbb/aaaaa/bbbbb/ 1794aaaaa/bbbbb/aaaaa/bbbbb/ 1795aaaaa/bbbbb/aaaaa/bbbbb/ 1796aaaaa/bbbbb/aaaaa/bbbbb/ 1797aaaaa/bbbbb/aaaaa/bbbbb/ 1798aaaaa/bbbbb/aaaaa/bbbbb/ 1799aaaaa/bbbbb/aaaaa/bbbbb/ 1800aaaaa/bbbbb/aaaaa/bbbbb/ 1801aaaaa/bbbbb/aaaaa/bbbbb/ 1802aaaaa/bbbbb/aaaaa/bbbbb/ 1803aaaaa/bbbbb/aaaaa/bbbbb/ 1804aaaaa/bbbbb/aaaaa/bbbbb/ 1805aaaaa/bbbbb/aaaaa/bbbbb/ 1806aaaaa/bbbbb/aaaaa/bbbbb/} 1807 1808par 1809 1810@chapter URL line breaking 1811 1812Some use of @code{@@url}. Ragged-right output should only be used where 1813necessary. 1814 1815In a different way, the full range of colors defined for 1816@uref{https://en.wikipedia.org/wiki/X11_color_names, defined for X11} 1817can be accessed by using the Scheme function @code{x11-color}. 1818That function takes one argument. 1819 1820see the 1821@url{https://www.gnu.org/software/libc/manual/html_node/Message-catalogs-with-gettext.html} 1822 1823foo foo foo foo foo foo foof see the @url{https://www.gnu.org/software/libc/manual/html_node/} 1824 1825In case of problem, please read the @file{INSTALL} file carefully 1826before reporting a bug, in particular section ``In case of problem''. 1827Some problems are due to bad configuration on the user side (not 1828specific to MPFR)@. Problems are also mentioned in the FAQ 1829@url{https://www.mpfr.org/faq.html}. 1830 1831Initial text to test the justification of the line containing the 1832first part of the URL: blah blah blah blah blah blah blah blah. 1833@url{https://www.1234567890123456789012345678901234567890123.invalid}. 1834Text to test the justification of the line containing the last part 1835of the URL: blah blah blah blah blah blah blah blah. 1836 1837Initial text to test the justification of the line containing the 1838first part of the URL: blah blah blah blah blah blah blah blah. 1839@url{https://www.1234567890123456789012345678901234567890.invalid}. 1840Text to test the justification of the line containing the last part 1841of the URL: blah blah blah blah blah blah blah blah. 1842 1843Initial text to test the justification of the line containing the 1844first part of the URL: blah blah blah blah blah blah blah blah. 1845@url{https://www.1234567890123456789012345678901234567.invalid}. 1846Text to test the justification of the line containing the last part 1847of the URL: blah blah blah blah blah blah blah blah. 1848 1849Initial text to test the justification of the line containing the 1850first part of the URL: blah blah blah blah blah blah blah blah. 1851@url{https://www.1234567890123456789012345678901234.invalid}. 1852Text to test the justification of the line containing the last part 1853of the URL: blah blah blah blah blah blah blah blah. 1854 1855@chapter Nested URL 1856 1857In @command{@@lisp} 1858 1859@lisp 1860one 1861@url{www.gnu.org} 1862three 1863four 1864 1865six 1866 1867 1868nine @url{http://example.com/} nine 1869@end lisp 1870 1871in footnote@footnote{see @url{http://example.com/}.}. after footnote 1872 1873next para. 1874 1875next para. 1876 1877 1878 1879 1880@chapter Headings and footings 1881 1882test of @samp{@@everyheadingmarks top} 1883@c due to the way that @chapter outputs a pair of marks, possibly one on 1884@c the page before, following @page directly by @chapter can cause the 1885@c wrong chapter in the heading line, because then both marks are output 1886@c on the new page. 1887 1888@everyheading @thischapter 1889@everyheadingmarks top 1890@setchapternewpage off 1891 1892@chapter One 1893 1894one 1895 1896@page 1897 1898two 1899 1900@chapter Two 1901 1902@chapter Three 1903 1904@page 1905 1906ffffff 1907 1908@chapter Four 1909 1910@page 1911 1912test of @samp{@@everyheadingmarks bottom} 1913 1914@everyheading @thischapter 1915@everyheadingmarks bottom 1916 1917@page 1918 1919@chapter One 1920 1921@chapter Two 1922 1923@chapter Three 1924 1925@page 1926 1927ffffff 1928 1929@chapter Four 1930 1931 1932@setchapternewpage odd 1933@chapter Test of @code{@@*heading} 1934 1935@headings off 1936@oddheading @today{} @| @thispage @| @thischapter{} 1937@evenheading @thischapter @| @thispage @| @today{} 1938chapter text (date at left) 1939 1940@page 1941next page 1942(date at right) 1943 1944 1945@chapter Test of @code{@@*footing} 1946@oddfooting @thistitle @| @thispage @| @thissection 1947@evenfooting @thissection @| @thispage @| @thistitle 1948@everyfootingmarks top 1949 1950aaa 1951 1952@section AA 1953 1954bbb 1955 1956@page 1957 1958ccc 1959 1960@section DD 1961 1962ee 1963 1964 1965@chapter Test of @code{@@displaymath} 1966 1967Alignment in @@displaymath: 1968 1969@displaymath 1970\leqalignno{ 1971 \int v(t)\, dt &= u(t) + C&[3.1]\cr 1972 \int v(t)\, dt &= u(t) + H&[3.2]\cr 1973} 1974@end displaymath 1975 1976test of \eqno 1977@displaymath 1978 v(t) = {d \over dt} u(t)\eqno{[3.1]} 1979@end displaymath 1980 1981 1982 1983@bye 1984