|
Templates for the program EasyNeatly
Directory of templates
In a directory of the installation there was a new directory - Patterns
The base file of templates default.ini here is stored.
You can create and to combine ini files of templates in this directory
And to call EaseNeatly so that to use them.
Quantity ini of files beyond all bounds, and they can have any names.
The file of a template is the usual file of a format INI - in it the templates
and set-up of transformation are micro-templates. In ini the file of templates
under each template of transformation the separate section with the name [Transform < #ID >]
where < #ID > unique number is selected. The quantity sections of transformation are not limited.
The transformations -easy and -neatly boot from the default.ini file and use
of section 2 and 1 accordingly. If you will create the file with templates of transformations,
for example MyTransform.ini, with section [Transform1] that you can it use by a command
#Easyneatly.exe --file=style.css --pattern=MyTransform --indexpattern=1
Micro-templates
Micro-templates are lines, which will be inserted into certain places CSS of a code.
You can use special & sequences of numerals for replacement in these lines.
| &NONE; | Empty place or anything |
| &SPACE; | One gap |
| &TAB; | [09] HORISONTAL TABULATION (TAB) a Numeral of tabulation |
| &CR; | [0D] - CARRIAGE RETURN (CR) |
| &LF; | [0A] - LINE FEED (LF) (end of a line UNIX) |
| &CRLF; | [0D + 0A] (end of a line Windows) |
Managing parameters
Except lines of replacements there are managing parameters indicating what
transformations is necessary to do with the CSS file, and what to not do.
- Instruction on activity with the comments.
This set-up allow in an output code to throw out comments or to leave by formatting them by some image.
- Comments at a level of rules and selectors.
- Comments for properties and values.
- Comments dividing the document on section.
- Instruction of altitude of the register for different elements.
Altitude of the register of the letters can receive three values:
- SELF - to leave without change
- UPPER - to transfer in the upper case
- LOWER - to transfer in a lower cascading
Such elements as are subject to rules of change of the register,
ID, classes, tags and color. Unguided at present are the comments, and the names of rules - they remain in the own register without changes, names of properties and value of properties, except colors, are transferred in a lower cascading and too are not operated from a template.
- Quality management of quantization of color.
Some parameter of rejection of current color from quantized here is meant at which
quantized color is rather close to a pre-image and the quantization will be produced,
i.e. the color of a format #RRGGBB will be transformed into color of a format #RGB.
If the residual of current and quantized color will appear more specific threshold,
the color remains not quantized, i.e. long 7 numerals of format #RRGGBB.
It is a little word, how the given gear works.
Let`s take for an example two ideal - quantized of color on one axis, for example red
#AA and #BB. If to divide a section between these colors, 18 points, including this
color will be received.
#AA, #AB, #AC, #AD, #AE, #AF, #B0, #B1, #B2,
#B3, #B4, #B5, #B6, #B7, #B8, #B9, #BA, #BB
From color #BB up on a dial there is color #CC. And between #BB and #СС also 18 points
including them. At an interpolation - quantization of color the imperfect color
is transformed to that, which ideal from, it will defend is not more white than on 8 points
on a color axis. I.e. for example color #AF, will be transformed into color #AA.
And #B3 in color #BB. Let`s name these 8 points as a maximum radius
of acquisition of ideal color.
And now as applied parameter of a template of quantization, assigning quality.
So here this parameter sets a controlled radius of acquisition of color in
percentage of maximum, for example 75%. If the color will leave for limits
of this radius of acquisition, it will not be quantized, as we consider,
that such quantized color is not too similar to a pre-image and we leave it,
"as is", i.e. by ourselves.
In the file of templates the numeral of % for this parameter does not need to be indicated.
12-Jan-2008 (19:45) - No Buen Hombre |
Look at Us
Current Page
| Today |
1 |
| Previous |
1 from 2008-11-30 |
| Total |
684 |
All Website
| Today |
118 |
| Previous |
488 |
| Total |
181863 |
Board File
| Started |
11-Mar-2007 |
| Today |
2-Dec-2008 |
| In Way |
1 year 8 monthes 21 day |
|
|