Jump to content

File filter for .tex does not work


Recommended Posts

Status: Solved.

Refer to the 2nd floor for the solution.

 

 

"File Filter" in workflow does NOT work for ".tex" file.

 

For example,

Encaysk.png

Le4UGMO.png

 

(the search scope has been set)

I found out that all file extensions (.py, .c, .txt, .cpp, etc.) work properly EXCEPT ".tex".

It could be a bug, please fix it. Many thanks!

 

FYI,

OS: OS X Yosemite 10.10.5

Alfred 3: v3.0 [652]

 

Note that it's different from the case http://www.alfredforum.com/topic/8569-search-for-tex-file/, which fails

to figure out the correct file extension "public.tex".

 

FYI, searching all files work well, showing the .tex files, e.g. shown as below

fLoZA0f.png

Edited by oracleyue
Link to comment

"File Filter" in workflow does NOT work for ".tex" file.

 

You may benefit from expanding the content type used if you're having issues with this.

 

Try performing an mdls on one of your .tex files (https://www.alfredapp.com/help/troubleshooting/indexing/mdls/) and take a look at the ContentTypeTree.

 

Once you've had a look at this, if you'd like to use the ContentTypeTree rather than just the ContentType, add a + before the name (For example, by adding a + before public.jpeg, you extend the file type search to public.image, including more than just .jpg images.)

 

Let me know how you get on :)

 

Cheers,

Vero
Link to comment

Yes, I have solved it! Many thanks!

I run `mdls` before, while I don't know how to explicitly add the entry. Ah, just click "+" (I just overlooked it before).

 

 

You may benefit from expanding the content type used if you're having issues with this.

 

Try performing an mdls on one of your .tex files (https://www.alfredapp.com/help/troubleshooting/indexing/mdls/) and take a look at the ContentTypeTree.

 

Once you've had a look at this, if you'd like to use the ContentTypeTree rather than just the ContentType, add a + before the name (For example, by adding a + before public.jpeg, you extend the file type search to public.image, including more than just .jpg images.)

 

Let me know how you get on :)

 

Cheers,

Vero

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...