From: "'Julian R' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: docx to html with paragraph and character styles
Date: Fri, 30 Aug 2019 11:32:04 -0700 (PDT) [thread overview]
Message-ID: <1ce2bfd9-d459-419a-a532-0afb21ba0d5e@googlegroups.com> (raw)
In-Reply-To: <m2mufqd34a.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1760 bytes --]
Thank you very much. Both options are exactly what i'm searched for.
Is it possible to do not convert headline styles to <h1> etc? rather as <p
data-custom-style...> too?
Maybe you know also an option to assume text colors?
Tables with col spans and row spans are not converted correctly, but it
think that's a really difficult topic - i think.
Am Freitag, 30. August 2019 18:34:13 UTC+2 schrieb John MacFarlane:
>
> "'Julian R' via pandoc-discuss" <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>>
>
> writes:
>
> > Hello,
> >
> > i'm tested the docx to html conversion. I'm missing in the html output
> file
> > an "style" attribute within the <p> element.
> > For example in my word document i have a pargraph with the paragraph
> style
> > "Dedication" is it possible to get the parapgrah as <p
> > syle="Dedication">...</p> or something like this?
> > It would be nice if this is also possible with character styles..
> > converting to <span style="xxx"></span>
>
> Try with `-f docx+styles`.
>
> > It seems like equations are translated into html, but complex equations
> > seems not to work and these are written plain as tex. i would like to
> get
> > all equations as plain tex.
>
> Check out the section of the manual about rendering math in HTML.
> --mathjax might be the best option for you.
>
>
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1ce2bfd9-d459-419a-a532-0afb21ba0d5e%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2662 bytes --]
next prev parent reply other threads:[~2019-08-30 18:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 9:11 'Julian R' via pandoc-discuss
[not found] ` <466909e2-1a54-4a75-8cee-82067c49b003-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-30 16:33 ` John MacFarlane
[not found] ` <m2mufqd34a.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-08-30 18:32 ` 'Julian R' via pandoc-discuss [this message]
[not found] ` <1ce2bfd9-d459-419a-a532-0afb21ba0d5e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-30 18:38 ` John MacFarlane
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=1ce2bfd9-d459-419a-a532-0afb21ba0d5e@googlegroups.com \
--to=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).