The first is that all function names can now optionally begin with a capital letter. That means that this:
can also be written like this:
The second is the ability to use "traditional" row notation for rows that can be defined on a single line. That means that you can write a row like this:
Row 1: k to end
Row [2,3,4]: p to end
NextRow: k20, p5
NextRow is the new syntax for rows that should not be assigned a row number.
[ 1 comment ] ( 4 views ) | [ 0 trackbacks ] | permalink
Quick disclaimer: there are a couple of subtle extensions to the Expression Language format. They will be available in 0.4.2. They are the colon handling for row functions, and the optional capitalization of all function names. This will go even further to improve clarity and simplify translation. All of these changes will be backwards compatible with the 0.4.x syntax.
[ 1 comment ] ( 5 views ) | [ 0 trackbacks ] | permalink
The complete transformer has been done in one 161-line file (only 92 of which have code). All hail Groovy!
The software is set up very similarly to KnitML. Set the JAVA_HOME environment variable to a Java 5 installation, set the GAUGE_TRANS_HOME to the directory you unzip the download into, and add %GAUGE_TRANS_HOME%\bin to your system path. There is a user's guide in the docs section which describes (oddly enough) correct usage.
Give it a try, and let me know what you think!
[ 2 comments ] ( 37 views ) | [ 0 trackbacks ] | permalink
KnitML 0.4.1 has been released. This is primarily a bug fix version (Bug 31), but also has full Spanish translations for the pattern renderer as well as annotation support for rows.
The annotation support will be very important for the KnitML Gauge Transformer subproject, which will translate a KnitML pattern to any specified gauge. Hopefully I will released 0.1 of Gauge Transformer next week.
[ 1 comment ] ( 2 views ) | [ 0 trackbacks ] | permalink
KnitML 0.4 has been released. Perhaps most significant in this release is the completion of critical chapters to the User's Guide. The guide now provides a full reference to Knitting EL functions and their XML equivalents. Between the function reference, the samples, and the full XML Schema documentation, there should now be plenty to get you started.
Once you've downloaded the zip file, unzip the file to the directory of your choice. For example, if you unzip the file to "C:\Program Files" the KnitML root directory will be "C:\Program Files\knitml-0.4". Open the user's guide (users-guide.html or users-guide.pdf) found in the docs subdirectory of the KnitML root directory. Follow the installation instructions. Sample KnitML files are in the samples subdirectory.
The following new features are now supported by the specification and all of the software:
- Stitch crosses (i.e. cables)
- Custom inline / block instruction definitions
- Instruction merging
- Combining block instructions together to be knit simultaneously (e.g. a body pattern repeat with an edge pattern repeat)
There have been some schema changes which will most likely result in incompatibilities with previously written KnitML patterns. The changes are very straightforward and mostly deal with element and attribute name changes. For instance, all attributes with 'idref' in their name became 'ref'. The changes were made to favor simplicity and uniformity across the schema. If you have questions about the specific changes (or why your pattern no longer works), please feel free to contact me and I can help you out.
We need someone who knows Spanish to finish providing a Spanish translation to the pattern renderer / sample patterns. If you are interested, please let me know.
If you have ideas for what kinds of features you would like to see in the 0.5 release, please submit an enhancement request to the issue tracker.
This release has been a long time in coming. Thank you for your continued interest in making the knitting world a better place!
[ 6 comments ] ( 51 views ) | [ 0 trackbacks ] | permalink