public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <jlrn77-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: pdfroff invalid argument on cygwin
Date: Wed, 25 Nov 2020 11:07:00 -0800 (PST)	[thread overview]
Message-ID: <8db6b0f8-d31c-451f-8ada-0abdbc240474n@googlegroups.com> (raw)
In-Reply-To: <m2blfmbpkl.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>


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



On Tuesday, 24 November 2020 at 12:03:08 UTC-6 John MacFarlane wrote:

> "jlr..." <jlr...> writes: 
>
> > --verbose reports, on -t ms 
> > 
> > [makePDF] Command line: 
> > pdfroff "-ms" "-mpdfmark" "-mspdf" "-e" "-t" "-k" "-KUTF-8" "-i" 
> > 
> > while on -t latex 
> > 
> > [makePDF] Command line: 
> > pdflatex "-halt-on-error" "-interaction" "nonstopmode" 
> "-output-directory" 
> > "./tex2pdf.-573d55defdd5e31a" "./tex2pdf.-573d55defdd5e31a/input.tex" 
> > 
> > So somehow the command line seems to be incomplete for the -ms option: 
> it 
> > does not point to the input source. 
>
> It's functioning as a pipe in this case; pandoc sends the text 
> of the source file to stdin in the process. 
>
> These options are exactly what I see, and it works fine for me. 
> So I'm at a loss. 
>
>
 After a bit of research, it seems that indeed the problem is the call to 
the system to process pandoc's output through stdin: windoze is infamous 
for that; since the other processors go through temporary files, the output 
call proceeds flawlessly, as the cmd shell has an input file to find.

So perhaps the only solution, not the workaround, is to ask pdfroff to 
process a tmp file generated by pandoc, as other pdf-engines do. Not as 
elegant as calling the pipe, but probably more portable.

With my apologies,

-- 
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/8db6b0f8-d31c-451f-8ada-0abdbc240474n%40googlegroups.com.

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

  parent reply	other threads:[~2020-11-25 19:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24  0:50 jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found] ` <ebc14024-ee13-479d-8ef5-8a14080e3d69n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-24  1:50   ` John MacFarlane
     [not found]     ` <m2y2irbk0j.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-24  1:51       ` John MacFarlane
     [not found]         ` <m2v9dvbjya.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-24 17:00           ` jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]             ` <385521f0-4f35-4b60-bc3d-245dc1eeed6fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-24 18:02               ` John MacFarlane
     [not found]                 ` <m2blfmbpkl.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-24 22:58                   ` Luis Rivera
2020-11-25 19:07                   ` jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [this message]
     [not found]                     ` <8db6b0f8-d31c-451f-8ada-0abdbc240474n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-26  2:30                       ` John MacFarlane
     [not found]                         ` <m2d0006e9o.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-08-11 22:38                           ` jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8db6b0f8-d31c-451f-8ada-0abdbc240474n@googlegroups.com \
    --to=jlrn77-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).