Page 1 of 1

Multiple document classes

Posted: Sat Oct 20, 2007 11:22 pm
by sgb
I have lots of *.txt files and depending upon what they are used for, I want to apply a different document class to them.

Some are word wrapped at 72, or at 80 or are long lines.
Some are tabbed, some are spaced at 4 or at 8.

Is there a way of opening a txt file and then telling textpad to use "so-and-so" document class for it?

If not, can I do wacky things with macros to change the configuration of the txt class "now"?

Thanks

===
sgb

Multiple document classes

Posted: Sat Oct 20, 2007 11:34 pm
by sgb
I see I asked the same question 18 months ago with no successful resolution.

In which case I will restate the question as "Is it possible to write a macro that loads up and is readily launchable that will edit the document class preferences currently in effect". If so how does one do it?

===
sgb

Posted: Sun Oct 21, 2007 1:58 am
by Bob Hansen
How about this approach?

Make classes and syntax files for *.tx1, tx2, tx3, etc.

open the *.txt file, use File/Rename to *.tx# to use tx# syntax.
When done, save as *.txt