Compile and correct with the diagnostics
Set the TeX runtime, follow the build and handle errors, revision and cancellation.
Check the chosen TeX engine
In the main window open Configuration → Runtime. In the LaTeX build driver / engine field you can leave auto or give the path of the installed executable. In the test, Detect proposed /usr/bin/latexmk. Test checks the selected command. To keep the choice use Save user defaults at the bottom. In the test with /usr/bin/pdflatex, Test showed the pdfTeX version in the status. To repeat the exercise the latexmk choice was restored. In the article, Refresh projects / status shows the resolved runtime. The teaching quaderno was checked with latexmk and pdflatex as the engine.
The executable test concerns the runtime. The availability of classes, packages and cross-reference tools depends on the TeX installation. For the exercise you need the article class, the fontenc, inputenc, amsmath and graphicx packages and the BibTeX workflow with the plain style.
Search for resources in the LaTeX environment
In Configuration → Scripts look for Local LaTeX environment — read-only below the Python table. Refresh LaTeX environment examines the tools and the detected part of the installed resources. During the inspection, Cancel stops the current request and keeps the last valid inventory.
Type in the search field to filter the observations. Read Kind, Version, Location and Status. Clear the text to see the list again. In the test the view shows up to 500 rows, while the incomplete inspection reported 20,000 observations. If a search in the table returns zero, try the exact file name, for example amsmath.sty, and press Locate filename (kpsewhich). Here it returned found even with zero matches in the subset of the table. Compiling the quaderno checks directly that the package can be used in the concrete case.

Start Build and watch the result
After linking the assets, press Build. The action saves the exact buffer before forwarding the request to the native compiler. Rebuild requests a new compilation after saving and is used to check a correction. The action bar may show completed when the command that forwards the request finishes. Wait for the compiler result and check PDF matches the saved source/assets revision. No current PDF indicates that a valid PDF for that revision is missing.
In the acceptance test, compilation used latexmk and pdflatex in the managed working directory, with shell escape disabled. To read the log press Compiler output. It is a read-only panel with the command, the passes and the native messages. In the quaderno you can see the passes that resolve numbering, references and bibliography.


Use Diagnostics to reach the line
Open the Diagnostics tab. Severity gives the level, Asset the file, Line the line if available and Message the compiler message. The table shows up to the first 1,000 diagnostic rows. For the detailed text open Compiler output. Before the first build, the jump button asks you to compile to obtain diagnostics.
- To reproduce an error, insert a line
\ComandoInesistenteGXTXT{}at the start of the body of the quaderno and press Rebuild. - Select the Undefined control sequence. row of
main.tex. Press Go to selected source error. The jump highlights the actual line in the source. For an error insections/risultati.texthe Compiler source window opens with the linked file read-only. To correct it, edit the working copy of the asset and link it again with the same name. - If the entry is a process summary without a verified position, consult the text in Compiler output. A row with only an index or without a file may have no link.
- Remove the line you introduced, or use Ctrl+Z in the text if it is the last change. Press Rebuild and check that the PDF becomes current.


Cancel a compilation in progress
Press Cancel build while the request is in progress. The action concerns the build of the open article. Wait for the final result. A short request may already have finished. From a state with no active compilation, the command does not change the source. In the acceptance test a deliberately longer build went from running to cancelling and then to the cancelled result. The previous valid PDF stayed associated with its revision, marked as outdated. Remove the cause of the long build and use Rebuild to obtain the current PDF.
