judoshiai-en:lua-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
judoshiai-en:lua-en [2025/01/04 00:14] – hjokinen | judoshiai-en:lua-en [2025/01/04 00:20] (current) – [SVG + Lua scripts] hjokinen | ||
---|---|---|---|
Line 59: | Line 59: | ||
Again you will display text Hello World! File must be in one of the directories | Again you will display text Hello World! File must be in one of the directories | ||
< | < | ||
- | //HOMEDIR/ | + | HOMEDIR/ |
- | /// | + | / |
- | C: | + | C: |
- | //HOMEDIR/ | + | HOMEDIR/ |
- | (for example | + | (for example / |
- | //JudoShiai/ | + | JudoShiai/ |
- | (for example | + | (for example / |
- | //JudoShiai/ | + | JudoShiai/ |
- | (for example | + | (for example / |
- | //C:\Program Files\JudoShiai\svg-lua/ | + | |
</ | </ | ||
You can have Lua file anywhere, but then you must give the whole path: | You can have Lua file anywhere, but then you must give the whole path: | ||
Line 374: | Line 374: | ||
There are two ways to run Lua scripts: | There are two ways to run Lua scripts: | ||
- | * Embed code to SVG sheets. Lua code is embedded to text by using format\\ | + | * Embed code to SVG sheets. Lua code is embedded to text by using format // |
- | // | + | |
* Run Lua file. There will be a default SVG file where all the printing goes. Note: The default file has no Inkscape specific definitions. When creating SVG files to include them save them as plain SVG. | * Run Lua file. There will be a default SVG file where all the printing goes. Note: The default file has no Inkscape specific definitions. When creating SVG files to include them save them as plain SVG. | ||
judoshiai-en/lua-en.1735974872.txt.gz · Last modified: 2025/01/04 00:14 by hjokinen