20 May
2023
20 May
'23
12:49 a.m.
Hi there! The following document contains SVG. Save the SVG as "problem.svg" and run the document through LMTX version 2023.05.08 17:39: % SOF \startbuffer[csvg] <svg viewBox="0 0 100 100" version="1.1"> <path d="M0 0h100v100H0z" /> <path fill="#2d514e" d="M 72.474,42.6 33.073,42.8 51.872,-26.7 Z" /> </svg> \stopbuffer \starttext % honours viewbox \placefigure[none]{}{\includesvgbuffer[csvg]} \page % dishonours viewbox \externalfigure[problem.svg] \stoptext % EOF The ViewBox is ignored when run through Inkscape. Is this because the --export-area-page option is not being passed when invoked? Given identical inputs, would it make sense for placefigure and externalfigure to produce identical results? Cheers!