Page 1 of 1

document classes for files without extensions

Posted: Thu Mar 29, 2001 2:31 pm
by Paul R
I want to set up a document class for GNUmakefile. This file has no extension. However, I have tried the following filters:

GNU*.*
GNUmakefile
GNUmakefile.
GNU*
GNUmakefile.*

None of these matches the document above. However, renaming the file to GNU.mak works fine.

I am running Textpad 4.0.

Thanks in advance for any help

paul

Re: document classes for files without extensions

Posted: Thu Mar 29, 2001 6:02 pm
by Andreas
Usually, *. is member of the txt document class.
And classes are searched for matching filenames from bottom to top IIRC

So either remove *. from txt class or rename your own class so it comes below txt.

Re: document classes for files without extensions

Posted: Fri Mar 30, 2001 7:00 am
by Paul R
Andreas

Many thanks for this - problem sorted! :-)

paul