public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Trouble with reference doc
@ 2020-04-10 15:58 Niels Henrik Bruun
       [not found] ` <969a6c62-e3d6-4d73-a851-17b5e17a7a7d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Niels Henrik Bruun @ 2020-04-10 15:58 UTC (permalink / raw)
  To: pandoc-discuss


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

Dear all

I have read the manual, but still it isn't working. 
And I have found some github/RMarkdown stuff I do not understand.

When I run: "pandoc -s   "ado_nhb\log2markup\test/do2docs_test.md" 
--reference-doc reference.docx -o 
"ado_nhb\log2markup\test/do2docs_test.docx"
the reference doc is not used.

At a time I got "pandoc: reference.docx: openBinaryFile: does not exist (No 
such file or directory)"
The refence.docx is saved in both "ado_nhb\log2markup\test", ie local and 
in "C:\Users\nhb\AppData\Roaming\pandoc" (Default user data directory).
Apparently it needs to be saved in present working directory.

So the reference doc is not working, and the reference doc used is not the 
one in the default user data diretory.

I'm using pandoc version 2.7.3.

Does anyone have a solution?

Thanks in advance

Kind regards

nhb

-- 
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/969a6c62-e3d6-4d73-a851-17b5e17a7a7d%40googlegroups.com.

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

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

* Re: Trouble with reference doc
       [not found] ` <969a6c62-e3d6-4d73-a851-17b5e17a7a7d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-04-10 16:18   ` Niels Henrik Bruun
  0 siblings, 0 replies; 2+ messages in thread
From: Niels Henrik Bruun @ 2020-04-10 16:18 UTC (permalink / raw)
  To: pandoc-discuss


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

Dear all
Writing the whole path and name to the reference doc did the reference 
trick.
Reading the manual I thought that pandoc looked in  
"C:\Users\nhb\AppData\Roaming\pandoc" (Default user data directory) by 
default for reference docs.

The reference doc works except for titles (Sorry, first check was if the 
title became red and it did not).
However, the other changes did work.

Kind regards
nhb




fredag den 10. april 2020 kl. 17.58.52 UTC+2 skrev Niels Henrik Bruun:
>
> Dear all
>
> I have read the manual, but still it isn't working. 
> And I have found some github/RMarkdown stuff I do not understand.
>
> When I run: "pandoc -s   "ado_nhb\log2markup\test/do2docs_test.md" 
> --reference-doc reference.docx -o 
> "ado_nhb\log2markup\test/do2docs_test.docx"
> the reference doc is not used.
>
> At a time I got "pandoc: reference.docx: openBinaryFile: does not exist 
> (No such file or directory)"
> The refence.docx is saved in both "ado_nhb\log2markup\test", ie local and 
> in "C:\Users\nhb\AppData\Roaming\pandoc" (Default user data directory).
> Apparently it needs to be saved in present working directory.
>
> So the reference doc is not working, and the reference doc used is not the 
> one in the default user data diretory.
>
> I'm using pandoc version 2.7.3.
>
> Does anyone have a solution?
>
> Thanks in advance
>
> Kind regards
>
> nhb
>

-- 
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/017e0d8d-97d3-4d77-9dad-2b542fddaa31%40googlegroups.com.

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

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

end of thread, other threads:[~2020-04-10 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10 15:58 Trouble with reference doc Niels Henrik Bruun
     [not found] ` <969a6c62-e3d6-4d73-a851-17b5e17a7a7d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-10 16:18   ` Niels Henrik Bruun

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).