mirror of https://github.com/patacrep/patacrep.git
Louis
9 years ago
18 changed files with 359 additions and 13 deletions
@ -1 +1 @@ |
|||
{image: (( content.argument|search_image ))} |
|||
{image: "(( content.filename|search_image ))" ((content.size|render_size))} |
|||
|
@ -1,6 +1,6 @@ |
|||
(* block image *) |
|||
(* set image = content.argument|search_image|path2posix *) |
|||
(* set image = content.filename|search_image|path2posix *) |
|||
(* if image *) |
|||
\image{(( image ))} |
|||
\image[(( content.size|render_size ))]{(( image ))} |
|||
(*- endif *) |
|||
(*- endblock *) |
|||
|
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 178 KiB |
@ -0,0 +1,35 @@ |
|||
{image: image.png} |
|||
{image: "image with spaces.png"} |
|||
|
|||
{image: image.png scale=2 } |
|||
{image: "image with spaces.png" scale=.20} |
|||
{image: image.png scale=1.2} |
|||
|
|||
{image: image.png width=2cm} |
|||
{image: "image with spaces.png" height=2cm} |
|||
{image: image.png width=2cm height=1cm} |
|||
|
|||
{image: image.png width=2em} |
|||
{image: "image with spaces.png" height=2em} |
|||
{image: image.png width=2em height=1em} |
|||
|
|||
{image: image.png width=50pt} |
|||
{image: "image with spaces.png" height=50pt} |
|||
{image: image.png width=50pt height=100pt} |
|||
|
|||
{image: image.png width=2.5cm} |
|||
{image: "image with spaces.png" height=2.5cm} |
|||
{image: image.png width=2.5cm height=1.5cm} |
|||
|
|||
{image: image.png width=3cm height=10pt} |
|||
{image: "image with spaces.png" width=10pt height=3cm} |
|||
|
|||
{image: image.png width= height=} |
|||
{image: image.png error=foo} |
|||
{image: "image with spaces.png" not_a_size} |
|||
{image: "image with spaces.png" too many arguments} |
|||
{image: image.png width=2ex height=3km} |
|||
{image: image.png width=2cm width=3cm} |
|||
{image: image.png width=2cm scale=3cm} |
|||
{image: image.png width=2cm scale=3} |
|||
{image: } |
@ -0,0 +1,44 @@ |
|||
{lang: en} |
|||
|
|||
{image: "image.png" } |
|||
{image: "image with spaces.png" } |
|||
|
|||
|
|||
{image: "image.png" scale=2} |
|||
{image: "image with spaces.png" scale=.20} |
|||
{image: "image.png" scale=1.2} |
|||
|
|||
|
|||
{image: "image.png" width=2cm} |
|||
{image: "image with spaces.png" height=2cm} |
|||
{image: "image.png" width=2cm height=1cm} |
|||
|
|||
|
|||
{image: "image.png" width=2em} |
|||
{image: "image with spaces.png" height=2em} |
|||
{image: "image.png" width=2em height=1em} |
|||
|
|||
|
|||
{image: "image.png" width=50pt} |
|||
{image: "image with spaces.png" height=50pt} |
|||
{image: "image.png" width=50pt height=100pt} |
|||
|
|||
|
|||
{image: "image.png" width=2.5cm} |
|||
{image: "image with spaces.png" height=2.5cm} |
|||
{image: "image.png" width=2.5cm height=1.5cm} |
|||
|
|||
|
|||
{image: "image.png" width=3cm height=10pt} |
|||
{image: "image with spaces.png" width=10pt height=3cm} |
|||
|
|||
|
|||
{image: "image.png" } |
|||
{image: "image.png" } |
|||
{image: "image with spaces.png" } |
|||
{image: "image with spaces.png" } |
|||
{image: "image.png" } |
|||
{image: "image.png" width=2cm} |
|||
{image: "image.png" width=2cm} |
|||
{image: "image.png" width=2cm} |
|||
|
@ -0,0 +1,35 @@ |
|||
{image: image.png} |
|||
{image: "image with spaces.png"} |
|||
|
|||
{image: image.png scale=2 } |
|||
{image: "image with spaces.png" scale=.20} |
|||
{image: image.png scale=1.2} |
|||
|
|||
{image: image.png width=2cm} |
|||
{image: "image with spaces.png" height=2cm} |
|||
{image: image.png width=2cm height=1cm} |
|||
|
|||
{image: image.png width=2em} |
|||
{image: "image with spaces.png" height=2em} |
|||
{image: image.png width=2em height=1em} |
|||
|
|||
{image: image.png width=50pt} |
|||
{image: "image with spaces.png" height=50pt} |
|||
{image: image.png width=50pt height=100pt} |
|||
|
|||
{image: image.png width=2.5cm} |
|||
{image: "image with spaces.png" height=2.5cm} |
|||
{image: image.png width=2.5cm height=1.5cm} |
|||
|
|||
{image: image.png width=3cm height=10pt} |
|||
{image: "image with spaces.png" width=10pt height=3cm} |
|||
|
|||
{image: image.png width= height=} |
|||
{image: image.png error=foo} |
|||
{image: "image with spaces.png" not_a_size} |
|||
{image: "image with spaces.png" too many arguments} |
|||
{image: image.png width=2ex height=3km} |
|||
{image: image.png width=2cm width=3cm} |
|||
{image: image.png width=2cm scale=3cm} |
|||
{image: image.png width=2cm scale=3} |
|||
{image: } |
@ -0,0 +1,59 @@ |
|||
\selectlanguage{english} |
|||
|
|||
\beginsong{}[ |
|||
by={ |
|||
}, |
|||
] |
|||
|
|||
|
|||
\image[]{img/image.png} |
|||
\image[]{img/image with spaces.png} |
|||
|
|||
|
|||
|
|||
\image[scale=2]{img/image.png} |
|||
\image[scale=.20]{img/image with spaces.png} |
|||
\image[scale=1.2]{img/image.png} |
|||
|
|||
|
|||
|
|||
\image[width=2cm]{img/image.png} |
|||
\image[height=2cm]{img/image with spaces.png} |
|||
\image[width=2cm, height=1cm]{img/image.png} |
|||
|
|||
|
|||
|
|||
\image[width=2em]{img/image.png} |
|||
\image[height=2em]{img/image with spaces.png} |
|||
\image[width=2em, height=1em]{img/image.png} |
|||
|
|||
|
|||
|
|||
\image[width=50pt]{img/image.png} |
|||
\image[height=50pt]{img/image with spaces.png} |
|||
\image[width=50pt, height=100pt]{img/image.png} |
|||
|
|||
|
|||
|
|||
\image[width=2.5cm]{img/image.png} |
|||
\image[height=2.5cm]{img/image with spaces.png} |
|||
\image[width=2.5cm, height=1.5cm]{img/image.png} |
|||
|
|||
|
|||
|
|||
\image[width=3cm, height=10pt]{img/image.png} |
|||
\image[width=10pt, height=3cm]{img/image with spaces.png} |
|||
|
|||
|
|||
|
|||
\image[]{img/image.png} |
|||
\image[]{img/image.png} |
|||
\image[]{img/image with spaces.png} |
|||
\image[]{img/image with spaces.png} |
|||
\image[]{img/image.png} |
|||
\image[width=2cm]{img/image.png} |
|||
\image[width=2cm]{img/image.png} |
|||
\image[width=2cm]{img/image.png} |
|||
|
|||
|
|||
\endsong |
Loading…
Reference in new issue