3.11 Standard Markups -- Image


main page
top:Skribe User Manual
index:Index
markups:Standard Markups


Standard Markups
Markup index
3.1Document
3.2Sectioning
3.3Table of contents
3.4Ornaments
3.5Line breaks
3.6Font
3.7Justification
3.8Enumeration
3.9Frame and color
3.10Figure
3.11Image
3.12Table
3.13Footnote
3.14Characters, Strings and Symbols


Chapters
1Getting Started
2Syntax & Values
3Standard Markups
4References and Hyperlinks
5Indexes
6Bibliography
7Computer programs
8Standard Library
9Engines
10Editing Skribe Programs
11Skribe compiler
12Compiling Texi documents
13List of examples
14Table of contents

Images are defined by the means of the image function

prototype
(image :file [:ident] [:class] [:width] [:height] [:zoom] comment)
optionenginesdescription
:identhtml latex The node identifier.
:classhtml latex The node class.
:filehtml latex The file where the image is stored on the disk (see [?mark image-path])
:widthhtml latex The width of the image. It may be an integer for a pixel size or a floating point number for a percentage.
:heighthtml latex The height of the image. It may be an integer for a pixel size or a floating point number for a percentage.
:zoomlatex A zoom factor.
argumentdescription
commentA text describing the image.
Example:
(image :file "linux.gif" "A first image")
(image :height 50 :file "linux.gif" "A smaller one")
(image :file "bsd.gif" "A second image")
(image :width 50 :file "bsd.gif")
(image :width 200 :height 40 :file "bsd.gif")
Ex. 15: The image markup
Produces:
A first imageA smaller oneA second image

3.11.1 Image formats

Images are unfortunately unportable. The various Skribe output formats support different image formats. For instance, HTML supports gif and jpeg while the LaTeX back-end only supports ps. Skribe tries, only when needed, to automatically convert images to a format supported by the target to be produced. For this, it uses external tools. The default Skribe translation scheme is:

  • Do not translate an image that needs no conversion.
  • Uses the fig2dev external tool to translate Xfig images.
  • Uses the convert external tools to translate all other formats.

This Html page has been produced by Skribe.
Last update Mon Apr 4 14:16:37 2005.