public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* changes in dev version 1.13.3 break heading in docx
@ 2015-03-23 22:06 tolot27
       [not found] ` <d98ca795-9651-4d6a-8a4f-64f2c2a58e68-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: tolot27 @ 2015-03-23 22:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

Hi!

I've just noticed that my references.docx does not work with the latest 
commit c302bdc 
<https://github.com/jgm/pandoc/commit/c302bdcdbe97b38721015fe82403b2a8f488a702>. 
The predefined numbered header templates are not considered anymore and 
markdown header are just printed as plain text. It is probably related to 
the fix for 
#1968 (Fixes for multiple docx writer style bugs). Do I have to dump the 
references.docx again and modify it again according to my needs?

--
Kind regards,
Mathias

-- 
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/d98ca795-9651-4d6a-8a4f-64f2c2a58e68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* changes in dev version 1.13.3 break heading in docx
       [not found] ` <d98ca795-9651-4d6a-8a4f-64f2c2a58e68-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-24 11:00   ` Nick Yakimov
       [not found]     ` <6f8fba20-4f2f-4331-a49d-98c6a4668da7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Yakimov @ 2015-03-24 11:00 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Reference.docx changed slightly, but headings should not be affected. What Word version do you use? Could you share your reference.docx? 

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

* Re: changes in dev version 1.13.3 break heading in docx
       [not found]     ` <6f8fba20-4f2f-4331-a49d-98c6a4668da7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-24 15:20       ` Walter, Mathias
       [not found]         ` <CAEoNs9oEGf9ott1otOHjpKG+v21A9vY+DC5L18HMam2biRFw7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Walter, Mathias @ 2015-03-24 15:20 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

Hi!

I'm using Word 2010 and 2013 on 32 bit and 64 bit Windows. Pandoc compiled
with either 32 bit or 64 bit GHC (latest).

Okay, I found the reason. Because previous versions of pandoc could not
work with non-English reference.docx, I switched the UI language of Word
and customized my reference.docx (1st attached file template_h.docx),
especially numbered headings. That was the only way to get it work with
pandoc 1.12.
After modification of reference.docx I changed the UI language of Word back
to German. Recently, I made some small modifications (justified text,
different font) with the German UI language of Word. This new
reference.docx (2nd attached file template_h10.docx) works still well with
pandoc 1.13.2 but not with the development version. Simply, the heading
formats are lost.
That is because '<w:pStyle w:val="TOC1" />' has been translated to
'<w:pStyle w:val="Verzeichnis1" />', for instance. Pandoc v1.13.2 doesn't
seem to have a problem with this, but v1.13.3.

--
Kind regards,
Mathias

2015-03-24 12:00 GMT+01:00 Nick Yakimov <g.livid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:

> Reference.docx changed slightly, but headings should not be affected. What
> Word version do you use? Could you share your reference.docx?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/iRml5jufqXg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/6f8fba20-4f2f-4331-a49d-98c6a4668da7%40googlegroups.com
> .
> 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/CAEoNs9oEGf9ott1otOHjpKG%2Bv21A9vY%2BDC5L18HMam2biRFw7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: template_h.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 18322 bytes --]

[-- Attachment #3: template_h10.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 18570 bytes --]

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

* Re: changes in dev version 1.13.3 break heading in docx
       [not found]         ` <CAEoNs9oEGf9ott1otOHjpKG+v21A9vY+DC5L18HMam2biRFw7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-24 16:39           ` Nikolay Yakimov
       [not found]             ` <CA+hqrpX3BapAbFAuODKy-GWZ8Kc54XVEzQ=v21k0vAEz9L9oZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolay Yakimov @ 2015-03-24 16:39 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

I messed up *badly* there, sorry. Thank you very much for pointing this
out. Apparently, libreoffice is very lax about docx style interpretations,
that's why it slipped through. That and having a working fallback for when
Word decides to mess up reference docx...

I've created a pull request <https://github.com/jgm/pandoc/pull/2023> to
fix this problem -- let's hope someone merges it soon.

вт, 24 марта 2015 г. в 18:20, Walter, Mathias <mathias-taBouHiV1h1goHlPtYpdqQ@public.gmane.org>:

Hi!
>
> I'm using Word 2010 and 2013 on 32 bit and 64 bit Windows. Pandoc compiled
> with either 32 bit or 64 bit GHC (latest).
>
> Okay, I found the reason. Because previous versions of pandoc could not
> work with non-English reference.docx, I switched the UI language of Word
> and customized my reference.docx (1st attached file template_h.docx),
> especially numbered headings. That was the only way to get it work with
> pandoc 1.12.
> After modification of reference.docx I changed the UI language of Word
> back to German. Recently, I made some small modifications (justified text,
> different font) with the German UI language of Word. This new
> reference.docx (2nd attached file template_h10.docx) works still well with
> pandoc 1.13.2 but not with the development version. Simply, the heading
> formats are lost.
> That is because '<w:pStyle w:val="TOC1" />' has been translated to
> '<w:pStyle w:val="Verzeichnis1" />', for instance. Pandoc v1.13.2 doesn't
> seem to have a problem with this, but v1.13.3.
>
> --
> Kind regards,
> Mathias
>
> 2015-03-24 12:00 GMT+01:00 Nick Yakimov <g.livid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>
>> Reference.docx changed slightly, but headings should not be affected.
>> What Word version do you use? Could you share your reference.docx?
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "pandoc-discuss" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/
>> topic/pandoc-discuss/iRml5jufqXg/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/6f8fba20-4f2f-4331-a49d-98c6a4668da7%
>> 40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/pandoc-discuss/iRml5jufqXg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAEoNs9oEGf9ott1otOHjpKG%2Bv21A9vY%
> 2BDC5L18HMam2biRFw7A%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAEoNs9oEGf9ott1otOHjpKG%2Bv21A9vY%2BDC5L18HMam2biRFw7A%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/CA%2BhqrpX3BapAbFAuODKy-GWZ8Kc54XVEzQ%3Dv21k0vAEz9L9oZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: changes in dev version 1.13.3 break heading in docx
       [not found]             ` <CA+hqrpX3BapAbFAuODKy-GWZ8Kc54XVEzQ=v21k0vAEz9L9oZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-25  0:19               ` tolot27
       [not found]                 ` <285a7a2f-f332-4cfa-ad29-36bbbda83251-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: tolot27 @ 2015-03-25  0:19 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

Hi!

> I've created a pull request <https://github.com/jgm/pandoc/pull/2023> to 
fix this problem -- let's hope someone merges it soon.

Yeah, it is merged and works so far. :-)

A similar problem is with footnote style (Footnote Ref). It is not formated 
as superscript anymore.

-- 
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/285a7a2f-f332-4cfa-ad29-36bbbda83251%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: changes in dev version 1.13.3 break heading in docx
       [not found]                 ` <285a7a2f-f332-4cfa-ad29-36bbbda83251-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-25 11:58                   ` Nikolay Yakimov
       [not found]                     ` <CA+hqrpVUO7TFECn5b620M0fEF_y-eMsaSUo_KBcqhJzvGEcGBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolay Yakimov @ 2015-03-25 11:58 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Some styles have been renamed to correspond with Normal.dotm, namely

   - Block Quote -> Block Text
   - Link -> Hyperlink
   - Footnote Ref -> Footnote Reference

See commit 1cb601d for details.

Try opening your reference.docx, setting some text to default "footnote
reference" style (not sure how's it called in German version) and saving it
as new reference.docx  (of course, you can just add a footnote instead).
You do need to have something set to this style for it to be included in
word output


ср, 25 марта 2015 г. в 3:19, tolot27 <mathias-taBouHiV1h1goHlPtYpdqQ@public.gmane.org>:

> Hi!
>
> > I've created a pull request <https://github.com/jgm/pandoc/pull/2023>
> to fix this problem -- let's hope someone merges it soon.
>
> Yeah, it is merged and works so far. :-)
>
> A similar problem is with footnote style (Footnote Ref). It is not
> formated as superscript anymore.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/iRml5jufqXg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/285a7a2f-f332-4cfa-ad29-36bbbda83251%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/285a7a2f-f332-4cfa-ad29-36bbbda83251%40googlegroups.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/CA%2BhqrpVUO7TFECn5b620M0fEF_y-eMsaSUo_KBcqhJzvGEcGBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: changes in dev version 1.13.3 break heading in docx
       [not found]                     ` <CA+hqrpVUO7TFECn5b620M0fEF_y-eMsaSUo_KBcqhJzvGEcGBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-25 13:43                       ` tolot27
       [not found]                         ` <1492a673-eb29-4c02-8b1d-047a807f10a5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: tolot27 @ 2015-03-25 13:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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

Okay, thanks. I've just dumped a new reference.docx and adapted it to my 
previous template. Now it works like a charm. :-)

-- 
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/1492a673-eb29-4c02-8b1d-047a807f10a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: changes in dev version 1.13.3 break heading in docx
       [not found]                         ` <1492a673-eb29-4c02-8b1d-047a807f10a5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-25 19:28                           ` Nikolay Yakimov
  0 siblings, 0 replies; 8+ messages in thread
From: Nikolay Yakimov @ 2015-03-25 19:28 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Glad to hear that.

ср, 25 марта 2015 г. в 16:43, tolot27 <mathias-taBouHiV1h1goHlPtYpdqQ@public.gmane.org>:

> Okay, thanks. I've just dumped a new reference.docx and adapted it to my
> previous template. Now it works like a charm. :-)
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/iRml5jufqXg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/1492a673-eb29-4c02-8b1d-047a807f10a5%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/1492a673-eb29-4c02-8b1d-047a807f10a5%40googlegroups.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/CA%2BhqrpV5hhfDjS-anRxadrk2%3D2Y9bhDiENJvnP0r9bxNWo1GHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2015-03-25 19:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 22:06 changes in dev version 1.13.3 break heading in docx tolot27
     [not found] ` <d98ca795-9651-4d6a-8a4f-64f2c2a58e68-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-24 11:00   ` Nick Yakimov
     [not found]     ` <6f8fba20-4f2f-4331-a49d-98c6a4668da7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-24 15:20       ` Walter, Mathias
     [not found]         ` <CAEoNs9oEGf9ott1otOHjpKG+v21A9vY+DC5L18HMam2biRFw7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-24 16:39           ` Nikolay Yakimov
     [not found]             ` <CA+hqrpX3BapAbFAuODKy-GWZ8Kc54XVEzQ=v21k0vAEz9L9oZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-25  0:19               ` tolot27
     [not found]                 ` <285a7a2f-f332-4cfa-ad29-36bbbda83251-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-25 11:58                   ` Nikolay Yakimov
     [not found]                     ` <CA+hqrpVUO7TFECn5b620M0fEF_y-eMsaSUo_KBcqhJzvGEcGBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-25 13:43                       ` tolot27
     [not found]                         ` <1492a673-eb29-4c02-8b1d-047a807f10a5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-25 19:28                           ` Nikolay Yakimov

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