Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


H. @ 2016-11-27 19:00 GMT:

On 11/20/2016 03:13 PM, Ricardo wrote:
El 2016-11-20 14:45, Virgil Arrington escribió:

Since Markdown is a pure text file with formatting marks inserted, you
could easily edit such a file with LO. It sounds like what you're asking
is a way to convert the Markdown file to a LO format. I'm not sure of a
direct way of doing that. You might try Pandoc, an online file converter.


Pandoc can be installed on any system, but only recent versions support ODT, so you need to look 
with version if offered by CentOS


I have installed pandoc and tried to converted two markdown documents to ODT opening them in 
LibreOffice  4.3.7 under CentOS 6.8.

It seems Pandoc modifies the LO styles, setting fonts to Arial, Times Roman etc. which are not 
available in LO. Pandoc also did not assign the default list style to lists, nor did it handle 
tables at all. Although tables are not part of the core markdown they are part of a common 

I would have preferred pandoc to use whatever the style settings are in LO,
not trying to change anything.

Actually it does not work that way; pandoc cannot guess what styles are used
by LibreOffice. If you have written your two documents using markdown they
simply cannot use LibreOffice styles "in advance". I think that what's really
going on with Pandoc is that it has default settings for each type of export
filters. Arial and Times Roman are fairly common fonts and by default
LibreOffice can use them with no problem.

On the other hand, using Markdown in my experience does not really make me
expect to have nicely laid out documents (like with LibreOffice or LATEX for
instance). Markdown is fundamentally a web and transitional format, made to
process text on websites or online documentation. If you are looking for rich
and complex styles I suggest to stick to LibreOffice or other kinds of tools
such as LATEX.


Charles-H. Schulz Co-founder, The Document Foundation, Kurfürstendamm 188, 10707 Berlin 
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts Legal details: Mobile Number: +33 (0)6 98 65 54 24.

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.