diff options
author | Norbert Preining <preining@logic.at> | 2009-07-04 23:15:50 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-07-04 23:15:50 +0000 |
commit | 2518dbfae8b159421d824512fdac143394815938 (patch) | |
tree | 7eff2ed2fa26d1060b0decb818250b96738ce7d7 /Master | |
parent | 48105b57aafe430be098547e0e72159b90cbdba8 (diff) |
texworks fileassocs
git-svn-id: svn://tug.org/texlive/trunk@14099 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/tlpkg/tlpsrc/texworks.tlpsrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/tlpkg/tlpsrc/texworks.tlpsrc b/Master/tlpkg/tlpsrc/texworks.tlpsrc index 6bac706fb0c..98ed2245ae6 100644 --- a/Master/tlpkg/tlpsrc/texworks.tlpsrc +++ b/Master/tlpkg/tlpsrc/texworks.tlpsrc @@ -5,5 +5,12 @@ postaction shortcut type=menu name="TeX Works Editor" \ postaction shortcut type=desktop name="TeX Works Editor" \ icon=TEXDIR/tlpkg/texworks/texworks.exe \ cmd=TEXDIR/bin/win32/texworks.bat hide=1 +# the filetype postactions are completely harmless because the only thing +# they change is the addition of the respective filetype to the list of +# possible ones. The actual linking is done by the fileassoc postaction +postaction filetype name=TeXworks.edit cmd='TEXDIR/bin/win32/texworks.bat "%1"' +postaction fileassoc extension=.tex filetype=TeXworks.edit +postaction fileassoc extension=.sty filetype=TeXworks.edit +postaction fileassoc extension=.cls filetype=TeXworks.edit binpattern f/win32 bin/${ARCH}/texworks binpattern d/win32 tlpkg/texworks |