LaTeXML
view release on metacpan or search on metacpan
lib/LaTeXML/Package/latexml.sty.ltxml view on Meta::CPAN
DefKeyVal('LTXML', 'absorblimit', 'Number', '', code => sub {
$LaTeXML::ABSORB_LIMIT = int(ToString($_[1]));
return; });
DefKeyVal('LTXML', 'pushbacklimit', 'Number', '', code => sub {
$LaTeXML::PUSHBACK_LIMIT = int(ToString($_[1]));
return; });
ProcessOptions(inorder => 1, keysets => ['LTXML']);
#======================================================================
# From latexml.sty
# Making these all be links, every time, seems in hindsight rather obnoxious.
# OTOH, would be nice to have an idiom to make (some of) them be links; or only the first one?
# [does this really belong here? or should this be disableable?]
DefConstructor('\URL[] Verbatim', "<ltx:ref href='#href'>?#1(#1)(#href)</ltx:ref>",
properties => sub { (href => CleanURL($_[2])); });
DefMacro('\XML', '\textsc{xml}'); # '\URL[\texttt{XML}]{http://www.w3.org/XML/}');
DefMacro('\SGML', '\textsc{sgml}'); # '\URL[\texttt{HTML}]{http://www.w3.org/MarkUp/SGML/}');
DefMacro('\HTML', '\textsc{html}'); #'\URL[\texttt{HTML}]{http://www.w3.org/html/}');
DefMacro('\XHTML', '\textsc{xhtml}'); #'\URL[\texttt{XHTML}]{http://www.w3.org/TR/xhtml11/}');
DefMacro('\XSLT', '\textsc{xslt}'); # '\URL[\texttt{XSLT}]{http://www.w3.org/Style/XSL/}');
DefMacro('\CSS', '\textsc{css}'); #'\URL[\texttt{CSS}]{http://www.w3.org/Style/CSS/}');
( run in 0.544 second using v1.01-cache-2.11-cpan-71847e10f99 )