You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2005/07/07 14:58:24 UTC

svn commit: r209597 - /maven/components/trunk/maven-site/src/site/apt/apt-format.apt

Author: evenisse
Date: Thu Jul  7 05:58:23 2005
New Revision: 209597

URL: http://svn.apache.org/viewcvs?rev=209597&view=rev
Log:
we need extensions for figure filename. It's a difference with the original APT format, but we can't know where images are stored for check the existence of files when we generate the output.

Modified:
    maven/components/trunk/maven-site/src/site/apt/apt-format.apt

Modified: maven/components/trunk/maven-site/src/site/apt/apt-format.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/apt-format.apt?rev=209597&r1=209596&r2=209597&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/apt-format.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/apt-format.apt Thu Jul  7 05:58:23 2005
@@ -290,23 +290,13 @@
   square brackets. The figure name is optionally followed by some text: the
   figure caption.
 
-  The figure name is the pathname of the file containing the figure but
-  without an extension. Example: if your figure is contained in
-  <<</home/joe/docs/mylogo.jpeg>>>, the figure name is
-  <<</home/joe/docs/mylogo>>>.
+  The figure name is the pathname of the file containing the figure with an
+  extension. Example: <<</images/mylogo.jpeg>>>.
 
   If the figure name comes from a relative pathname (recommended practice)
   rather than from an absolute pathname, this relative pathname is taken to be
   relative to the directory of the current APT document (a la HTML)
   rather than relative to the current working directory.
-
-  Why not leave the file extension in the figure name? This is better
-  explained by an example. You need to convert an APT document to PostScript
-  and your figure name is <<</home/joe/docs/mylogo>>>. A APT processor will
-  first try to load <<</home/joe/docs/mylogo.eps>>>. When the desired format
-  is not found, a APT processor tries to convert one of the existing
-  formats. In our example, the APT processor tries to convert
-  <<</home/joe/docs/mylogo.jpeg>>> to encapsulated PostScript.
 
 *** Table
 ~~~~~~~~~



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org