public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: pierrO Lelou <pifetpof-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: --print-default-data-file does not create custom-reference document (solved)
Date: Wed, 28 Aug 2019 08:20:39 -0700 (PDT)	[thread overview]
Message-ID: <dc29d707-677c-44e7-971a-c3fc7342674b@googlegroups.com> (raw)
In-Reply-To: <yh480kimqizagv.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>


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

OK thank you very much

Le mardi 27 août 2019 21:15:27 UTC+2, John MacFarlane a écrit :
>
>
> You're using an older version; the documentation on our website 
> is for the current version. (For your version, see the man page 
> installed with the package.) 
>
> Relevant changelog item from pandoc 2.7.1: 
>
>   * Allow `-o/--output` to be used with `--print-default-data-file`, 
>     `--print-highlighting-style`, `--print-default-template`. 
>     Note that `-o` must occur BEFORE the `--print*` command on the command 
>     line (this is documented, #5357). 
>
> So prior to 2.7.1, you couldn't use -o with 
> --print-default-data-file; it would just print to stdout. 
> Of course you can use a redirect: 
>
> pandoc --print-default-data-file reference.odt > custom-reference.odt 
>
> which is what your man page should tell you to do. 
>
> pierrO Lelou <pife...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes: 
>
> > Hello, 
> > Could you tell me why an error occurs when I try to produce a template / 
> > reference file either in odt or docx file format ? 
> > $ pandoc -o custom-reference.odt --print-default-data-file reference.odt 
> > Then the terminal print this types of characters and pandoc quit with a 
> 0 
> > error code. 
> > 6�>A!�%&�z���8K���*g��RK�T�u��9▒���;�~���hM�=q�}�9Y�QA+H"��0���.(��� 
> > 
> > But there is no custom-reference.odt file in  the user data directory 
> > Is it because the version is 2.2.1 on Kubuntu 18.10 ? 
> > $pandoc --version 
> > pandoc 2.2.1 
> > Compiled with pandoc-types 1.17.4.2, texmath 0.10.1.2, skylighting 0.6 
> > Default user data directory: /home/pierre/.pandoc 
> > 
> > Pandoc has been installed in /home/pierre/.locale/share/pandoc 
> > I have tried both copying the directory in /home/.pandoc/ and created a 
> > symlink from .locale/share/pandoc but result still be the same. 
> > 
> > Thank you for your help 
> > 
> > -- 
> > 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/7b9dfe11-7483-431c-9a11-1e40d65b7ebd%40googlegroups.com. 
>
>

-- 
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/dc29d707-677c-44e7-971a-c3fc7342674b%40googlegroups.com.

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

      parent reply	other threads:[~2019-08-28 15:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-27 17:30 --print-default-data-file does not create custom-reference document pierrO Lelou
     [not found] ` <7b9dfe11-7483-431c-9a11-1e40d65b7ebd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-27 19:15   ` John MacFarlane
     [not found]     ` <yh480kimqizagv.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-08-28 15:20       ` pierrO Lelou [this message]

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=dc29d707-677c-44e7-971a-c3fc7342674b@googlegroups.com \
    --to=pifetpof-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).