@enumerate section so as to be able to be formatted with MAKEINFO=no.
infohack.el (infohack-replace-unsupported): Fix last commit.
2014-02-10 Katsumi Yamaoka <yamaoka@jpl.org>
+ * epa.texi (Caching Passphrases): Don't give argument to @item used in
+ @enumerate section so as to be able to be formatted with MAKEINFO=no.
+
* infohack.el (texinfo-format-comma): Support @comma.
(infohack-replace-unsupported): New function.
(infohack): Use it.
not you want to use gpg-agent. Here are some questions:
@enumerate
-@item Do you use GnuPG version 2 instead of GnuPG version 1?
-@item Do you use symmetric encryption rather than public key encryption?
-@item Do you want to use gpg-agent?
+@item
+Do you use GnuPG version 2 instead of GnuPG version 1?
+@item
+Do you use symmetric encryption rather than public key encryption?
+@item
+Do you want to use gpg-agent?
@end enumerate
Here are configurations depending on your answers:
(defun infohack-replace-unsupported ()
(goto-char (point-min))
(while (search-forward "@indicateurl{" nil t)
- (replace-match "@url{"))
- (goto-char (point-min))
- (while (search-forward "@enumerate" nil t)
- (narrow-to-region (point)
- (or (re-search-forward "@end[\t ]+enumerate" nil t)
- (point-max)))
- (goto-char (point-min))
- (while (re-search-forward "@item[\t ]+\\([^\t\n ]\\)" nil t)
- (replace-match "@item\n\\1"))))
+ (replace-match "@url{")))
(defun infohack-include-files ()
"Insert @include files."