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
-----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
Le 17 nov. 06 à 14:51, Simon Ruderich a écrit :
-----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
What do you mean by : the file pattern section
In the prefs of TM, there is Folder References : "use the information icon button in the project drawer to edit the save patterns" but i edit the shell variables and not the Folder reference with this button !
In the help : "The patterns are only used when creating new folder references" but how to create new folder reference ?
Thanks for your answer
Greetings Alain Matthes
Le 17 nov. 06 à 14:51, Simon Ruderich a écrit :
-----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
Sorry, i must select a folder before ! but it's not very clear
Thanks to you and James Edward Gray II' Book !!
Alain
Le 17 nov. 06 à 16:33, Alain Matthes a écrit :
Le 17 nov. 06 à 14:51, Simon Ruderich a écrit :
.*.(tex|cls|sty|cfg)$
I've select the folder in the project drawer and the icon information
I put .*.(tex|cls|sty|cfg)$ in the Folder Pattern
but without success ???
I'm stupid ! this works in in the files Pattern
Thanks
Alain