From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23278 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Docx to HTML preserve some formatting? Date: Mon, 19 Aug 2019 23:26:49 -0700 Message-ID: References: <1406f559-04f2-40ce-ac7d-d25043d5c767@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190039"; mail-complaints-to="usenet@blaine.gmane.org" To: Amal Mohan , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBNVF53VAKGQELYQU77Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 20 08:27:05 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw1-f63.google.com ([209.85.161.63]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hzxbk-000nLi-SN for gtp-pandoc-discuss@m.gmane.org; Tue, 20 Aug 2019 08:27:05 +0200 Original-Received: by mail-yw1-f63.google.com with SMTP id q7sf5094781ywg.3 for ; Mon, 19 Aug 2019 23:27:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566282423; cv=pass; d=google.com; s=arc-20160816; b=r3bcAhMYmlxEjEmB8Eemj15ioP/16K/pMLxT44zaT/6b7b6o5KKKyr7IvQD5kLPGsF MWJlIN3F9roqiNYavOFoWhfbOTlqRzGBuHDLeiE0h0Yp46TPpDLcBDnTRtFl6NMFy2Q+ uPkBNqf20oBRKu/fqX23j7ULFyCuLAJ7SDXNTRGI2LpQsib3Ke23qAlJGpwOmKO+oNjv 2HUv8De91KlPrjvuQ6xjF/Y14QcLH0hftmcYVlJLyGb6/gOZAZ6/tfJzBeZPeDVDacv0 3IJ5bDPNdzvN3V9phrJGWeaIvoNCwupafO6NVAVyoOCfa1X9aLdY03C/Uvx4bTtHXTcd JAyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=XCIin/zPoQvbmXJuz5yuyt9XnlCepCPsKnqhNvFzF24=; b=KQNBBR/vR48cEUW/sLv6TS7MCyKKw8HaRM1I3m8dEslrcxC+CpTNuIEslrRx0O0nBd Dp6KQ2jgPHUWKwOjlTQaEvVKMvwrLhqlfBkFvW26aQDUUDukUQLDKU3IWBCTL4ziI9tm 2Vm9BWfGfzh3CufBdmd6Fyjlb6ylVjGZb4i7j/5G2vwRUetsFRJMiA73LrmYLikAKwoG 8eUL1LhW0pJo1SQ5d7ePsPThiEo5lU+DhW52nomArX3EuKn8OLbBHYibT8c7s7YKfSmE Oz0YQtt8vlhW+SSO1xJkoSjSGjAfiRHAmwtmYqxgJpIrmLqKbkqUhuMJxEeRWg6oDvPq h+9w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=rVHHoVX3; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=XCIin/zPoQvbmXJuz5yuyt9XnlCepCPsKnqhNvFzF24=; b=K6EA8AHo/b6RLa1fjtwAgbb4oNGtndAhfIrF0xbJsC5ktzeMfhA4WbvgQ26jxC/Mim gGCmes7IL2WboJHw7ohlQpLOCIMoBk2RyAaG5EodC8q+I7W2aJsf2gDIqY6bbDCdE4Ky dh3vVgyCUW4HoJOr+28R0zwMu6eei0PYv0cdrm+hKeotCRwIdEgMIybelD/c4sXwNGaX Xv++g3v1NVXIumDyGuvDAenvMhoRxVew9URp0Rz/r8mIz+eNAFCbrA0XGsLZqtRfcuvo T28Kw8j3xzelrUW1wOe/QQ6Zc9p/Ilija2DA51OBUpJqJGKgaVxtWfxRvcjyrfT3FoMC dRgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=XCIin/zPoQvbmXJuz5yuyt9XnlCepCPsKnqhNvFzF24=; b=eTYCQkJlBdUdNpbWWPxxAVAoHBUoQQblKuK38ui1cu6Cj/r0+WWEO1t0LcwrucgeDx 6hvkpVzSueP0M/GLA7etLYB0Sp4VUYgpC1tUE1DwYxy6gQ7lmMUAeEHOjFOgS3xY++b+ AfaqnPFk1x6eQDYqa5kcFG61c5ww0vybA3sOepqVGwq9E7tAD8oxxEofz1LnZOYoK/vL GHX644yW+cml6rHv8CAeu0rvkVhvf0eC0tYi6Zdc+pJ09hA6C7YDZHTspIO3ZOS+TxBw N6C6Wm7tRcu9DnExuQJhnUu1OABgf2GZnO2qZAxm84jnOFwFlxTCPml548qB+S+6RjkM MamQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWdHmLfMyLFqSFyz9bQKVaoLn35BN8b8XEW5hezTuNVHvV+/+5o VylerG4OhlLQCAGGz176nNE= X-Google-Smtp-Source: APXvYqyMvR7qQnv9N07l6dsbMIXnp59y9as3NfbA1FzuS1ilFAHTkRAgqX+9WVn2n0ho3g98owplmA== X-Received: by 2002:a0d:db51:: with SMTP id d78mr19705524ywe.319.1566282423328; Mon, 19 Aug 2019 23:27:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0d:d994:: with SMTP id b142ls2964465ywe.2.gmail; Mon, 19 Aug 2019 23:27:02 -0700 (PDT) X-Received: by 2002:a81:6c85:: with SMTP id h127mr19530282ywc.111.1566282422289; Mon, 19 Aug 2019 23:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566282422; cv=none; d=google.com; s=arc-20160816; b=m1JLZtZPBHtiBcX/jTNb/qXHH+fm7ERiW37B+r6Nx6qVYFAkuUiHw45u1T7ydgLTq9 /xBTCBpkbPrepr6iLDX9h4L9R6IXh7Fg87FThi4fFpIXhwNJDCVi0gBzyLtl9OgqbETK lrmQiS/NxEmioVCYRmXZFMxqc5APWF9o2y33d+24Og/bh/UXgjHmXvJ58ORjz3ZgxKAW g8pVNfbLM07aT0lJVBykO4WXIIFsxK2IID70CueOte7qYAQTwfy5YIPuhegeHKJU3kqE QQat9YHQ6VKfxKafWz1X8bb9SD9Iw/V2dq8zO+XslkXa+2lceddri++44Uft+rePY5cX L5cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=vdj7Elo1pjHRqRVtdupxaTAyVnUb8gLk+XWcaXxVUb4=; b=RxNHY0rmyaza20YAt+wcRZXdA3T4pgEjm8nQhDRuIxP4vMXx+xcUzy6cnOMYbo6is2 Z/mk23mN1lJsWUtzDhpQZ9k2whqc+jfQOnWZOAikK8Ecz7apy45CTcV+2WT45GJoYi78 +5+l8GZ5S3N7G1rDssht0f8otx4Eq2S4IuDeSu6ygRoVn7N2RKSCfNRtDCYUUknayxvr /BbNrUkiLwc5yqc9wv8xp5jtngu0Vmr4vn3sBvRxG9Q6nfKpHCkPIGkPG+tgAf5nXTkk 8WKT2onGvbXseL0aKhJcksiPk4IW24QrbwsmfbSuTSMY8d+/nxyBXjIHoWtkPMMZSEqn iBLg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=rVHHoVX3; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com. [2607:f8b0:4864:20::630]) by gmr-mx.google.com with ESMTPS id r134si1022814ybc.4.2019.08.19.23.27.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Aug 2019 23:27:02 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) client-ip=2607:f8b0:4864:20::630; Original-Received: by mail-pl1-x630.google.com with SMTP id y8so2217378plr.12 for ; Mon, 19 Aug 2019 23:27:02 -0700 (PDT) X-Received: by 2002:a17:902:9f8e:: with SMTP id g14mr26838075plq.67.1566282421435; Mon, 19 Aug 2019 23:27:01 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 19sm10295494pjc.25.2019.08.19.23.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 23:27:00 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B8F9DA18E; Tue, 20 Aug 2019 02:26:49 -0400 (EDT) In-Reply-To: <1406f559-04f2-40ce-ac7d-d25043d5c767-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=rVHHoVX3; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:23278 Archived-At: Pandoc doesn't register color or table borders. It handles alignment within table cells, but not, e.g., a centered part of a document. As for "extra linebreaks", I'm not sure what you mean by that. Amal Mohan writes: > Hi, > I just got started with pandoc today. I've been through the entire manual, > and I don't think this is mentioned anywhere. I want to maintain some > formatting while converting from docx to html format (fragment, not > standalone). This includes: > > - Text highlighting (=background color in html) > - Extra Linebreaks > - Table borders > - Alignment > > Is this possible? Currently I get the html fragment stripped of all > formatting. > > Thanks. > > -- > 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1406f559-04f2-40ce-ac7d-d25043d5c767%40googlegroups.com.