* How can one or multiple markdown files be included in/converted to content for a .docx file @ 2022-04-08 10:13 'LukasK' via pandoc-discuss [not found] ` <97b450d0-c11e-4d83-8473-f0340e7b0cedn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: 'LukasK' via pandoc-discuss @ 2022-04-08 10:13 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1188 bytes --] we are using markdown wikis for our internal documentation, which works quite well, we are also generating static .html pages from the wiki (using pandoc) We now want to create (or better *fill*) .docx Documents with our markdown content. E.g: - We are having a .docx installation manual or release letter with a fixed template and fixed structure (1. toc, 2. introduction, 3. content A, 4. content B, 5. Remarks, ...) - We are planning to write our content for chapter 3 + 4 in our wiki and want to automatically fill the existing .docx document with the content (primary: text, lists, images) - We want to keep the overall document structure (layout, tocs, remarks, etc.) Any ideas or solutions on how to achieve the given use case? -- 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/97b450d0-c11e-4d83-8473-f0340e7b0cedn%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1519 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <97b450d0-c11e-4d83-8473-f0340e7b0cedn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: How can one or multiple markdown files be included in/converted to content for a .docx file [not found] ` <97b450d0-c11e-4d83-8473-f0340e7b0cedn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-04-08 10:46 ` Bastien DUMONT 0 siblings, 0 replies; 2+ messages in thread From: Bastien DUMONT @ 2022-04-08 10:46 UTC (permalink / raw) To: 'LukasK' via pandoc-discuss I guess that the filter “include-files.lua” may be adapted to your requirements: https://github.com/pandoc/lua-filters/tree/master/include-files You can write the template as a markdown file including references to the files containing the changing content (after having converted them to pandoc markdown if they are written in another wiki syntax). The main markdown file can then be converted to DOCX and the layout be controlled by a reference doc. Le Friday 08 April 2022 à 03:13:37AM, 'LukasK' via pandoc-discuss a écrit : > we are using markdown wikis for our internal documentation, which works quite > well, we are also generating static .html pages from the wiki (using pandoc) > > We now want to create (or better fill) .docx Documents with our markdown > content. > > E.g: > > • We are having a .docx installation manual or release letter with a fixed > template and fixed structure (1. toc, 2. introduction, 3. content A, 4. > content B, 5. Remarks, ...) > • We are planning to write our content for chapter 3 + 4 in our wiki and want > to automatically fill the existing .docx document with the content > (primary: text, lists, images) > • We want to keep the overall document structure (layout, tocs, remarks, > etc.) > > > > Any ideas or solutions on how to achieve the given use case? > > > > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/msgid/ > pandoc-discuss/97b450d0-c11e-4d83-8473-f0340e7b0cedn%40googlegroups.com. > > References: > > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/97b450d0-c11e-4d83-8473-f0340e7b0cedn%40googlegroups.com?utm_medium=email&utm_source=footer -- 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/YlASeCJwgYOYj5qN%40localhost. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-08 10:46 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-04-08 10:13 How can one or multiple markdown files be included in/converted to content for a .docx file 'LukasK' via pandoc-discuss [not found] ` <97b450d0-c11e-4d83-8473-f0340e7b0cedn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-04-08 10:46 ` Bastien DUMONT
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).