/usr/share/perl5/LaTeXML/Package/caption.sty.ltxml is in latexml 0.8.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | # -*- mode: Perl -*-
# /=====================================================================\ #
# | caption.sty | #
# | Implementation for LaTeXML | #
# |=====================================================================| #
# | Part of LaTeXML: | #
# | Public domain software, produced as part of work done by the | #
# | United States Government & not subject to copyright in the US. | #
# |---------------------------------------------------------------------| #
# | Bruce Miller <bruce.miller@nist.gov> #_# | #
# | http://dlmf.nist.gov/LaTeXML/ (o o) | #
# \=========================================================ooo==U==ooo=/ #
package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;
# Basically all of this is ignorable (other than needing the macros defined).
# In principle, we could make use of some of the fonts...
#RequirePackage('ragged2e');
#RequirePackage('keyval');
DefMacro('\captionsetup[]{}', Tokens());
DefMacro('\DeclareCaptionStyle{}[]{}', Tokens());
DefMacro('\DeclareCaptionLabelFormat{}{}', Tokens());
DefMacro('\DeclareCaptionLabelSeparator{}{}', Tokens());
DefMacro('\DeclareCaptionFont{}{}', Tokens());
DefMacro('\DeclareCaptionFormat{}{}', Tokens());
DefMacro('\DeclareCaptionJustification{}{}', Tokens());
DefMacro('\DeclareCaptionOption{}{}', Tokens());
DefMacro('\DeclareCaptionPackage{}', Tokens());
DefMacro('\bothIfFirst{}{}', sub {
my ($gullet, $first, $second) = @_;
($first->unlist ? ($first->unlist, $second->unlist) : ()); });
DefMacro('\bothIfSecond{}{}', sub {
my ($gullet, $first, $second) = @_;
($second->unlist ? ($first->unlist, $second->unlist) : ()); });
DefMacro('\AtBeginCaption{}', Tokens());
DefMacro('\AtEndCaption{}', Tokens());
DefMacro('\ContinuedFloat', Tokens());
DefMacro('\ProcessOptionsWithKV{}', Tokens());
DefMacro('\captionfont', Tokens());
DefMacro('\captionsize', Tokens());
DefRegister('\captionparindent' => Dimension(0));
DefRegister('\captionindent' => Dimension(0));
DefRegister('\captionhangindent' => Dimension(0));
DefRegister('\captionmargin' => Dimension(0));
DefRegister('\captionwidth' => Dimension(0));
DefMacro('\captionof OptionalMatch:* {}', '#1');
DefMacro('\clearcaptionsetup', Tokens());
DefMacro('\rotcaption', Tokens());
DefMacro('\showcaptionsetup[]{}', Tokens());
1;
|