Re: Fwd: LineEnding issues, .md > .docx

2012-08-15 Thread Jean-Tiare LE BIGOT

Hi,

I generated a simple document with Microsoft Word and read the generated 
file. It seems that the bug comes from your sample document.


In your sample,  apears outside any  while on my reference 
document it is the first element of the immediate following .


sample:


  Line 1


  
  Line 2


instead of:


  Line 1



  Line 2


Regards,

Le 2012-08-14 09:28, Joop Kiefte a écrit :

FYI, just interested if there is a known issue here and/or compliance
errors you can help pandoc with...


-- Forwarded message --
From: Oliver Schrenk 
Date: 2012/8/14
Subject: Re: LineEnding issues, .md > .docx
To: "pandoc-disc...@googlegroups.com" 
Cc: "pandoc-disc...@googlegroups.com" 


I currently have only access to OpenOffice 3.0.

What would be a good approach to debug this? My plan is to create
native docx with something like code blocks and see how this is
formatted and how it fairs in OO, but I suspect that this is what you
did in the first place.

Am 13.08.2012 um 18:51 schrieb John MacFarlane :


I wasn't aware of this issue. I just confirmed it with LibreOffice on
Mac OS X.  So it seems that the docx pandoc produces is fine for Word,
but somehow confuses the Libre/OpenOffice converter.

If anyone has insight on this, it would be welcome.

This is how pandoc renders a verbatim section in docx:

Markdown:

A level-two header
--

Docx:














A level-two header








--



Note, there's an explicit  (line break) between the first line and
the second.  The LibreOffice converter seems to be ignoring this.  This may
be a bug in LibreOffice, though it's also possible that I'm doing it wrong.

+++ Oliver Schrenk [Aug 13 12 04:05 ]:

I mainly want to use pandoc to generate documentation for software and often 
use code examples.

In markdown I format codeblocks using tabs as indentation and use `pandoc *.md 
-o book.docx`) to convert the files.

When I open the result file in OpenOffice (on Linux and Windows) all line 
endings are gone, in Word all line endings are displayed correctly. I suspected 
issues with converting LF to CRLF and ran `unix2dos *.md` but it didn't help.

Does anybody know a way around this?

--
You received this message because you are subscribed to the Google Groups 
"pandoc-discuss" group.
To post to this group, send email to pandoc-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pandoc-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pandoc-discuss/-/5W53P-rv6lgJ.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups 
"pandoc-discuss" group.
To post to this group, send email to pandoc-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pandoc-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google
Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-disc...@googlegroups.com.
To unsubscribe from this group, send email to
pandoc-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice




--
Jean-Tiare
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Fwd: LineEnding issues, .md > .docx

2012-08-14 Thread Joop Kiefte
I just crossposted here to check about this, it's not a personal
issue, just something that I thought was asking for sharing with
Libreoffice-devs. I let it to the pandoc-list/John MacFarlane on how
to handle this further (either adapt pandoc to work around and/or
filing a bug and/or patching Libreoffice).

2012/8/14 Michael Meeks :
>
> On Tue, 2012-08-14 at 15:28 +0200, Joop Kiefte wrote:
>> FYI, just interested if there is a known issue here and/or compliance
>> errors you can help pandoc with...
>
> Looks like yet-another interoperability bug fix opportunity. The trick
> is to file a bug - this is not the right place for promoting your
> individual issue.
>
> Of course, if you want a timely fix - it's by far better to buy 
> support
> from one of the many companies around & help fund the development of the
> project :-)
>
> Thanks,
>
> Michael.
>
> --
> michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Fwd: LineEnding issues, .md > .docx

2012-08-14 Thread Michael Meeks

On Tue, 2012-08-14 at 15:28 +0200, Joop Kiefte wrote:
> FYI, just interested if there is a known issue here and/or compliance
> errors you can help pandoc with...

Looks like yet-another interoperability bug fix opportunity. The trick
is to file a bug - this is not the right place for promoting your
individual issue.

Of course, if you want a timely fix - it's by far better to buy support
from one of the many companies around & help fund the development of the
project :-)

Thanks,

Michael.

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice