summaryrefslogtreecommitdiff
path: root/macros/latex/required/latexbug/latexbug.dtx
blob: 6f23da96aed8e6649613421f345f5f214897f503 (plain)
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
% \iffalse meta-comment
%
% Package latexbug for use with LaTeX2e
%
% Copyright 2016-2021
%
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file. 
% 
% This file is part of the Standard LaTeX (separate distribution) 
% ---------------------------------------------------------------
% 
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
%    http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX 
% version 2005/12/01 or later.
% 
% This file has the LPPL maintenance status "maintained".
% 
%
% \fi
%
% \title{The \texttt{latexbug} package\thanks{This file
%        has version number \fileversion, last
%        revised \filedate.}}
% \author{The \LaTeX{} Team}   ^^A Frank Mittelbach
% \date{\filedate}
%
% \MaintainedByLaTeXTeam{latex}
%
% \maketitle
%
%
% \section{Introduction}
%
% Software has bugs and \LaTeX{} unfortunately is no exception. If
% somebody encounters a bug then it helps if that bug gets reported to
% the right people so that the bug can be resolved (or a workaround
% documented or whatever is most appropriate). The problem is to know
% to whom to report the bug.
%
% The \LaTeX{} Project Team maintains a bug database for its own code
% base (which consists of the \LaTeX{} kernel and some packages that
% have been written by people in the \LaTeX{} Project
% Team). However, the \LaTeX{} universe consists of several thousand
% contributed packages maintained by individuals all over the
% world. And if a bug happens in one of those packages it doesn't help
% anybody if it is dumped at the \LaTeX{} Project's doorstep.
%
% For one, we can't actually change other people's code even if we are able to
% identify the issue. Furthermore we are only a few people and simply
% do not have the bandwidth to analyze bugs in other people's work.
%
% We have therefore written this little package called
% \texttt{latexbug} that should help in identifying the rightful
% addressee for a bug report. We ask that it will be loaded in any
% test file that is intended to be sent to the \LaTeX{} bug database
% as part of a bug report.
%
% The package will determine if the test file is in a suitable state
% to be sent to us or if it should be modified first or if it should be
% sent to somebody
% else because the bug is (likely) to be in code not maintained by the
% \LaTeX{} Project Team.
%
% Bug reports sent to the \LaTeX{} bug database
% without that prior verification are likely to
% get closed without being looked at at our end in the future.
%
%
%
% \section{The user interface}
%
% The user interface is simple: the package has no option and doesn't
% define any new commands to be used. All that is required is that the
% package is loaded as the very first step in the test file that shows
% the bug --- in other words before the \verb=\documentclass=.
% For that reason it
% must be loaded using \verb=\RequirePackage= instead of the usual
% \verb=\usepackage= that is used in the preamble of a document.
%
% Thus, a bug report test files should look like this:
% \begin{verbatim}
% \RequirePackage{latexbug}       % <- required first line
%                                 %    followed by:
% \documentclass{article}         % or some other class
%                                 %    followed by:
%   ...                           % <- code showing the bug ...
% \end{document}
% \end{verbatim}
%
% If the test file runs through (showing the bug) without any
% complains for \texttt{latexbug} then the test file is ready to be
% sent to the \LaTeX{} bug database. The procedure for uploading and
% the location is documented at
% \begin{quote}
%   \texttt{https://www.latex-project.org/bugs/}
% \end{quote}
% If \texttt{latexbug} does generate an error, however, then this
% error needs to be addressed first and the depending on the
% resolution the bug report may has to be sent to somebody else.
%
% An error is generated if the test file makes use of third-party code
% that is not maintained by the \LaTeX{} Project Team. For example, if
% the file would load \texttt{geometry} and \texttt{footmisc} you
% would see the following:
% \begin{verbatim}
% Package latexbug Error: Third-party file(s)
% (latexbug)                
% (latexbug)                This test file uses third-party file(s)
% (latexbug)                
% (latexbug)                ==============
% (latexbug)                geometry.sty  ->  Hideo Umeki 
% (latexbug)                    <latexgeometry [at] gmail [dot] com>
% (latexbug)                footmisc.sty
% (latexbug)                ==============
% (latexbug)                
% \end{verbatim}
% It then continues with advice to remove such third-party code from the
% test file. If that is not possible, because the bug goes away if a
% package is removed, then the problem is (most likely) with this
% package and the bug report should be sent to the maintainer of that
% package and not to the \LaTeX{} bug database.
% \begin{verbatim}
% (latexbug)                So you should contact the authors
% (latexbug)                of these files, not the LaTeX Team!
% (latexbug)                (Or remove the packages that load
% (latexbug)                them, if they are not necessary to
% (latexbug)                exhibit the problem).
% \end{verbatim}
% To make life somewhat easier \texttt{latexbug} will tell you the
% name of the maintainer (if we know it and have added it in) and if
% possible also the canonical bug address for the package (like in the
% case of \texttt{geometry}).
% If we don't have that information, you
% need to find it out for yourself by looking at the package
% documentation.
%
% There may be cases where third-party code is essential to exhibit
% a bug in core \LaTeX{} code maintained by the the \LaTeX{} Team. The
% error text therefore finishes off with the following sentence:
% \begin{verbatim}
% (latexbug)                If you think the bug is in core LaTeX
% (latexbug)                (as maintained by the LaTeX Team) but
% (latexbug)                these files are needed to demonstrate
% (latexbug)                the problem, please continue and mention
% (latexbug)                this explicitly in your bug report
% (latexbug)                (with an explanation why you think so).
% \end{verbatim}
% Please explain your reasoning why you think this is the case in
% detail as part of the bug report.
%
% \vspace*{1ex}
%
% It is also possible that \texttt{latexbug} doesn't generate an
% error, but issues a warning, that it has detected one or more
% packages, that have their own bug tracker. In that case the report
% should be made in the bug tracker of that package and not in the
% \LaTeXe{}, even if it is a package that is mainted by us!
%
% Other people look these bug tracker to search for known problems and
% thus it is best if yours is recorded in the right place.  Such a
% warning will look like this (we use \texttt{hyperref} as an
% example):
% \begin{verbatim}
% Package latexbug Warning: Special bug tracker!
% (latexbug)                
% (latexbug)                This test file uses the following file(s)
% (latexbug)                
% (latexbug)                ==============
% (latexbug)                hyperref.sty  ->  Report at: 
% (latexbug)                    https://github.com/latex3/hyperref/issues 
% (latexbug)                ==============
% (latexbug)                
% (latexbug)                Please note that these files have their own
% (latexbug)                bug tracker and your issue should therefore
% (latexbug)                be reported in the indicated repository.
% (latexbug)                
% (latexbug)                If they are not necessary to exhibit the problem,
% (latexbug)                remove them from your example and rerun it,
% (latexbug)                otherwise report the issue in the listed repository.
% (latexbug)                
% (latexbug)                If different repositories are listed, try to
% (latexbug)                select the most appropriate one (but don't worry
% (latexbug)                too much, if the choice is not clear to you).
% \end{verbatim}
%
%
%
% \vspace*{1ex}
%
% \begin{center}
%    \fbox{\fbox{\parbox{.6\textwidth}{\itshape Thank you for taking
%                        the time to report a bug and prepare a test
%                        file showing it!}}}
% \end{center}
%
% \vspace*{3ex}
%
%
% \subsection{A note on the database content in the package}
%
% When a document is run through \LaTeX{} it will load a number of
% files and bug reports that are to be sent to the \LaTeX{} Team should only
% load files that we maintain and not third-party packages.
%
% The database, if you want to call that, inside \texttt{latexbug} is
% simply a comma separated key value list consisting of file names
% \texttt{=} maintainer info. Most of the time the maintainer info is
% \texttt{us} or \texttt{us*} (meaning we maintain it, so the file is
% fine) or \texttt{ignore} (meaning we do not maintain it, but it is a
% file that is likely to appear for one or the other reason and we
% should accept such a bug report nonetheless).
%
% Any file loaded in the bug report not listed will show up in the
% error listing flagged as ``third-party'' code that should be removed
% as explained above.
%
% For a small number of popular third-party packages we have collected
% the name of the external maintainer and if available to us some
% extra info so that it is easier to send to the rightful addressee if
% you encounter a bug in such a third-party package. But to keep this
% manageable this is only done for a very small number of the 5000+
% packages out there (though we might add one or the other over time).
%
% It is however not impossible that we missed one or the other file
% that should have been listed as ``maintained by us'' but isn't and
% thus incorrectly generates an error. If you run into that problem or
% notice an omission of that sort, please send us a bug report or open
% an issue at the GitHub source of the package which is located at:
% \begin{quote}
%   \texttt{https://github.com/latex3/latexbug/}
% \end{quote}
%
%
% \StopEventually{\PrintIndex\PrintChanges}
%
% \section{The documentation driver file}
%
% The next bit of code contains the documentation driver file for
% \TeX{}, i.e., the file that will produce the documentation you are
% currently reading. It will be extracted from this file by the
% \texttt{docstrip} program.
%    \begin{macrocode}
%<*driver>
\RequirePackage{latexbug}
\documentclass{ltxdoc}
\GetFileInfo{latexbug.sty}
%\usepackage{geometry,footmisc,hyperref}  % uncomment for latexbug error
%\usepackage{xparse}                      % uncomment for latexbug error
\EnableCrossrefs
%\DisableCrossrefs    % Say \DisableCrossrefs if index is ready
%\OnlyDescription     % Comment out for implementation details
\begin{document}
   \DocInput{latexbug.dtx}
\end{document}
%</driver>
%    \end{macrocode}
%
% \section{The implementation}
%
%    \begin{macrocode}
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{latexbug}[2021/09/25 v1.0l Bug-classification]
%    \end{macrocode}
%
% \begin{macro}{\latexbug@empty}
% \begin{macro}{\latexbug@us}
% \begin{macro}{\latexbug@ustar}
% \begin{macro}{\latexbug@ignore}
%   Fixed text used in checking what actions to take with different files.
%    \begin{macrocode}
\def\latexbug@empty{}
\def\latexbug@us{us}
\def\latexbug@usstar{us*}
\def\latexbug@ignore{ignore}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\Contact}
%   A very simple piece of markup, really.
%    \begin{macrocode}
\def\Contact{\MessageBreak \@spaces}
%    \end{macrocode}
% \end{macro}
%
% The database of packages is set up in a group so we can throw away the
% loop command.
%    \begin{macrocode}
\begingroup
%    \end{macrocode}
%
% \begin{macro}{\latexbug@loop}
%   A simple loop set up which reads a known format for the file-to-maintainer
%   mapping. The trailing space is important (stripping it is not really worth
%   it for this very limited use case).
%    \begin{macrocode}
\long\def\latexbug@loop #1 = #2 #3, {% spaces matter
  \global\@namedef{latexbug@@#1}{{#2}{#3}}%
  \ifx\latexbug@empty#1\else\expandafter\latexbug@loop\fi}
%    \end{macrocode}
% \end{macro}
%
% A simple database of files. The value \texttt{us} means we accept
% bugs for it. We also take bug reports for \texttt{us*}
% (expl3 or other repositories we suport) entries, but
% they need to go to a different GitHub repository, so are handled separately
% (and only show up
% if there are no third-party packages).
% For the \texttt{latex3/latex3} repository just write \texttt{us*}, for others
% one need to specify the full details, e.g.,
%\begin{verbatim}
%  hyperref.sty = us* 
%                 \Contact https://github.com/latex3/hyperref/issues ,
%\end{verbatim}
%
% A value of
% \texttt{ignore} means that its not our code, but we understand that it may
% show up in legitimate test files and should therefore not trigger an error.
%
% Any file not in there will trigger an error if loaded and any file
% in there with some other value than \texttt{us} or \texttt{ignore}
% will also trigger an error displaying the value (which hopefully is
% the maintainers name). (Handling for \texttt{us*} means these files may
% not show up, depending on the nature of the use case.)
%
% \begin{quote} \itshape
%   The database format is somewhat fragile: one needs to have a space on both sides
%   of the equal sign  and before the comma (or one gets a nasty low-level error),
%   and names can't have
%   no-ascii characters in them, so they end up crippled (sorry for that).
% \end{quote}
%
%    \begin{macrocode}
\latexbug@loop
%--------------------------------- 
latexbug.sty = us ,
regression-test = us ,
%--------------------------------- base
alltt.sty = us ,
ansinew.def = us ,
applemac.def = us ,
article.cls = us ,
article.sty = us ,
ascii.def = us ,
atbegshi-ltx.sty = us ,
atveryend-ltx.sty = us ,
bezier.sty = us ,
bk10.clo = us ,
bk11.clo = us ,
bk12.clo = us ,
book.cls = us ,
book.sty = us ,
cp1250.def = us ,
cp1252.def = us ,
cp1257.def = us ,
cp437.def = us ,
cp437de.def = us ,
cp850.def = us ,
cp852.def = us ,
cp858.def = us ,
cp865.def = us ,
decmulti.def = us ,
doc-v3beta.sty = us ,
doc.sty = us ,
docstrip.tex = us ,
exscale.sty = us ,
fix-cm.sty = us ,
fixltx2e.sty = us ,
flafter.sty = us ,
fleqn.clo = us ,
fleqn.sty = us ,
fltrace.sty = us ,
fontenc.sty = us ,
fontmath.cfg = us ,
fontmath.ltx = us ,
fonttext.cfg = us ,
fonttext.ltx = us ,
graphpap.sty = us ,
hyphen.ltx = us ,
idx.tex = us ,
ifthen.sty = us ,
inputenc.sty = us ,
lablst.tex = us ,
latex.ltx = us ,
latex209.def = us ,
latexrelease.sty = us ,
latexsym.sty = us ,
latin1.def = us ,
latin10.def = us ,
latin2.def = us ,
latin3.def = us ,
latin4.def = us ,
latin5.def = us ,
latin9.def = us ,
lcyenc.dfu = us ,
leqno.clo = us ,
leqno.sty = us ,
letter.cls = us ,
letter.sty = us ,
lppl.tex = us ,
ltluatex.lua = us ,
ltluatex.lua = us ,
ltluatex.tex = us ,
ltluatex.tex = us ,
ltnews.cls = us ,
ltxcheck.tex = us ,
ltxdoc.cls = us ,
ltxguide.cls = us ,
ly1enc.dfu = us ,
macce.def = us ,
makeidx.sty = us ,
minimal.cls = us ,
newlfont.sty = us ,
next.def = us ,
nfssfont.tex = us ,
oldlfont.sty = us ,
omlcmm.fd = us ,
omlcmr.fd = us ,
omlenc.def = us ,
omllcmm.fd = us ,
omscmr.fd = us ,
omscmsy.fd = us ,
omsenc.def = us ,
omsenc.dfu = us ,
omslcmsy.fd = us ,
omxcmex.fd = us ,
omxlcmex.fd = us ,
openbib.sty = us ,
ot1cmdh.fd = us ,
ot1cmfib.fd = us ,
ot1cmfr.fd = us ,
ot1cmr.fd = us ,
ot1cmss.fd = us ,
ot1cmtt.fd = us ,
ot1cmvtt.fd = us ,
ot1enc.def = us ,
ot1enc.dfu = us ,
ot1lcmss.fd = us ,
ot1lcmtt.fd = us ,
ot2enc.dfu = us ,
ot4enc.def = us ,
preload.cfg = us ,
preload.ltx = us ,
proc.cls = us ,
proc.sty = us ,
report.cls = us ,
report.sty = us ,
sample2e.tex = us ,
sfonts.def = us ,
shortvrb.sty = us ,
showidx.sty = us ,
size10.clo = us ,
size11.clo = us ,
size12.clo = us ,
slides.cls = us ,
slides.def = us ,
slides.sty = us ,
small2e.tex = us ,
source2e.tex = us ,
source2edoc.cls = us ,
structuredlog.sty = us ,
syntonly.sty = us ,
t1cmdh.fd = us ,
t1cmfib.fd = us ,
t1cmfr.fd = us ,
t1cmr.fd = us ,
t1cmss.fd = us ,
t1cmtt.fd = us ,
t1cmvtt.fd = us ,
t1enc.def = us ,
t1enc.dfu = us ,
t1enc.sty = us ,
t1lcmss.fd = us ,
t1lcmtt.fd = us ,
t2aenc.dfu = us ,
t2benc.dfu = us ,
t2cenc.dfu = us ,
testpage.tex = us ,
texsys.cfg = us ,
textcomp-2018-08-11.sty = us ,
textcomp.sty = us ,
tracefnt.sty = us ,
ts1cmr.fd = us ,
ts1cmss.fd = us ,
ts1cmtt.fd = us ,
ts1cmvtt.fd = us ,
ts1enc.def = us ,
ts1enc.dfu = us ,
tuenc.def = us ,
tulmdh.fd = us ,
tulmr.fd = us ,
tulmss.fd = us ,
tulmssq.fd = us ,
tulmtt.fd = us ,
tulmvtt.fd = us ,
ucmr.fd = us ,
ucmss.fd = us ,
ucmtt.fd = us ,
ulasy.fd = us ,
ullasy.fd = us ,
utf8-2018.def = us ,
utf8.def = us ,
utf8enc.dfu = us ,
x2enc.dfu = us ,
%--------------------------------- tools
afterpage.sty = us ,
array-2016-10-06.sty = us ,
array-2020-02-10.sty = us ,
array.sty = us ,
bm.sty = us ,
calc.sty = us ,
dcolumn.sty = us ,
delarray.sty = us ,
e.tex = us ,
enumerate.sty = us ,
fontsmpl.sty = us ,
fontsmpl.tex = us ,
ftnright.sty = us ,
h.tex = us ,
hhline.sty = us ,
indentfirst.sty = us ,
layout.sty = us ,
longtable-2020-01-07.sty = us ,
longtable.sty = us ,
multicol-2017-04-11.sty = us ,
multicol.sty = us ,
q.tex = us ,
r.tex = us ,
rawfonts.sty = us ,
s.tex = us ,
shellesc.sty = us ,
showkeys.sty = us ,
somedefs.sty = us ,
tabularx.sty = us ,
thb.sty = us ,
thc.sty = us ,
thcb.sty = us ,
theorem.sty = us ,
thm.sty = us ,
thmb.sty = us ,
thp.sty = us ,
trace.sty = us ,
varioref-2016-02-16.sty = us ,
varioref.sty = us ,
verbatim.sty = us ,
verbtest.tex = us ,
x.tex = us ,
xr.sty = us ,
xspace.sty = us ,
%--------------------------------- babel (part supported by us)
UKenglish.sty = us ,
USenglish.sty = us ,
afrikaans.sty = us ,
albanian.sty = us ,
american.sty = us ,
austrian.sty = us ,
babel.def = us ,
babel.sty = us ,
bahasa.sty = us ,
bahasam.sty = us ,
basque.sty = us ,
blplain.tex = us ,
bplain.tex = us ,
breton.sty = us ,
british.sty = us ,
bulgarian.sty = us ,
catalan.sty = us ,
croatian.sty = us ,
czech.sty = us ,
danish.sty = us ,
dutch.sty = us ,
english.sty = us ,
esperanto.sty = us ,
estonian.sty = us ,
finnish.sty = us ,
francais.sty = us ,
galician.sty = us ,
germanb.sty = us ,
greek.sty = us ,
hebrew.sty = us ,
hyphen.cfg = us ,
icelandic.sty = us ,
interlingua.sty = us ,
irish.sty = us ,
italian.sty = us ,
latin.sty = us ,
lsorbian.sty = us ,
luababel.def = us ,
magyar.sty = us ,
naustrian.sty = us ,
ngermanb.sty = us ,
nil.ldf = us ,
norsk.sty = us ,
plain.def = us ,
polish.sty = us ,
portuges.sty = us ,
romanian.sty = us ,
russianb.sty = us ,
samin.sty = us ,
scottish.sty = us ,
serbian.sty = us ,
slovak.sty = us ,
slovene.sty = us ,
spanish.sty = us ,
swedish.sty = us ,
switch.def = us ,
turkish.sty = us ,
ukraineb.sty = us ,
usorbian.sty = us ,
welsh.sty = us ,
xebabel.def = us ,
%--------------------------------- graphics + graphics-def
color.cfg = us ,
color.sty = us ,
dvipdf.def = us ,
dvipdfmx.def = us ,
dvips.def = us ,
dvipsnam.def = us ,
dvipsone.def = us ,
dvisvgm.def = us ,
dviwin.def = us ,
emtex.def = us ,
epsfig.sty = us ,
graphics-2017-06-25.sty = us ,
graphics.cfg = us ,
graphics.sty = us ,
graphicx.sty = us ,
keyval.sty = us ,
lscape.sty = us ,
luatex.def = us ,
pctex32.def = us ,
pctexhp.def = us ,
pctexps.def = us ,
pctexwin.def = us ,
pdftex.def = us ,
rotating.sty = us ,
rotating.sty = us ,
tcidvi.def = us ,
trig.sty = us ,
truetex.def = us ,
xetex.def = us ,
%--------------------------------- mfnfss
oldgerm.sty = us ,
ot1panr.fd = us ,
ot1pss.fd = us ,
pandora.sty = us ,
uyfrak.fd = us ,
uygoth.fd = us ,
uyinit.fd = us ,
uyswab.fd = us ,
%--------------------------------- firstaid
everysel-ltx.sty = us ,
filehook-ltx.sty = us ,
%--------------------------------- amsmath
amsbsy.sty = us ,
amscd.sty = us ,
amsgen.sty = us ,
amsmath-2018-12-01.sty = us ,
amsmath.sty = us ,
amsopn.sty = us ,
amstex.sty = us ,
amstext.sty = us ,
amsxtra.sty = us ,
%--------------------------------- amscls (AMS)
amsart.cls = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amsbook.cls = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amsbooka.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amsdtx.cls = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amsldoc.cls = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amsmidx.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amsproc.cls = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amsthm.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
upref.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
%--------------------------------- amsfonts (AMS)
amsfonts.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
amssymb.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
cmmib57.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
eucal.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
eufrak.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
euscript.sty = American Mathematical Society \Contact tech-support [at] ams [dot] org ,
ueuex.fd = ignore ,
ueuf.fd = ignore ,
ueur.fd = ignore ,
ueus.fd = ignore ,
umsa.fd = ignore ,
umsb.fd = ignore ,
%--------------------------------- psnfss
8rbch.fd = us ,
8rpag.fd = us ,
8rpbk.fd = us ,
8rpcr.fd = us ,
8rphv.fd = us ,
8rpnc.fd = us ,
8rppl.fd = us ,
8rptm.fd = us ,
8rput.fd = us ,
8rpzc.fd = us ,
avant.sty = us ,
bookman.sty = us ,
chancery.sty = us ,
charter.sty = us ,
courier.sty = us ,
helvet.sty = us ,
mathpazo.sty = us ,
mathpple.sty = us ,
mathptm.sty = us ,
mathptmx.sty = us ,
newcent.sty = us ,
omlbch.fd = us ,
omlpag.fd = us ,
omlpbk.fd = us ,
omlpcr.fd = us ,
omlphv.fd = us ,
omlpnc.fd = us ,
omlppl.fd = us ,
omlptm.fd = us ,
omlptmcm.fd = us ,
omlput.fd = us ,
omlpzc.fd = us ,
omlzplm.fd = us ,
omlzpple.fd = us ,
omlztmcm.fd = us ,
omsbch.fd = us ,
omspag.fd = us ,
omspbk.fd = us ,
omspcr.fd = us ,
omsphv.fd = us ,
omspnc.fd = us ,
omsppl.fd = us ,
omsptm.fd = us ,
omsput.fd = us ,
omspzc.fd = us ,
omspzccm.fd = us ,
omszplm.fd = us ,
omszpple.fd = us ,
omsztmcm.fd = us ,
omxpsycm.fd = us ,
omxzplm.fd = us ,
omxzpple.fd = us ,
omxztmcm.fd = us ,
ot1bch.fd = us ,
ot1pag.fd = us ,
ot1pbk.fd = us ,
ot1pcr.fd = us ,
ot1phv.fd = us ,
ot1pnc.fd = us ,
ot1ppl.fd = us ,
ot1pplj.fd = us ,
ot1pplx.fd = us ,
ot1ptm.fd = us ,
ot1ptmcm.fd = us ,
ot1put.fd = us ,
ot1pzc.fd = us ,
ot1zplm.fd = us ,
ot1zpple.fd = us ,
ot1ztmcm.fd = us ,
palatino.sty = us ,
pifont.sty = us ,
t1bch.fd = us ,
t1pag.fd = us ,
t1pbk.fd = us ,
t1pcr.fd = us ,
t1phv.fd = us ,
t1pnc.fd = us ,
t1ppl.fd = us ,
t1pplj.fd = us ,
t1pplx.fd = us ,
t1ptm.fd = us ,
t1put.fd = us ,
t1pzc.fd = us ,
times.sty = us ,
ts1bch.fd = us ,
ts1pag.fd = us ,
ts1pbk.fd = us ,
ts1pcr.fd = us ,
ts1phv.fd = us ,
ts1pnc.fd = us ,
ts1ppl.fd = us ,
ts1pplj.fd = us ,
ts1pplx.fd = us ,
ts1ptm.fd = us ,
ts1put.fd = us ,
ts1pzc.fd = us ,
ufplm.fd = us ,
ufplmbb.fd = us ,
upsy.fd = us ,
upzd.fd = us ,
utopia.sty = us ,
%--------------------------------- l3experimental
l3benchmark.sty = us* ,
l3bitset.sty = us* ,
l3draw.sty = us* ,
l3graphics.sty = us* ,
l3sys-shell.sty = us* ,
%--------------------------------- l3packages
xparse-2018-04-12.sty = us* ,
xparse-2020-10-01.sty = us* ,
xparse-generic.tex = us* ,
xparse.ltx = us* ,
xfp.sty = us* ,
%--------------------------------- l3kernel / expl3
expl3-code.tex = ignore ,
expl3.ltx  = ignore ,
expl3.lua = us* ,
expl3.sty  = us* ,
l3backend-dvipdfmx.def = ignore ,
l3backend-dvips.def = ignore ,
l3backend-dvisvgm.def = ignore ,
l3backend-luatex.def = ignore ,
l3backend-pdfmode.def = ignore ,       % -- old
l3backend-pdftex.def = ignore ,
l3backend-xdvipdfmx.def = ignore ,     % -- old
l3backend-xetex.def = ignore ,
l3debug.def = us* ,
l3deprecation.def = ignore ,
l3doc.cls = us* ,
l3docstrip.tex = us ,
l3keys2e.sty = us* ,
l3str-enc-iso88591.def = us* ,
l3str-enc-iso885910.def = us* ,
l3str-enc-iso885911.def = us* ,
l3str-enc-iso885913.def = us* ,
l3str-enc-iso885914.def = us* ,
l3str-enc-iso885915.def = us* ,
l3str-enc-iso885916.def = us* ,
l3str-enc-iso88592.def = us* ,
l3str-enc-iso88593.def = us* ,
l3str-enc-iso88594.def = us* ,
l3str-enc-iso88595.def = us* ,
l3str-enc-iso88596.def = us* ,
l3str-enc-iso88597.def = us* ,
l3str-enc-iso88598.def = us* ,
l3str-enc-iso88599.def = us* ,
xcoffins.sty = us* ,
xfrac.sty = us* ,
xgalley.sty = us* ,
xparse.sty = us* ,
xtemplate.sty = us* ,
%---------------------------------  TAGGING PROJECT
pdfmanagement-testphase.sty = us*
               \Contact https://github.com/latex3/pdfresources/issues
pdfmanagement-testphase.ltx = ignore ,
%---------------------------------  EXTERNAL PACKAGES SUPPORTED BY THE LaTeX Team
hluatex.def  = ignore ,               
hpdftex.def  = ignore ,
hxetex.def   = ignore ,               
hyperref.cfg = ignore ,
hyperref.sty = us* 
               \Contact https://github.com/latex3/hyperref/issues ,
hyperref-langpatches.def = ignore ,
pd1enc.def   = ignore ,
puenc.def    = ignore ,
xcolor.sty = us* 
      \Contact https://github.com/latex3/xcolor/issues ,
%---------------------------------  PACKAGES BY MEMBERS OF THE LaTeX Team
beamer.cls   = Joseph Wright
               \Contact https://github.com/josephwright/beamer/issues ,
dashundergaps.sty = Frank Mittelbach 
              \Contact https://github.com/FrankMittelbach/fmitex-dashundergaps/issues ,
fewerfloatpages.sty = Frank Mittelbach 
              \Contact https://github.com/FrankMittelbach/fmitex-fewerfloatpages ,
fontspec.sty = Will Robertson
               \Contact https://github.com/wspr/fontspec/issues ,
luatex85.sty   = Joseph Wright
               \Contact https://github.com/josephwright/luatex85/issues ,
parskip.sty = Frank Mittelbach
               \Contact https://github.com/FrankMittelbach/fmitex-parskip/issues ,
siunitx.sty  = Joseph Wright
               \Contact https://github.com/josephwright/siunitx/issues ,
widows-and-orphans.sty = Frank Mittelbach 
               \Contact https://github.com/FrankMittelbach/fmitex-widows-and-orphans/issues ,
%---------------------------------  USEFUL FOR BUG REPORTS
blindtext.sty = ignore ,
etoolbox.sty = ignore ,
kantlipsum.sty   = ignore ,
lipsum.ltd   = ignore ,
lipsum.sty   = ignore ,
%---------------------------------  EXTERNALLY SUPPORTED
%
geometry.sty = Hideo Umeki
               \Contact <latexgeometry [at] gmail [dot] com> ,
%--------------------------------- babel external
basque.ldf      = Juan M. Aguirregabiria
                  \Contact <http://tp.lc.ehu.es/jma.html> ,
belarusian.ldf  = Aleksey Novodvorsky and Andrew Shadura
                  \Contact <andrew [at] shadura [dot] me> ,
bosnian.ldf     = Samir Halilcevic %% Halilčević
                  \Contact <samir [dot] halilcevic [at] fet [dot] ba> ,
bulgarian.ldf   = Georgi N. Boshnakov
                  \Contact <Georgi Boshnakov [at] manchester [dot] ac [dot] uk> ,
croatian.ldf    = Ivan Kokan
                  \Contact <ivan [dot] kokan [at] gmail [dot] com> ,
estonian.ldf    = Jaan Vajakas
                  \Contact <jaanvajakas [at] hot [dot] ee> ,
frenchb.ldf     = Daniel Flipo
                  \Contact <daniel [dot] flipo [at] free [dot] fr> ,
friulan.ldf     = Claudio Beccari
                  \Contact <claudio [dot] beccari [at] gmail [dot] com> ,
georgian.ldf    = Levan Shoshiashvili
                  \Contact <shoshia [at] hotmail [dot] com> ,
austrian.ldf    = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
german.ldf      = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
germanb.ldf     = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
naustrian.ldf   = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
ngerman.ldf     = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
ngermanb.ldf    = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
nswissgerman.ldf = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
swissgerman.ldf = Juergen Spitzmueller
                  \Contact <juergen [at] spitzmueller [dot] org> ,
greek.ldf       = Guenter Milde
                  \Contact <milde [at] users [dot] sf [dot] net> ,
magyar.ldf      = Peter Szabo %% Péter Szabó
                  \Contact <http://www.math.bme.hu/latex/> ,
italian.ldf     = Claudio Beccari
                  \Contact <claudio [dot] beccari [at] gmail [dot] com> ,
japanese.ldf    = Japanese TEX Development Community
                  \Contact <https://github.com/texjporg/babel-japanese> ,
latin.ldf       = Claudio Beccari
                  \Contact <claudio [dot] beccari [at] gmail [dot] com> ,
macedonian.ldf  = Stojan Trajanovski
                  \Contact <stojan [dot] trajanovski [at] gmail [dot] com> ,
occitan.ldf     = Cedric Valmary %% Cédric Valmary
                  \Contact <cvalmary [at] yahoo [dot] fr> ,
piedmontese.ldf = Claudio Beccari
                  \Contact <claudio [dot] beccari [at] gmail [dot] com> ,
pinyin.ldf      = Werner Lemberg
                  \Contact <wl [at] gnu [dot] org> ,
romansh.ldf     = Claudio Beccari
                  \Contact <claudio [dot] beccari [at] gmail [dot] com> ,
russain.ldf     = Igor A [dot]  Kotelnikov
                  \Contact <kia999 [at] mail [dot] ru> ,                %  -- old?
serbianc.ldf    = Filip Brcic
                  \Contact <brcha [at] users [dot] sourceforge [dot] net> ,
spanglish.ldf   = J [dot]  Luis Rivera
                  \Contact <jlrn77 [at] gmail [dot] com> ,              %  -- old?
spanish.ldf     = Javier Bezos
                  \Contact <http://www.texnia.com/contact.html> ,
thaicjk.ldf     = Werner Lemberg
                  \Contact <wl [at] gnu [dot] org> ,
ukraineb.ldf    = Sergiy Ponomarenko
                  \Contact <sergiy [dot] ponomarenko [at] gmail [dot] com> ,
vietnamese.ldf  = Werner Lemberg
                  \Contact <wl [at] gnu [dot] org> ,
%--------------------------------- LAST LINE
{\latexbug@empty} = {} ,
%    \end{macrocode}
%
% Keep the data but throw away the loop function.
%    \begin{macrocode}
\endgroup
%    \end{macrocode}
%
% \begin{macro}{\latexbug@addtofilelist}
%   Save the kernel version of \cs{@addtofilelist}.
%    \begin{macrocode}
\let\latexbug@addtofilelist\@addtofilelist
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\latexbug@zzzz}
% \begin{macro}{\latexbug@own}
%   Storage for third-party files and those from the \LaTeX3 set on GitHub.
%    \begin{macrocode}
\def\latexbug@zzzz{}
\def\latexbug@own{}
%    \end{macrocode}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\latexbug@process@table}
% \begin{macro}{\process@table}
%   A hook into a convenient place in the document set up: the
%   initialization of NFSS during the \cs{document} macro. If either
%   \cs{latexbug@zzzz} or \cs{latexbug@own} have any content then there is
%   a message to issue, it's just a question of deciding which one.
%    \begin{macrocode}
\let\latexbug@process@table\process@table
\def\process@table{\global\let\@addtofilelist\latexbug@addtofilelist
  \latexbug@process@table
  \ifx\latexbug@zzzz\latexbug@empty
    \ifx\latexbug@own\latexbug@empty
    \else
      \typeout{}%
      \PackageWarningNoLine{latexbug}%
        {Special bug tracker!\MessageBreak
\MessageBreak
This test file uses the following file(s)\MessageBreak
\MessageBreak
        ==============\MessageBreak
        \latexbug@own
        ==============\MessageBreak
        \MessageBreak
Please note that these files have their own\MessageBreak
bug tracker and your issue should therefore\MessageBreak
be reported in the indicated repository.\MessageBreak
        \MessageBreak
If they are not necessary to exhibit the problem,\MessageBreak
remove them from your example and rerun it,\MessageBreak
otherwise report the  issue in the listed repository.\MessageBreak
        \MessageBreak
If different repositories are listed, try to\MessageBreak
select the most appropriate one (but don't worry\MessageBreak
too much, if the choice is not clear to you)}%
      \typeout{}%
    \fi
  \else
      \PackageError{latexbug}%
                   {Third-party file(s)\MessageBreak
\MessageBreak
This test file uses third-party file(s)\MessageBreak
\MessageBreak
        ==============\MessageBreak
        \latexbug@zzzz
        ==============\MessageBreak
        \MessageBreak
So you should contact the authors\MessageBreak
of these files, not the LaTeX Team!\MessageBreak
(Or remove the packages that load\MessageBreak
them, if they are not necessary to\MessageBreak
exhibit the problem).\MessageBreak
\MessageBreak
If you think the bug is in core LaTeX\MessageBreak
(as maintained by the LaTeX Team) but\MessageBreak
these files are needed to demonstrate\MessageBreak
the problem, please continue and mention\MessageBreak
this explicitly in your bug report\MessageBreak
(with an explanation why you think so)}{Please 
                     correct your test file prior
                     to submitting the bug report.\MessageBreak
                     Otherwise it is likely to be rejected!}%
  \fi
}  
%    \end{macrocode}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\@addtofilelist}
% \begin{macro}{\latexbug@iftoplevel}
%   First, a test to see if we are at the top level: there's no need to
%   test dependencies of packages. Assuming we are doing a check, the aim
%   is to see if the current name is known, and if it is whether it fits into
%   one of our special cases. If it's one of the \LaTeX3 GitHub packages it
%   gets recorded in a dedicated space. Third-party package can also have
%   information about where to report issues: this is all stored for reporting
%   later.
%    \begin{macrocode}
\def\@addtofilelist#1{%
  \expandafter\latexbug@iftoplevel\@currnamestack {}\@nil
  \begingroup
    \xdef\latexbug@x{#1}% TODO: one-level sanitize
    \expandafter
    \ifx\csname latexbug@@\latexbug@x\endcsname\relax
      \def\latexbug@y{}%
    \else
%    \end{macrocode}
%    \cs{latexbug@y} will contain either on of the keywords
%    \texttt{us} or \texttt{us*} or \texttt{ignore} or it will contain
%    the start part of the third-party information, \cs{latexbug@z}
%    contains the rest (if anything), the space between the two is
%    lost and needs to be reinserted.
%    \begin{macrocode}
      \xdef\latexbug@y{\expandafter\expandafter\expandafter
        \@firstoftwo\csname latexbug@@\latexbug@x\endcsname}%
      \xdef\latexbug@z{\expandafter\expandafter\expandafter
        \@secondoftwo\csname latexbug@@\latexbug@x\endcsname}%
    \fi
    \ifx\latexbug@y\latexbug@us\else
      \ifx\latexbug@y\latexbug@usstar
        \begingroup
          \let\MessageBreak\relax
          \xdef\latexbug@own{%
            \latexbug@own\latexbug@x
            \space\space -> \space Report at:
        \ifx\latexbug@z\@empty
           \Contact https://github.com/latex3/latex3/issues
        \else
          \latexbug@z
        \fi
            \MessageBreak
          }%
        \endgroup
      \else
        \ifx\latexbug@y\latexbug@ignore\else
           {\let\MessageBreak\relax
             \xdef\latexbug@zzzz{\latexbug@zzzz\latexbug@x
               \ifx\latexbug@y\latexbug@empty\else
                 \space\space -> \space \latexbug@y
                                 \space \latexbug@z
               \fi
               \MessageBreak}}%
        \fi
      \fi
    \fi
    \endgroup
  \fi
  \latexbug@addtofilelist{#1}}
\def\latexbug@iftoplevel #1#2\@nil{%
  \def\next{#1}%
  \ifx\next\@empty
}
\endinput
%</package>
%    \end{macrocode}
% \end{macro}
% \end{macro}
%
% \Finale
%