On 11/27/2016 04:37 PM, Charles-H. Schulz wrote:
Hello,
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ó:
<snip>
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.
<snip>
Pandoc can be installed on any system, but only recent versions support ODT, so you need to look
with version if offered by CentOS
http://pandoc.org/
Regards,
Ricardo
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
extension.
Does CentOS 6.8 have access to the "ttf-mscorefonts-installer" package?
This package includes Arial and Times New Roman and many of the core fonts you get with a Windows
install. I use the DEB package, but hopefully there is a RPM package as well.
On my main laptop, I have Arial in "normal" style, monospaced, condensed, narrow, and rounded font
sets.
Actually, I have over 180 fonts in my ".font"folder, and have over 14GB of font files on my "file
server".
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.
Best,
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.