|
|
Force Preview to reload a document
Did you try the pdf viewer of TexShop ? This one is updates himself as soon as the document changes and if there was no compilation errors then it reopens the previous page.... Really cool you should give it a try !!!
Force Preview to reload a document
Texshop has its place, but some of us *nix converts still like to do things from the command line. I personally still prefer vim as an editor, as (with some experience, of course) I can do pretty much anything and more with vim that I can with a gui editor. Refreshing Preview would be ideal for using pdflatex or dvipdf. For now, X11+xdvi works well (pressing ^r or just changing the page in xdvi refreshes).
Clarification on TeXShop with external editors
The command line has its place, but you should try the GUI some time. I know the thought of interacting with the GUI is painful for those of us with Unix backgrounds (been there, done that) but it's, like, a main advantage of the Mac. ;) If you're not a fan of the TeXShop editor itself — which has some nice (La)TeX-specific customizations that do not require a Ph.D. in Comp Sci to install — may I recommend TextMate?
As for gustou's comment, I think the suggestion is to configure TeXShop to be your PDF viewer application. This feature is built into TeXShop: take a look under Preferences. Then one can use Vim or Emacs or any other cool retro 1980s-style editor — or TextMate, BBEdit, etc. for that matter — to "interact" with TeXShop-cum-viewer, and reloading of updated PDF output from (La)TeX works fine... no AppleScript hacks necessary. (Which is not to denigrate this otherwise useful hint.)
Clarification on TeXShop with external editors
I would like to add to this that texshop is a real pdfpreviewer for latex coder whilst preview is not. Texshop offers the magnifying glass on double and tripple click which is a must for anyone who writes mathematics. And texshop does syncronise well with emacs or carbon emacs. Texshop is also much faster than preview, another must for large document and compulsive recompilers like myself.
Except that it does not work...
TeXShop does not update pdf files that are changed by an external application.
Trying to use the script from Matlab
Just out of fun, I tried to open a pdf file from Matlab with this script:
Except that it does not work...
And what is pdflatex, if not an external application?
Except that it does not work...
Try opening the preferences, select the Preview tab and check the box "Automatic Preview Update" under "External Editor" :-)
Clarification on TeXShop with external editors
The command line has its place, but you should try the GUI some time. The GUI is not sufficient for LaTeX users like myself who rely on fine-tuned Makefiles for their workflow. Mine checks all the dependencies, generates a PDF, and then displays it in one shot. Using the GUI as you suggest would add an unnecessary extra step to this process. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|