asciidoctor / asciidoctor-vscode

AsciiDoc support for Visual Studio Code using Asciidoctor
Other
330 stars 97 forks source link

PDF output only works without icons an graphics #362

Open SteffenReeber opened 4 years ago

SteffenReeber commented 4 years ago

Hello,

I have installed the actual addin 2.8.3 on two different machines, both working with windows 10.

On machine A the PDF output works, all font icons and images are embedded.

On machine B the PDF output generates the PDF but ends with an error: Failed to load file:///C:/Users/abc/AppData/Local/Temp/images/1234.png (ignore)

All images are stored in a workspace subdirectory . The result in the PDF document is, that no font icon and no graphics are embedded, only placeholders are shown.

What goes wrong?

danyill commented 4 years ago

Try setting :data-uri: in the document header and see if that helps.

On Fri, Aug 28, 2020 at 5:19 PM SteffenReeber notifications@github.com wrote:

Hello,

I have installed the actual addin 2.8.3 on two different machines, both working with windows 10.

On machine A the PDF output works, all font icons and images are embedded.

On machine B the PDF output generates the PDF but ends with an error: Failed to load file:///C:/Users/abc/AppData/Local/Temp/images/1234.png (ignore)

All images are stored in a workspace subdirectory . The result in the PDF document is, that no font icon and no graphics are embedded, only placeholders are shown.

What goes wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/asciidoctor/asciidoctor-vscode/issues/362, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFEXX5FCMTXKXGBAQ2ZU2TSC445PANCNFSM4QNXPCCA .

--

-- Private or confidential message? Public Key available here https://pgp.mit.edu/pks/lookup?search=dan.mulholland%40gmail.com&op=index :

SteffenReeber commented 4 years ago

The :data-uri: has no effect. I have done some tests:

  1. I am working via VPN in a company network
  2. When closing the VPN Connection, the PDF output works (I have not changed my proxy settings, only closed the connection, so in this case it is not possible to connect to the internet)
  3. It is strange, because the HTML output works with or without VPN properly

Von: danyill notifications@github.com Gesendet: Freitag, 28. August 2020 09:00 An: asciidoctor/asciidoctor-vscode asciidoctor-vscode@noreply.github.com Cc: Reeber, Steffen Steffen.Reeber@Minol.com; Author author@noreply.github.com Betreff: Re: [asciidoctor/asciidoctor-vscode] PDF output only works without icons an graphics (#362)

Try setting :data-uri: in the document header and see if that helps.

On Fri, Aug 28, 2020 at 5:19 PM SteffenReeber notifications@github.com<mailto:notifications@github.com> wrote:

Hello,

I have installed the actual addin 2.8.3 on two different machines, both working with windows 10.

On machine A the PDF output works, all font icons and images are embedded.

On machine B the PDF output generates the PDF but ends with an error: Failed to load file:///C:/Users/abc/AppData/Local/Temp/images/1234.png (ignore)

All images are stored in a workspace subdirectory . The result in the PDF document is, that no font icon and no graphics are embedded, only placeholders are shown.

What goes wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/asciidoctor/asciidoctor-vscode/issues/362, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFEXX5FCMTXKXGBAQ2ZU2TSC445PANCNFSM4QNXPCCA .

--

-- Private or confidential message? Public Key available here https://pgp.mit.edu/pks/lookup?search=dan.mulholland%40gmail.com&op=index :

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/asciidoctor/asciidoctor-vscode/issues/362#issuecomment-682363763, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQYCDS4BQA5LLWRZIMGOTJLSC5IXTANCNFSM4QNXPCCA.