texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

After changing tex doc, there is no change on Internal PDF viewer on texstudio 4.9.7

Open cosmos-fly opened this issue 3 months ago • 4 comments

Question: With the configuration below, after changing tex document, there is no change on Internal PDF Viewer.

Configuration: Options > Configure TeXstudio > Internal PDF Viewer > (CHECK) Auto-recompile document on changes

Version: texstudio 4.9.7(git 4.9.6) OS: win 11 Home Compiler: XeLatex

  • Click tool item "Build & View" directly or "View" after compiling or recompiling, Internal PDF Viewer works fine.

  • Change the document, Click tool item "Compile" when previous step is internal PDF view, there is no change on Internal PDF Viewer.

  • On texstudio 4.9.6, Internal PDF Viewer works fine with the reproduce steps.

cosmos-fly avatar Aug 17 '26 09:08 cosmos-fly

The description is ambiguous. What exactly does "change document" involve? Is the autocompile option in any way relevant?

sunderme avatar Aug 17 '26 10:08 sunderme

I assume "change" means "edit", so autocompile option is of interest. What I see (in a similar environment) when this option is set: A change in document triggers autocompile. The status bar signals a default build (lualatex in my case). So I would not expect an update of the integrated (embedded) pdf-viewer, and in fact it doesn't happen. You need to press F7.

But I believe that this is different from the past behavior (and I do not use autocompile). You may remember a discussion about multiple pdf-viewer open for different files. When I remember well, using Build&View updated both windows with the same file, so the setting was "destroyed". But using only Compile correctly updated the corresponding viewer, not both. Maybe an issue with syncing the viewer?

octaeder avatar Aug 17 '26 12:08 octaeder

The description is ambiguous. What exactly does "change document" involve? Is the autocompile option in any way relevant?

“change document” means editing the .tex file, but not break normal latex syntax.

only change autocompile option based on default options as reproduce STR, not with other options.

My limited vocabulary may make it difficult for you to understand or cause confusion. Please just follow the normal procedure.

cosmos-fly avatar Aug 17 '26 13:08 cosmos-fly

I assume "change" means "edit", so autocompile option is of interest. What I see (in a similar environment) when this option is set: A change in document triggers autocompile. The status bar signals a default build (lualatex in my case). So I would not expect an update of the integrated (embedded) pdf-viewer, and in fact it doesn't happen. You need to press F7.

But I believe that this is different from the past behavior (and I do not use autocompile). You may remember a discussion about multiple pdf-viewer open for different files. When I remember well, using Build&View updated both windows with the same file, so the setting was "destroyed". But using only Compile correctly updated the corresponding viewer, not both. Maybe an issue with syncing the viewer?

Yes, "change" means "edit". A change in document triggers autocompile, but Internal PDF Viewer do not show the change.

IF turn on autocompile option by previous vertion 4.7.6, Internal PDF Viewer will show the change after edit the document.

cosmos-fly avatar Aug 17 '26 13:08 cosmos-fly