Menu > Settings > Compiler does not seem to help as far as I tested with LaTeX in addition to default pdfLaTeX.
I guess that need to use another Docker image or modify current one.
+4
> LaTeX Error: File `svg.sty' not found.
on https://overleaf.lemnoslife.com.
Related to #30 and #5.
*Menu* > *Settings* > *Compiler* does not seem to help as far as I tested with *LaTeX* in addition to default *pdfLaTeX*.
I guess that need to use another Docker image or modify current one.
+4
https://plmlatex.math.cnrs.fr wants directly svg-inkscape/ content it seems, maybe there is a $LaTeX option when \usepackage or \includesvg if I remember correctly.
https://plmlatex.math.cnrs.fr wants directly `svg-inkscape/` content it seems, maybe there is a $LaTeX option when `\usepackage` or `\includesvg` if I remember correctly.
inkscapelatex=false (source: the Tex Stack Exchange answer 437498) does not seem helpful here but helps locally with other .svgs to not have distorted text once included in \LaTeX.

`inkscapelatex=false` (source: [the Tex Stack Exchange answer 437498](https://tex.stackexchange.com/a/437498)) does not seem helpful here but helps locally with other `.svg`s to not have distorted text once included in $\LaTeX$.
Being able to generate the needed one without having to compile a .tex would help.
Note that may have to consider a .svg with text.
For `CENSORED.svg`:
```bash
ls CENSORED_svg-*
```
<details>
<summary>Output:</summary>
```
CENSORED_svg-raw.pdf
CENSORED_svg-tex.pdf
CENSORED_svg-tex.pdf_tex
```
</details>
are all of these actually necessary?
Being able to generate the needed one without having to compile a `.tex` would help.
Note that may have to consider a `.svg` with text.
```bash
rsvg-convert -f pdf -o CENSORED.pdf CENSORED.svg
```
<details>
<summary>Output:</summary>
```
Command 'rsvg-convert' not found, but can be installed with:
sudo apt install librsvg2-bin
```
</details>
Source: [the Super User answer 381128](https://superuser.com/a/381128)
on my Debian 12 GNOME laptop.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
librsvg2-bin
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 1,584 kB of archives.
After this operation, 5,758 kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian bookworm/main amd64 librsvg2-bin amd64 2.54.7+dfsg-1~deb12u1 [1,584 kB]
Fetched 1,584 kB in 0s (3,240 kB/s)
cannot stat initial working directory for /home/benjamin_loison/Desktop/bens_folder/thesis/ssd/prnu_extraction: Permission denied at /usr/sbin/dpkg-preconfigure line 73.
cannot stat initial working directory for /home/benjamin_loison/Desktop/bens_folder/thesis/ssd/prnu_extraction: Permission denied at /usr/sbin/dpkg-preconfigure line 159.
Selecting previously unselected package librsvg2-bin.
(Reading database ... 456372 files and directories currently installed.)
Preparing to unpack .../librsvg2-bin_2.54.7+dfsg-1~deb12u1_amd64.deb ...
Unpacking librsvg2-bin (2.54.7+dfsg-1~deb12u1) ...
Setting up librsvg2-bin (2.54.7+dfsg-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
```bash
sudo apt install -y librsvg2-bin
```
<details>
<summary>Output:</summary>
```
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
librsvg2-bin
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 1,584 kB of archives.
After this operation, 5,758 kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian bookworm/main amd64 librsvg2-bin amd64 2.54.7+dfsg-1~deb12u1 [1,584 kB]
Fetched 1,584 kB in 0s (3,240 kB/s)
cannot stat initial working directory for /home/benjamin_loison/Desktop/bens_folder/thesis/ssd/prnu_extraction: Permission denied at /usr/sbin/dpkg-preconfigure line 73.
cannot stat initial working directory for /home/benjamin_loison/Desktop/bens_folder/thesis/ssd/prnu_extraction: Permission denied at /usr/sbin/dpkg-preconfigure line 159.
Selecting previously unselected package librsvg2-bin.
(Reading database ... 456372 files and directories currently installed.)
Preparing to unpack .../librsvg2-bin_2.54.7+dfsg-1~deb12u1_amd64.deb ...
Unpacking librsvg2-bin (2.54.7+dfsg-1~deb12u1) ...
Setting up librsvg2-bin (2.54.7+dfsg-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
```
</details>
Text is still selectable, if pay attention to [Benjamin_Loison/matplotlib/issues/27](https://codeberg.org/Benjamin_Loison/matplotlib/issues/27).
```bash
rsvg-convert -f pdf -o CENSORED.pdf CENSORED.svg
```
does not return anything.
`svg-inkscape/` and above method results in visually identical PDFs.
Related to [Benjamin_Loison/pdf/issues/13](https://codeberg.org/Benjamin_Loison/pdf/issues/13).
Inkscape (despite *PDF Import Settings*) PDF seems to break axis label, as well as `rsvg-convert` (and `convert`)...
Related to [Benjamin_Loison/xviewer/issues/13](https://gitea.lemnoslife.com/Benjamin_Loison/xviewer/issues/13) and [Benjamin_Loison/inkscape/issues/12](https://gitlab.com/Benjamin_Loison/inkscape/-/issues/12).

Source: https://overleaf.enst.fr/project/XXXXXXXXXXXXXXXXXXXXXXXX

So it has the same issue.
Benjamin_Loison
changed title from `\usepackage{svg}` does not work on own instance to `\usepackage{svg}` does not work on own instances2025-12-10 15:24:20 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
on https://overleaf.lemnoslife.com.
Related to #30 and #5.
Menu > Settings > Compiler does not seem to help as far as I tested with LaTeX in addition to default pdfLaTeX.
I guess that need to use another Docker image or modify current one.
+4
https://plmlatex.math.cnrs.fr wants directly
svg-inkscape/content it seems, maybe there is a $LaTeX option when\usepackageor\includesvgif I remember correctly.DuckDuckGo search svg-inkscape includesvg LaTeX.
--shell-escapeSource: the Tex Stack Exchange answer 74693
It works out of the box on https://www.overleaf.com.
https://fr.wikipedia.org/wiki/Fichier:Logo_de_la_présidence_de_la_République_(2018).svg
Tracked at:
inkscapelatex=false(source: the Tex Stack Exchange answer 437498) does not seem helpful here but helps locally with other.svgs to not have distorted text once included in\LaTeX.Related to Benjamin-Loison/latex2e/issues/24.
Maybe PLMLaTeX SVG never worked.
For
CENSORED.svg:Output:
are all of these actually necessary?
Being able to generate the needed one without having to compile a
.texwould help.Note that may have to consider a
.svgwith text.https://plmlatex.math.cnrs.fr complains about missing
CENSORED_svg-raw.pdf. So let us provide it as it is not biased it seems that way.For another
.svgI only have_svg-raw.pdfgenerated and it works fine on https://plmlatex.math.cnrs.fr and I can select the figure text.DuckDuckGo search Linux SVG to PDF.
Should ensure that can still select the PDF text. See #issuecomment-3696.
Output:
Source: the Super User answer 381128
on my Debian 12 GNOME laptop.
Output:
Text is still selectable, if pay attention to Benjamin_Loison/matplotlib/issues/27.
does not return anything.
svg-inkscape/and above method results in visually identical PDFs.Related to Benjamin_Loison/pdf/issues/13.
Related to Benjamin_Loison/matplotlib/issues/33.
The person:
also faces this issue for https://plmlatex.math.cnrs.fr.
does not return anything and works as wanted.
Matplotlib PDF export is also text selectable, but may be less clear to edit with Inkscape for instance.
suggests such complexity.
Related to Benjamin_Loison/inkscape/issues/9.
Inkscape (despite PDF Import Settings) PDF seems to break axis label, as well as
rsvg-convert(andconvert)...Related to Benjamin_Loison/xviewer/issues/13 and Benjamin_Loison/inkscape/issues/12.
Note that a screenshot does not help much as we would prefer a
.pdfthat is not rasterized.inkscape t.svg -o t.pdfdoes not help, source: the Super User answer 506696.The Super User answer 855167:
Output:
does not return anything and solved Firefox PDF rendering (SVG was fine, but not PDF until now) and PLMLaTeX Overleaf as well.
Source: https://overleaf.enst.fr/project/XXXXXXXXXXXXXXXXXXXXXXXX
So it has the same issue.
`\usepackage{svg}` does not work on own instanceto `\usepackage{svg}` does not work on own instances