public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Pandoc can't find pagedjs-cli --pdf-engine
@ 2022-02-23 15:22 Chris Diaz
       [not found] ` <69dccac1-c3e6-4ee6-99e1-26a598751f02n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Diaz @ 2022-02-23 15:22 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1174 bytes --]

I'm trying to generate a PDF from markdown using the pagedjs-cli, but I'm 
getting this error: "pagedjs-cli not found. Please select a different 
--pdf-engine or install pagedjs-cli"

I believe pagedjs-cli is in my PATH because I'm able to get the correct 
results running pagedjs-cli --version and pagedjs-cli --help in my Bash 
terminal shell. 

   - Pandoc version 2.17.1.1
   - Windows 10 with Git Bash
   - I installed Pandoc and NodeJS with Scoop <https://scoop.sh/>, and 
   PagedJS with npm. 
   - I'm using a Defaults file with the following settings:
      - from: markdown
      - to: html5
      - template: templates/pdf.html
      - pdf-engine: pagedjs-cli
   
I'm not sure how to troubleshoot this, so any tips would be appreciated!

Thanks,
Chris

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/69dccac1-c3e6-4ee6-99e1-26a598751f02n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1592 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pandoc can't find pagedjs-cli --pdf-engine
       [not found] ` <69dccac1-c3e6-4ee6-99e1-26a598751f02n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-02-24  8:05   ` Albert Krewinkel
       [not found]     ` <87o82wk7ph.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2022-02-24  8:05 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I cannot reproduce this on Linux, so I'd suspect that this is some kind
of PATH issue on Windows. Does it work if you specify the absolute path
to the `pagedjs-cli` executable as `pdf-engine`?

Chris Diaz <chris-diaz-angj7XTnwNpXfO9P/gJGhg@public.gmane.org> writes:

>    I'm trying to generate a PDF from markdown using the pagedjs-cli, but
>    I'm getting this error: "pagedjs-cli not found. Please select a
>    different --pdf-engine or install pagedjs-cli"
>
>    I believe pagedjs-cli is in my PATH because I'm able to get the correct
>    results running pagedjs-cli --version and pagedjs-cli --help in my Bash
>    terminal shell.
>
>      * Pandoc version 2.17.1.1
>      * Windows 10 with Git Bash
>      * I installed Pandoc and NodeJS with Scoop, and PagedJS with npm.
>      * I'm using a Defaults file with the following settings:
>           + from: markdown
>           + to: html5
>           + template: templates/pdf.html
>           + pdf-engine: pagedjs-cli
>
>    I'm not sure how to troubleshoot this, so any tips would be
>    appreciated!
>
>    Thanks,
>
>    Chris

-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pandoc can't find pagedjs-cli --pdf-engine
       [not found]     ` <87o82wk7ph.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2022-03-02 23:11       ` Chris Diaz
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Diaz @ 2022-03-02 23:11 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1759 bytes --]

Thanks. That worked. I changed the pdf-engine value from "pagedjs-cli" to "C:\Users\...\pagedjs-cli.cmd" 
in my defaults file. 

On Thursday, February 24, 2022 at 2:08:36 AM UTC-6 Albert Krewinkel wrote:

> I cannot reproduce this on Linux, so I'd suspect that this is some kind
> of PATH issue on Windows. Does it work if you specify the absolute path
> to the `pagedjs-cli` executable as `pdf-engine`?
>
> Chris Diaz <chris...-angj7XTnwNpXfO9P/gJGhg@public.gmane.org> writes:
>
> > I'm trying to generate a PDF from markdown using the pagedjs-cli, but
> > I'm getting this error: "pagedjs-cli not found. Please select a
> > different --pdf-engine or install pagedjs-cli"
> >
> > I believe pagedjs-cli is in my PATH because I'm able to get the correct
> > results running pagedjs-cli --version and pagedjs-cli --help in my Bash
> > terminal shell.
> >
> > * Pandoc version 2.17.1.1
> > * Windows 10 with Git Bash
> > * I installed Pandoc and NodeJS with Scoop, and PagedJS with npm.
> > * I'm using a Defaults file with the following settings:
> > + from: markdown
> > + to: html5
> > + template: templates/pdf.html
> > + pdf-engine: pagedjs-cli
> >
> > I'm not sure how to troubleshoot this, so any tips would be
> > appreciated!
> >
> > Thanks,
> >
> > Chris
>
> -- 
> Albert Krewinkel
> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/dbd29a4e-8556-4c48-b5dc-c1b06b299f28n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2661 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-02 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 15:22 Pandoc can't find pagedjs-cli --pdf-engine Chris Diaz
     [not found] ` <69dccac1-c3e6-4ee6-99e1-26a598751f02n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-02-24  8:05   ` Albert Krewinkel
     [not found]     ` <87o82wk7ph.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-03-02 23:11       ` Chris Diaz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).