* Docx > mediawiki : losing color @ 2022-12-07 9:58 Kevin [not found] ` <32bdcff7-7794-4952-98e3-73916ace1a2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Kevin @ 2022-12-07 9:58 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 744 bytes --] Hello, When i'm converting some docx file to mediawiki.txt file, only the basic style (like <strong>) remain. All my colouring disapear. I got the same issue when generating html from docx. Do i miss an option or a flag ? I use this very basic line (on windows) : pandoc -i file.docx -t mediawiki -o file.wiki.txt Thank 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/32bdcff7-7794-4952-98e3-73916ace1a2an%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1144 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <32bdcff7-7794-4952-98e3-73916ace1a2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Docx > mediawiki : losing color [not found] ` <32bdcff7-7794-4952-98e3-73916ace1a2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-12-07 10:07 ` Albert Krewinkel [not found] ` <87edtbttik.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Albert Krewinkel @ 2022-12-07 10:07 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Kevin <koromire69-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > When i'm converting some docx file to mediawiki.txt file, only the > basic style (like <strong>) remain. All my colouring disapear. As the manual says: "Pandoc attempts to preserve the structural elements of a document, but not formatting details […]." Colours are not considered part of the document structure, so pandoc does not attempt to preserve those in the conversion. -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 -- 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/87edtbttik.fsf%40zeitkraut.de. ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <87edtbttik.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>]
* Re: Docx > mediawiki : losing color [not found] ` <87edtbttik.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> @ 2022-12-07 10:19 ` Kevin [not found] ` <61823eaa-0788-4f75-965c-3c2fa5b3d728n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Kevin @ 2022-12-07 10:19 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1078 bytes --] Thank you Le mercredi 7 décembre 2022 à 11:09:39 UTC+1, Albert Krewinkel a écrit : > > Kevin <korom...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > > > When i'm converting some docx file to mediawiki.txt file, only the > > basic style (like <strong>) remain. All my colouring disapear. > > As the manual says: "Pandoc attempts to preserve the structural elements > of a document, but not formatting details […]." Colours are not > considered part of the document structure, so pandoc does not attempt to > preserve those in the conversion. > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > -- 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/61823eaa-0788-4f75-965c-3c2fa5b3d728n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1683 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <61823eaa-0788-4f75-965c-3c2fa5b3d728n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Docx > mediawiki : losing color [not found] ` <61823eaa-0788-4f75-965c-3c2fa5b3d728n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-12-07 11:34 ` Albert Krewinkel 0 siblings, 0 replies; 4+ messages in thread From: Albert Krewinkel @ 2022-12-07 11:34 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw I forgot to mention: you could check if pandoc manages to extract a style name for those colored words. Please run pandoc with `--to markdown` and `--from=docx+custom_styles` and check if the output contains `custom-style`. If it does, then we might still be able to find a solution for this by using pandoc filters. -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-07 11:34 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-12-07 9:58 Docx > mediawiki : losing color Kevin [not found] ` <32bdcff7-7794-4952-98e3-73916ace1a2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-12-07 10:07 ` Albert Krewinkel [not found] ` <87edtbttik.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> 2022-12-07 10:19 ` Kevin [not found] ` <61823eaa-0788-4f75-965c-3c2fa5b3d728n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-12-07 11:34 ` Albert Krewinkel
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).