public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Kjetil Flovild-Midtlie <kjetil.midtlie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Docx reader ; style picking algorithm
Date: Wed, 31 Dec 2014 03:20:40 -0800 (PST)	[thread overview]
Message-ID: <1bb6000f-1dc7-4a1f-9050-188f03b8d4d9@googlegroups.com> (raw)
In-Reply-To: <4b2f3216-fc6c-4552-8bf0-3cd263ebc143-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

If docx XMLs dont keep relations between custom-styles and defaults .. is a 
"styleMap" the thing? 
And does pandoc support this in anyway?

(kind of like this project does https://github.com/mwilliamson/mammoth.js)



On Tuesday, 30 December 2014 22:48:17 UTC+1, Kjetil Flovild-Midtlie wrote:
>
> Sometimes authors change style names into locale variants or just non 
> standard version. 
>
> Pandoc skiped these when sectioning outout when I tested.. 
>
> Could the docx reader check the underlying style/class name if an elem has 
> a non standard style name? 
>
> Does Word even keep this 'parentclass'   info in the docx elements ? 
>
> (I had a quick look in the docx Reader src file. Have also been reading up 
> on Haskell again like mad this xmas, and sadly I realize I need more time 
> "there" and also reading some raw docx files... ) 
>
> Kjetil  

-- 
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/1bb6000f-1dc7-4a1f-9050-188f03b8d4d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2014-12-31 11:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-30 21:48 Kjetil Flovild-Midtlie
     [not found] ` <4b2f3216-fc6c-4552-8bf0-3cd263ebc143-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-12-31 11:20   ` Kjetil Flovild-Midtlie [this message]
     [not found]     ` <1bb6000f-1dc7-4a1f-9050-188f03b8d4d9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-12-31 15:55       ` Mark Szepieniec
2015-01-01 14:50   ` Ghlen Livid
     [not found]     ` <dc85a2ba-1117-4ff3-9b53-edb5b36a9f73-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-01-01 16:05       ` Jesse Rosenthal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1bb6000f-1dc7-4a1f-9050-188f03b8d4d9@googlegroups.com \
    --to=kjetil.midtlie-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).