Package | Description |
---|---|
jpicedt.format.input | |
jpicedt.format.input.eepic |
Parser grammar for the eepic format.
|
jpicedt.format.input.latex |
Parser grammar for the LaTeX picture environment format.
|
jpicedt.format.input.pstricks |
Pstricks grammar tree.
|
jpicedt.format.input.util |
This package contains helper classes for building a parser based on the well-known RegExp scheme,
yet with a strong object-oriented approach in mind.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultParser
Default implementation of the Parser interface.
|
Modifier and Type | Class and Description |
---|---|
class |
EepicDrawlineCommand
Eepic open polygon, possibly dashed :
\\drawline[stretch](x1,y1)...(xN,yN)
|
class |
EepicPathCommand
Eepic "fast" (solid) polygon : \\path(x1,y1)...(xN,yN)
|
Modifier and Type | Class and Description |
---|---|
class |
BeginPictureExpression
LaTeX or eepic :
\begin{picture}(w,h)
\begin{picture}(w,h)(x,y)
|
class |
LaTeXBox
Parses LaTeX boxes, i.e.
|
class |
LaTeXCircle
Parses LaTeX circles, i.e.
|
class |
LaTeXLine
Parses LaTeX lines, with or without arrows, i.e.
|
class |
LaTeXOval
Parses LaTeX \\oval command.
|
class |
LaTeXPutExpression
\\put(x,y){argument}
|
class |
LineThicknessExpression
Legal syntax :
\\linethickness{0.4pt}
\\linethickness{0.4mm}
\\linethickness{0.4cm}
\\linethickness{0.4} // default to mm
note : 1pt = 1/72.27 inch = 0.3515 mm cf.
|
class |
PicEllipseExpression
PicEllipse :
%Ellipse(x0,y0)(width)(height)
%Ellipse(x0,y0)(width,height) filled|whiten|blacken|shade arcStart= arcExtent=
Any string (multiput...)
%End Ellipse
|
class |
PicLineExpression
PicLine :
%Line 0 0 (x0,y0)(x1,y1) dash=value
%Line 0 1 (x0,y0)(x1,y1) dash=value
%Line 1 0 (x0,y0)(x1,y1) dash=value
%Line 1 1 (x0,y0)(x1,y1) dash=value (dash is optional)
Any string (\multiput, etc...)
%End Line
|
class |
PicPolygonExpression
PicPolygon :
%Polygon (x1,y1)...(xn,yn) dash=value whiten|shade|blacken closed ... |
class |
PicRectangleExpression
%Rectangle(x0,y0)(x1,y1)
or %Rectangle(x0,y0)(x1,y1) filled|blacken|shade|whiten dash=value Any string %End Rectangle |
class |
UnitLengthExpression
\\unitlength value
\\setlength{\\unitlength}{value} where value's permitted syntaxs are : 0.11, 0.11mm, 0.11cm, 0.11pt with possible leading whitespaces before the "unit". |
Modifier and Type | Class and Description |
---|---|
class |
BeginPsPictureExpression
\begin{pspicture}(x0,y0)(x1,y1) -> defines a box with BL=(x0,y0) and TR=(x1,y1)
\begin{pspicture}*(x0,y0)(x1,y1) -> clipped \begin{pspicture}[baseline](x0,y0)(x1,y1) -> changes baseline (see pstricks's doc p.41) \begin{pspicture}[](x0,y0)(x1,y1) -> baseline passes across the origine And the same commands with \pspicture (that is, TeX-like). |
class |
PsArcExpression
Parses \\psarc commands :
\\psarc[parameters]{<->}(x0,y0){rad}{angleA}{angleB} ; where at least "arrows" or (x0,y0) args must be included
\\psarc*[parameters]{<->}(x0,y0){rad}{angleA}{angleB} ; idid.
|
class |
PsBezierExpression
Rules for parsing cubic splines with a PsTricks syntax :
\\psbezier[parameters]{arrows}(x0,y0)(x1,y1)(x2,y2)(x3,y3)
\\psbezier*[parameters]{arrows}(x0,y0)(x1,y1)(x2,y2)(x3,y3)
or PsTricks's object previously defined by help of a \\newpsobject command.
|
class |
PsBox
Parses PsTricks boxes, i.e.
|
class |
PsCircleExpression
Quick circle :
\\pscircle[parameters](x0,y0){rad}
\\pscircle*[parameters](x0,y0){rad}
|
class |
PsEllipseExpression
Parses \\psellipse commands :
\\psellipse[parameters](x0,y0)(hrad,vrad)
\\psellipse*[parameters](x0,y0)(hrad,vrad)
|
class |
PsFrameExpression
\\psframe[parameters](x0,y0)(x1,y1)
\\psframe*[parameters](x0,y0)(x1,y1)
|
class |
PsPolygonExpression
Parses \\pspolygon, \\psdots and \\psline commands :
\\pspolygon[param](2,4)(3,15) // NO ARROW ALLOWED HERE !
\\pspolygon*[param](5,1)(5,8)...(xN,yN) \\psline[param]{arrows}(5,1)(5,8)...(xN,yN) \\psline*[param]{arrows}(5,1)(5,8)...(xN,yN) \\psdots[param,dotstyle=style,dotscale=a b,dotangle=angle]{arrows}(5,1)(5,8)...(xN,yN) \\psdots*[param]{arrows}(5,1)(5,8)...(xN,yN) (same as above, '*' being unused) Note : PsPolygon -> close path ; PsLine -> open path ; PsDots -> dots only |
class |
PsQDiskExpression
Quick disk : (streamlines version of \\pscircle*),
\\qdisk(x0,y0)(rad)
|
class |
PsQLineExpression
Quick line :
\\qline(x0,y0)(x1,y1)
|
class |
PsRPutExpression
Parses PsTricks's \\rput commands, either:
\\rput[refpoint]{rotation}(x,y){stuff}
\\rput*[refpoint]{rotation}(x,y){stuff}
(line-breaks being allowed b/w each "block"), where :
refpoint = B|b|t for vertical and l|r for horizontal (B = baseline), used only for psframebox and rel. |
class |
PSTArrowExpression
Parses Pstricks's arrows, as given by the PsTricks's documentation (p.29).
This is based on the following rules : an opening "{" ; "<", ">", "(",... |
class |
PSTBooleanExpression
Used by PSTParametersExpression to parse statements involving true/false parameters values, for instance
"shadow=true" or "shadow=false" ...
|
class |
PSTColorExpression
Used by PSTParametersExpression to parse statements involving colours, for instance
"linecolor=green" (predefined colour) or "fillcolor=MyGray" (user-defined colours).
|
class |
PSTDashExpression
Parses statements similar to "dash=1pt 3mm" (first opaque, then transparent).
|
class |
PSTDotStyleExpression
Parses statements similar to "dotstyle=style" where style is one of PicObjectConstants predefined dot styles.
|
class |
PSTFillStyleExpression
Parses statements similar to "fillstyle=style" where style is one of PicObjectConstants predefined fill styles.
|
class |
PSTLengthParameter
Parses statement involving length units (as set by PsTricks's "runit" register),
e.g.
|
class |
PSTLineStyleExpression
Parses statements similar to "linestyle=style" where style is one of PicObjectConstants predefined line styles.
|
class |
PsUnitLengthExpression
Used by PSTParamExpression to parse statement involving the 4 pstricks length registers, that is
"unit=1mm,xunit=1mm,yunit=1mm,runit=1mm" (or pt or cm), where setting "unit" sets "xunit",
"yunit" and "runit" simultaneously.
|
Modifier and Type | Class and Description |
---|---|
class |
CommentExpression
Parse comment strings.
|
Submit a bug : syd@jpicedt.org