matjp / latex-preview

LaTeX preview extension for VS Code
https://marketplace.visualstudio.com/items?itemName=mjpvs.latex-previewer
MIT License
3 stars 1 forks source link

Error: !defineFont failed for font number 15 lmroman10-regular.ttf not found in font table #2

Closed Bobson1729 closed 8 months ago

Bobson1729 commented 8 months ago

I'm having trouble getting this to work. I get the following error:

dvilualatex --halt-on-error --interaction=nonstopmode --synctex=-1 d:\Users\Jason\Desktop\Desktop1\document.tex Parsing synctex file d:\Users\Jason\Desktop\Desktop1\document.synctex ... Decoding dvi file d:\Users\Jason\Desktop\Desktop1\document.dvi ... This is dvi-decode, Version 0.4.7 Options selected: Debug mode is OFF Starting page = 1 Resolution = 96 pixels per inch New magnification factor = 1x !defineFont failed for font number 15 lmroman10-regular.ttf not found in font table Could not generate dvi file - review the log for errors.

Here is my LaTeX code:

\documentclass{article} \usepackage{amsfonts} \usepackage{amsmath,amssymb} \usepackage{unicode-math} \begin{document} Hello world2 \end{document}

I am using the LuaLaTeX recipe via LaTeX Workshop on a Windows 11 machine. I use MiKTeX as my package manager.

Thanks!

matjp commented 8 months ago

Did you set the LaTeX Font Directory in the extension settings?

Try setting Debug Mode on and post the output here.

Bobson1729 commented 8 months ago

response_container_BBPPID{font-family: initial; font-size:initial; color: initial;} That worked! Thanks!- Jason From: @.: February 1, 2024 12:36 PMTo: @.: @.: @.; @.***: Re: [matjp/latex-preview] Error: !defineFont failed for font number 15 lmroman10-regular.ttf not found in font table (Issue #2)

Did you set the LaTeX Font Directory in the extension settings? Try setting Debug Mode on and post the output here.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>