This file is indexed.

/usr/share/doc/python-plastex-doc/html/sect0016.html is in python-plastex-doc 0.9.2-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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="generator" content="plasTeX" />
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>plasTeX — A Python Framework for Processing LaTeX Documents: Generating Vector Images</title>

<link href="sect0017.html" title="Static Images" rel="next" />
<link href="sect0015.html" title="Generating Images" rel="prev" />
<link href="sec-renderable.html" title="Renderable Objects" rel="up" />
<link rel="stylesheet" href="styles/styles.css" />
</head>
<body>

<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0015.html" title="Generating Images"><img alt="Previous: Generating Images" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sec-renderable.html" title="Renderable Objects"><img alt="Up: Renderable Objects" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0017.html" title="Static Images"><img alt="Next: Static Images" border="0" src="icons/next.gif" width="32" height="32" /></a></td>

<td class="navtitle" align="center">plasTeX — A Python Framework for Processing LaTeX Documents</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>


<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>

<div class="breadcrumbs">
<span>
<span>
<a href="index.html">plasTeX — A Python Framework for Processing LaTeX Documents</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sect0010.html">Renderers</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sec-renderable.html">Renderable Objects</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">Generating Vector Images</b>
</span>
</span>
<hr />
</div>

<div><h2 id="a0000000017">5.2.4 Generating Vector Images</h2>
<p>If you have a vector imager configured (such as dvisvg or dvisvgm), you can generate a vector version of the requested image as well as a bitmap. The nice thing about vector versions of images is that they can scale infinitely and not loose resolution. The bad thing about them is that they are not as well supported in the real world as bitmaps. </p><p>Generating a vector image is just as easy as generating a bitmap image, you simply access the <tt class="ttfamily">vectorImage</tt> property of the node that you want an image of. This will return an <tt class="ttfamily">plasTeX.Imagers.Image</tt> instance that corresponds to the vector image. A bitmap version of the same image can be accessed through the <tt class="ttfamily">image</tt> property of the document node or the <tt class="ttfamily">bitmap</tt> variable of the vector image object. </p><p>Everything that was described about generating images in the previous section is also true of vector images with the exception of cropping. plasT<sub style="text-transform:uppercase; margin-left:-0.2em">e</sub>X does not attempt to crop vector images. The program that converts the L<sup style="font-variant:small-caps; margin-left:-0.3em">a</sup>T<sub style="text-transform:uppercase; margin-left:-0.2em">e</sub>X output to a vector image is expected to crop the image down to the image content. plasT<sub style="text-transform:uppercase; margin-left:-0.2em">e</sub>X uses the information from the bitmap version of the image to determine the proper depth of the vector image. </p></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0015.html" title="Generating Images"><img alt="Previous: Generating Images" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sec-renderable.html" title="Renderable Objects"><img alt="Up: Renderable Objects" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0017.html" title="Static Images"><img alt="Next: Static Images" border="0" src="icons/next.gif" width="32" height="32" /></a></td>

<td class="navtitle" align="center">plasTeX — A Python Framework for Processing LaTeX Documents</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>


<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>

<script language="javascript" src="icons/imgadjust.js" type="text/javascript"></script>

</body>
</html>