GeneralProblem with gsviewer

General information and discussion about TeXnicCenter
Post Reply
mr_pink
Posts: 11
Joined: Fri May 23, 2008 11:20 am

Problem with gsviewer

Post by mr_pink »

Hi,

I'm using TexnicCenter with the MikTex distribution on windows and the LaTex => PS profile.

I've been working like this for some weeks and everything used to work just fine. After viewing my document i left it open I went back to TexnicCenter and altered my document. and when I pressed the compile and view button again, it opened the altered document in the already opened gsv window at the page where i had left it open.

Now when i open my document it opens a new gsv window, no matter how many open ones there are already. That means i have to close the register dialogue and scroll down maaany pages every time i want to look at what i'm writing. This might not seem like a terrible problem but it is really unnerving as my document will have 120 pages in the end.

Does anyone have an idea what might be wrong?

As viewer settings i have "%bm.ps" at both lines.

Thanks for your help!

Anne

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: Problem with gsviewer

Post by Stefan Kottwitz »

Hi Anne,

it seems your gsview version opens new windows each call as default (multiple instance). For single instance add the -e option to the command parameters.
The new viewer settings should therefore be on both lines: -e "%bm.ps"

Stefan
LaTeX.org admin
mr_pink
Posts: 11
Joined: Fri May 23, 2008 11:20 am

Re: Problem with gsviewer

Post by mr_pink »

It works!!! :D

Thank you so much for the quick response! you made my day!
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Re: Problem with gsviewer

Post by localghost »

Since GSview observes changes in a once opened file, you don't need to open a new instance after processing the source code. Just get the GSview window in the foreground.


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
mr_pink
Posts: 11
Joined: Fri May 23, 2008 11:20 am

Re: Problem with gsviewer

Post by mr_pink »

even better! didn't know that.

thanks!
Post Reply