Skip to content

Instantly share code, notes, and snippets.

@georgewsinger georgewsinger/LatexErrorMessage.org Secret
Last active Aug 29, 2018

Embed
What would you like to do?
LatexErrorMessage.org

Settings

    (custom-set-variables '(org-preview-latex-process-alist
      (quote
      ((dvipng :programs
        ("lualatex" "dvipng")
        :description "dvi > png" :message "you need to install the programs: latex and dvipng." :image-input-type "dvi" :image-output-type "png" :image-size-adjust
        (1.0 . 1.0)
        :latex-compiler
        ("lualatex -output-format dvi -interaction nonstopmode -output-directory %o %f")
        :image-converter
        ("dvipng -fg %F -bg %B -D %D -T tight -o %O %f"))
(dvisvgm :programs
         ("latex" "dvisvgm")
         :description "dvi > svg" :message "you need to install the programs: latex and dvisvgm." :use-xcolor t :image-input-type "xdv" :image-output-type "svg" :image-size-adjust
         (1.7 . 1.5)
         :latex-compiler
         ("xelatex -no-pdf -interaction nonstopmode -output-directory %o %f")
         :image-converter
         ("dvisvgm %f -n -b min -c %S -o %O"))
(imagemagick :programs
             ("latex" "convert")
             :description "pdf > png" :message "you need to install the programs: latex and imagemagick." :use-xcolor t :image-input-type "pdf" :image-output-type "png" :image-size-adjust
             (1.0 . 1.0)
             :latex-compiler
             ("xelatex -no-pdf -interaction nonstopmode -output-directory %o %f")
             :image-converter
             ("convert -density %D -trim -antialias %f -quality 100 %O"))))))

    ;; https://emacs.stackexchange.com/questions/30341/how-do-i-customize-the-process-that-gets-triggered-in-org-preview-latex-fragment/33172#33172
    (setq org-preview-latex-default-process 'dvisvgm)
    (setq org-latex-inputenc-alist '(("utf8" . "utf8x")))
    (add-to-list 'org-latex-packages-alist '("" "unicode-math"))
    (set-fontset-font "fontset-default" nil
                      (font-spec :size 40 :name "Symbola"))

Error Message when exporting to PDF

org-latex-compile: Wrong type argument: sequencep, dvisvgmInvalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_a8502c211e887d80ceda783f0671c66fd7d2a942.svg :ascent center)’
Invalid image size (see ‘max-image-size’)
Error parsing SVG image ‘(image :type svg :file /home/george/Dropbox/briefcase/lists/ltximg/org-ltximg_d46781af225bbf031b4faa39c4e8e6cf1f2d25b5.svg :ascent center)’
Mark set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.