[TxMt] Latex : folder pattern for a project

Simon Ruderich simon at ruderich.com
Fri Nov 17 13:51:31 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


On 17.11.2006, at 11:03, Alain Matthes wrote:

> Hello
>
> I created a project by dragging a folder with files .tex. I would  
> like to filter the files and to see only the .tex files and  
> not .log .pdf etc. sometimes I want to also see the .sty and .cls  
> for the development. I do not know the regular expressions to do this.
> How to show only the files .tex, .cls, .sty, and .cfg
>
> Thanks

You can use this pattern in the file pattern section to display only  
these files:

.*\.(tex|cls|sty|cfg)$

If you want to more files displayed then just add a | (this is not a  
small L, its a a [vertical bar][1]) at the end of the bracket content  
and add the new file extension, for example, where xyz is the new  
file extension:

.*\.(tex|cls|sty|cfg|xyz)$

Hope this helps you,
Simon

[1]: http://en.wikipedia.org/wiki/Vertical_bar
- ----
 > privacy is necessary
 > using http://gnupg.org
 > public key id: 0x6115F804EFB33229 http://ruderich.com/ 
simonruderich.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFXb5kYRX4BO+zMikRCgFQAKDLkrSO+U7cWrXf6ZgDGT6dcZGfiQCg3ly5
4aAJ6UnN4WSmZnRZ/S+Jo4k=
=2Xqx
-----END PGP SIGNATURE-----



More information about the textmate mailing list