Texstudio Mac User Manual
CLICK HERE >> https://bltlly.com/2t7k2C
You can use a number of special characters / character sequences to address thecontext of the current document. They are expanded at runtime:Special CharacterExpands to%filename of the root document for of current document without extension@current line number? followed by further charactersSee the instruction at the bottom of the configuration dialog.[txs-app-dir]Location of the TeXstudio executable (useful for portable settings)[txs-settings-dir]Location of the settings file (texstudio.ini)The section Forward/Inverse search gives some example commands for common viewers.
User commands can be defined here by "adding" them. Each user command has a name with a pattern :, e.g. user0:User Command 0. The command id has to be unique and must not contain spaces. In advanced mode, you can reference it using txs:///". The display name will be shown in the tools menu. The user commands can be activated either by short cut (alt+shift+F%n) or by the tools menu (Tools/User).User commands can either consist of a combination of known commands by selecting them from a list of available commands. This is triggered by clicking the spanner-symbol.Alternatively a command can be directly selected through the file system.
If you enable the advanced options, you can configure the build system in more detail.Every txs-command is a list of external programs/latex-commands and other txs-commands to call. An external program can be called with its usual command line, while a txs-command with id "foobar" is called by txs:///foobar. The commands in the list are separated by |, which is just a separator (i.e. it will not pass the stdout from one program to the stdin of the next).Note: Use command lists only for the meta and user commands listed at Options -> Build. Do not use then at Options -> Commands. The latter should just be single commands(i.e. do not use | there). While it's currently working in some cases, generally we do not guarantee this behavior. It can have surprising side effects such abortion of compilation in some cases. Also, the use of | at Commands may be prohibited completely without further notice in the future.
Each of these txs-command has a unique id, which is shown as tooltip of the displayed name for "normal" commands and in the edit box for user commands. Some important commands are usual: txs:///quick (Build & View, the old quickbuild), txs:///compile (Default compiler), txs:///view (Default viewer), txs:///latex (latex), txs:///pdflatex (pdflatex), txs:///view-pdf (Default Pdf Viewer), txs:///view-pdf-external (External pdf viewer).For example, in a typical build configuration you might call txs:///quick by pressing F1, which calls txs:///compile, which first calls txs:///pdflatex that calls the actual pdflatey, and then calls txs:///view, which calls txs:///view-pdf, which calls txs:///view-pdf-internal, which displays the pdf.There is no difference between commands defined as command on the command config page, commands defined as build on the build config page, or commands defined as user commands. They are just separated in the GUI to simplify the interface.This also means that you can change every command as you want, ignoring its old definition (you could even change its id, when editing the ini file.).There are however three always defined internal commands, which can only be called and not modified:txs:///internal-pdf-viewerOpens the internal viewer for the current documenttxs:///view-logViews the log file for the current documenttxs:///conditionally-recompile-bibliographyChecks if the bib files have been modified, and calls txs:///recompile-bibliography, iff that is the caseThe internal pdf viewer also accepts the following options (txs:///internal-pdf-viewer) to modify its behaviour:--embeddedOpens the viewer embedded--windowedOpens the viewer windowed (default if no option is given)--close-(all|windowed|embedded)Close all open viewers, or just viewers of a specific kind--preserve-existingDoes not change any existing viewers (i.e. always opens a new one)--preserve-(embedded|windowed)Does not change any existing embedded/windowed viewers--preserve-duplicatesOnly opens the pdf in the first opened viewer--(no-)auto-closeDetermines whether the viewer should be closed, when the corresponding tex file is closed (default: auto-close iff embedded)--(no-)focusDetermines whether the viewer should be focused (default: focus iff windowed)--(no-)foregroundDetermines whether the viewer should be brought to front (default: foreground)filenameDetermines the file to open. Like in other commands, file patterns are supported. If this parameter is not provided, TXS uses "?am.pdf", i.e. the absolute path of the main file. If the parameter is not an absolute filename, it is searched for in the directory of the main file as well as in Options -> Build -> Build Options -> Additional Search Paths -> PDF FilesIt is also possible to modify the arguments of called subcommands with argument modifiers or by adding a new argument . These modifiers are passed through called lists, so it will always change the arguments of the finally called program, even if the directly called subcommand is just a wrapper around another command:txs:///foobar --xyzThis will add the xyz optiontxs:///foobar[--xyz=123]This will change the value of the xyz option to 123 (i.e. removing any xyz option defined in foobar)txs:///foobar{--xyz=123}This will remove --xyz=123 from the foobar command line, ignoring xyz options with other valuestxs:///foobar{--xyz}This will remove any --xyz option from the foobar command line, regardless of its valuetxs:///foobar{}This will remove all options from the foobar command line, leaving only the name of the executableFinally, there are also hidden options, which can only be changed by modifying the ini-file: Tools/Kind/LaTeX, Tools/Kind/Rerunnable, Tools/Kind/Pdf, Tools/Kind/Stdout, Tools/Kind/Viewer, which give a list of commands that are treated as latex compiler (e.g. show the log afterwards), rerunnable (repeat command call, if there are warnings), pdf generators (e.g. pdflatex), commands that prints to stdout (e.g. bibtex), and viewers (e.g. only open once).
You can specify one or more search paths for the dictionaries in the options. Multiple paths need to be separated by semicolon. With the paths you can use the special strings [txs-app-dir] and [txs-settings-dir]. These are expanded to the path of the executable and the config file (texstudio.ini) respectively. This expansion is particularly useful if you use a portable version on a USB stick in which the actual location of the program may depend on the computer you are using.
Since the internal structure of the dictionaries is complex (e.g. contains rules how to generate a word with in different inflections) it is not possible to simply add words to the dictionary. Instead if a word is missing in the dictionary, you can add it to an ignore list, so that the spell checker won't complain about it. The ignore list is normally saved in the same directory as the dictionary. It's a plain text file with the extension .ign. If this isn't possible (e.g. missing access rights) the list is stored in the user configuration directory.
If your favorite package is not yet present for completion (and syntax checking), you can provide a list of your own by placing a file "packagename.cwl" in the config directory. This directory is placed in ~/.config/texstudio under Linux and usually "c:\Documents and Settings/User/AppData/Roaming/texstudio" under Windows. Basically the file contains a list of valid commands. A description of the exact format and an example are given in the appendix.
One Custom Toolbar is present in TMX. This toolbar can be filled with actions from the Latex-, Math- and User-Menu.Since many of those item don't have icons, user icons can be loaded as well. This is achieved by applying "load other icon" from the context menu on a item in the custom toolbar list in the configure dialog.
"Automatically check in after save" allows TeXstudio to perform an SVN check in after every save of a document, thus providing a very complete history of the creation of a document.Since text documents are rather small compared to disk spaces, size of the SVN database should not be a problem.In addition newly saved files (save as) are automatically added to SVN control,provided that the directory is already under SVN control.If that is not the case, TeXstudio searches in "SVN Directory Search Depth" directory above the current diorectory for a SVN controlled directory to which the subdirectories and the TeX-Document will be added.If no appropriate directory is found, a repository is automatically generated in a directory called "./repo" and the document is added.Thus the user does not need to look up the necessary commands to set up a repository. This functionality is only activated when "Auto checkin in" is enabled !
New templates can be created by using the command "File/Make Template" on a opened document which you like to have has a template. Note that this dialog currently does not support the full capabilities of the template system. In particular you cannot supply a preview image or create a multi-file template with it. You'll have to do this manually (see the template format).
Properly inserting figures is a challenge for LaTeX beginners and still quite a bit of text to type for the expert. Therefore TeXstudio offers a wizard for handling graphics insertion code in your document. "Graphics options" defines the optional parameter of \insertgraphics[options]{file}. While the most used width/height attributes can be easily set, alternatively you have full control with the user defined setting.Place the graphic inside a figure environment if it does not have to be at an exact position in the text. Then LaTeX will determine an optimal position on the page.By pressing the "Save as default" button the current settings (except file, caption and label) are stored and will hence be used as default when you open the wizard.The wizard also comes into play when you drag drop an image file to your document or use copy in explorer and paste in TeXstudio. Together with the adjustable default parameters this makes insertion of new pictures very fast. Furthermore, if you start the wizard while the cursor is on picture code, the wizard is used to manipulate the existing picture settings. 2b1af7f3a8