Kileopen Quick Build in separate window?

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
kilethemall
Posts: 3
Joined: Sun May 24, 2009 5:21 pm

open Quick Build in separate window?

Post by kilethemall »

Hi all,

I'm using Kile 1.9.3 under KDE 3.5.8-1.fc6 Fedora under a dual monitor setup. When I do a Quick Build of my latex file, it opens the compiled document in the same window as my editor, so I have to switch back and forth between the editor window and the QuickBuild viewer. I would prefer the viewer to open in a separate window so I can use one display monitor each for the editor and the Quick Build viewer respectively. Is that possible?

TIA!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

open Quick Build in separate window?

Post by localghost »

kilethemall wrote:[...] Is that possible? [...]
No. (In the case that you mean the second monitor when saying "window".)


Best regards and welcome to the board
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
kilethemall
Posts: 3
Joined: Sun May 24, 2009 5:21 pm

open Quick Build in separate window?

Post by kilethemall »

localghost wrote:
kilethemall wrote:[...] Is that possible? [...]
No. (In the case that you mean the second monitor when saying "window".)


Best regards and welcome to the board
Thorsten
Thorsten,
Thanks for the reply and the welcome. :)
I meant Quick Build would open in a separate window (distinct from the editor window) so I could maximise each of the two windows in its own monitor. But in any case your answer seems to indicate that it's not possible.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

open Quick Build in separate window?

Post by localghost »

kilethemall wrote:[...] I meant Quick Build would open in a separate window (distinct from the editor window) so I could maximise each of the two windows in its own monitor. [...]
From your descriptions it looks like the output window would open inside the Kile instance. This can't be true since the (default) Quick Build function compiles to DVI and then calls KDVI as the viewer. And this window surely can be dragged to the other monitor. But it is actually more a matter of settings for your operating system than of Kile itself.
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
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

open Quick Build in separate window?

Post by frabjous »

Devil's Pie may be able to do what you want. I haven't tried it personally. If you figure out a way, let us know. I'm currently using a single-monitor setup, but am thinking of getting a second monitor soon.
kilethemall
Posts: 3
Joined: Sun May 24, 2009 5:21 pm

open Quick Build in separate window?

Post by kilethemall »

localghost wrote:
From your descriptions it looks like the output window would open inside the Kile instance. This can't be true since the (default) Quick Build function compiles to DVI and then calls KDVI as the viewer. And this window surely can be dragged to the other monitor. But it is actually more a matter of settings for your operating system than of Kile itself.
Thanks Thorsten, your last post helped... my Kile was configured to use the Embedded Viewer instead of KDVI. (I suppose that was what you meant wouldn't open in a separate window.) However, now that I've seen KDVI, I'm perfectly happy to use it with Kile instead of the embedded viewer, with Kile on one display and KDVI on the other... especially with KDVI's "inverse search" feature.

frabjous, I don't know if like me you didn't know Kile could be configured to use an external viewer which can be kept in a separate window/display, or whether you just want to use the embedded viewer in a separate window. As you can see, there's an easy(*) solution for the former; don't know about the latter.

(*) Assuming we have similar versions/configurations of Kile, go to
Settings > Configure Kile > Tools > Build > QuickBuild
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: open Quick Build in separate window?

Post by frabjous »

I knew it was possible to have it show the file using an external viewer. In fact, that's all I've ever done. Mine came prefigured to use Okular, however -- I don't even have KDVI installed, I don't think. I've switched it over to use evince. (I'm using Ubuntu 9.04, with GNOME rather than KDE.)

Right now I'm only on one monitor, and I've no experience with multiple monitors, but I wanted to set it up so that it would open up automatically in another workspace, but so far it always opens up in the same one I'm in, even when I was using the --single option in Okular and Okular was already open in another workspace.

I can drag Okular or Evince over to the other workspace once it opens, but it won't stay put if I rebuild the file, and so it is tedious to do that over and over again. Not that big a deal since switching windows in the same workspace and switching workspaces isn't really much different with a single-monitor system... to be honest, I just wanted an excuse to see the rotating cube from Compiz Fusion which you see when switching workspaces rather than switching windows in the same workspace.

I think Devil's Pie could do what I want, but it seems too trivial of a reason to install and learn an entirely new program.

I also think evince will automatically reload a file that changes while being viewed, and perhaps if I just set up QuickBuild to not even call ViewDVI/ViewPDF at all, I'd in effect get what I wanted if I just left it open in the other workspace. I'm on my wife's computer right now, so I can't test, but will soon.
zyv
Posts: 8
Joined: Mon May 25, 2009 7:43 pm

Re: open Quick Build in separate window?

Post by zyv »

That's exactly what I do and it does work for me. I have KPDF set to watch the file as it changes and I compile directly to PDF using the pdflatex button. Should be possible to do the same with DVI/KDVI combo.
Post Reply