From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22086 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nyoman Bennyamino Newsgroups: gmane.text.pandoc Subject: docx -> markdown & Citavi Content Control Date: Tue, 12 Feb 2019 08:31:27 -0800 (PST) Message-ID: <87d9e5ab-3b83-46cf-a538-a6f2308454d1@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_83_826954855.1549989087052" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="149243"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCY2337C5EMBBYHJRPRQKGQEISDLZNI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 12 17:31:31 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f56.google.com ([209.85.210.56]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gtay2-000cfH-Ti for gtp-pandoc-discuss@m.gmane.org; Tue, 12 Feb 2019 17:31:31 +0100 Original-Received: by mail-ot1-f56.google.com with SMTP id n22sf3056054otq.8 for ; Tue, 12 Feb 2019 08:31:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=wraWjwjP0NExD1ablqrFsHOskjE2mS3qqJeTv0mdQ0U=; b=RxYbr4TMxHs0dc6VxJpkvA60V+PPpwV7/F8+MIlqHwUhFrpkvr+XPNHagsdg2mP/YO /NYteCL+WwtWcpGLtS/7Yy01Q7z1IRIZlJgW+e/cB8mk3KZPEFCP+y9/k8eFQxXLnP0Z 83ItXZKb6YBRDn8UdyVBy5VUWdnh6z5wwkYItDOoFnAY0vUJSifzDzgptBMnnGar2Ttj e3X9ZNrTXTXExx5cF/JGW4WZDIAs2vR7pwbrbCHP1g7saqU4oUvhzIsnCE6mtuS1lXbB ykdmW5ir2KEOBam3bnhMvEaRzd7FjAjfcR4uQ/vFK9czdip4aOmr3Yy+fvKLZrNf0kuM H4dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=wraWjwjP0NExD1ablqrFsHOskjE2mS3qqJeTv0mdQ0U=; b=bHDAWeURXFUsM7A641B5shPX0wIfo3Wvns0IiYZUvUz7NHJE/vCAK78mGTKLjC+psa githgRu6B2gRS0K034VQMnc1+6s9wo6PP4+kSWgj/fjBB7kHp/OsvOPVgCWGiHLQeLUF fvJU8vdZEK7FXp2Y6OTLxkWXuBc8hF1wo1qKPANQXIwQuXCKwnH+4R5Qpjx3/fuwrCEZ b7CPmOseWaYEiA/XCt1UOWfl5jBFYZDziIC15X/jPbH//JAC4gmIJWn7+80l+oOa9DSs Nr9U8gRsJshV8jouZyABoIryp0xRW6v0Tsxj3/gw+7L47MASMdSaD2VzNo6zHH6uhV/F IzQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=wraWjwjP0NExD1ablqrFsHOskjE2mS3qqJeTv0mdQ0U=; b=OnGkXQ7UqKBREoOhDCG3xxlNTP8JwDoQtrnDt6iTJ3aHK7pEnS8qM+NJeJOuHC111d aJR6rSPNEcDgqg7At7LxfWiJz08uq/kVlq2xPn0SZGUyIfemI8xYAJurpzijnhPwmBHp HrEQc05YP938AV0LTQlYvL7ms5i1r52OBPKJd3vCrutp4MNpsyRIyCyr4uJEYaSXSBg/ GZzMUNrBAryjluvzdbPh93C5ckQn0a61htmM1LWEbR5FMTd3u4bJaXo8DpkFI6fK7br9 ZzNHi0gwZOiHEElvHkOelwdjx0Fyp0oKp4dDmB+8SMCHL9o7EZRGLKBi0s6Rek2QAxbU rt8A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAubixKa9D9P+tWq2n0/xLrDhntqPUsqMoD7e+pnWuV8l+zu/O0LY O+wFLoIK4qhNj37iiop2MF8= X-Google-Smtp-Source: AHgI3IYyH8HP3LEOfnCm3ror5Qk0rZEcj0zugh4SkeX9HGXlMX+urjF6bDCNllyynQ4wYYYDxWRaPg== X-Received: by 2002:a05:6830:130d:: with SMTP id p13mr111992otq.2.1549989089663; Tue, 12 Feb 2019 08:31:29 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6409:: with SMTP id h9ls10835512otl.8.gmail; Tue, 12 Feb 2019 08:31:27 -0800 (PST) X-Received: by 2002:a05:6830:130d:: with SMTP id p13mr111988otq.2.1549989087613; Tue, 12 Feb 2019 08:31:27 -0800 (PST) X-Original-Sender: nyoman.bennyamino-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.org gmane.text.pandoc:22086 Archived-At: ------=_Part_83_826954855.1549989087052 Content-Type: multipart/alternative; boundary="----=_Part_84_424578790.1549989087052" ------=_Part_84_424578790.1549989087052 Content-Type: text/plain; charset="UTF-8" Hello, I'd like to use pandoc to convert a MS Word 365 (*.docx) file to markdown. My reference management program (Citavi) is using Word Content Control fields to inject references into footnotes. Unfortunately, pandoc is omitting the all references instead of at least converting the references into plain text. For example: One of my footnote is: "92. See Author, New York 2018, p. 18" The source code for this footnote (from Word's footnotes.xml file): ADDIN CitaviPlaceholder{ey....AifQ==}*See* Author*, **New York 2018*81*, p. 18.* Output after converting: pandoc -f docx "test.docx" -w markdown_strict --reference-location "block" "92. " Any ideas how to fix this? Thanks, Nyoman -- 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/87d9e5ab-3b83-46cf-a538-a6f2308454d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_84_424578790.1549989087052 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'd like to use pandoc to convert a MS Word 365 (*.docx) file to = markdown. My reference management program (Citavi) is using Word Content Co= ntrol fields to inject references into footnotes. Unfortunately, pandoc is = omitting the all references=C2=A0instead of at least converting the referen= ces into plain text.

=
For example:

One of my footnote is: "92. See Author, New York 20= 18, p. 18"

The source code for this foot= note (from Word's=C2=A0footnotes.xml file):

<w:footnote w:id=3D"92"><w:p w14:para= Id=3D"315F39A7" w14:textId=3D"2167C15F" w:rsidR=3D"= ;000B6667" w:rsidRDefault=3D"000B6667" w:rsidP=3D"00F42= B65"><w:pPr><w:pStyle w:val=3D"Funoten"/><= /w:pPr><w:r w:rsidRPr=3D"002C10AE"><w:rPr><w:rS= tyle w:val=3D"Funotenzeichen"/><w:b/><w:vertAlign w:v= al=3D"baseline"/></w:rPr><w:footnoteRef/></w:r&= gt;<w:r><w:t xml:space=3D"preserve"> </w:t><= /w:r><w:r><w:tab/></w:r><w:sdt><w:sdtPr>&l= t;w:alias w:val=3D"Don't edit this field"/><w:tag w:val= =3D"CitaviPlaceholder#ecdec0e6-4e94-491b-a6d1-74308e00ccd9"/>&= lt;w:id w:val=3D"827022648"/><w:placeholder><w:docPar= t w:val=3D"B8F488EF9BC34FE5B5D83FE3A9CB28BD"/></w:placehold= er></w:sdtPr><w:sdtContent><w:r><w:fldChar w:fldCha= rType=3D"begin"/></w:r><w:r><w:instrText>ADD= IN CitaviPlaceholder{ey....AifQ=3D=3D}</w:instrText></w:r><w= :r><w:fldChar w:fldCharType=3D"separate"/></w:r>&l= t;w:r w:rsidR=3D"00BB051A"><w:t xml:space=3D"preserve&= quot;>See=C2=A0</w:t>&= lt;/w:r><w:r w:rsidR=3D"00BB051A" w:rsidRPr=3D"00BB051= A"><w:rPr><w:smallCaps/></w:rPr><w:t>Aut= hor</w:t></w:r><w:r w:rsidR=3D"00BB051A&quo= t; w:rsidRPr=3D"00BB051A"><w:t>,=C2=A0= New York 2018</w:t></w= :r><w:r w:rsidR=3D"00BB051A" w:rsidRPr=3D"00BB051A&quo= t;><w:rPr><w:vertAlign w:val=3D"superscript"/><= /w:rPr><w:t>81</w:t></w:r><w:r w:rsidR=3D"00BB= 051A" w:rsidRPr=3D"00BB051A"><w:t>, p.=C2=A018.&l= t;/w:t></w:r><w:r><w:fldChar w:fldCharType=3D"end&qu= ot;/></w:r></w:sdtContent></w:sdt></w:p></w:f= ootnote>

Output after conve= rting:

pandoc -f docx "test.docx" -w markd= own_strict --reference-location "block"

"92. "


Any ideas ho= w to fix this?


Thanks,

Nyoman

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/87d9e5ab-3b83-46cf-a538-a6f2308454d1%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_84_424578790.1549989087052-- ------=_Part_83_826954855.1549989087052--