@@ -263,10 +263,20 @@ Options
263263: Make list items in Slidy, DZSlides or S5 display incrementally (one by one).
264264 The default is for lists to be displayed all at once.
265265
266+`--self-contained`
267+: Produce a standalone HTML file, using `data:` URIs to incorporate
268+ the contents of external scripts, images, and stylesheets that it links
269+ to. The resulting file should be "self-contained," in the sense that it
270+ needs no external files and no net access to be displayed properly by a
271+ browser. This option works only with HTML output formats, including
272+ `html`, `html+lhs`, `s5`, `slidy`, and `dzslides`. Scripts, images,
273+ and stylesheets at absolute URLs will be downloaded; those at relative
274+ URLs will be sought first relative to the working directory, then
275+ relative to the user data directory (see `--data-dir`), and finally
276+ relative to pandoc's default data directory.
277+
266278`--offline`
267−: Include all the CSS and javascript needed for a Slidy or S5 slide
268− show in the output, so that the slide show will work even when no
269− internet connection is available.
279+: Deprecated synonym for `--self-contained`.
270280
271281`--chapters`
272282: Treat top-level headers as chapters in LaTeX, ConTeXt, and DocBook
@@ -1936,13 +1946,10 @@ block. Each level-one header and horizontal rule begins a new slide.
19361946
19371947For Slidy and S5, the file produced by pandoc with the `-s/--standalone`
19381948option embeds a link to javascripts and CSS files, which are assumed to
1939−be available at the relative path `ui/default` (for S5) or at the Slidy
1949+be available at the relative path `s5/default` (for S5) or at the Slidy
19401950website at `w3.org` (for Slidy). (These paths can be changed by setting
1941−the `slidy-url` or `s5-url` variables; see `--variable`, above.) If the
1942−`--offline` option is specified, the scripts and CSS will be included directly
1943−in the generated file, so that it may be used offline. For DZSlides,
1944−the (relatively short) javascript and css are included in the file
1945−by default.
1951+the `slidy-url` or `s5-url` variables; see `--variable`, above.) For DZSlides,
1952+the (relatively short) javascript and css are included in the file by default.
19461953
19471954You can change the style of the slides by putting customized CSS files
19481955in `$DATADIR/s5/default` (for S5) or `$DATADIR/slidy` (for Slidy),
@@ -1951,6 +1958,10 @@ The originals may be found in pandoc's system data directory (generally
19511958`$CABALDIR/pandoc-VERSION/s5/default`). Pandoc will look there for any
19521959files it does not find in the user data directory.
19531960
1961+The `--self-contained` option can be used to produce a single file that
1962+contains all of the data necessary to display the slide show, including
1963+linked scripts, stylesheets, and images.
1964+
19541965Incremental lists
19551966-----------------
19561967