This file is indexed.

/usr/share/doc/libghc-texmath-doc/examples/cgi/texmath.xhtml is in libghc-texmath-doc 0.6.5.2-1build1.

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
<?xml version='1.0' ?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="application/xhtml+xml; charset=UTF-8" http-equiv="Content-Type" />
    <style type="text/css">
      <![CDATA[
      div#result { width : 31em; }
      div#result math { font-size: medium; border: 1px solid red; padding: 1em; margin: 1em; }
      pre#xml { font-size: small; color: blue; }
      ]]>
    </style>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
      <![CDATA[
      $(document).ready(function(){
        $('#convert').click(function() {
          $.getJSON("/cgi-bin/texmath-cgi", { 'latexFormula' : $('#latexFormula').val()
                                            , 'macros' : $('#macros').val() },
            function(result){
                   if (result.success) {
                     if ($.browser.mozilla) {
                       $('#result').html(result.mathml);
                       } else {
                       $('#result').html('<p>Use Firefox to see the rendered MathML</p>');
                       };
                     $('#xml').text(result.mathml); 
                     } else {
                     $('#result').html('');
                     $('#xml').text(result.error);
                     };
                   })
            });
        });
  ]]>
  </script>
  </head>
  <body>
  <h1>LaTeX to MathML converter</h1>
  <label for="latexFormula">Enter a LaTeX formula here:</label><br/>
  <textarea name="latexFormula" rows="8" cols="60" id="latexFormula">\phi_n(\kappa) =
 \frac{1}{4\pi^2\kappa^2} \int_0^\infty
 \frac{\sin(\kappa R)}{\kappa R}
 \frac{\partial}{\partial R}
 \left[R^2\frac{\partial D_n(R)}{\partial R}\right]\,dR
  </textarea><br/>
  <label for="latexFormula">Enter your macros (\newcommand, \renewcommand) here:</label><br/>
  <textarea name="macros" rows="8" cols="60" id="macros">
\renewcommand{\sin}{\mathbf{sin}}
  </textarea><br/>
  <input type="submit" id="convert" value="Convert" /> using
  <a href="http://github.com/jgm/texmath/tree/master">texmath</a>
  <div id="result"></div>
  <pre id="xml"></pre>
  </body>
</html>