From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23029 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Agust=C3=ADn_Mart=C3=ADn?= Newsgroups: gmane.text.pandoc Subject: Re: Reference document for DOCX format doesn't seem to be picked up Date: Mon, 24 Jun 2019 02:01:35 -0700 (PDT) Message-ID: <980be184-b406-42f3-bb6e-1b244fa51bc9@googlegroups.com> References: <76d6d82c-5f95-47af-a3c8-96307ecd1ca2@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1516_1157156072.1561366895762" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="257189"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDC7PRMFWYJBB4FCYLUAKGQEQYHWMBI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 24 11:01:38 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hfKr4-0014fq-Fj for gtp-pandoc-discuss@m.gmane.org; Mon, 24 Jun 2019 11:01:38 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id h12sf7087211otn.18 for ; Mon, 24 Jun 2019 02:01:38 -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=a3DbcCnUVtAukLu3iG/R/xDx3o/Mrkg9TpLqwRT44YM=; b=FkWq6mS68WlN4TVpH3sRvoYF1rUK67l2sI3iY+zdvXFYxkBtmJyrhczN5J0r9snT+V dCrQgCLO9dXhaXaYXEzP6QrUnIghi5IhtUdWt/NmRq2yyCXZycFn+HmSL+VWxkTr1XAy OsSC3PH0xSeh0KXw7kIA1bJnbDYBgAxNk2tlieL8tmfJ4a9Trum9WQd3l93RcnWzHDhU wCkFPo+wKikxOCl/HmtQjEtb28gxfS8heHB1FvP+j20m1KbEuhTZN5Dpb1NiGhGAXl0D C+cEioNgPePDLDs31D+R/3R4b7mvEDVdGzOIiWofybHIdlzModdqtxRwuHvXnINgtSow el7Q== 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=a3DbcCnUVtAukLu3iG/R/xDx3o/Mrkg9TpLqwRT44YM=; b=fg/+GCDBjFO0yA/4amIIVGMb9TsXbuY+phdxnpkgnUmnT7sHiNVF0kcxc6pOzQKbu/ G9Qq8xyjHuFhaTgQJgzEqowe0Z5NTnIhCsMjZJ2dXh9CZgC1VWqdhurQpovyPh+/xP5i qt/QSSPmEvk1eqVqSZ/dL8DYITCjFYaeqSMzdxxV43qWv2PfbO8rb/qzbNraS4HTspKw 9dSK6P6pUUWicMLAD+Djid9CDFvrBcGbbyUV/PjEFXyCe4V3Dd+uwWoxutiamJUV5p0+ jqp/Vpl9ClFpgsx8AurlAB8esZzeKNr2iowoO+va5PoOpI2KG12C6k47+GNM3fR0+nwg URyA== 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=a3DbcCnUVtAukLu3iG/R/xDx3o/Mrkg9TpLqwRT44YM=; b=qpqv14+9h6Bd/1OapHeadzuKnuV7aWZYslXJJJjco4CNDyX1F6UiKt6nqMEusv0JdW /xuohYsioUqdsZVOtiThSEfBL3MYc1gf94AJb53V8IHPiE76gxFCnqNi5KKEaVvUjlC8 WCUshOlvdstDugkL/FNRRZIIh62A3C6RjWFyZet8dDsTV5YkYlCQm6MAHx3Cr19sNW4R Ku7lt88hvoYTqH0+EB5oQVsbdW2w/o7tUN/Qqr71GHOx+P7DaOe0+fbMbYoNEawek+y/ FJJeTYa6rf2O7RVmLM5VzoA3HfWYIfHvD4lkZIMcXW9DZrTDfV6u9SSJs4Pm8x1LWLEX zFEQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUmcwRx1xeBcFl2KPBuiOhywk7CGZgJNNdrnQ6UFHO2t2xyO1J0 ZsDoZ2B6pKqN8M70TSe88Q4= X-Google-Smtp-Source: APXvYqzkqvw10iAF4rIifGB27cVGgY4hXb+v488L7edT/X4jgHW2BmrmosZcB6TTEBdIPgtGdRQGJw== X-Received: by 2002:a9d:6f03:: with SMTP id n3mr50165321otq.283.1561366897284; Mon, 24 Jun 2019 02:01:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:730f:: with SMTP id e15ls933789otk.6.gmail; Mon, 24 Jun 2019 02:01:36 -0700 (PDT) X-Received: by 2002:a9d:560b:: with SMTP id e11mr9638627oti.129.1561366896321; Mon, 24 Jun 2019 02:01:36 -0700 (PDT) In-Reply-To: <76d6d82c-5f95-47af-a3c8-96307ecd1ca2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: agusmba-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:23029 Archived-At: ------=_Part_1516_1157156072.1561366895762 Content-Type: multipart/alternative; boundary="----=_Part_1517_138647228.1561366895762" ------=_Part_1517_138647228.1561366895762 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Oliver. I'm afraid you didn't modify the reference doc correctly. You changed the Title on the document text, but not on the "style". You need to change the styles, not the text (after changing the styles, the= =20 text normally reflects these changes anyways). Edit the "Title" style and make it left aligned. It will work. Best regards, Agust=C3=ADn. On Friday, June 14, 2019 at 7:00:39 AM UTC+2, Oliver Baumann wrote: > > I use pandoc (version 2.5) on Linux to convert Markdown to DOCX: > > pandoc -s file.md -t docx --reference-doc=3Dstyle-ref.docx -o file.docx > > I created the file style-ref.docx via pandoc=20 > --print-default-data-file=3Dreference.docx > style-ref.docx and then=20 > modified it in MS Word. > > However the formatting changes saved to style-ref.docx do not seem to be= =20 > applied to the result document. > > What's going wrong?=20 > > How can I debug this? Calling pandoc with --verbose doesn't give any more= =20 > clues. > > > --=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/980be184-b406-42f3-bb6e-1b244fa51bc9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1517_138647228.1561366895762 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Oliver.

I'm afraid you didn'= t modify the reference doc correctly.

You changed = the Title on the document text, but not on the "style".
You need to change the styles, not the text (after changing the styles, th= e text normally reflects these changes anyways).

E= dit the "Title" style and make it left aligned. It will work.

Best regards,
=C2=A0 Agust=C3=ADn.

O= n Friday, June 14, 2019 at 7:00:39 AM UTC+2, Oliver Baumann wrote:
I use pandoc (ver= sion 2.5) on Linux to convert Markdown to DOCX:

pandoc -s file.md -t docx -= -reference-doc=3Dstyle-ref.docx=C2=A0 -o file.docx

I created the file style-ref.docx via pandoc --print-default-data-file=3Dreference.d= ocx=C2=A0 > style-ref.docx = and then modified it in MS Word.

However the formatting changes saved to style-ref.docx do not seem to be a= pplied to the result document.

What's going wrong?

How can I debug this? Calling pandoc with --verbose doesn't give any mo= re clues.


<= /div>

--
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/980be184-b406-42f3-bb6e-1b244fa51bc9%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1517_138647228.1561366895762-- ------=_Part_1516_1157156072.1561366895762--