[tex-eplain] Colors with hyperlinks

geolsoft at mail.ru geolsoft at mail.ru
Tue Aug 23 11:55:55 CEST 2005


On Mon, Aug 22, 2005 at 10:35:41PM +0200, Karl Berry wrote:
> 
> Would you mind writing up a paragraph or two and another example
> documenting the optional arg to \testfileexistence?

Is this alright:

$ cvs diff doc/progdef.texi
Index: doc/progdef.texi
===================================================================
RCS file: /cvsroot/eplain/eplain/doc/progdef.texi,v
retrieving revision 1.3
diff -u -p -r1.3 progdef.texi
--- doc/progdef.texi    14 Aug 2005 16:23:50 -0000  1.3
+++ doc/progdef.texi    23 Aug 2005 09:45:46 -0000
@@ -625,6 +625,20 @@ For example:
 \fi
 @end example
 
+ at noindent @code{\testfileexistence} takes an optional parameter; when
+given, it will override @code{\jobname} for the root part of the file
+name.  For example, if you want to test for the file
+ at file{answers.aux} irrespective of the current value of
+ at code{\jobname}, you can do this with the following:
+
+ at example
+\testfileexistence[answers]@{aux@}%
+\iffileexists
+   \input answers.aux
+\fi
+ at end example
+
+
 @node User-defined environments
 @section User-defined environments



> Here's less drastic wording for this message:
> \message{^^J\linenumber color.sty already loaded, skipping reload.}%

OK, I changed the message.


Thanks,
Oleg



More information about the tex-eplain mailing list