svghmi/gen_index_xhtml.ysl2
changeset 3594 30f7eade322f
parent 3555 a8b6d5e1fda3
equal deleted inserted replaced
3593:122b1094b8e6 3594:30f7eade322f
    82             // prevents pinch zoom and other accidental panning panning with touch devices
    82             // prevents pinch zoom and other accidental panning panning with touch devices
    83             body style="margin:0;overflow:hidden;user-select:none;touch-action:none;" {
    83             body style="margin:0;overflow:hidden;user-select:none;touch-action:none;" {
    84                 // Inline SVG
    84                 // Inline SVG
    85                 copy "$result_svg";
    85                 copy "$result_svg";
    86                 script{
    86                 script{
       
    87                     include text pythonic.js
       
    88 
    87                     | \n//\n//\n// Early independent declarations \n//\n//
    89                     | \n//\n//\n// Early independent declarations \n//\n//
    88                     apply "document('')/*/preamble:*";
    90                     apply "document('')/*/preamble:*";
    89 
    91 
    90                     | \n//\n//\n// Declarations depending on preamble \n//\n//
    92                     | \n//\n//\n// Declarations depending on preamble \n//\n//
    91                     apply "document('')/*/declarations:*";
    93                     apply "document('')/*/declarations:*";
    96                     | \n//\n//\n// Statements that needs to be at the end \n//\n//
    98                     | \n//\n//\n// Statements that needs to be at the end \n//\n//
    97                     apply "document('')/*/epilogue:*";
    99                     apply "document('')/*/epilogue:*";
    98 
   100 
    99                     include text sprintf.js
   101                     include text sprintf.js
   100 
   102 
   101                     include text pythonic.js
       
   102 
       
   103                     include text svghmi.js
   103                     include text svghmi.js
   104 
   104 
   105                     | \n//\n//\n// Declarations from SVG scripts (inkscape document properties) \n//\n//
   105                     | \n//\n//\n// Declarations from SVG scripts (inkscape document properties) \n//\n//
   106                     foreach "/svg:svg/svg:script" {
   106                     foreach "/svg:svg/svg:script" {
   107                         |
   107                         |