From b23f7d19b72f4124cf7b1f0f42f0e68a9f41f9f6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 20 Feb 2021 07:44:52 +0100 Subject: doc: Replace @example with @lisp. --- doc/picture-language.texi | 56 +++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/doc/picture-language.texi b/doc/picture-language.texi index 4a6e866..e6a703d 100644 --- a/doc/picture-language.texi +++ b/doc/picture-language.texi @@ -157,9 +157,9 @@ and line thickness, respectively. @end deffn @cindex line, example -@example +@lisp @verbatiminclude images/line.svg.scm -@end example +@end lisp @indentedblock @image{images/line.svg.scm,,,A straight line.} @end indentedblock @@ -176,9 +176,9 @@ number) are accepted to override the line color and line thickness. @end deffn @cindex hline, example -@example +@lisp @verbatiminclude images/hline.svg.scm -@end example +@end lisp @indentedblock @image{images/hline.svg.scm,,,A horizontal line.} @end indentedblock @@ -195,9 +195,9 @@ number) are accepted to override the line color and line thickness. @end deffn @cindex vline, example -@example +@lisp @verbatiminclude images/vline.svg.scm -@end example +@end lisp @indentedblock @image{images/vline.svg.scm,,,A vertical line.} @end indentedblock @@ -216,9 +216,9 @@ and line thickness. @cindex polyline, example Here is a simple zig zag line: -@example +@lisp @verbatiminclude images/polyline.svg.scm -@end example +@end lisp @indentedblock @image{images/polyline.svg.scm,,,A zig zag polyline.} @end indentedblock @@ -229,9 +229,9 @@ a list for increasing X coordinates and a list for alternating Y coordinates before merging them to a single list of coordinate pairs with @code{map} and @code{cons}: -@example +@lisp @verbatiminclude images/polyline2.svg.scm -@end example +@end lisp @indentedblock @image{images/polyline2.svg.scm,,,A longer zig zag polyline.} @end indentedblock @@ -254,9 +254,9 @@ accepted to override the line color and line thickness. @cindex polygon, example Here is a simple polygon: -@example +@lisp @verbatiminclude images/polygon.svg.scm -@end example +@end lisp @indentedblock @image{images/polygon.svg.scm,,,A polygon.} @end indentedblock @@ -274,9 +274,9 @@ and line thickness. @cindex triangle, example Here is a simple triangle: -@example +@lisp @verbatiminclude images/triangle.svg.scm -@end example +@end lisp @indentedblock @image{images/triangle.svg.scm,,,A triangle.} @end indentedblock @@ -305,9 +305,9 @@ and line thickness. @cindex octagon, example Here is a simple octagon: -@example +@lisp @verbatiminclude images/octagon.svg.scm -@end example +@end lisp @indentedblock @image{images/octagon.svg.scm,,,An octagon.} @end indentedblock @@ -335,9 +335,9 @@ number) are accepted to override the line color and line thickness. @cindex circle, example Here is a simple circle: -@example +@lisp @verbatiminclude images/circle.svg.scm -@end example +@end lisp @indentedblock @image{images/circle.svg.scm,,,A circle.} @end indentedblock @@ -366,9 +366,9 @@ number) are accepted to override the line color and line thickness. @cindex ellipse, example Here is a simple ellipse: -@example +@lisp @verbatiminclude images/ellipse.svg.scm -@end example +@end lisp @indentedblock @image{images/ellipse.svg.scm,,,An ellipse.} @end indentedblock @@ -398,9 +398,9 @@ be provided to round off the corners. @cindex rectangle, example Here is a simple rectangle with rounded corners: -@example +@lisp @verbatiminclude images/rectangle.svg.scm -@end example +@end lisp @indentedblock @image{images/rectangle.svg.scm,,,A rectangle with rounded corners.} @end indentedblock @@ -432,9 +432,9 @@ also accepted. @cindex text, example Here are a few snippets of text, combined horizontally (see below). -@example +@lisp @verbatiminclude images/text.svg.scm -@end example +@end lisp @indentedblock @image{images/text.svg.scm,,,A few snippets of text.} @end indentedblock @@ -447,9 +447,9 @@ Imagine you have a list of ten identical triangles: all with the same size and the same color. Boring, isn't it? Perhaps it was easier to produce them all alike. Perhaps it was done like this: -@example +@lisp @verbatiminclude images/boring-triangles.svg.scm -@end example +@end lisp @indentedblock @image{images/boring-triangles.svg.scm,,,A boring list of triangles.} @end indentedblock @@ -462,9 +462,9 @@ box. @cindex modifiers, example Here's a preview of what we can do to the boring triangles: -@example +@lisp @verbatiminclude images/modifiers.svg.scm -@end example +@end lisp @indentedblock @image{images/modifiers.svg.scm,,,A less boring list of triangles.} @end indentedblock -- cgit v1.2.3