[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dvipng] Path error with dvipng under Windows 10
From: |
Jan-Åke Larsson |
Subject: |
Re: [Dvipng] Path error with dvipng under Windows 10 |
Date: |
Fri, 8 Jul 2016 18:11:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Hi,
The % character is special, yes, so that %02d for example inserts a
2-digit pagenumber. I did not include special translation for %20=space.
But you should not need %20 inside quotes, a simple space would do.
dvipng "-q" "-bg" "Transparent" "-T" "tight" "-o"
"c:\users\johana~1\appdata\local\temp\zim-Johan Andberger\equation.png"
"c:\users\johana~1\appdata\local\temp\zim-Johan Andberger\equation.dvi"
I *could* add %20 translation in the source, but I cannot compile for
windows 10, so I don't think this would help much.
Let me know what you think.
/JÅ
Den 2016-07-08 kl. 16:56, skrev Johan Andberger:
> Hello
>
> I'm having issues with using dvipng 1.15 under Windows 10, when I try to
> execute:
>
> dvipng "-q" "-bg" "Transparent" "-T" "tight" "-o"
> "c:\users\johana~1\appdata\local\temp\zim-Johan%20Andberger\equation.png"
> "c:\users\johana~1\appdata\local\temp\zim-Johan%20Andberger\equation.dvi"
>
>
> I get:
> dvipng: Fatal error, unacceptible format spec in output file name
>
> However, if I change the output path to e.g.
> "c:\users\johana~1\appdata\local\temp\equation.png" it works. I don't
> know if the issue might be the % sign in the path or something else, is
> there some workaround for this?
>
> I'm getting the issue because I'm using the Equation editor plugin for
> Zim (http://zim-wiki.org/).
>
> I would be thankful for any assistance.
>
> Kind regards
>
> Johan
>
>
> _______________________________________________
> Dvipng mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/dvipng
smime.p7s
Description: S/MIME-kryptografisk signatur