commit c8a8d37408bb8eb150c1c38d1831b64cd0f3bf20
parent 233a65234cbe4d8a85b9dbf276562f128c5603d9
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Mon, 5 Jan 2009 10:24:02 +0000
doc .gif->.png for Scribble Latex output
svn: r13009
original commit: 7b3c5db0f8a9f5915ca88b69b2178be8c349e57f
Diffstat:
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/collects/scribblings/scribble/manual.scrbl b/collects/scribblings/scribble/manual.scrbl
@@ -943,7 +943,11 @@ combination of @scheme[envvar] and @scheme[as-index].}
The path is relative to the current directory, which is set by
@exec{setup-plt} and @exec{scribble} to the directory of the main
- document file.}
+ document file.
+
+ When generating Latex output, if the filename has a @filepath{.gif}
+ suffix, then the suffix is changed to @filepath{.png} (so a PNG file
+ must exist in addition to the GIF file).}
@defproc[(image/plain [filename-relative-to-source string?]
[pre-element any/c] ...)
diff --git a/collects/scribblings/scribble/struct.scrbl b/collects/scribblings/scribble/struct.scrbl
@@ -666,7 +666,10 @@ layer is a style for the hyperlink.}
Used as a style for an @scheme[element] to inline an image. The
@scheme[path] field can be a result of
-@scheme[path->main-collects-relative].}
+@scheme[path->main-collects-relative].
+
+For Latex output, a @filepath{.gif} suffix on @scheme[path] is
+replaced with a @filepath{.png} suffix.}
@defproc[(block? [v any/c]) boolean?]{