From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20391 Path: news.gmane.org!.POSTED!not-for-mail From: Jose Costa Teixeira Newsgroups: gmane.text.pandoc Subject: Re: Strip metadata in docx content Date: Tue, 19 Jun 2018 22:06:52 -0700 (PDT) Message-ID: <7123e8e6-0c97-4b3d-b6d4-5920bf7589d5@googlegroups.com> References: <0185bd97-6167-4b60-b2fa-77101454476f@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_22679_146664106.1529471212591" X-Trace: blaine.gmane.org 1529471090 17945 195.159.176.226 (20 Jun 2018 05:04:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2018 05:04:50 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDNMJVWG2EEBB3WBU7MQKGQE3ZYCFFA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 20 07:04:46 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f56.google.com ([209.85.218.56]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVVIS-0004Y7-1n for gtp-pandoc-discuss@m.gmane.org; Wed, 20 Jun 2018 07:04:44 +0200 Original-Received: by mail-oi0-f56.google.com with SMTP id l20-v6sf1243295oii.1 for ; Tue, 19 Jun 2018 22:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=6EkSno4zqEqjXXH70n36UMSzvVI+9D4B2x0ISMo0/e0=; b=GxERoFRsoBbiXXcNkcKQnqKKHoHU1CmyTMzjtgiIsVMZOVAmFHpLTArnhpJ1o0zMEL skt7wjkoPFX4ODkQGAGj041Uygp7RtiYBrB1zv81NvlDd5c25pKQmUnc7XBeAtn/1TsN m01GbaNTP86r36tVAuV82WsB0bjg7pbqZjrwfx3MPiTc+6wDNP+swYb6ZXHhfC7KoUmJ kDLFbIMQEt5lpMOdN65mzd8NhW3PBLROg7pwALsOQZEntxw8nehrDDHl3T76cfpQ6SGs JgNX65xodCoAx2egXOvehk5lBoV1JluaJum/DcWrI4q+MbVSM+PxT7swHDKz07EVj1NM 0SRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=6EkSno4zqEqjXXH70n36UMSzvVI+9D4B2x0ISMo0/e0=; b=bLQ8QBzYNiP4BSM0FNXjlgZFLWwsAyZsuCfWf6N1aopRR/f7tYdleMLJuSMRH0CCb/ 1KB7uJ289dl4gc3NzeOmhdZDvEI1XDFrA3UEXIG7b0tggikhql019M107vbKSaehC4Az WseBW2nWaSCN2aWXDZ9VO9x54G7PyvUGu+fTIIeI+bTqpMijdxFCq3jisuaEKY4SnbDG WvMP2pKPEj/aDPCZs9cTBNh7DP3mf1YHKQzKxCBAC/QC9mcTMpu1ZTochzTu1Ie9umFx +uFy945iVgKN0DPfAostmdVu7pYrE1PAqeTGZ58WZqMZ4HN0Fi4KqTU2llu72SP+YYTH bSow== 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:in-reply-to :references: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=6EkSno4zqEqjXXH70n36UMSzvVI+9D4B2x0ISMo0/e0=; b=ZAc9T7cpCc6JZ6zU5DqbIYp/NxAHVJ2c8eIaWYrjh7gB6gAj1URIPza2io04bQhFii fMtXNkBrIine311ExhsxmuvIyPGq95T2u5v8Octtdv2a+4SQYHFGUBVgnHtc9hB+PstZ GdkPWTeTRKYdrwqzx3a9JQsqvvJ8rRC89SnhYE05CpPkt/wSn6g2vsT8WV/m0MKmtTh9 eH4MjzOjCZn5QlUvYdy7ywMYnB4P4vwQJRqK38HZ635/Dj7SMLwOG7fAuRgsysX0A5VU 6GaZ82TbZDW4s4bvGmqI/Sl0l20XwzxKYWrxGVOQyKVqwo1LXP/jvcgKEYBfqaf8E7V8 aCyQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APt69E2sfD/i3yQ/2Qu7Dn6U8ugXBMG5CRHhsxzUO8GJ7QTBgQgGNP8x nKDrI247F7hn2J6gyRKnyx8= X-Google-Smtp-Source: ADUXVKJ58A4VRUhDRZgX5tMKnYYFdEbTfTVcGBPyfAWc2u8g/u6xq7bAciAltcL9rEOBTmVSMpBKlw== X-Received: by 2002:a9d:6218:: with SMTP id g24-v6mr77902otj.4.1529471215088; Tue, 19 Jun 2018 22:06:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:3844:: with SMTP id f65-v6ls622052oia.4.gmail; Tue, 19 Jun 2018 22:06:54 -0700 (PDT) X-Received: by 2002:aca:1214:: with SMTP id 20-v6mr865704ois.3.1529471213199; Tue, 19 Jun 2018 22:06:53 -0700 (PDT) In-Reply-To: X-Original-Sender: jose.a.teixeira-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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20391 Archived-At: ------=_Part_22679_146664106.1529471212591 Content-Type: multipart/alternative; boundary="----=_Part_22680_1991010018.1529471212593" ------=_Part_22680_1991010018.1529471212593 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, setting the metadata to false is sufficient. I am not familiar with= =20 filters so when this becomes more advanced I will catch up there. On Tuesday, June 19, 2018 at 5:01:58 PM UTC+2, BP Jonsson wrote: > > I'm AFK right now and don't want to post code which maybe doesn't work bu= t=20 > a Lua filter which intercepts the metadata and replaces it with an empty= =20 > table probably works. > > tis 19 juni 2018 kl. 16:32 skrev Francesco Occhipinti >: > >> >> You can also remove metadata via a filter. They might be not visible in= =20 >> some native representations of the document but they are there >> >> On Tuesday, June 19, 2018 at 1:38:25 PM UTC+2, Jose Costa Teixeira wrote= : >>> >>> Hi >>> >>> I am starting to use pandoc, so please forgive me if this is a dumb=20 >>> question.=20 >>> >>> When I convert an (x)html to docx, the docx writer puts the title in th= e=20 >>> file. How can I avoid that? >>> I can use the command line to give another value to the title (making i= t=20 >>> ""), but this still creates an empty line. >>> >>> Can we strip the metadata from the docx altogeher? >>> >>> Thanks >>> >>> >>> >>> --=20 >> You received this message because you are subscribed to the Google Group= s=20 >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n=20 >> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 >> . >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/b0ea598a-ec4c-4f4a-b083= -59ac31e75b83%40googlegroups.com=20 >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > --=20 > > ------------------------------ > SavedURI :Show URLShow URLSavedURI : > SavedURI :Hide URLHide URLSavedURI : > > https://mail.google.com/_/scs/mail-static/_/js/k=3Dgmail.main.sv.G3GZFwvc= niQ.O/m=3Dm_i,t,it/am=3DfUAcTAoZawdGHAZ2YD-g9N_f7LL4CX7WlSgHQKgABHaCv9kToPi= BD8qOMw/rt=3Dh/d=3D1/rs=3DAItRSTO5CF1YB_frDRXLXTeUsQ1zItcBvwhttps://mail.go= ogle.com/_/scs/mail-static/_/js/k=3Dgmail.main.sv.G3GZFwvcniQ.O/m=3Dm_i,t,i= t/am=3DfUAcTAoZawdGHAZ2YD-g9N_f7LL4CX7WlSgHQKgABHaCv9kToPiBD8qOMw/rt=3Dh/d= =3D1/rs=3DAItRSTO5CF1YB_frDRXLXTeUsQ1zItcBvw=20 > =20 > > ------------------------------ > --=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 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/7123e8e6-0c97-4b3d-b6d4-5920bf7589d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_22680_1991010018.1529471212593 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, setting the metadata to false is sufficient. I am = not familiar with filters so when this becomes more advanced I will catch u= p there.

On Tuesday, June 19, 2018 at 5:01:58 PM UTC+2, BP Jonsson w= rote:
I&= #39;m AFK right now and don't want to post code which maybe doesn't= work but a Lua filter which intercepts the metadata and replaces it with a= n empty table probably works.

tis 19 juni 2018 kl. 16:32 skrev Francesco Occhipinti <f.occh...@gmai= l.com>:

=
You can also remove metadata via a filter. They might be not visible i= n some native representations of the document but they are there

On Tuesday, June 19, 2018 at 1:38:25 PM UTC+2, Jose Costa Teixeir= a wrote:
Hi

= I am starting to use pandoc, so please forgive me if this is a dumb questio= n.=C2=A0

When I convert an (x)html to docx, the do= cx writer puts the title in the file. How can I avoid that?
I can= use the command line to give another value to the title (making it "&= quot;), but this still creates an empty line.

Can = we strip the metadata from the docx altogeher?

Tha= nks



--
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 pandoc-discus...@googlegroups.com.
To post to this group, send email to pandoc-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pand= oc-discuss/b0ea598a-ec4c-4f4a-b083-59ac31e75b83%40googlegroups.co= m.
For more options, visit https://groups.google.com/= d/optout.
--

--
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/7123e8e6-0c97-4b3d-b6d4-5920bf7589d5%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_22680_1991010018.1529471212593-- ------=_Part_22679_146664106.1529471212591--