From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32876 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sigismond Newsgroups: gmane.text.pandoc Subject: Re: docx+styles to dokuwiki somehow ? Date: Mon, 26 Jun 2023 06:16:48 -0700 (PDT) Message-ID: References: <16df0de5-a608-4e6e-9545-3fa338229d8fn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3510_1200697917.1687785408464" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8196"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCJ4VS5M3INRBQM742SAMGQEMPYGR6Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 26 15:16:53 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qDm5N-0001sm-3B for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 26 Jun 2023 15:16:53 +0200 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-1b01cf5d063sf2050336fac.2 for ; Mon, 26 Jun 2023 06:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1687785412; x=1690377412; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=M2LyZHmhdX1GfZVfyUVyQm32alL/pYu/R1dsuzV/Pkg=; b=i70uVYe15GfT6Xg3aQ7hfUGH7+F7kzvOh+AFwgg58ZR3VWdnGXcDFwRuOQCtosQlbU GVOynAMRfAw5xQZmSoz3GKaQ6CLpW4knn7+8vWrgm0RqHqTCnmULJghuJrAfUgJ/hDdQ eAiVQ32llwLc3rFPa2lIDLZHZpU1kXytVIi1A3rTsfN7eRUkmgY2O6Vmtm1W6sDdbjN9 zSLKbaPsSzGKSbMybX7GyJbXt04qkY/NhskoQesJ+kJ0YgY9HBwrTJabVP3/YRXjzWT9 lhzBAPb3Lf32mWI75DGxMu+KhoiYKd0rZ51rJ/UDk3Ei0bt2TDFCdZ9RcwykOemFPbMt 8OYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687785412; x=1690377412; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=M2LyZHmhdX1GfZVfyUVyQm32alL/pYu/R1dsuzV/Pkg=; b=AsUsDVD+PcP1geX0WizdrMwHdH2DWuVMZ/mVfn2TKBtgkis0zwE69Dvgzl19Lk4zRa xFWqQOw/PtKq4h7i7pxQNhVSeih9pP1NSKv5BZ/7qC8dC6brV3k54PBhDvoydQ5h6fcd h2gwLLRFlK3biXRCSREaOEKh6gMZ7pZaOFIyanXCZ+AwCq3e2UIeVF7w6HQLFGNC2A5K 0dpc4tJmn49EwkBLLtH9ig4LJ1l7bIToqZKvEB8rjxZ99zu+7PmOPM7Z/rlBZ5j/ajlU OUbuckdrX0KWnTgSOHIqEb3tFVKARXE5Hdx/yTtU7lWwygse62YHMDEdyLBS9Yo2oR5g ZklQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687785412; x=1690377412; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=M2LyZHmhdX1GfZVfyUVyQm32alL/pYu/R1dsuzV/Pkg=; b=NzzqwzBv+8GL7xfhQUGj5PA2m8DsFf275tB2cMCN6D0lOVWjdPwv4J8W5f++9SE7Q6 tqBoWKzrFu2/ibaOHJ4PZ8ZXOmTiaDJ8iyciEBn1rO5Zz5e2SFIEHzh+eLBKqJOGHAxs OkDKNkl4pfEbaYzaErWKhb0yDFLwjLBaVbbvJJ1QYr5jcwSSEERjKo/o4qwnLKCN00dF NyNZymXT6lw53oqiE8ZWFYBUrMasDg5fQCkv3ZsEGhyblqtIj9ImxjoIDJTBf7KDiH4/ FR9ffReW8jzMdjNUNx4o+baIvklthZ7PtuOWGtLHlp9t7D3R+D Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDx0K487vdZ7KQEOBokNvIZMgflqaNHYZfSIqeMbT0sop/o36bob kqZARrXD0fv0pedwBKFe86w= X-Google-Smtp-Source: ACHHUZ7hNY8dy3AKuBCczLM6iGHT2OjK+HCwraw3yQWmFQ7aDtCdDRYG5NSZ0bRz5/p7Oz9pr63ALg== X-Received: by 2002:a05:6870:52c5:b0:1a7:e554:500a with SMTP id p5-20020a05687052c500b001a7e554500amr26117931oak.49.1687785411579; Mon, 26 Jun 2023 06:16:51 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:6c15:b0:1b0:50bf:b33a with SMTP id na21-20020a0568706c1500b001b050bfb33als108185oab.0.-pod-prod-09-us; Mon, 26 Jun 2023 06:16:49 -0700 (PDT) X-Received: by 2002:aca:bd42:0:b0:398:54ab:28ce with SMTP id n63-20020acabd42000000b0039854ab28cemr6673746oif.9.1687785409080; Mon, 26 Jun 2023 06:16:49 -0700 (PDT) In-Reply-To: <16df0de5-a608-4e6e-9545-3fa338229d8fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: pascal.conil.lacoste-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32876 Archived-At: ------=_Part_3510_1200697917.1687785408464 Content-Type: multipart/alternative; boundary="----=_Part_3511_1833224287.1687785408464" ------=_Part_3511_1833224287.1687785408464 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable OK, let's try it another way : I plan to use Pandoc to convert several docx files to dokuwiki format. I need to retain custom block styles and convert them to custom tags,=20 something like=20 my dokuwiki formatted block text Do I need to develop a custom dokuwiki writer from scratch to do that or is= =20 there a way to use lua filters for this purpose. Sorry if the answer is obvious but I struggle to find relevant information. Thanks for any help, -- Pascal Le mercredi 26 avril 2023 =C3=A0 16:14:20 UTC+2, pascal Conil-lacoste a =C3= =A9crit : > Hi everybody, > > I've been using pandoc for some years to accomplish very straightforward= =20 > conversions. > Now that what I plan to do is a little more complex, I struggle to find= =20 > relevant information. > > I need to convert docx to dokuwiki and retain Word custom styles. I=20 > thought I could use docx+styles to get custom-styles in dokuwiki files bu= t=20 > they don't make it to the output and get stripped. > > I would be happy with ::: {custom-style=3D"myStyle"} my text here::: > > If I could get something along these lines, I would be able to apply some= =20 > other simple transformation to get to the final dokuwiki files and treat= =20 > them with a plugin. > > What is the best way to achieve this ? Filters ? Templates ? > > Any help welcome! > --=20 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 e= mail 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/bdc377c4-3918-4f0f-a87e-a66f9d128cc2n%40googlegroups.com. ------=_Part_3511_1833224287.1687785408464 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable OK, let's try it another way :

I plan to use Pandoc to convert several docx files to d= okuwiki format.
I need to reta= in custom block styles and convert them to custom tags, something like=C2= =A0

<WARP my-custom-block-style>
my dokuwiki formatted block text
</WARP>

Do I = need to develop a custom dokuwiki writer from scratch to do that or is ther= e a way to use lua filters for this purpose.
Sorry if the answer is obvious but I struggle to find releva= nt information.

Thanks for any help,
--
=C2=A0 Pascal


Le mercredi 26 avril 2023 =C3=A0 16:14:20 UTC+2, p= ascal Conil-lacoste a =C3=A9crit=C2=A0:
Hi everybody,

I've been u= sing pandoc for some years to accomplish very straightforward conversions.<= /div>
Now that what I plan to do is a little more complex, I struggle t= o find relevant information.

I need to convert doc= x to dokuwiki and retain Word custom styles. I thought I could use docx+sty= les to get custom-styles in dokuwiki files but they don't make it to th= e output and get stripped.

I would be happy with := :: {custom-style=3D"myStyle"} my text here:::

If I could get something along these lines, I would be able to apply = some other simple transformation to get to the final dokuwiki files and tre= at them with a plugin.

What is the best way to ach= ieve this ? Filters ? Templates ?

Any help welcome= !

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/bdc377c4-3918-4f0f-a87e-a66f9d128cc2n%40googlegroups.= com.
------=_Part_3511_1833224287.1687785408464-- ------=_Part_3510_1200697917.1687785408464--