/usr/share/pyshared/plasTeX/Packages/changebar.py is in python-plastex 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 | from plasTeX import Command, Environment, DimenCommand, Counter
def ProcessOptions(options, document):
context = document.context
class cbstart(Command):
def invoke(self, tex):
cb = self.ownerDocument.createElement('changebar')
cb.macroMode = self.MODE_BEGIN
cb.invoke(tex)
return [cb]
class cbend(Command):
def invoke(self, tex):
cb = self.ownerDocument.createElement('changebar')
cb.macroMode = self.MODE_END
cb.invoke(tex)
return [cb]
class changebar(Environment):
args = '[ width:str ]'
blockType = True
forcePars = True
class cbdelete(Command):
args = '[ width:str ]'
class nochangebars(Command):
pass
class cbcolor(Command):
args = '[ model:str ] color:str'
class changebarwidth(DimenCommand):
pass
class deletebarwidth(DimenCommand):
pass
class changebarsep(DimenCommand):
pass
class changebargrey(Counter):
pass
class outerbarstrue(Command):
pass
class driver(Command):
args = 'name:str'
|