summaryrefslogtreecommitdiff
path: root/Master/texmf/texdoc
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-01-05 19:31:07 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-01-05 19:31:07 +0000
commit15dac3ed537b65be8dcc04511e63e8c7517e74f5 (patch)
tree279b20a434999e6ed97bb066679fe156d7e895eb /Master/texmf/texdoc
parent70a04e55d9bcb2ced6c19414122f5d92123ecbcb (diff)
New texdoc with easier zip support activation.
git-svn-id: svn://tug.org/texlive/trunk@16604 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/texdoc')
-rw-r--r--Master/texmf/texdoc/texdoc.cnf34
1 files changed, 28 insertions, 6 deletions
diff --git a/Master/texmf/texdoc/texdoc.cnf b/Master/texmf/texdoc/texdoc.cnf
index cac422d2f4a..655ec8ef843 100644
--- a/Master/texmf/texdoc/texdoc.cnf
+++ b/Master/texmf/texdoc/texdoc.cnf
@@ -25,25 +25,47 @@
### Viewer settings ###
-# Defaults are directly in texdoc.tlu. Here are some examples.
+# Defaults depend on what is available on you system, as well as you desktop
+# environement. Here are a few examples.
+#
# %s is optional and stands for the filename.
-#
+#
# viewer_pdf = xpdf # works
# viewer_pdf = xpdf %s & # works even better
-# If you want to enable support for zipped documentation (see comments in
-# texdoc.tlu), you may want to adapt viewer_* so that it starts a subshell:
+# If you want to enable support for zipped documentation (see below),
+# you may want to adapt viewer_* so that it starts a subshell:
#
# viewer_pdf = (xpdf %s) &
#
# Otherwise, the & will have no effect since the viewing command is followed by
# some cleanup-commands for temporary files. For the same reason, %s must be the
# last thing on your command line: (xpdf %s -option) will not work.
+#
+# WARNING: for zip support your viewer needs to be blocking, i.e. it must not
+# return immediately: otherwise the file will be delete too early.
+
+### Zipped documentation support ###
+
+# WARNING: support for zipped documents works only on Unix. Make sure that the
+# values of the associated options are adapted to your system. Read the above
+# warning concerning viewers.
+
+# Built-in defaults (for reference):
+#
+# zipext_list = # (empty list)
+# rm_file = rm -f
+# rm_dir = rmdir
+#
+# For each "ext" in zipext_list, you must define a "unzip_ext" unzipper.
+# The unzipped data must be printed on stdout. Example:
+#
+# zipext_list = gz
+# unzip_gz = gzip -d -c
### Other settings ###
-# Here are the defaults settings as they are in texdoc.tlu
-# recalled here as example and reference
+# Built-in defaults (for reference):
#
# mode = view
# interact_switch = true