formatting issues with .docx

Roger W's Avatar

Roger W

04 Jun, 2014 12:11 AM

My colleague says that my word files (i.e markdown textiles written in iA Writer and converted through Markedapp look strange, it has something to do with difference fonts in the same document that cannot be changed..

Please advise

  1. 1 Posted by Roger W on 05 Jun, 2014 12:43 AM

    Roger W's Avatar

    an add-on to yesterdays question:

    Since I do not have/use Microsoft Office I use LibreOffice and there everything looks fine, so it seems to be a Word-specific problem...

  2. Support Staff 2 Posted by Brett on 05 Jun, 2014 01:00 AM

    Brett's Avatar

    Currently Marked's export doesn't create "styles," by which I mean you
    can't tell Word to change "Heading 1" to a different font. Everything is
    just individually styled text. RTF export is messy to begin with, and
    Word complicates things further. Some themes come out ok, e.g. Swiss
    does a decent conversion. Some, like Grump, are a disaster in Word.

    What theme are you using when you export?

    -Brett

  3. 3 Posted by Roger W on 05 Jun, 2014 01:09 AM

    Roger W's Avatar

    ok, and I do not need styles, but apparently the word document that was exported was came out with a mix of fonts. My wish is just to export the document with one font and headings /bold etc.

    I've used this Theme (see attachment) since it looks least styled on the screen when previewing. I just want an exported style with normal headings all left aligned, no background etc

    Maybe this style is telling the export to do something with the fonts? (I'm not CSS-litterate)

  4. Support Staff 4 Posted by Brett on 05 Jun, 2014 02:37 AM

    Brett's Avatar

    I exported using your custom style and the fonts look consistent in
    Word. It's possible that your coworker doesn't have Helvetica available
    and it's substituting other fonts. Can you send me a DOCX export to take
    a look at?

  5. 5 Posted by Roger W on 05 Jun, 2014 03:43 AM

    Roger W's Avatar

    Ok, then this is probably the case. Unfortunately my coworker is away so I have to wait a week, but I let her know and hopeful this has solved the problem. Thanks Brett!

  6. 6 Posted by Dave Hyndman on 22 Oct, 2014 08:00 AM

    Dave Hyndman's Avatar

    Hi Brett:

    Any updates on enabling export of Markdown headers to proper Word style sheets? Is this just impossible because of limitations/lack of openness of .doc/.docx format?

    Word's style sheet-based formatting is probably it's best feature and one of the few points of value Word adds to a Markdown-first writing workflow.

    Thanks, DAVE

  7. Support Staff 7 Posted by Brett on 22 Oct, 2014 08:05 AM

    Brett's Avatar

    I have the code and the next minor version increment should include an
    RTF export that will import to Word with all of the headers intact. It
    will also be compatible with Pages.

    -Brett

  8. 8 Posted by Dave Hyndman on 22 Oct, 2014 08:09 AM

    Dave Hyndman's Avatar

    Awesome! Thanks.

  9. 9 Posted by moldawer on 20 Jan, 2016 01:29 PM

    moldawer's Avatar

    First of all, I love Marked. It's a dream tool.

    Just curious—any further update on getting styles to export to Microsoft Word? I create book manuscripts and book proposals in Scrivener and it's critical when I export them to Word to share with clients that I can get header levels and normal text to look the way they need to without going through the entire proposal and styling by hand. Any updates on that feature?

    I can still manage with pandoc instead but if Marked could do this it would be a one-stop solution.

  10. Support Staff 10 Posted by Brett on 20 Jan, 2016 01:33 PM

    Brett's Avatar

    Still in progress, but coming.

    Thanks,

    Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac