Is there a simple way to open "
.sty" files by something similar to the "
texdoc"? I'm looking for something like
texsty to simply open
|show 8 more comments|
Windows (without cyg)
Native Windows isn't really cut out for this. It's been a while since I did any batch file scripting, but try this:
Save the following as file
Use as eg
This assumes that Texmaker is installed in the default path. For other editors/paths, one can edit the command line accordingly. It should also be possible to use
I got the syntax from Batch equivalent of Bash backticks.
Bash (or similar shells)
For completeness, if using
This just wraps the method offered by egreg in his comment into a more convenient function. Again, invoke as eg
Unfortunately windows does not have the flexibility of unix commands. This has to be done on two step process or using a script as per the accepted answer.
This answer is more of a note to myself.