Viewers for PDF, PS, and DVIQuestion about PDF-viewer and Texniccenter

Information and discussion about output viewers related to LaTeX (e.g. Adobe Reader, Ghostview, YAP, ...)
Post Reply
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Question about PDF-viewer and Texniccenter

Post by Faust »

I use texniccenter on windows 7, and always make pdf's. Now I'm a bit tired of continuously hitting F5 and having to SCROLL DOWN to view the (minor) changes I've been making. Especially with 20+ page documents this is starting to annoy me.

Now my question: Is there a way to get acrobat (or any other) to auto-open on the page I'm working on when I'm hitting F5 in Texniccenter.

Thanks! :mrgreen:

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
max.t
Posts: 4
Joined: Sat Oct 31, 2009 3:01 pm

Re: Question about PDF-viewer and Texniccenter

Post by max.t »

I am using the PDF-XChange Viewer (http://www.docu-track.com) which is able to remember the last view of a document. The command for closng the document before compilation is "/close filename".
An alternative is GSView which does not open the pdf exclusively (the file can be left open during compilation). After compilation you only have to switch to GSView, it will reload the new pdf wihtout changing the actual view.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Question about PDF-viewer and Texniccenter

Post by frabjous »

Probably you're best off following the advice in another thread about SumatraPDF, but if you do want to use Acrobat/Adobe Reader, I believe you just need to set the appropriate setting.

For example, in Adobe Reader 9 for linux, under Edit > Preferences > Documents, there's a section called "Open Settings", where you can check the first box "Restore last view settings when reopening documents".

I assume there's a similar setting for Adobe Reader and Acrobat Pro for Windows, though it's been too long since I've used it.

Can I also ask, however, that you try not to post the same question in several forums? It's annoying.
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: Question about PDF-viewer and Texniccenter

Post by Faust »

Thank you for your tip, I will look into SumatraPDF aswell. And I will also follow up your advice of not posting simultaneously. Apologies for that.

Last, Why would someone want to make a PS (postscript) output or DVI output in Texniccenter?
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Question about PDF-viewer and Texniccenter

Post by localghost »

Faust wrote:[…] Last, Why would someone want to make a PS (postscript) output or DVI output in Texniccenter?
For in formation about the DVI (DeVice Independent) file format take a look at the Wikipedia article [1].

Some packages like pstricks (and related) are bound to the use of the latex compiler engine because they use Postscript specials to generate their output. For the pstricks family there exists a workaround with the (auto-)pst-pdf package that makes it possible to use the pdflatex compiler engine directly. In general the capabilities of the Postscript language should not be underestimated.

[1] Device independent file format - Wikipedia, the free encyclopedia


Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: Question about PDF-viewer and Texniccenter

Post by Faust »

Wow you can make very nice drawings with the pstricks package. Didnt even know about that. Thanks!
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Question about PDF-viewer and Texniccenter

Post by localghost »

Faust wrote:Wow you can make very nice drawings with the pstricks package. [...]
The pgf/tikZ package is almost as nice as pstricks but can produce PS as well as PDF output. Thus it can be used either with latex or pdflatex.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: Question about PDF-viewer and Texniccenter

Post by Faust »

Thanks. I downloaded LatexDraw which is very convenient for easy drawing.

I never use PS because it crashes Latex.exe when compiling (using protext on windows 7 64 bit).

It works for trying out some drawings, but random other documents I normally produce as PDF fail as PS (or as DVI).

This is the error produced by TexNicCenter:

This application has requesten the Runtime to terminate it in an unusual way.
Please concact the application's support team for more information

Buffer size exceeded!

Any ideas?
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: Question about PDF-viewer and Texniccenter

Post by Faust »

hmmm I noticed I get errors with some other packages and PS output aswell.
Typically using background images/watermarks is rendering errors.

PDF output is fine. Should I then just refrain from using PS? The only benefit I could find is that it generates PStricks drawings.
Post Reply