LaTeX forum ⇒ TeXworksStop Editor and Viewer Windows from Resizing

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
JustA_LaTeXusr
Posts: 41
Joined: Tue Jul 23, 2013 6:48 pm

Stop Editor and Viewer Windows from Resizing

Postby JustA_LaTeXusr » Sat Sep 21, 2013 12:52 am

I use an external editor (Vim) to edit my source files. Every time I save the file from Vim, TeXworks shrinks my editing window and PDF viewing window from full screen to something small. Is there a way prevent this?

This has been crossposted to SourceForge.

Link:
BBcode:
HTML:
Hide post links
Show post links

josephwright
Site Moderator
Posts: 813
Joined: Tue Jul 01, 2008 2:19 pm
Contact:

Postby josephwright » Sun Sep 22, 2013 12:07 am

TeXworks remembers window size and resets it if it detects an external edit. Have you tried opening in TeXworks, resizing to what you want then closing the file so the 'preferred' layout is stored?
Joseph Wright

Link:
BBcode:
HTML:
Hide post links
Show post links

JustA_LaTeXusr
Posts: 41
Joined: Tue Jul 23, 2013 6:48 pm

Postby JustA_LaTeXusr » Mon Sep 23, 2013 7:54 pm

Yes, that works wonderfully. Thank you!

Link:
BBcode:
HTML:
Hide post links
Show post links

JustA_LaTeXusr
Posts: 41
Joined: Tue Jul 23, 2013 6:48 pm

Postby JustA_LaTeXusr » Mon Sep 23, 2013 8:31 pm

Correction: It only works if you save from TeXworks, which means you have to make a text change within the TeXworks editor first (even if it's just a change followed by undo). Furthermore, when you save, it must be from the TeXworks editor and the preview window must be open to its desired size & location.

Link:
BBcode:
HTML:
Hide post links
Show post links

JustA_LaTeXusr
Posts: 41
Joined: Tue Jul 23, 2013 6:48 pm

Postby JustA_LaTeXusr » Mon Sep 23, 2013 9:11 pm

Actually, it doesn't work predictably. The PDF previewer now goes to full screen whenever I write the .tex file from Vim. I thought it might be due to docking, so I made sure the PDF previewer was not docked, made a change in the TeXworks editor, undid the change, saved the .tex file, and exited. I expected the position/size of the windows to be remembered, but they weren't. Odd that it worked earlier.

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “TeXworks”

Who is online

Users browsing this forum: No registered users and 1 guest