You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tex-compiler/texmf-dist/tex/latex/latexbug/latexbug.sty

667 lines
18 KiB

%%
%% This is file `latexbug.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% latexbug.dtx (with options: `package')
%%
%% This is a generated file.
%%
%% The source is maintained by the LaTeX Project team and bug
%% reports for it can be opened at
%% http://latex-project.org/bugs/
%% or
%% https://github.com/latex3/latexbug/
%%
%% Copyright 2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
%% This file was generated from file(s) of the Standard LaTeX `latexbug' module.
%% -----------------------------------------------------------------------------
%%
%% 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.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{latexbug}[2019/10/15 v1.0g Bug-classification]
\def\latexbug@empty{}
\def\latexbug@us{us}
\def\latexbug@usstar{us*}
\def\latexbug@ignore{ignore}
\def\Contact{\MessageBreak \@spaces}
\begingroup
\long\def\latexbug@loop #1 = #2 , {% spaces matter
\global\@namedef{latexbug@@#1}{#2}%
\ifx\latexbug@empty#1\else\expandafter\latexbug@loop\fi}
\latexbug@loop
latexbug.sty = us ,
regression-test = us ,
alltt.sty = us ,
ansinew.def = us ,
applemac.def = us ,
article.cls = us ,
article.sty = us ,
ascii.def = 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.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 ,
latexbug.tex = 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.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 ,
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.sty = us ,
tracefnt.sty = us ,
ts1cmr.fd = us ,
ts1cmss.fd = us ,
ts1cmtt.fd = us ,
ts1cmvtt.fd = us ,
ts1enc.def = us ,
ts1enc.dfu = us ,
ucmr.fd = us ,
ucmss.fd = us ,
ucmtt.fd = us ,
ulasy.fd = us ,
ullasy.fd = us ,
utf8-test.tex = us ,
utf8.def = us ,
utf8enc.dfu = us ,
utf8test.tex = us ,
x2enc.dfu = us ,
afterpage.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.sty = us ,
multicol.sty = us ,
q.tex = us ,
r.tex = us ,
rawfonts.sty = us ,
s.tex = 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.sty = us ,
verbatim.sty = us ,
verbtest.tex = us ,
x.tex = us ,
xr.sty = us ,
xspace.sty = 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 ,
color.cfg = us ,
color.sty = us ,
dvipdf.def = us ,
dvipdfmx.def = us ,
dvips.def = us ,
dvipsnam.def = us ,
dvipsone.def = us ,
dviwin.def = us ,
emtex.def = us ,
epsfig.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 ,
pdftex.def = us ,
rotating.sty = us ,
tcidvi.def = us ,
trig.sty = us ,
truetex.def = us ,
xetex.def = us ,
oldgerm.sty = us ,
ot1panr.fd = us ,
ot1pss.fd = us ,
pandora.sty = us ,
uyfrak.fd = us ,
uygoth.fd = us ,
uyinit.fd = us ,
uyswab.fd = us ,
amsbsy.sty = us ,
amscd.sty = us ,
amsgen.sty = us ,
amsmath.sty = us ,
amsopn.sty = us ,
amstex.sty = us ,
amstext.sty = us ,
amsxtra.sty = us ,
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.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 ,
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 ,
expl3.sty = us* ,
l3sort.sty = us* ,
l3regex.sty = us* ,
l3tl-analysis.sty = us* ,
xfrac.sty = us* ,
xparse.sty = us* ,
xtemplate.sty = us* ,
xfrac.sty = us* ,
xcoffins.sty = us* ,
xgalley.sty = us* ,
l3keys2e.sty = us* ,
expl3-code.tex = ignore ,
l3deprecation.def = ignore ,
l3backend-dvipdfmx.def = ignore ,
l3backend-dvips.def = ignore ,
l3backend-dvisvgm.def = ignore ,
l3backend-pdfmode.def = ignore ,
l3backend-xdvipdfmx.def = ignore ,
hluatex.def = ignore ,
hpdftex.def = ignore ,
hxetex.def = ignore ,
hyperref.cfg = ignore ,
hyperref.sty = LaTeX Team
\Contact https://github.com/latex3/hyperref/issues ,
pd1enc.def = ignore ,
puenc.def = ignore ,
blindtext.sty = ignore ,
etoolbox.sty = ignore ,
kantlipsum.sty = ignore ,
lipsum.ltd = ignore ,
lipsum.sty = ignore ,
beamer.cls = Joseph Wright
\Contact https://github.com/josephwright/beamer/issues ,
fontspec.sty = Will Robertson
\Contact https://github.com/wspr/fontspec/issues ,
geometry.sty = Hideo Umeki
\Contact <latexgeometry [at] gmail [dot] com> ,
luatex85.sty = Joseph Wright
\Contact https://github.com/josephwright/luatex85/issues ,
siunitx.sty = Joseph Wright
\Contact https://github.com/josephwright/siunitx/issues ,
basque.ldf = Juan M. Aguirregabiria
\Contact <http://tp.lc.ehu.es/jma.html> ,
belarusian.ldf = Aleksey Novodvorsky, 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> ,
serbianc.ldf = Filip Brcic
\Contact <brcha [at] users [dot] sourceforge [dot] net> ,
spanglish.ldf = J [dot] Luis Rivera
\Contact <jlrn77 [at] gmail [dot] com> ,
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] pono­marenko [at] gmail [dot] com> ,
vietnamese.ldf = Werner Lemberg
\Contact <wl [at] gnu [dot] org> ,
{\latexbug@empty} = {} ,
\endgroup
\let\latexbug@addtofilelist\@addtofilelist
\def\latexbug@zzzz{}
\def\latexbug@expl{}
\let\latexbug@process@table\process@table
\def\process@table{\global\let\@addtofilelist\latexbug@addtofilelist
\latexbug@process@table
\ifx\latexbug@zzzz\latexbug@empty
\ifx\latexbug@expl\latexbug@empty
\else
\PackageError{latexbug}%
{LaTeX3 file(s)\MessageBreak
\MessageBreak
This test files uses the LaTeX3 file(s)\MessageBreak
\MessageBreak
==============\MessageBreak
\latexbug@expl
==============\MessageBreak
\MessageBreak
You should report bugs in these packages\MessageBreak
at the LaTeX3 GitHub site,\MessageBreak
https://github.com/latex3/latex3/issues\MessageBreak
(Or remove them from your example,\MessageBreak
if they are not necessary to\MessageBreak
exhibit the problem).\MessageBreak
}{Please correct your test file prior
to submitting the bug report.\MessageBreak
Otherwise it is likely to be rejected!}%
\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
}
\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
\xdef\latexbug@y{\csname latexbug@@\latexbug@x\endcsname}%
\fi
\ifx\latexbug@y\latexbug@us\else
\ifx\latexbug@y\latexbug@usstar
\begingroup
\let\MessageBreak\relax
\xdef\latexbug@expl{%
\latexbug@expl\latexbug@x
\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\fi
\MessageBreak}}%
\fi
\fi
\fi
\endgroup
\fi
\latexbug@addtofilelist{#1}}
\def\latexbug@iftoplevel #1#2\@nil{%
\def\next{#1}%
\ifx\next\@empty
}
\endinput
%%
%% End of file `latexbug.sty'.