>From 569675be7881d4bdd3a2589491d7ee5396c27314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Date: Thu, 3 Nov 2022 00:53:01 +0100 Subject: [PATCH 1/2] ob-latex: Export the full area of the drawing * lisp/ob-latex.el (org-babel-latex-pdf-svg-process): Add the argument -D (--export-area-drawing) to avoid sub-point cuts on hi-DPI screens, where Inkscape sometimes cuts off a single physical pixel from the exported drawing. --- lisp/ob-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-latex.el b/lisp/ob-latex.el index a86699e22..c39c9c5d3 100644 --- a/lisp/ob-latex.el +++ b/lisp/ob-latex.el @@ -110,7 +110,7 @@ exporting the literal LaTeX source." :type 'function) (defcustom org-babel-latex-pdf-svg-process - "inkscape --pdf-poppler %f -T -l -o %O" + "inkscape --pdf-poppler %f -D -T -l -o %O" "Command to convert a PDF file to an SVG file." :group 'org-babel :type 'string) -- 2.38.1