Codebase list texinfo / upstream/6.3.0.dfsg.1 doc / texinfo-tex-test.texi
upstream/6.3.0.dfsg.1

Tree @upstream/6.3.0.dfsg.1 (Download .tar.gz)

texinfo-tex-test.texi @upstream/6.3.0.dfsg.1raw · history · blame

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
% texinfo-tex-test.texi -- test file for texinfo.tex
%
% Copyright 2015, 2016 Free Software Foundation, Inc.
%
% This file is free software: you can redistribute it and/or
% modify it under the terms of the GNU General Public License as
% published by the Free Software Foundation, either version 3 of the
% License, or (at your option) any later version.
%
% This file is distributed in the hope that it will be
% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
% General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program.  If not, see <http://www.gnu.org/licenses/>.
%
\input texinfo
@settitle Test Document for @file{texinfo.tex}

@everyheading @thischapter @| @| @thissection{} p@thispage
@paragraphindent 0

@showboxdepth=1000
@showboxbreadth=1000

@documentencoding UTF-8

@contents

@part Part One@*Sample part page

@chapter Macros
@section Backslashes in macro arguments

@macro Mac{x}
A\x\A
@end macro

@macro Mactwo{x, y}
<\x\>.<\y\>@.
@end macro

@rmacro RMac{x}
Z\x\Z
@end rmacro

The number refers to the number of backslashes that should appear

0 @Mac{}

0 @Mac{a}

0 @Mac{a}X

1 @Mac{a\\}

1 @Mac{a\}X

1 @Mac{a\\}X

2 @Mac{a\\\}X

1 @Mac{\}X

1 @Mac{\a}X

1 @Mac{\\a}X

1 @Mac{\\}X

2 @Mac{\\\}X

2 and 1 @Mac{\\\aaa\}X

1 and 1 @Mac{\a\\b}X

one backslash outside \

two backslashes outside \\

three backslashes outside \\\

0 @Mac a 

1 @Mac a\

2 @Mac a\\ 

3 @Mac a\\\

1 and 2 @Mac \a\\b

in @@code:@*
1 @code{@Mac{\}}@*
1 @code{@Mac{\\}}@*
2 @code{@Mac{\\\}}@*
2 @code{@Mac{\\\\}}

one backslash outside \

two backslashes outside \\

three backslashes outside \\\

Macros with two arguments:
0+0 @Mactwo{A,B}
0+0 @Mactwo{A, B}
1+0 @Mactwo{\A, B}
0+1 @Mactwo{A, \\B}
2+1 @Mactwo{\\\A, \\B}
2+2 @Mactwo{\\\A, \\\\B}

Space between macro name and opening brace (thus: @samp{@@Mactwo @{}):

0+0 @Mactwo {A,B}
0+0 @Mactwo {A, B}
1+0 @Mactwo {\A, B}
0+1 @Mactwo {A, \\B}
2+1 @Mactwo {\\\A, \\B}
2+2 @Mactwo {\\\A, \\\\B}

space between backslashes: @Mac{\ \}@*
space between backslashes line arg: @Mac \ \

space after backslashes, two arguments:@*
@Mactwo{\ \\, \ \\}@*
@Mactwo{\\ \\, \\ \\}@*
@Mactwo{\\ a, \\ b}@*
@Mactwo{\ a, \ b}@*

other spaces:@*
@Mactwo{h \\, i \\}@*
@Mactwo{h \\, i \\}@*
@Mactwo{h a, i b}@*

@section Spaces in macro bodies

Distance between the two x's should be the same

@macro Mac
@example
x  x
@end example
@end macro
@example
x  x
@end example
@Mac

@section Macro use inside macro argument

@macro Innermac{arg}
xx \arg\ xx
@end macro

@macro Outermac{arg}
\arg\
@c
@end macro

@Outermac{@Innermac{e}}
should be@*
xx e xx

@section Closing brace following empty macro argument

@macro Mac{x}
A@acronym{\x\}A
@end macro

@Mac{}

AA

@section Trailing newlines in macro bodies

Output should be doubled:

1y

z
x2

@macro nbsp
y
              
z
x
@end macro

1@nbsp{}2

Output should be doubled:


@example
1y

z
x2
@end example

@example
1@nbsp{}2
@end example

@section Open or close a group in a macro

Output should be doubled

@macro Example
@example
@group
@end macro

@macro endExample
@end group
@end example
@end macro

x
@Example
groff [ -abceghijklpstvzCEGNRSUVXZ ]
@endExample
x

x
@example
@group@comment
groff [ -abceghijklpstvzCEGNRSUVXZ ]
@end group
@end example
x

@section @,c in macro argument

@macro mactwo{argfirst, argsecond}
\argfirst\+\argsecond\.
@end macro

@set fc Fran@,cois
@mactwo{@value{fc},}@*
@mactwo{Fran@,cois,}@*
Fran@,cois+.

@section Macro in argument to @@math

@macro frac {a,b}
\a\ @over \b\
@end macro

exceeds @math{@frac{1,16}} pt


@section Trim whitespace from macro arguments

@macro Mac{a}
<X\a\X>
@end macro

@macro Mactwo{a,b}
<X\a\X\b\X>
@end macro

No trimming for single-arg macros.

@noindent @Mac{b} @Mac{ b} @Mac{b  } @Mac{ b }

@noindent @Mactwo{b,c} @Mactwo{ b, c} @Mactwo{b  ,c  } @Mactwo{ b , c }


@section Multi-line macro argument

@macro Mac{text}
@cartouche
<@b{FIXME}>
@example
\text\
@end example
\text\
@noindent </>
@end cartouche
@end macro

@Mac{
Here's an extended
macro argument, with
newlines.

And multiple paragraphs.
Like an argument to @code{@@footnote}.
}

(The double space in the @code{@@example} is due to the way 
@code{\scantokens} inserts spaces after control sequences.)


@tex
\gdef \commenceindex{%
\begingroup
\page
\smallfonts \rm
\begindoublecolumns
\tolerance = 9500
\plainfrenchspacing
\everypar = {}%
\catcode`\\=0 \catcode`\@=12
}

\gdef \finishindex{%
\catcode`\@=0 \catcode`\\=13
\enddoublecolumns
\endgroup
\hrule
}
@end tex

@chapter Index display

In these examples, a horizontal rule is at the end of each run of double 
column material in order to show if any material extends below the
box containing it.

@section Long index entries

@commenceindex
\entry {\code {-c}}{18, 20, 22, 27, 28, 38, 43, 51, 54, 65, 83, 91, 105, 
124, 125, 127, 129, 135, 139, 143, 145, 148, 187}
\entry {\code {-c}}{18, 20, 22, 27, 28, 38, 43, 51, 54, 65, 83, 91, 105, 
124, 125, 127, 129, 135, 139, 143, 145, 148}
\entry{Testing for Texinfo Commands: \code {\@ifcommanddefined}, \code 
{\@ifcommandnotdefined}}{148}
\entry {\code {--dereference-command-line-symlink-to-dir}}{78}
\entry {built-in shell commands, conflicts with}{119, 139, 144, 145, 
148, 163, 191, 196, 197}
\finishindex

@section End-column glue

See next page.  A little bit of space should appear at the bottom of the 
second column, instead of flush bottoms and a conspicuous increase in 
inter-baseline spacing.  This test only works if the `R' initial is at
the start of a page.

@commenceindex
\initial {P}
\entry {\code {PACKAGE}}{196}
\entry {\code {PACKAGE_AND_VERSION}}{196}
\entry {\code {PACKAGE_NAME}}{196}
\entry {\code {PACKAGE_URL}}{196}
\entry {\code {PACKAGE_VERSION}}{196}
\entry {Page breaks, awkward}{124}
\entry {Page breaks, forcing}{126}
\entry {Page delimiter in Texinfo mode}{261}
\entry {Page headings}{270}
\entry {Page numbering}{270}
\entry {Page sizes for books}{175}
\entry {Page sizes, customized}{175}
\entry {\code {page-delimiter}}{261}
\entry {Pages, starting odd}{29}
\entry {Paper size, A4}{175}
\entry {Paragraph indentation control}{31}
\entry {Paragraph, marking text within}{66}
\entry {\code {paragraphindent}}{187}
\entry {Parameters to macros}{154}
\entry {Parentheses in node name}{37}
\entry {Parsing errors}{202}
\entry {Part of file formatting and printing}{266}
\entry {Part pages}{50}
\entry {Partial documents, formatting}{168}
\entry {Parts of a cross reference}{54}
\entry {Parts of a master menu}{28}
\entry {Parts of a menu}{43}
\entry {Patches, contributing}{4}
\entry {PCL file, for printing}{170}
\entry {\code {pdf image inclusions}}{97}
\entry {PDF output}{176}
\entry {PDF output of urls}{64}
\entry {PDF output, overview}{5}
\entry {\code {pdfetex}}{167}
\entry {\code {pdftex}}{176}
\entry {\code {pdftex\r {, and images}}}{97}
\entry {\code {pdftxei2dvi}}{166}
\entry {Period in node name}{37}
\entry {Periods, inserting}{111}
\entry {Perl format strings for translation}{199}
\entry {Perl POD, converting to Texinfo}{200}
\entry {Permissions text, including}{22}
\entry {Permissions, printed}{25}
\entry {\code {pg} (program) index}{102}
\entry {Picas}{98}
\entry {Pictures, inserting}{97}
\entry {Pinard, Fran\,{c}ois}{7}
\entry {Plain \TeX {}}{146}
\entry {Plain text output with \option {--plaintext}}{183}
\entry {Plain text output, overview}{4}
\entry {\code {png image format}}{97}
\entry {POD, converting to Texinfo}{200}
\entry {\code {pod2texi}}{200}
\entry {Point, indicating in a buffer}{121}
\entry {Pointer creation with \code {makeinfo}}{40}
\entry {Pointer validation with \code {makeinfo}}{185}
\entry {Pointer validation, suppressing}{168}
\entry {Pointer validation, suppressing from command line}{182}
\entry {Points (dimension)}{98}
\entry {PostScript output, overview}{4}
\entry {Pounds symbol}{118}
\entry {\code {PRE_ABOUT}}{192}
\entry {\code {PRE_BODY_CLOSE}}{192}
\entry {Preamble, in Info format}{283}
\entry {Predefined names for indices}{105}
\entry {Preface, etc., and Docbook}{48}
\entry {\code {PREFIX}}{196}
\entry {Preparing for \TeX {}}{173}
\entry {Preserving HTML links to old nodes}{221}
\entry {Prev node of Top node}{38}
\entry {Preventing first paragraph indentation}{32}
\entry {Preventing line and page breaks}{124}
\entry {Print and format in Texinfo mode}{170}
\entry {Print, format from Emacs shell}{170}
\entry {Printed book and manual characteristics}{6}
\entry {Printed output, indicating}{120}
\entry {Printed output, through \command {texi2any}}{185}
\entry {Printed permissions}{25}
\entry {Printing a region or buffer}{266}
\entry {Printing an index}{104}
\entry {Printing cost, reducing}{75}
\entry {Printing cropmarks}{176}
\entry {Printing DVI files, on MS-DOS/MS-Windows}{170}
\entry {Printing hardcopy}{166}
\entry {Problems, catching}{275}
\entry {\code {PROGRAM}}{196}
\entry {Program names, indicating}{72}
\entry {\code {PROGRAM_NAME_IN_FOOTER}}{192}
\entry {Programming, glyphs for}{119}
\entry {Pronunciation of Texinfo}{3}
\entry {Prototype row, column widths defined by}{93}
\entry {Ragged left, without filling}{83}
\entry {Ragged right, with filling}{84}
\entry {Ragged right, without filling}{83}
\entry {Raising and lowering sections}{51}
\entry {Raw formatter commands}{146}
\entry {Raw HTML}{213}
\entry {raw text output}{188}
\initial {Q}
\entry {Quotation characters (`'), in source}{114}
\entry {Quotation marks, French}{115}
\entry {Quotation marks, German}{115}
\entry {Quotation marks, inserting}{114}
\entry {Quotations}{78}
\entry {Quotations in smaller fonts}{82}
\entry {Quote characters, inserting}{110}
\entry {Quoting, automatic for some macros}{156}
\initial {R}
\entry {RCS $Id}{253}
\entry {Recommended names for keys}{69}
\entry {Rectangle, black in hardcopy}{174}
\entry {Recursive macro invocations}{155}
\entry {Reducing font size}{75}
\entry {Reference implementation}{178}
\entry {Reference to @-commands}{223}
\entry {References}{53}
\entry {References using \code {@inforef}}{62}
\finishindex

@section Index page break not before initial

The next index is to show the bottoms of columns when the next page 
doesn't start with an initial.

@commenceindex
\initial {P}
\entry {\code {PACKAGE}}{196}
\entry {\code {PACKAGE_AND_VERSION}}{196}
\entry {\code {PACKAGE_NAME}}{196}
\entry {\code {PACKAGE_URL}}{196}
\entry {\code {PACKAGE_VERSION}}{196}
\entry {Page breaks, awkward}{124}
\entry {Page breaks, forcing}{126}
\entry {Page delimiter in Texinfo mode}{261}
\entry {Page headings}{270}
\entry {Page numbering}{270}
\entry {Page sizes for books}{175}
\entry {Page sizes, customized}{175}
\entry {\code {page-delimiter}}{261}
\entry {Pages, starting odd}{29}
\entry {Paper size, A4}{175}
\entry {Paragraph indentation control}{31}
\entry {Paragraph, marking text within}{66}
\entry {\code {paragraphindent}}{187}
\entry {Parameters to macros}{154}
\entry {Parentheses in node name}{37}
\entry {Parsing errors}{202}
\entry {Part of file formatting and printing}{266}
\entry {Part pages}{50}
\entry {Partial documents, formatting}{168}
\entry {Parts of a cross reference}{54}
\entry {Parts of a master menu}{28}
\entry {Parts of a menu}{43}
\entry {Patches, contributing}{4}
\entry {PCL file, for printing}{170}
\entry {\code {pdf image inclusions}}{97}
\entry {PDF output}{176}
\entry {PDF output of urls}{64}
\entry {PDF output, overview}{5}
\entry {\code {pdfetex}}{167}
\entry {\code {pdftex}}{176}
\entry {\code {pdftex\r {, and images}}}{97}
\entry {\code {pdftxei2dvi}}{166}
\entry {Period in node name}{37}
\entry {Periods, inserting}{111}
\entry {Perl format strings for translation}{199}
\entry {Perl POD, converting to Texinfo}{200}
\entry {Permissions text, including}{22}
\entry {Permissions, printed}{25}
\entry {\code {pg} (program) index}{102}
\entry {Picas}{98}
\entry {Pictures, inserting}{97}
\entry {Pinard, Fran\,{c}ois}{7}
\entry {Plain \TeX {}}{146}
\entry {Plain text output with \option {--plaintext}}{183}
\entry {Plain text output, overview}{4}
\entry {\code {png image format}}{97}
\entry {POD, converting to Texinfo}{200}
\entry {\code {pod2texi}}{200}
\entry {Point, indicating in a buffer}{121}
\entry {Pointer creation with \code {makeinfo}}{40}
\entry {Pointer validation with \code {makeinfo}}{185}
\entry {Pointer validation, suppressing}{168}
\entry {Pointer validation, suppressing from command line}{182}
\entry {Points (dimension)}{98}
\entry {PostScript output, overview}{4}
\entry {Pounds symbol}{118}
\entry {\code {PRE_ABOUT}}{192}
\entry {\code {PRE_BODY_CLOSE}}{192}
\entry {Preamble, in Info format}{283}
\entry {Predefined names for indices}{105}
\entry {Preface, etc., and Docbook}{48}
\entry {\code {PREFIX}}{196}
\entry {Preparing for \TeX {}}{173}
\entry {Preserving HTML links to old nodes}{221}
\entry {Prev node of Top node}{38}
\entry {Preventing first paragraph indentation}{32}
\entry {Preventing line and page breaks}{124}
\entry {Print and format in Texinfo mode}{170}
\entry {Print, format from Emacs shell}{170}
\entry {Printed book and manual characteristics}{6}
\entry {Printed output, indicating}{120}
\entry {Printed output, through \command {texi2any}}{185}
\entry {Printed permissions}{25}
\entry {Printing a region or buffer}{266}
\entry {Printing an index}{104}
\entry {Printing cost, reducing}{75}
\entry {Printing cropmarks}{176}
\entry {Printing DVI files, on MS-DOS/MS-Windows}{170}
\entry {Printing hardcopy}{166}
\entry {Problems, catching}{275}
\entry {\code {PROGRAM}}{196}
\entry {Program names, indicating}{72}
\entry {\code {PROGRAM_NAME_IN_FOOTER}}{192}
\entry {Programming, glyphs for}{119}
\entry {Pronunciation of Texinfo}{3}
\entry {Prototype row, column widths defined by}{93}
\initial {Q}
\entry {Quotation characters (`'), in source}{114}
\entry {Quotation marks, French}{115}
\entry {Quotation marks, German}{115}
\entry {Quotation marks, inserting}{114}
\entry {Quotations}{78}
\entry {Quotations in smaller fonts}{82}
\entry {Quote characters, inserting}{110}
\entry {Quoting, automatic for some macros}{156}
\entry {Ragged left, without filling}{83}
\entry {Ragged right, with filling}{84}
\entry {Ragged right, without filling}{83}
\entry {Raising and lowering sections}{51}
\entry {Raw formatter commands}{146}
\entry {Raw HTML}{213}
\entry {raw text output}{188}
\entry {RCS $Id}{253}
\entry {Recommended names for keys}{69}
\entry {Rectangle, black in hardcopy}{174}
\entry {Recursive macro invocations}{155}
\entry {Reducing font size}{75}
\entry {Reference implementation}{178}
\entry {Reference to @-commands}{223}
\entry {References}{53}
\entry {References using \code {@inforef}}{62}
\entry {Raw formatter commands}{146}
\entry {Raw HTML}{213}
\entry {raw text output}{188}
\entry {RCS $Id}{253}
\entry {Recommended names for keys}{69}
\entry {Rectangle, black in hardcopy}{174}
\entry {Recursive macro invocations}{155}
\entry {Reducing font size}{75}
\entry {Reference implementation}{178}
\entry {Reference to @-commands}{223}
\entry {References}{53}
\entry {References using \code {@inforef}}{62}
\finishindex

@section Short indices

See following pages

@commenceindex
\initial{A}
\entry{aaaa}{1}
\initial{B}
\entry{bbbb}{2}
\finishindex

If the above is in two columns, check that the space below the initials
`A' and `B' is even.

@commenceindex
\initial{A}
\entry{aaaa}{1}
\initial{B}
\entry{bbbb}{2}
\initial{C}
\entry{cccc}{2}
\finishindex

@commenceindex
\initial{A}
\entry{aaaa}{1}
\initial{B}
\entry{bbbb}{2}
\initial{C}
\entry{cccc}{2}
\entry{cccc}{2}
\finishindex

@commenceindex
\initial{A}
\entry{aaaa}{1}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\finishindex

@commenceindex
\initial{A}
\entry{aaaa}{1}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{cccc}{17}
\finishindex

@section Final page of index hard to balance

The left column of the final page of the index should be shorter than the
right column here, and no empty page should appear in the middle of the 
index.  All index material should fit on the page within the margins.

@commenceindex
\entry {outline, importing into}{39}
\entry {outline, inserting into}{39}
\entry {outline, label separator}{35}
\entry {outline, label type}{35}
\entry {outline, mailing}{37}
\entry {outline, motion}{38}
\entry {outline, overview}{40}
\entry {outline, show levels}{40}
\entry {outline, showing}{40}
\entry {outline, top-level}{40}
\entry {outline, view specs}{41}
\entry {outline, viewing}{40}
\entry {outliner}{32}
\entry {outliner commands}{33}
\entry {outliner keys}{90}
\entry {overview}{40}
\initial {P}
\entry {paragraph, filling}{38}
\entry {Paste Key}{8}
\entry {paste region}{11}
\entry {pasting a region}{70, 71, 76}
\entry {patch output}{15}
\entry {pathname}{15}
\entry {permanent identifier}{32, 36}
\entry {pipe character}{41}
\entry {posting buttons}{23}
\entry {posting news}{24}
\entry {programming interface}{57}
\entry {promotion}{36}
\entry {proportional scrolling}{62, 74}
\initial {R}
\entry {rdb-mode}{77}
\entry {README file}{65}
\entry {reference}{16}
\entry {refilling}{38}
\entry {region selection}{11}
\entry {region, active}{72}
\entry {relative autonumber}{32}
\entry {relative identifier}{35}
\entry {remote file}{15}
\entry {remote path}{15}
\entry {remote pathnames}{68}
\entry {remove lines}{27}
\entry {removing Hyperbole menu}{25}
\entry {Request For Comment}{15, 16}
\entry {restoring windows}{50}
\entry {RFC}{15, 16}
\entry {Rmail}{23}
\entry {rolo}{44}
\entry {rolo address}{14}
\entry {rolo commands}{45}
\entry {rolo entry}{44}
\entry {rolo file}{44}
\entry {rolo keys}{47}
\entry {rolo menu}{45}
\entry {rolo searching}{46}
\entry {rolo, buttons in}{44}
\entry {rolo, datestamps}{48}
\entry {rolo, editing}{48}
\entry {rolo, extending a match}{47}
\entry {rolo, finding matches}{47}
\entry {rolo, highlighting matches}{47, 49}
\entry {rolo, interactive searching}{47}
\entry {rolo, locating a name}{47}
\entry {rolo, moving through matches}{47}
\entry {rolo, moving to entries}{48}
\entry {rolo, outlining}{47}
\entry {rolo, personal}{48}
\entry {rolo, quitting}{48}
\entry {root cell}{34, 36}
\initial {S}
\entry {save lines}{27}
\entry {saving window configurations}{50}
\entry {screen}{29}
\entry {Screen}{62}
\entry {scrolling}{62, 74}
\entry {search}{26, 69}
\entry {searching, rolo}{46}
\entry {selection}{11}
\entry {set}{70, 76}
\entry {setting the view spec}{41}
\entry {sexp selection}{11}
\entry {SGML tag pair}{11}
\entry {show subtree}{40}
\entry {show tree}{40}
\entry {showing}{40}
\entry {side drag}{71}
\entry {signatures, hiding}{14}
\entry {site initialization}{66}
\entry {Smart Key}{8, 62, 99}
\entry {smart key assignments}{8}
\entry {smart key commands}{8}
\entry {Smart Key help}{11}
\entry {Smart Key operation}{9}
\entry {Smart Key, default context}{11, 89}
\entry {Smart Keyboard Keys}{73}
\entry {smart marking}{11}
\entry {Smart Menu}{74}
\entry {Smart Mouse Key}{70, 76}
\entry {Smart Mouse Key drag}{22}
\entry {Smart Mouse Key toggle}{8}
\entry {Smart Mouse Keys}{70}
\entry {smart selection}{11}
\entry {source line}{15}
\entry {splitting a cell}{39}
\entry {stack frame}{15}
\entry {star outline}{39}
\entry {starting Hyperbole}{65}
\entry {storage manager}{56}
\entry {string}{70, 76}
\entry {submenus}{27}
\entry {submodes}{29}
\entry {subtree, hide}{40}
\entry {subtree, show}{40}
\entry {swapping}{31}
\entry {system encapsulation}{57}
\initial {T}
\entry {table of contents}{16, 19}
\entry {tabs, inserting}{37}
\entry {tag}{16}
\entry {tags file}{16}
\entry {TAGS file}{16}
\entry {tar archive}{66}
\entry {tar archive browsing}{87}
\entry {terminal use}{4}
\entry {Texinfo cross-reference}{14}
\entry {Texinfo manual}{65}
\entry {text file}{39}
\entry {thing}{70, 76}
\entry {things}{11}
\entry {toc action type}{19}
\entry {toc implicit button type}{16}
\entry {toggling blank lines}{41}
\entry {top-level cell}{34, 36}
\entry {top-level view}{40}
\entry {Tramp}{15, 68}
\entry {transposing cells}{38}
\entry {tree, copying}{37}
\entry {tree, demoting}{36}
\entry {tree, exporting}{37}
\entry {tree, filling}{38}
\entry {tree, hide subtree}{40}
\entry {tree, killing}{36}
\entry {tree, mailing}{37}
\entry {tree, moving}{37}
\entry {tree, promoting}{36}
\entry {tree, show}{40}
\entry {tree, show subtree}{40}
\entry {type definition}{53}
\entry {type redefinition}{19, 53}
\initial {U}
\entry {unburying}{30}
\entry {uncompressing archives}{66}
\entry {UNIX manual}{15}
\entry {unpacking archives}{66}
\entry {URL}{14, 19, 87}
\entry {URLs, abbreviated}{68}
\entry {URLs, using with find-file}{68}
\entry {USENET}{23, 24}
\initial {V}
\entry {variables}{52}
\entry {vector}{70, 76}
\entry {version description}{98}
\entry {vertical drag}{72}
\entry {view}{40}
\entry {view mode}{75}
\entry {view spec}{41}
\entry {view spec klink}{42}
\entry {view spec, all lines and levels}{41}
\entry {view spec, blank lines}{41}
\entry {view spec, changing}{41}
\entry {view spec, characters}{41}
\entry {view spec, ellipses}{41}
\entry {view spec, example}{41}
\entry {view spec, label type}{41}
\entry {view spec, lines per cell}{41}
\entry {view spec, setting}{41}
\entry {view spec, show levels}{41}
\entry {VM}{23}
\initial {W}
\entry {W3}{87}
\entry {wconfig commands}{50}
\entry {web pages, displaying}{68}
\entry {window configuration commands}{50}
\entry {window configuration ring}{50}
\entry {window configurations}{50}
\entry {window control}{29}
\entry {window system}{68}
\entry {windows}{58}
\entry {word wrap}{38}
\entry {world-wide web}{87}
\entry {World-wide Web}{14, 19}
\entry {wrolo}{44}
\entry {wrolo commands}{45}
\entry {wrolo matches}{88}
\entry {wrolo menu}{47}
\entry {WWW}{14, 19}
\initial {X}
\entry {xdb}{15}
\entry {XEmacs}{2, 25}
\entry {XEmacs support}{69}
\initial {Y}
\entry {yank region}{11}
\entry {yank, reformatting}{53}
\entry {yanking}{70, 71, 76}
\initial {Z}
\entry {zcat}{66}
\entry {zip file}{66}
\entry {zooming}{31}
\finishindex

@section Final page initial at top of both columns

@commenceindex
\initial {P}
\entry {\code {phi}}{397}
\entry {\code {pi}}{397}
\entry {\code {pi-over-180}}{397}
\entry {\code {pi-over-2}}{397}
\entry {\code {pi-over-4}}{397}
\entry {\code {polar-complexp}}{392}
\entry {\code {poly-mix}}{408}
\entry {\code {poly-mul}}{408}
\entry {\code {poly-simplify}}{408}
\entry {\code {polynomial-base}}{408}
\entry {\code {polynomial-p}}{408}
\entry {\code {posp}}{391}
\entry {\code {pow}}{397}
\entry {\code {pow-mod}}{398}
\entry {\code {power-of-2}}{398}
\entry {\code {prime-test}}{399}
\entry {\code {primp}}{393}
\initial {Q}
\entry {\code {quarter-circle}}{397}
\entry {\code {quarter-integer}}{399}
\entry {\code {quotient}}{397}
\initial {R}
\entry {\code {random-digit}}{398}
\entry {\code {random-digits}}{399}
\entry {\code {random-float}}{399}
\entry {\code {ratp}}{392}
\entry {\code {read-expr}}{409}
\entry {\code {read-exprs}}{410}
\entry {\code {read-number}}{409}
\entry {\code {realp}}{392}
\entry {\code {rect-complexp}}{392}
\entry {\code {reduce-cols}}{400}
\entry {\code {reduce-vec}}{400}
\entry {\code {reject-arg}}{394}
\entry {\code {remove-units}}{409}
\entry {\code {rewrite}}{405}
\entry {\code {rewrite-heads}}{405}
\entry {\code {row-matrix}}{400}
\initial {S}
\entry {\code {scalarp}}{392}
\entry {\code {scale-int}}{396}
\entry {\code {scale-rounding}}{396}
\entry {\code {simplify}}{403}
\entry {\code {simplify-extended}}{403}
\entry {\code {simplify-units}}{403}
\entry {\code {single-units-in-expr-p}}{409}
\entry {\code {solve-eqn}}{407}
\entry {\code {solve-for}}{406}
\entry {\code {solve-system}}{407}
\entry {\code {sort-intv}}{396}
\entry {\code {sqr}}{397}
\entry {\code {sqrt-e}}{397}
\entry {\code {sqrt-two-pi}}{397}
\entry {\code {square-matrixp}}{393}
\entry {\code {swap-rows}}{401}
\initial {T}
\entry {\code {tderiv}}{406}
\entry {\code {to-fraction}}{399}
\entry {\code {to-hms}}{398}
\entry {\code {to-radians}}{398}
\entry {\code {to-radians-2}}{398}
\entry {\code {to-simple-fraction}}{399}
\entry {\code {to-standard-units}}{409}
\entry {\code {transpose}}{401}
\entry {\code {two-pi}}{397}
\initial {U}
\entry {\code {underflow}}{394}
\entry {\code {units-in-expr-p}}{409}
\initial {V}
\entry {\code {vec-length}}{399}
\entry {\code {vectorp}}{393}
\initial {W}
\entry {\code {with-extra-prec}}{395}
\initial {Z}
\entry {\code {zerop}}{391}
\finishindex


@section Test of index widow elimination

First time shows without widow elimination.  Second time shows it with
(uses @file{texinfo-tex-test.WIDOWs} file).  For test to work properly,
@code{ordm} should be a widow in the first case, and not in the second 
case.

@commenceindex
\input texinfo-tex-test.WIDOWs
\finishindex


@page

@printindex WIDOW


@section Non-alphanumeric Index Initials

/ and \ should be mirror images.

@commenceindex
\initial{\\}
\initial{/}
\initial{|}
\initial{\{}
\initial{\}}
\initial{F}
\finishindex



@part Another part@*Note no headline on this page

@chapter First chapter after a part page

Have a look at the headline.


@chapter Test of non-alphanumeric characters

Not in code: @{@}@@#\

In code @t{@{@}@@#\}


@chapter Test of auxiliary files

Need to test with @command{texi2dvi}.

Undefined value in anchor: @anchor{@value{ho} ho}

Xref to said anchor: @xref{@value{ho} ho}.

@set auxvalue this is the value
Defined value in anchor: @anchor{@value{auxvalue} ho}

Xref to said anchor: @xref{@value{auxvalue} ho}.  (Should definitely 
work.)

@defindex ax

value in index entry
@axindex @value{ho} in index entry

defined value in index entry (this should definitely work)
@axindex @value{auxvalue} in index entry

value in index entry, but only defined afterwards
@axindex @value{definedafter} index entry

@axindex @b{another}

some more text.

test of macro in index entry:
@macro MyMac {arg}
ffff\arg\ggggg
@end macro

@axindex @MyMac{bah}

@page

@set definedafter Defining this now
@set definedafter Defining this again

@printindex ax

@section Test of macros with @samp{@@} in index

@defindex BB

@macro Mac {arg}
\arg\@}
@end macro

@macro MacTwo {arg}
@{@}
@end macro

@BBindex @Mac{CCCC @@}

@BBindex @MacTwo{DDDD @@}
@printindex BB


@section Test of @code{@@synindex}

@defindex foo
@defindex bar

@synindex foo bar

@fooindex One
@barindex Two

Should be two entries, not one below.

@printindex bar


@chapter @code{@@set} and @code{@@value}

@section Another test of @t{@@value}

Underscores and hyphens in value

@set foo-bar_ neenaw

The value is @value{foo-bar_}.


@chapter Cross-references

Check commas surrounding page number:

@noindent
@xref{Target}, for more information (@code{@@xref})@*
@xref{Target} for more information@*
@xref{Target}	for more information@*
@xref{Target}
for more information@*
@xref{Target}.@*
@xref{Target}@ for more info.@*
@xref{Target}@
for more info.@*
@xref{Target}@*
for more info.@*
@xref{Target}@	for more info.@*
@xref{Target} --- for more info. (comma)@*
@xref{Target}@: --- for more info. (no comma)@*
See @ref{Target}, for more information (@code{@@ref})@*
See @ref{Target} for more information@*
See @ref{Target}.@*
(@pxref{Target}) (@code{@@pxref})@*
(@pxref{Target,, Hurricanes})

@node Target
@section Target

@chapter Copying and captions

@section Copying

@documentencoding UTF-8

@copying
This manual is for blah-de-blah.@*
Backslash \@*

Copyrite @copyright{} 201X@*
þ þ þ þ þ þ þ þ
@end copying

Now for the @@insertcopying:

@insertcopying


@section Captions


There's a float in this section.

@float Figure,fig:ex1
This is a float.

@caption{This is a caption.
Multiple paragraphs are allowed here.  Here are some ``special'' 
characters: \ à.

Paragraph breaks allowed.
}

@shortcaption{short caption text.}

This float should have a caption somewhere.
@end float

List of floats now:

@listoffloats Figure




@chapter Document encoding

@documentencoding UTF-8


Test of a few UTF-8 sequences.

xX, x < , s.t. x  y

AB=C

(spacing here doesn't matter because we're not in math mode)

Greek text:

Η Πρώτη σύνοδος της Κωνσταντινούπολης, γνωστή ως Β΄ οικουμενική, ήταν η 
εκκλησιαστική σύνοδος που διενεργήθηκε το 381 μ.Χ. και συγκλήθηκε από 
τον αυτοκράτορα Θεοδόσιο, μετά από προτροπή του Μελετίου Αντιοχείας.  
Στόχος της ήταν η εκκλησιαστική ειρήνευση, αλλά και η «επίλυση των 
αναφυέντων εν τη εκκλησία κρίσιμων θεολογικών και διοικητικών 
προβλημάτων».

(random text copied from Wikipedia)

double accent --- ταΐζω


@section Test of characters in section title

Check table of contents.

For PDF output, check the bookmarks pane in the reader.
(Currently plain ASCII approximations are used for the UTF-8 encoding.)

@section --- übersicht

@section --- @"Ubersicht

@section @{ @} @@ @{@ @} @arrow{} @atchar{} @lbracechar{}

This section should be called ``@{ @} @@ @{ @} @arrow{} @@ @{''.



@chapter PDF link colours

For PDF only.


Check that
colour change continues on next page
for @acronym{URL} split across pages,
and doesn't change the colour of the heading line.

Push down to end of page

par

@tex
\global\def\urlcolor{0.32 0.39 0.50}%
@end tex

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

@uref{aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/}

par



@bye