phystricks
Public Member Functions | Public Attributes | List of all members
phystricks.src.NoMathUtilities.SubdirectoryFilenames Class Reference
Inheritance diagram for phystricks.src.NoMathUtilities.SubdirectoryFilenames:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.NoMathUtilities.SubdirectoryFilenames:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, filename, position="here")
 
def from_here (self)
 
def from_main (self)
 
def abspath (self)
 

Public Attributes

 filename
 
 position
 
 PICTURES_TEX
 
 PICTURES_SRC
 
 PICTURES_TIKZ
 
 MAIN_TEX
 
 abs_filename
 

Detailed Description

An object of this class represent a file, 
or more precisely the path to a file.

If the file "Directories.py" exists, read the directories in which the 
tex files have to be put.
In all cases if the file "Directories.py" is not found, everything will
return the unmodified filename.

Constructor & Destructor Documentation

def phystricks.src.NoMathUtilities.SubdirectoryFilenames.__init__ (   self,
  filename,
  position = "here" 
)
    - `filename` is a string containing the filenam
e with no directory indications.
    - `position` can be "here", "main" or "tex" (default "here")

if "here" : the file is in the current directory
when the picture is created.
    That is the current directory with respect to Sage
if "main" : the file is in the main latex directory
if "tex" : the file is un the picture latex directory, that is the
    directory in which the file ".pstricks" is put.
if "tikz" : the file is the directiry for md5 and pdf tikz files.

Member Function Documentation

def phystricks.src.NoMathUtilities.SubdirectoryFilenames.abspath (   self)
def phystricks.src.NoMathUtilities.SubdirectoryFilenames.from_here (   self)
def phystricks.src.NoMathUtilities.SubdirectoryFilenames.from_main (   self)

Member Data Documentation

phystricks.src.NoMathUtilities.SubdirectoryFilenames.abs_filename
phystricks.src.NoMathUtilities.SubdirectoryFilenames.filename
phystricks.src.NoMathUtilities.SubdirectoryFilenames.MAIN_TEX
phystricks.src.NoMathUtilities.SubdirectoryFilenames.PICTURES_SRC
phystricks.src.NoMathUtilities.SubdirectoryFilenames.PICTURES_TEX
phystricks.src.NoMathUtilities.SubdirectoryFilenames.PICTURES_TIKZ
phystricks.src.NoMathUtilities.SubdirectoryFilenames.position

The documentation for this class was generated from the following file: