Hi Oscar,
Thanks for your prompt reply. And sorry for the following long message,
I intended to be comprehensive in my report.
I upgraded pretext here to 1.0.3, created a new empty project and copied
both requirements.txt and project.ptx from it to my current project
(also copied my files to the new empty project to avoid missing
anything). I just run
pretext build --generate ALL web
and it produced a working website as the html option on version 0.6.3,
asymptote 3D graphics running smoothly. Then I went to the pdf version
and notice that project.ptx changed that target to print, so I run
pretext build --generate ALL web
It runs "ok", producing a 10 page PDF with everything until the section
where the asymptote files appear. When it calls pdflatex I see the
following error message:
! Unable to load picture or PDF file 'generated/asymptote/exfunca.pdf'.
<to be read again>
}
l.1018 ...ewidth]{generated/asymptote/exfunca.pdf}
Output written on main.pdf (10 pages).
Transcript written on main.log.
The same happens with the target print-latex and running pdflatex on
it. All the PDFs intended to be generated from asymptote code have 0 bytes:
lymber@desktop:~/2022-2454/2454-ex_resolv/generated-assets/asymptote$ dir
total 2512
-rw-r--r-- 1 lymber lymber 197417 Sep 13 19:45 exfunca.html
-rw-r--r-- 1 lymber lymber 0 Sep 13 20:13 exfunca.pdf
-rw-r--r-- 1 lymber lymber 188737 Sep 13 19:46 exfuncb.html
-rw-r--r-- 1 lymber lymber 0 Sep 13 20:13 exfuncb.pdf
-rw-r--r-- 1 lymber lymber 1728053 Sep 13 19:45 fig_exemplonivel-graf.html
-rw-r--r-- 1 lymber lymber 0 Sep 13 20:13 fig_exemplonivel-graf.pdf
-rw-r--r-- 1 lymber lymber 172239 Sep 13 19:45 fig_parabeli-graf.html
-rw-r--r-- 1 lymber lymber 0 Sep 13 20:13 fig_parabeli-graf.pdf
-rw-r--r-- 1 lymber lymber 273807 Sep 13 19:45 fig_parabhip-graf.html
-rw-r--r-- 1 lymber lymber 0 Sep 13 20:13 fig_parabhip-graf.pdf
(I'm writing the project in portuguese)
See the console input/output:
lymber@desktop:~/tmp/new-pretext-project$ pretext build --generate ALL print-latex
PreTeXt project found in `/home/lymber/tmp/new-pretext-project`.
Genearting all assets in default formats.
Note: No webwork elements found.
Note: No latex-image elements found.
Now generating asymptote images
converting Asymptote diagrams from /home/lymber/tmp/new-pretext-project/source/main.ptx to PDF graphics for placement in /home/lymber/tmp/new-pretext-project/generated-assets/asymptote with method "server"
extracting Asymptote diagrams from /home/lymber/tmp/new-pretext-project/source/main.ptx
string parameters passed to extraction stylesheet: {'publisher': '/home/lymber/tmp/new-pretext-project/publication/publication.ptx'}
XSL conversion of /home/lymber/tmp/new-pretext-project/source/main.ptx by /home/lymber/.ptx/xsl/extract-asymptote.xsl
comprehensive messages, warnings, and errors:
successful application of /home/lymber/.ptx/xsl/extract-asymptote.xsl
converting /tmp/user/1000/tmp8a5s__8c/fig_parabeli-graf.asy to /tmp/user/1000/tmp8a5s__8c/fig_parabeli-graf.pdf
converting /tmp/user/1000/tmp8a5s__8c/exfunca.asy to /tmp/user/1000/tmp8a5s__8c/exfunca.pdf
converting /tmp/user/1000/tmp8a5s__8c/fig_exemplonivel-graf.asy to /tmp/user/1000/tmp8a5s__8c/fig_exemplonivel-graf.pdf
converting /tmp/user/1000/tmp8a5s__8c/fig_parabhip-graf.asy to /tmp/user/1000/tmp8a5s__8c/fig_parabhip-graf.pdf
converting /tmp/user/1000/tmp8a5s__8c/exfuncb.asy to /tmp/user/1000/tmp8a5s__8c/exfuncb.pdf
Now generating sageplot images
<end of console output>
And from this it goes to all remaining convertions and file generations
(which are ok). BTW, I notice the typo on the first line "Genearting"
instead of "Generating"...
Should I attach any file to help the debugging process (if it is a bug)?
Best, Alexandre
> > <
https://groups.google.com/d/msgid/pretext-support/cdfd5a19-db27-435f-ac05-02286f308d55n%40googlegroups.com?utm_medium=email&utm_source=footer>
> > .
> >
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "PreTeXt support" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/pretext-support/eyddC5cpmak/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
pretext-suppo...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pretext-support/CAOU9BaUSxz1sh035a%2Bng7YwmBqRmpuGmr8UY5u-%2BMhBV%3D67Pqw%40mail.gmail.com.
--
===============================================================================
Alexandre Lymberopoulos -
lym...@gmail.com
===============================================================================