From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/12109 Path: news.gmane.org!not-for-mail From: Nikolay Yakimov Newsgroups: gmane.text.pandoc Subject: Reference.docx and default Word styles Date: Mon, 23 Feb 2015 14:14:27 -0800 (PST) Message-ID: <10d80cbd-5bdb-4937-811c-24af52aaadf3@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1138_710791933.1424729667278" X-Trace: ger.gmane.org 1424729685 23828 80.91.229.3 (23 Feb 2015 22:14:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2015 22:14:45 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDZJLY4V3QFBBQ6MV2TQKGQEJVOZDXA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Feb 23 23:14:30 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ob0-f183.google.com ([209.85.214.183]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQ1Gm-0003gB-Tr for gtp-pandoc-discuss@m.gmane.org; Mon, 23 Feb 2015 23:14:29 +0100 Original-Received: by mail-ob0-f183.google.com with SMTP id wp4sf8553802obc.0 for ; Mon, 23 Feb 2015 14:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:subject:mime-version:content-type :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=doDlxBbfm+KmzZt6SyAhWluEi7P/GYciCWOVkrjyvYY=; b=KBcxkJP6csO1GWWzAb8P3W1yeffWMT9oc/v1DDQ+5gXD6UwyFT+cjmKUZrdKFRG9kL d97/14O/m55lJJ7d/xOzJ19v9tKhQth5gbXSrh+Qmdh75iOuwzu2ZfKHmWG7llBR13/v enPXALymA8Cp7AVad24laaURUsnCdBqb6RbSvjGFAw5X3KGbRqfdmCOe2YDvIzam9a9k P5R0/BwHcNqPwFeEQrUFrD0ZmpeCURUQqni0kJA5KkcpIiSAYUNZ8I9O1I4v3xE51pW4 B/YYQmxFYvGiM3NuNgXMHsXYkFWwfdhKLMewnIAiO+RusDHCtqJ8OFn3gwLMQlaAj6ya t+hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:mime-version:content-type :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=doDlxBbfm+KmzZt6SyAhWluEi7P/GYciCWOVkrjyvYY=; b=W0F+f4PvBO/Ip3eZGf9zPBPvCdw+rrWZnD7GSLx3tfhU8YLgD/DOMNbjBaKCWD09OW yCJTToFfmiHcQsPx05zj8d/lnTOwgmiJzkJC5ySCqIMgJS9sXxQDdEtM9aXxZ16R5OOW yDy/Yq12fwj4LCGUdbs+eYkhvQ78w9lk3GH4iK81ZIfQzt3HilUptdoOZoXiRD7TwYaO QA84o7IZ6s/JvvBnXqw6s+pLAZUPYXBklq7LN1C95jw0CO8TF8ep93Gg7/SZxaD5h+T6 MMPrD4FMThJfHL62XGxgPU2h5UuMubeUiu3RoIrHDg5UiYuTpzWVbu5m1ONCpwwJtC+D GhYg== X-Received: by 10.140.109.66 with SMTP id k60mr155203qgf.36.1424729667971; Mon, 23 Feb 2015 14:14:27 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.23.5 with SMTP id 5ls1713511qgo.94.gmail; Mon, 23 Feb 2015 14:14:27 -0800 (PST) X-Received: by 10.140.48.97 with SMTP id n88mr139787qga.35.1424729667626; Mon, 23 Feb 2015 14:14:27 -0800 (PST) X-Original-Sender: g.livid-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:12109 Archived-At: ------=_Part_1138_710791933.1424729667278 Content-Type: multipart/alternative; boundary="----=_Part_1139_1975973317.1424729667278" ------=_Part_1139_1975973317.1424729667278 Content-Type: text/plain; charset=UTF-8 Hi. I'm working on https://github.com/jgm/pandoc/pull/1968, and I've got some questions. Some styles in reference.docx are marked as custom, some are not. Some of those not marked custom are recognized by Word as built-in. Some are not, however. Word automatically marks those as custom, but this introduces unnecessary ambiguity. Furthermore, some styles not recognized by Word as built-in actually duplicate built-in styles, and could be renamed to reflect that. Here is a list of styles I'm most concerned about: Nameambiguoustypecan be replaced byAuthoryesp?Abstractyesp?Compactyesp?Image Captionyespcaption?Block QuoteyespIntense Quote, Block Text, QuoteTable Captionyespcaption?Definition Termyesp?Definitionyesp?FirstParagraphyesp? LinknocHyperlinkFootnote Refnocfootnote reference these are either ambiguous (again, meaning that they are neither custom, nor Word defaults), duplicate default Word styles, or both. So the question is, what should be done with them? I've got the following options: 1. Update reference.docx to define ambiguous styles as custom. Do nothing more. This is a quick-and-dirty solution. 2. Replace styles in reference with word-recognized ones as best I can, set those I can't as custom. This is a longer path, but leading to hopefully better user experience. 3. Do nothing at all, and hope for the best. This will likely lead to 'surprises' in the future, and not the pleasant kind, I fear. First two options require significant updates to reference.docx though, and option 2 is not strictly backwards-compatible with pandoc-created docx (although it'll likely be a couple of styles, not much more). So, what are your thoughts on this matter? -- 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/10d80cbd-5bdb-4937-811c-24af52aaadf3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1139_1975973317.1424729667278 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi. I'm working on https://github.com/jgm/pandoc/pull/1968, and I've got some questions.

Some styles in reference.docx are marked as custom, some are not. Some o= f those not marked custom are recognized by Word as built-in. Some are not,= however. Word automatically marks those as custom, but this introduces unn= ecessary ambiguity. Furthermore, some styles not recognized by Word as buil= t-in actually duplicate built-in styles, and could be renamed to reflect th= at.

Here is a list of styles I'm most concerned about:
= = = no=
Nameambiguoustypecan be replaced by
Authoryesp?<= /td>
Abstractyesp?
Compactyesp?<= /font>
Image Captionyes= pcaption?
Block QuoteyespIntense Quote, Block Text, Quote
Table Captionyesp<= /td>caption?
Definition Term= yesp?
Definitionyesp?
FirstParagraphyesp?
Linknoc= Hyperlink
Footnote Refcfootnote reference

these are either ambiguous (again, meaning that th= ey are neither custom, nor Word defaults), duplicate default Word styles, o= r both.

So the question is, what should be done with the= m? I've got the following options:

  1. Update reference.do= cx to define ambiguous styles as custom. Do nothing more. This is a quick-a= nd-dirty solution.
  2. Replace styles in reference with word-= recognized ones as best I can, set those I can't as custom. This is a longe= r path, but leading to hopefully better user experience.
  3. = Do nothing at all, and hope for the best. This will likely lead to 'surpris= es' in the future, and not the pleasant kind, I fear.

First two options require significant updates to reference.do= cx though, and option 2 is not strictly backwards-compatible with pandoc-cr= eated docx (although it'll likely be a couple of styles, not much more).


So, what are y= our thoughts on this matter?

--
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/10d80cbd-5bdb-4937-811c-24af52aaadf3%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1139_1975973317.1424729667278-- ------=_Part_1138_710791933.1424729667278--