TexText on Windows

Preparation

  1. Make sure that Inkscape 1.4 is installed on your system and you checked the Python option in Program Files as well as the Extensions options in Inkscape Data during the installation of Inkscape (by default this is the case).

    Necessary installation options in Inkscape
  2. Make sure that an operational LaTeX distribution is installed on your system. You can verify this by invoking at least one of pdflatex --version, xelatex --version, lualatex --version, and typst --version in a command or power shell window.

    Warning

    Make sure that automatic package installation is either set to Never install missing packages on-the-fly or set to Always install missing packages on-the-fly. You can configure this feature during installation of MiKTeX or later in the MiKTeX console.

  3. Optional: If you wish to have syntax highlighting and some other nice features enabled in the TexText-Gui install GtkSourceView. For that purpose download the GtkSourceView package that matches your Inkscape installation type

    and run the corresponding installer. It will add a small amount of files into your Inkscape 1.4 installation. You need administrator privileges for this step. If you do not trust the installer you will find zip packages on the GtkSourceView for Inkscape project site for manual installation.

Important

Compared to previous versions TexText does not need any conversion utilities like ghostscript, pstoedit or pdfsvg. Furthermore, the required Python bindings for the GTK3-GUI are already included in the windows version of Inkscape 1.4.

Download and install TexText

You have two options: A setup script or a GUI based installer.

Installer

You can also use a GUI based installer:

  1. Download the most recent installer from GitHub release page (direct links: exe-installer for Windows)

  2. Use the installer and follow the instructions. It will copy the required files into the user’s Inkscape configuration directory (usually this is %USERPROFILE%\AppData\Roaming\Inkscape).

Note

The installer does not perform any requirement checks. This means that the extension might fail to run if you did not install the programs mentioned above correctly.

You are done. Now you can consult the usage instructions.

Problems with the GUI framework

The GUI framework should already be included in the Inkscape installation on Windows. Hence, if the TexText installer complains about missing GTK3 or TkInter bindings please file a bug report on github

Installation for Inkscape in PortableApps

If you use Inkscape in PortableApps you have to proceed as follows:

  1. Download the most recent package from Github release page (direct links: zip-file for Windows)

  2. Extract the package and change into the created directory.

  3. Open a Windows command prompt or Windows power shell window in this directory (SHIFT + right-click in the Windows explorer, then select Open powershell window here)

  4. Enter and execute the following command where C:\Path\To\Your\PartableApps\Installation is the path to your PortableApps installation (usually this is C:\User\YourUserName\PortableApps):

    setup_win.bat --portable-apps-dir "C:\Path\To\Your\PartableApps\Installation"
    

    If you also use your LaTeX system from PortableApps use the following command instead:

    setup_win.bat --portable-apps-dir "C:\Path\To\Your\PartableApps\Installation" --pdflatex-executable "C:\Path\To\pdflatex.exe"
    

    (use --lualatex-executable and --xelatex-executable if you also want to have lualatex and xelatex available as well)

    See Advanced installation options for further options provided by setup_win.bat.