changeset 70464:35a93621d68f

(Fortran, Fortran Autofill) (Fortran Autofill, Fortran Abbrev) [ifnottex]: Conditional xref's for on-line manual.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 06 May 2006 13:50:19 +0000
parents 606026632834
children 5bed914b8a89
files man/fortran-xtra.texi
diffstat 1 files changed, 26 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/man/fortran-xtra.texi	Sat May 06 13:46:12 2006 +0000
+++ b/man/fortran-xtra.texi	Sat May 06 13:50:19 2006 +0000
@@ -20,8 +20,13 @@
 typing when you insert Fortran keywords.
 
   Use @kbd{M-x fortran-mode} to switch to this major mode.  This
-command runs the hook @code{fortran-mode-hook}.  @xref{Hooks,,, emacs,
-the Emacs Manual}.
+command runs the hook @code{fortran-mode-hook}.
+@iftex
+@xref{Hooks,,, emacs, the Emacs Manual}.
+@end iftex
+@ifnottex
+@xref{Hooks}.
+@end ifnottex
 
 @cindex Fortran77 and Fortran90
 @findex f90-mode
@@ -424,7 +429,13 @@
 (@pxref{ForIndent Cont}).  This splitting happens when you type
 @key{SPC}, @key{RET}, or @key{TAB}, and also in the Fortran
 indentation commands.  You activate Auto Fill in Fortran mode in the
-normal way.  @xref{Auto Fill,,, emacs, the Emacs Manual}.
+normal way.
+@iftex
+@xref{Auto Fill,,, emacs, the Emacs Manual}.
+@end iftex
+@ifnottex
+@xref{Auto Fill}.
+@end ifnottex
 
 @vindex fortran-break-before-delimiters
    Auto Fill breaks lines at spaces or delimiters when the lines get
@@ -436,8 +447,13 @@
 Otherwise (and by default), the break comes before the delimiter.
 
   To enable Auto Fill in all Fortran buffers, add
-@code{turn-on-auto-fill} to @code{fortran-mode-hook}.  @xref{Hooks,,,
-emacs, the Emacs Manual}.
+@code{turn-on-auto-fill} to @code{fortran-mode-hook}.
+@iftex
+@xref{Hooks,,, emacs, the Emacs Manual}.
+@end iftex
+@ifnottex
+@xref{Hooks}.
+@end ifnottex
 
 @node Fortran Columns
 @subsection Checking Columns in Fortran
@@ -507,7 +523,12 @@
   Fortran mode provides many built-in abbrevs for common keywords and
 declarations.  These are the same sort of abbrev that you can define
 yourself.  To use them, you must turn on Abbrev mode.
+@iftex
 @xref{Abbrevs,,, emacs, the Emacs Manual}.
+@end iftex
+@ifnottex
+@xref{Abbrevs}.
+@end ifnottex
 
   The built-in abbrevs are unusual in one way: they all start with a
 semicolon.  You cannot normally use semicolon in an abbrev, but Fortran