public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* track changes not detected in docx reader
@ 2019-06-17 17:05 jamie bowman
       [not found] ` <6fc5920d-e67b-45ed-ab18-ab668ba95f83-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: jamie bowman @ 2019-06-17 17:05 UTC (permalink / raw)
  To: pandoc-discuss


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

I have a .docx file which I've tried converting to various different 
formats (markdown attached as an example), but none of the formats are 
including the changes from the original file. I've tried all the options 
available to the --track-changes switch, but there is only a blank space 
where the changes were made. I have attached an excerpt from the document 
and the example conversion. I have tried on Windows 7 and MacOS using both 
the latest version of pandoc (2.7.3) and the prior release (2.7.2), but the 
same thing happens. I'm assuming it's something to do with the docx file, 
as when I save it as .odt and then convert, I get the changes (although the 
footnote formatting goes a bit awry). Has anyone had this issue before with 
.docx files?

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6fc5920d-e67b-45ed-ab18-ab668ba95f83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: track-changes-test.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 84819 bytes --]

[-- Attachment #3: track-changes-test.md --]
[-- Type: text/markdown, Size: 1480 bytes --]

1 Introduction
==============

Refugee protection poses a unique and pressing challenge to the global
community and international law, especially at the present time.
According to UNHCR's annual statistical report, there 19.9 million
refugees in the world in 2017.[^1] Another 5.4 million Palestinian
refugees were registered by the United Nations Relief and Works Agency
for Palestine Refugees in the Near East (UNRWA).[^2]

As UNHCR pointed out in its 2017 statistical report, \[a\]ltogether,
more than two-thirds (68 per cent) of all refugees worldwide came from
just five countries.[^3] This highlights a striking feature of today's
refugee problems, i.e. situations in *a few* countries are generating
the *majority* of global refugee population. As Table 1[^4] illustrates,
every year from 2010 to 2017, numbers of refugees coming from the top
three to five origin countries already constituted the majority of
global refugee population.

[^1]: UNHCR, *Global Trends: Forced Displacement in 2017* at 2,
    available at www.unhcr.org/5b27be547.pdf (last visited 24 August
    2018). UNHCR's statistics adopt a broad definition of refugees which
    include refugees defined under treaties and the UNHCR Statute,
    individuals granted complementary or temporary protection and people
    in refugee-like situations, at 61.

[^2]: Ibid at 2.

[^3]: Ibid at 3.

[^4]: All the statistics are excerpted from the UNHCR *Global Trends*
    reports and calculated by this author.

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

* Image paths
       [not found] ` <6fc5920d-e67b-45ed-ab18-ab668ba95f83-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-06-17 17:47   ` Craig Parker
       [not found]     ` <986687ce-fef3-4d0f-fa34-f8eaa334e089-UzRat0APdLvLPIzirxu/xA@public.gmane.org>
  2019-06-18 14:22   ` track changes not detected in docx reader 'Jason Seeley' via pandoc-discuss
  1 sibling, 1 reply; 7+ messages in thread
From: Craig Parker @ 2019-06-17 17:47 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I'm coverting md to pdf, and I've got my markdown file in a spot with an 
images subdirectory. What am I missing?

![img](images⁩/filename.png)

Isn't finding the image. I'm getting:

[WARNING] Could not fetch resource 'images⁩/filename.png': replacing 
image with description

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/986687ce-fef3-4d0f-fa34-f8eaa334e089%40linuxacademy.com.
For more options, visit https://groups.google.com/d/optout.


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

* Re: Image paths
       [not found]     ` <986687ce-fef3-4d0f-fa34-f8eaa334e089-UzRat0APdLvLPIzirxu/xA@public.gmane.org>
@ 2019-06-17 18:05       ` Duy Huy Hoang Do
       [not found]         ` <CAGgd1yHokadjMj=1QPrF=75yy251n5wnA6chzTrY0L1NhHiv5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2019-06-18  9:55       ` jamie bowman
  1 sibling, 1 reply; 7+ messages in thread
From: Duy Huy Hoang Do @ 2019-06-17 18:05 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1894 bytes --]

you should use a full path

On Tue, Jun 18, 2019 at 12:47 AM Craig Parker <craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org>
wrote:

> I'm coverting md to pdf, and I've got my markdown file in a spot with an
> images subdirectory. What am I missing?
>
> ![img](images⁩/filename.png)
>
> Isn't finding the image. I'm getting:
>
> [WARNING] Could not fetch resource 'images⁩/filename.png': replacing
> image with description
>
> --
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/986687ce-fef3-4d0f-fa34-f8eaa334e089%40linuxacademy.com
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
DO DUY HUY HOANG
University of Science and Technology of Hanoi, USTH

Student ID: USTHBI7-071
Cellphones: 01657377877

Email: huyhoang8398-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org / hoangddh.b7071-H2S6d1OF6ior/RUWVbKTdQ@public.gmane.org

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAGgd1yHokadjMj%3D1QPrF%3D75yy251n5wnA6chzTrY0L1NhHiv5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 5144 bytes --]

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

* Re: Image paths
       [not found]         ` <CAGgd1yHokadjMj=1QPrF=75yy251n5wnA6chzTrY0L1NhHiv5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2019-06-17 20:32           ` Craig Parker
  0 siblings, 0 replies; 7+ messages in thread
From: Craig Parker @ 2019-06-17 20:32 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3667 bytes --]

I tried that. No love there either ![img](/home/craig/blah blah/blah 
blah/filename.png)

This worked fine the other day when images were in the ./images 
directory (relative to the markdown) so I was thinking that the problem 
was the paces in the directory names (which I have no control over). I'm 
not sure what changed, unless I updated the computer and grabbed a newer 
version of something.

On 6/17/19 2:05 PM, Duy Huy Hoang Do wrote:
> you should use a full path
>
> On Tue, Jun 18, 2019 at 12:47 AM Craig Parker <craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org 
> <mailto:craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org>> wrote:
>
>     I'm coverting md to pdf, and I've got my markdown file in a spot
>     with an
>     images subdirectory. What am I missing?
>
>     ![img](images⁩/filename.png)
>
>     Isn't finding the image. I'm getting:
>
>     [WARNING] Could not fetch resource 'images⁩/filename.png': replacing
>     image with description
>
>     -- 
>     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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>     <mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
>     To post to this group, send email to
>     pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>     <mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
>     To view this discussion on the web visit
>     https://groups.google.com/d/msgid/pandoc-discuss/986687ce-fef3-4d0f-fa34-f8eaa334e089%40linuxacademy.com.
>     For more options, visit https://groups.google.com/d/optout.
>
>
>
> -- 
> DO DUY HUY HOANG
> University of Science and Technology of Hanoi, USTH
>
> Student ID: USTHBI7-071
> Cellphones: 01657377877
> Email: huyhoang8398-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <mailto:huyhoang8398-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> / 
> hoangddh.b7071-H2S6d1OF6ior/RUWVbKTdQ@public.gmane.org <mailto:hoangddh.b7071-H2S6d1OF6ior/RUWVbKTdQ@public.gmane.org>
>
>
> -- 
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
> <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
> <mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/CAGgd1yHokadjMj%3D1QPrF%3D75yy251n5wnA6chzTrY0L1NhHiv5w%40mail.gmail.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/CAGgd1yHokadjMj%3D1QPrF%3D75yy251n5wnA6chzTrY0L1NhHiv5w%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/07da79e6-6d11-75b9-7b4c-7d131685dc6f%40linuxacademy.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 8808 bytes --]

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

* Re: Image paths
       [not found]     ` <986687ce-fef3-4d0f-fa34-f8eaa334e089-UzRat0APdLvLPIzirxu/xA@public.gmane.org>
  2019-06-17 18:05       ` Duy Huy Hoang Do
@ 2019-06-18  9:55       ` jamie bowman
  1 sibling, 0 replies; 7+ messages in thread
From: jamie bowman @ 2019-06-18  9:55 UTC (permalink / raw)
  To: pandoc-discuss


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

Could you please move this from this thread? It needs its own topic -- it 
has nothing to do with my question. Thanks.

On Monday, June 17, 2019 at 6:47:56 PM UTC+1, Craig Parker wrote:
>
> I'm coverting md to pdf, and I've got my markdown file in a spot with an 
> images subdirectory. What am I missing? 
>
> ![img](images⁩/filename.png) 
>
> Isn't finding the image. I'm getting: 
>
> [WARNING] Could not fetch resource 'images⁩/filename.png': replacing 
> image with description 
>
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/dd397f1d-7fcd-4b95-a003-05e7f84c9a07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: track changes not detected in docx reader
       [not found] ` <6fc5920d-e67b-45ed-ab18-ab668ba95f83-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2019-06-17 17:47   ` Image paths Craig Parker
@ 2019-06-18 14:22   ` 'Jason Seeley' via pandoc-discuss
       [not found]     ` <9023ffd7-42a7-4e1b-8ada-3a2c6bb4e183-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: 'Jason Seeley' via pandoc-discuss @ 2019-06-18 14:22 UTC (permalink / raw)
  To: pandoc-discuss


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

What program are you using to create the Docx?
I found the problem. The tracked changes don't have a date/time associated 
with them. (ie, They don't have a "date" field on the "w:ins" or "w:del" 
element.) For some reason this is making Pandoc ignore them. MS Word and 
LibreOffice should normally automatically add the date to any changes made, 
as they are being made. If you can get the program you're using to 
associate a date/time to each change, then they should show up like normal 
in Pandoc conversions.

-J

On Monday, June 17, 2019 at 12:05:24 PM UTC-5, jamie bowman wrote:
>
> I have a .docx file which I've tried converting to various different 
> formats (markdown attached as an example), but none of the formats are 
> including the changes from the original file. I've tried all the options 
> available to the --track-changes switch, but there is only a blank space 
> where the changes were made. I have attached an excerpt from the document 
> and the example conversion. I have tried on Windows 7 and MacOS using both 
> the latest version of pandoc (2.7.3) and the prior release (2.7.2), but the 
> same thing happens. I'm assuming it's something to do with the docx file, 
> as when I save it as .odt and then convert, I get the changes (although the 
> footnote formatting goes a bit awry). Has anyone had this issue before with 
> .docx files?
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9023ffd7-42a7-4e1b-8ada-3a2c6bb4e183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: track changes not detected in docx reader
       [not found]     ` <9023ffd7-42a7-4e1b-8ada-3a2c6bb4e183-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-06-23 10:45       ` John MacFarlane
  0 siblings, 0 replies; 7+ messages in thread
From: John MacFarlane @ 2019-06-23 10:45 UTC (permalink / raw)
  To: 'Jason Seeley' via pandoc-discuss, pandoc-discuss


This is interesting.  How did you create this docx?

In principle a lua filter could be used to add a dummy
date and time to these elements.

"'Jason Seeley' via pandoc-discuss"
<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> writes:

> What program are you using to create the Docx?
> I found the problem. The tracked changes don't have a date/time associated 
> with them. (ie, They don't have a "date" field on the "w:ins" or "w:del" 
> element.) For some reason this is making Pandoc ignore them. MS Word and 
> LibreOffice should normally automatically add the date to any changes made, 
> as they are being made. If you can get the program you're using to 
> associate a date/time to each change, then they should show up like normal 
> in Pandoc conversions.
>
> -J
>
> On Monday, June 17, 2019 at 12:05:24 PM UTC-5, jamie bowman wrote:
>>
>> I have a .docx file which I've tried converting to various different 
>> formats (markdown attached as an example), but none of the formats are 
>> including the changes from the original file. I've tried all the options 
>> available to the --track-changes switch, but there is only a blank space 
>> where the changes were made. I have attached an excerpt from the document 
>> and the example conversion. I have tried on Windows 7 and MacOS using both 
>> the latest version of pandoc (2.7.3) and the prior release (2.7.2), but the 
>> same thing happens. I'm assuming it's something to do with the docx file, 
>> as when I save it as .odt and then convert, I get the changes (although the 
>> footnote formatting goes a bit awry). Has anyone had this issue before with 
>> .docx files?
>>
>
> -- 
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9023ffd7-42a7-4e1b-8ada-3a2c6bb4e183%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


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

end of thread, other threads:[~2019-06-23 10:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-17 17:05 track changes not detected in docx reader jamie bowman
     [not found] ` <6fc5920d-e67b-45ed-ab18-ab668ba95f83-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-06-17 17:47   ` Image paths Craig Parker
     [not found]     ` <986687ce-fef3-4d0f-fa34-f8eaa334e089-UzRat0APdLvLPIzirxu/xA@public.gmane.org>
2019-06-17 18:05       ` Duy Huy Hoang Do
     [not found]         ` <CAGgd1yHokadjMj=1QPrF=75yy251n5wnA6chzTrY0L1NhHiv5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-06-17 20:32           ` Craig Parker
2019-06-18  9:55       ` jamie bowman
2019-06-18 14:22   ` track changes not detected in docx reader 'Jason Seeley' via pandoc-discuss
     [not found]     ` <9023ffd7-42a7-4e1b-8ada-3a2c6bb4e183-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-06-23 10:45       ` John MacFarlane

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