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.
This commit is contained in:
Rudolf Adamkovič 2022-11-03 00:53:01 +01:00 committed by Ihor Radchenko
parent 210630e546
commit aaccbb2f98
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -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)