Search found 5 matches

by matjplc
Tue Mar 14, 2023 4:00 am
Forum: Viewers for PDF, PS, and DVI
Topic: LaTeX Previewer for VS Code
Replies: 0
Views: 63982

LaTeX Previewer for VS Code

https://marketplace.visualstudio.com/it ... -previewer

This VS Code extension uses the dvi-decode implementation for Javascript that I had written previously.

Constructive criticism and/or bug reports will be most welcome.

Matt.
by matjplc
Thu Nov 17, 2022 2:58 am
Forum: Viewers for PDF, PS, and DVI
Topic: New opensource software for rendering dvi files generated by LuaTeX
Replies: 4
Views: 21641

New opensource software for rendering dvi files generated by LuaTeX

A further update for anyone interested.

dvi-decode v0.3.0 has been released which removes the dependency on the OpenType renderer. So, you no longer need to re-declare fonts. The default font options should work.

However, there is now a requirement that you build your dvi file on a system with the ...
by matjplc
Mon Nov 14, 2022 11:26 pm
Forum: Viewers for PDF, PS, and DVI
Topic: New opensource software for rendering dvi files generated by LuaTeX
Replies: 4
Views: 21641

New opensource software for rendering dvi files generated by LuaTeX

dvi-decode has been updated to extract image references from the postscript 'specials' if they exist in the dvi file.

Referenced EPS files should be converted to SVG for use in browser.

See a new demo including images here https://matjp.github.io/dvi-viewer/

Matt
by matjplc
Mon Oct 31, 2022 3:56 am
Forum: Viewers for PDF, PS, and DVI
Topic: New opensource software for rendering dvi files generated by LuaTeX
Replies: 4
Views: 21641

New opensource software for rendering dvi files generated by LuaTeX

Thanks Stefan,

dvi-decode is still somewhat experimental and does not yet support images. I will add note about this on the demo. I know that the image filenames are written to the dvi file as 'special' commands by LuaTeX, so I will look into extracting that data.

[Renderer=Opentype] is required ...
by matjplc
Sun Oct 30, 2022 10:40 pm
Forum: Viewers for PDF, PS, and DVI
Topic: New opensource software for rendering dvi files generated by LuaTeX
Replies: 4
Views: 21641

New opensource software for rendering dvi files generated by LuaTeX

Hi all, I've recently released dvi-decode, a Javascript module for decoding LuaTeX dvi files.

This may be useful to developers out there that need a solution to render LaTeX to the browser.

I have a demo React app running here: DVI Viewer

Happy to answer any questions.

Matt.