Hi:
I use MacBook Pro with OS X 10.9.1. I have encountered a typesetting problem with the latest TextMate version 2.0.alpha. I set Bundles → Latex → Preferences as follows:
Default Engine: latex View in: Preview Checked on “Show pdf automatically” Checked on “Keep log window open”
The message I got is
error number 256 opening viewer
When I set “Default Engine: pdflatex”, TextMate works, but it gives me the above error message when I set “Default Engine: latex.”
I have deleted the files you as suggested by the following link
https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
but it still gives me the same error message.
Note that it can generate a valid .ps file, but fails to generate a .pdf file. Any help would be much appreciated.
On 29 Dec 2013, at 22:05, T. Zha wrote:
Default Engine: latex […] error number 256 opening viewer When I set “Default Engine: pdflatex”, TextMate works […] Note that it can generate a valid .ps file, but fails to generate a .pdf file.
I’m no expert in these things, so take it with a grain of salt, but is there a reason you want to use “latex” as engine?
I believe most people moved to “pdflatex” because it generates the pdf directly, which can then be opened by Preview and many other apps.
The (older/raw) “latex” engine is for generating a .dvi file which is sort of a bitmap representation from which a .ps can be generated, but .ps files can’t easily be shown on OS X (and that is likely why you get the viewer error) and they look like crap if converted to .pdf (at least back when I used latex).
I need latex as engine because it can typeset .eps graph files. The eps graphs have much better resolution than pdf graphs. Do you think any other way to typeset the file embedded with eps graphs? Thanks.
---- On Dec 29, 2013, at 11:52 PM, Allan Odgaard mailinglist@textmate.org wrote:
On 29 Dec 2013, at 22:05, T. Zha wrote:
Default Engine: latex […] error number 256 opening viewer When I set “Default Engine: pdflatex”, TextMate works […] Note that it can generate a valid .ps file, but fails to generate a .pdf file.
I’m no expert in these things, so take it with a grain of salt, but is there a reason you want to use “latex” as engine?
I believe most people moved to “pdflatex” because it generates the pdf directly, which can then be opened by Preview and many other apps.
The (older/raw) “latex” engine is for generating a .dvi file which is sort of a bitmap representation from which a .ps can be generated, but .ps files can’t easily be shown on OS X (and that is likely why you get the viewer error) and they look like crap if converted to .pdf (at least back when I used latex).
_______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 31 Dec 2013, at 4:09, T. Zha wrote:
I need latex as engine because it can typeset .eps graph files. The eps graphs have much better resolution than pdf graphs. Do you think any other way to typeset the file embedded with eps graphs?
Looks like you can convert them once or have pdflatex do it automatically: http://stackoverflow.com/questions/1063383/convert-eps-to-pdf-on-the-fly-wit...