![]() |
Miscellaneous environment variables | ![]() |
The following miscellaneous environment variables are mainly intended for internal use:
This flag specifies whether auxiliary content has to be saved along with the document.
The zoom factor which is used for displaying the document on the screen. It is usually not saved with the document.
When set to fixed, absolute lengths are no longer multiplied by the current magnification.
window-bars\(:=\)auto
When window-bars is set to false (resp. true) in the initial environment of a document, the menu bar, icon bars and footer of windows showing the document are hidden (resp. shown), overriding the user preferences. When scroll-bars is false, no scroll bars are shown.
global-title\(:=\)
global-author\(:=\)
Global metadata of the document, which can be specified in Document\(\rightarrow\)Metadata and which is used for instance for the metadata of generated Pdf files.
Whether references to undefined labels should be recorded as missing during a complete typesetting of the document, so that they can be reported to the user.
When set to true, pattern and gradient values of color variables (like color, bg-color, fill-color and the ornament colors) are replaced by plain colors.
the-label
the-tags
The variable the-label contains the text to be associated to the next label, the-tags the list of tags (like index or glossary tags) which currently apply, and the-modules the list of Scheme modules and plug-ins which are needed by the style.
These variables determine the colors of the cursor, selections, focus and context rectangles, search matches, spelling errors, clickable regions and semantic correctness indicators, when editing the document. They are typically modified by themes.
Colors which are used for the syntax highlighting of source code in the various programming languages.
When set to true, the text color color (also one set by the user with with), the colors which the highlighters of the programming languages give as fixed values (that is, not through the variables above) and the colors of the flags of the editor are lightened until they have a contrast of at least 4.5 with the value of bg-color where they are used (the hue is kept: they are mixed with white). It is set by the themes dark-mode and programmer, and has no effect on a bright background. Limits: the background of a table cell (cell-background) or of a box does not change bg-color: text in a cell or box with a light background of its own is light on light (as in the input fields of the session styles framed-session and ring-session). A color set by hand inside such a cell or box is lightened too, as are the lines (not the fill) of graphics; <with|adapt-dark-colors|false|…> keeps the colors as they are. The opacity of a color is not taken into account.
These variables control the rendering of the canvas primitive (scrollable regions inside documents): the kind of scroll bars (the default plain means none), the background color, the padding, and the width, distance and color of the scroll bars.
These variables control the rendering of the ornament primitive, which is used for framed and decorated environments: the shape of the frame and the style of its title, the border width and swell, the rounding of the corners, the padding around the body, the background colors of the body and the title, and the colors of the sunny and shadowed sides of the border.
This flag disables first indentation for the next paragraph.
This variable is used during the typesetting of tables in order to store the with-settings which apply to the current cell.
atom-decorations
line-decorations
page-decorations
xoff-decorations
These environment variables store auxiliary information during the typesetting of decorations.