dvisvgm and MikTex Portable

Asked by Valentina Butakova

  I have MikTex 2.9.4250 Portable on my Windows 7 pc. It works correctly.
  Once I decided to install dvisvgm 1.0.12 precompiled binary for Windows (XP, Vista, 7). I put the dvisvgm.exe into the /portable_path/miktex/bin directory and ran the command: >dvisvgm.exe my.dvi. The output was "ERROR: MikTex.Session could not be initialized".
  I tried the next. I ran the miktex-portable.cmd as it was recommended in the MikTex's manual "How to use the portable edition". Then I ran the command: >dvisvgm.exe my.dvi again. The output was the same "ERROR: MikTex.Session could not be initialized".
  So, is it possible to run dvisvgm.exe with portable MikTex?

Question information

Language:
English Edit question
Status:
Solved
For:
dvisvgm Edit question
Assignee:
Martin Gieseking Edit question
Solved by:
Martin Gieseking
Solved:
Last query:
Last reply:
Revision history for this message
Best Martin Gieseking (martin-gieseking) said :
#1

Unfortunately, dvisvgm does not work together with the portable version of MiKTeX. Since dvisvgm is a third-party program and not part of the MiKTeX distribution, it requires the COM interface to access the MiKTeX functions. However, this interface is not available in MiKTeX Portable because the necessary registry entries are missing. Portable apps are supposed to work without local modifications on the computer and thus don't touch the registry. As a result, this could lead to reduced functionality in comparison to a locally installed application.

Revision history for this message
Valentina Butakova (omega1x) said :
#2

Thanks Martin Gieseking, that solved my question.