[cstex] {Disarmed} {Disarmed} Re: Po nějakém upgrade MikTeXu mi funguje špatně epstopdf

Zdenek Wagner zdenek.wagner at gmail.com
Tue Mar 16 18:47:43 CET 2021


Jak konstatoval kolega Kuben, zkusil jsem se podívat do toho EPS a v
gs 9.53.3 bez -dSAFER, mi taky neprojde. Hned na začátku toho EPS je
fill bez předchozího closepath, ale ani po vyhození této části soubor
neprojde. Když vymažu všechno a zůstane tam jen save a restore, žádnou
syntaktickou chybu to nehlásí. Zkusil jsem regulárním výrazem
zkontrolovat, jestli v souboru není nějaký neviditalný paznak, ale
nenašel jsem nic. Soubor je příliš dlouhý na to, abych šel řádek za
řádkem a hledal, kde je problém.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

út 16. 3. 2021 v 17:27 odesílatel Petr Olsak <petr at olsak.net> napsal:
>
> Dobrý den,
>
> do této problematiky moc nevidím, ale je možné, že MikTeX průběžně přebírá myšlenky z TeXlive pretest, který nyní aktuálně běží a ke kterému dnes napsal Karl Berry toto:
>
> FYI to all: we have changed dvipdfmx.cfg (in the pretest) so that
> Ghostscript is always invoked safely. The primary practical implication
> of this is that if you want to use xetex with pstricks,
> 1) be very sure that you trust all the input files, and
> 2) run
>      xelatex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" ....
>
> The new dvipdfmx-unsafe.cfg simply reinstates the unsafe invocation of
> gs (-dNOSAFER for those familiar with it).
>
> This change will be active (in the pretest) after tonight's update. Only
> the cfg files are changed, the (x)dvipdfmx binary was not affected.
>
> We hope this can be made more convenient in the future, while still
> saying safe. --good luck, karl.
>
> Zdravím
>
> Petr Olšák
>
>
> On 3/15/21 12:22 PM, Jaroslav Fojtik wrote:
>
> Dobrý den,
>
> Po nejakém upgrade MikTeXu mi funguje spatne epstopdf. EPS soubor je oríznut.
> Naprosto netusím, co je spatne, dríve to fungovalo.
>
> Neco pretece s chybou limitcheck, ale ten EPS má jenom 2MB a nechápu proc a co pretece.
> Není mozné ten limitcheck zase vypnout?
>
>
> Nemohu do této diskuse dát prílohu a tak jsem soubor ulozil sem:
> MailScanner has detected a possible fraud attempt from "78.108.103.11" claiming to be MailScanner warning: numerical links are often malicious: http://78.108.103.11/~fojtik/EPS_problem/
>
> Toto je výstup epstopdf:
> MailScanner has detected a possible fraud attempt from "78.108.103.11" claiming to be MailScanner warning: numerical links are often malicious: http://78.108.103.11/~fojtik/EPS_problem/c0_img.pdf
> A toto je výchozí EPS:
> MailScanner has detected a possible fraud attempt from "78.108.103.11" claiming to be MailScanner warning: numerical links are often malicious: http://78.108.103.11/~fojtik/EPS_problem/c0_img.eps
>
> Dekuji za jakýkoliv nápad
> Jára
>
>
> -----------------------------
> GSview 5.0 2012-01-17
> Unknown in Comments section at line 7:
>   %%DocumentFonts:
>
> GPL Ghostscript 9.06 (2012-08-08)
> Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Displaying DSC file M:/public_html/EPS_problem/c0_img.eps
> Displaying page 1
> Loading StandardSymL font from %rom%Resource/Font/StandardSymL... 2602112 1261940 3289672
> 1956171 3 done.
> Loading NimbusRomNo9L-Regu font from %rom%Resource/Font/NimbusRomNo9L-Regu... 2622208
> 1315198 3289672 1958174 3 done.
> Error: /limitcheck in --%ztokenexec_continue--
> Operand stack:
>
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2
> %stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   1926   1
>  3   %oparray_pop   1925   1   3   %oparray_pop   1909   1   3   %oparray_pop   1803   1
>  3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--
> --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
> Dictionary stack:
>    --dict:1181/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(L)--   --dict:0/20(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
>
> --- Begin offending input ---
> roke
> newpath
> 3250.00 1446.00 moveto
> 3250.00 1446.00 lineto
> stroke
> newpath
> 3250.00 1465.00 moveto
> 3250.00 1465.00 lineto
> stroke
> newpath
> 3250.00 1484.00 moveto
> 3250.00 1484.00 lineto
> stroke
> newpath
> 3250.00 1503.00 moveto
> 3250.00 1503.00 lineto
> stroke
> newpath
> 3250.00 1522.00 moveto
> 3250.00 1522.00 lineto
> stroke
> newpath
> 3250.00 1541.00 moveto
> 3250.00 1541.00 lineto
> stroke
> newpath
> 3250.00 1560.00 moveto
> 3250.00 1560.00 lineto
> stroke
> newpath
> 3250.00 1579.00 moveto
> 3250.00 1579.00 lineto
> stroke
> newpath
> 3250.00 1598.00 moveto
> 3250.00 1598.00 lineto
> stroke
> newpath
> 3250.00 1617.00 moveto
> 3250.00 1617.00 lineto
> stroke
> newpath
> 3250.00 1636.00 moveto
> 3250.00 1636.00 lineto
> stroke
> newpath
> 3250.00 1655.00 moveto
> 3250.00 1655.00 lineto
> stroke
> newpath
> 3250.00 1674.00 moveto
> 3250.00 1674.00 lineto
> stroke
> newpath
> 3250.00 1693.00 moveto
> 3250.00 1693.00 lineto
> stroke
> newpath
> 3250.00 1712.00 moveto
> 3250.00 1712.00 lineto
> stroke
> newpath
> 3250.00 1731.00 moveto
> 3250.00 17
> --- End offending input ---
> file offset = 843006
> gsapi_run_string_continue returns -101
>
>
> _______________________________________________
> csTeX mailing list
> csTeX at cs.felk.cvut.cz
> https://lists.felk.cvut.cz/mailman/listinfo/cstex
>
> _______________________________________________
> csTeX mailing list
> csTeX at cs.felk.cvut.cz
> https://lists.felk.cvut.cz/mailman/listinfo/cstex



More information about the csTeX mailing list