Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'adding support for .nfo files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
adding support for .nfo files
Authored by: jocamero on Jan 27, '08 09:22:20PM
Well I never could figure out how to edit the TextEdit .plist file so I downloaded TeXShop and successfully edited its .plist file. I basically added the .nfo string to the original poster's suggested edit. And now I can quick look any .nfo file and presumable any extension that is formated as a plain text file. I don't use the TeXShop application for anything other than this purpose so is there anyone that can come up with a more elegant solution? Possibly editing the TextEdit .plist file?


	<key>UTExportedTypeDeclarations</key>
	<array>
		<dict>
			<key>UTTypeConformsTo</key>
			<array>
				<string>public.text</string>
				<string>public.plain-text</string>
			</array>
			<key>UTTypeDescription</key>
			<string>TeX text file</string>
			<key>UTTypeIdentifier</key>
			<string>org.tug.tex</string>
			<key>UTTypeTagSpecification</key>
			<dict>
				<key>com.apple.ostype</key>
				<string>TEXT</string>
				<key>public.filename-extension</key>
				<array>
					<string>tex</string>
					<string>latex</string>
					<string>ltx</string>
					<string>texi</string>
					<string>ctx</string>
					<string>nfo</string>
				</array>
			</dict>
		</dict>
	</array>

[code/]


[ Reply to This | # ]